-
-
Save mitani/55613cd45b35c447e905 to your computer and use it in GitHub Desktop.
Create a new Account - Burger Palace
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:9126cdb4-0c4e-4796-1a4f-530bccd48060 -H Cache-Control:no-cache -H Postman-Token:cb3331fa-7e62-1f11-9fae-cb9731bc3500 -d '{ "id":"demo_burger_palace", "name":"Burger Palace", "account_type":"Customer", "description":"My Example Account", "email":[{"email_address":"burgers@example.com"}] }' http://server/pro720/rest/v10/Accounts |
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/Accounts HTTP/1.1 | |
Host: server | |
OAuth-Token: 9126cdb4-0c4e-4796-1a4f-530bccd48060 | |
Cache-Control: no-cache | |
Postman-Token: 90329f95-f2a9-fd87-c4cf-421fdd9f24ae | |
{ "id":"demo_burger_palace", "name":"Burger Palace", "account_type":"Customer", "description":"My Example Account", "email":[{"email_address":"burgers@example.com"}] } |
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_burger_palace", | |
"name": "Burger Palace", | |
"date_entered": "2014-02-25T10:51:51-08:00", | |
"date_modified": "2014-02-25T10:51:51-08:00", | |
"modified_user_id": "1", | |
"modified_by_name": "Administrator", | |
"created_by": "1", | |
"created_by_name": "Administrator", | |
"doc_owner": "", | |
"user_favorites": "", | |
"description": "My Example Account", | |
"deleted": false, | |
"assigned_user_id": "", | |
"assigned_user_name": "", | |
"team_count": "", | |
"team_name": [ | |
{ | |
"id": 1, | |
"name": "Global", | |
"name_2": "", | |
"primary": true | |
} | |
], | |
"email": [ | |
{ | |
"email_address": "burgers@example.com", | |
"invalid_email": false, | |
"opt_out": false, | |
"primary_address": false, | |
"reply_to_address": false | |
} | |
], | |
"email1": "burgers@example.com", | |
"email2": "", | |
"invalid_email": false, | |
"email_opt_out": false, | |
"facebook": "", | |
"twitter": "", | |
"googleplus": "", | |
"account_type": "Customer", | |
"industry": "", | |
"annual_revenue": "", | |
"phone_fax": "", | |
"billing_address_street": "", | |
"billing_address_street_2": "", | |
"billing_address_street_3": "", | |
"billing_address_street_4": "", | |
"billing_address_city": "", | |
"billing_address_state": "", | |
"billing_address_postalcode": "", | |
"billing_address_country": "", | |
"rating": "", | |
"phone_office": "", | |
"phone_alternate": "", | |
"website": "", | |
"ownership": "", | |
"employees": "", | |
"ticker_symbol": "", | |
"shipping_address_street": "", | |
"shipping_address_street_2": "", | |
"shipping_address_street_3": "", | |
"shipping_address_street_4": "", | |
"shipping_address_city": "", | |
"shipping_address_state": "", | |
"shipping_address_postalcode": "", | |
"shipping_address_country": "", | |
"parent_id": "", | |
"sic_code": "", | |
"duns_num": "", | |
"parent_name": "", | |
"campaign_id": "", | |
"campaign_name": "", | |
"my_favorite": false, | |
"_acl": { | |
"fields": {} | |
}, | |
"following": true, | |
"_module": "Accounts" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment