Skip to content

Instantly share code, notes, and snippets.

@mitani
Last active August 29, 2015 13:56
Show Gist options
  • Save mitani/8fb373cec41c64b75132 to your computer and use it in GitHub Desktop.
Save mitani/8fb373cec41c64b75132 to your computer and use it in GitHub Desktop.
curl -X GET -H OAuth-Token:e2505ba8-fc56-de05-ce9f-530d1bf56227 -H Cache-Control:no-cache -H Postman-Token:7e4c0a5d-db74-55d7-64a7-8c363686f9de http://server/pro720/rest/v10/Accounts/demo_burger_palace?fields=name,email,account_type,description
GET /pro720/rest/v10/Accounts/demo_burger_palace?fields=name%2Cemail%2Caccount_type%2Cdescription HTTP/1.1
Host: server
OAuth-Token: e2505ba8-fc56-de05-ce9f-530d1bf56227
Cache-Control: no-cache
Postman-Token: 7e2f14d9-3868-3d38-c9f2-b3c36a3105b0
{
"id": "demo_burger_palace",
"date_modified": "2014-02-25T14:32:25-08:00",
"description": "My Example Account",
"email": [
{
"email_address": "burgers@example.com",
"invalid_email": false,
"opt_out": false,
"primary_address": false,
"reply_to_address": false
}
],
"account_type": "Customer",
"_acl": {
"fields": {}
},
"_module": "Accounts"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment