-
-
Save mitani/5e17e6e15fa4bb27ccd0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -X POST -H OAuth-Token:8f027f7a-266a-dcd0-8dc4-530cfa3ce6d4 -H Cache-Control:no-cache -H Postman-Token:0444b90d-ba1d-c395-a259-694115e5ec1e -d '{ "id":"demo_bob_burger", "first_name":"Bob", "last_name": "Burger", "description":"Bob Burger is a new contact" }' http://server/pro720/rest/v10/Contacts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
POST /pro720/rest/v10/Contacts HTTP/1.1 | |
Host: server | |
OAuth-Token: 8f027f7a-266a-dcd0-8dc4-530cfa3ce6d4 | |
Cache-Control: no-cache | |
Postman-Token: 27bb113b-ef6f-86dc-601e-e2f8e2c4878c | |
{ "id":"demo_bob_burger", "first_name":"Bob", "last_name": "Burger", "description":"Bob Burger is a new contact" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": "demo_bob_burger", | |
"name": "Bob Burger", | |
"date_entered": "2014-02-25T12:16:41-08:00", | |
"date_modified": "2014-02-25T12:16:41-08:00", | |
"modified_user_id": "1", | |
"modified_by_name": "Administrator", | |
"created_by": "1", | |
"created_by_name": "Administrator", | |
"doc_owner": "", | |
"user_favorites": "", | |
"description": "Bob Burger is a new contact", | |
"deleted": false, | |
"assigned_user_id": "", | |
"assigned_user_name": "", | |
"team_count": "", | |
"team_name": [ | |
{ | |
"id": 1, | |
"name": "Global", | |
"name_2": "", | |
"primary": true | |
} | |
], | |
"email": [], | |
"email1": "", | |
"email2": "", | |
"invalid_email": "", | |
"email_opt_out": "", | |
"salutation": "", | |
"first_name": "Bob", | |
"last_name": "Burger", | |
"full_name": "Bob Burger", | |
"title": "", | |
"facebook": "", | |
"twitter": "", | |
"googleplus": "", | |
"department": "", | |
"do_not_call": false, | |
"phone_home": "", | |
"phone_mobile": "", | |
"phone_work": "", | |
"phone_other": "", | |
"phone_fax": "", | |
"primary_address_street": "", | |
"primary_address_street_2": "", | |
"primary_address_street_3": "", | |
"primary_address_city": "", | |
"primary_address_state": "", | |
"primary_address_postalcode": "", | |
"primary_address_country": "", | |
"alt_address_street": "", | |
"alt_address_street_2": "", | |
"alt_address_street_3": "", | |
"alt_address_city": "", | |
"alt_address_state": "", | |
"alt_address_postalcode": "", | |
"alt_address_country": "", | |
"assistant": "", | |
"assistant_phone": "", | |
"picture": "", | |
"email_and_name1": "", | |
"lead_source": "", | |
"account_name": "", | |
"account_id": "", | |
"dnb_principal_id": "", | |
"opportunity_role_fields": "", | |
"opportunity_role_id": "", | |
"opportunity_role": "", | |
"reports_to_id": "", | |
"report_to_name": "", | |
"birthdate": "", | |
"campaign_id": "", | |
"campaign_name": "", | |
"c_accept_status_fields": "", | |
"m_accept_status_fields": "", | |
"accept_status_id": "", | |
"accept_status_name": "", | |
"accept_status_calls": "", | |
"accept_status_meetings": "", | |
"sync_contact": false, | |
"mkto_sync": false, | |
"mkto_id": null, | |
"mkto_lead_score": null, | |
"my_favorite": false, | |
"_acl": { | |
"fields": {} | |
}, | |
"following": true, | |
"_module": "Contacts" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment