-
-
Save mitani/69b338d9b43cf3e758e6 to your computer and use it in GitHub Desktop.
Filter Accounts By Name - 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 GET -H OAuth-Token:34b05aba-e8be-0db8-5fbe-530d19787689 -H Cache-Control:no-cache -H Postman-Token:347571b3-c873-f846-b469-c002810f4538 http://server/pro720/rest/v10/Accounts?filter[0][name]=Burger Palace&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=Burger%20Palace&fields=name%2Caccount_type%2Cdescription%2Cemail HTTP/1.1 | |
Host: server | |
OAuth-Token: 34b05aba-e8be-0db8-5fbe-530d19787689 | |
Cache-Control: no-cache | |
Postman-Token: 548a67ec-ebfe-fa37-51a3-698783eaff16 |
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