Last active
August 29, 2015 13:56
-
-
Save mitani/c48be6e9498e12bcdcaa 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 GET -H OAuth-Token:e2505ba8-fc56-de05-ce9f-530d1bf56227 -H Cache-Control:no-cache -H Postman-Token:cb452a8c-2bb9-ebf6-ae66-a0700b10cdcc http://honey-b/pro720/rest/v10/Accounts?filter[0][name][$starts]=B&filter[0][email_addresses.email_address]=burgers@example.com&fields=name,account_type,description,email |
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
GET /pro720/rest/v10/Accounts?filter%5B0%5D%5Bname%5D%5B%24starts%5D=B&filter%5B0%5D%5Bemail_addresses.email_address%5D=burgers%40example.com&fields=name%2Caccount_type%2Cdescription%2Cemail HTTP/1.1 | |
Host: server | |
OAuth-Token: e2505ba8-fc56-de05-ce9f-530d1bf56227 | |
Cache-Control: no-cache | |
Postman-Token: 29bd612a-828d-ad84-7f6a-dd8ba2314956 |
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
{ | |
"next_offset": -1, | |
"records": [ | |
{ | |
"id": "demo_burger_palace", | |
"name": "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