-
-
Save mitani/38ced022cd9d0b53bb94 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:4ef8594d-5b45-20f4-0a01-530d20d69d1f -H Cache-Control:no-cache -H Postman-Token:e76d2d29-bc10-bea7-c2b6-761e49a8a197 http://server/ent720/rest/v10/search?q=burger&fields=name,email,description |
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 /ent720/rest/v10/search?q=burger&fields=name%2Cemail%2Cdescription HTTP/1.1 | |
Host: server | |
OAuth-Token: 4ef8594d-5b45-20f4-0a01-530d20d69d1f | |
Cache-Control: no-cache | |
Postman-Token: 7aeedc64-602a-535d-7c0d-b32bf2e1a035 |
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_bob_burger", | |
"name": "Bob Burger", | |
"date_modified": "2014-02-25T23:03:01+00:00", | |
"description": "Bob Burger was updated", | |
"email": [ | |
{ | |
"email_address": "bob.burger@example.com", | |
"invalid_email": false, | |
"opt_out": false, | |
"primary_address": false, | |
"reply_to_address": false | |
} | |
], | |
"_acl": { | |
"fields": {} | |
}, | |
"_module": "Contacts", | |
"_search": { | |
"score": 1, | |
"highlighted": { | |
"last_name": { | |
"text": "<strong>Burger</strong>", | |
"module": "Contacts", | |
"label": "LBL_LAST_NAME" | |
} | |
} | |
}, | |
"following": true | |
}, | |
{ | |
"id": "demo_burger_palace", | |
"name": "Burger Palace", | |
"date_modified": "2014-02-25T23:01:42+00:00", | |
"description": "My Example Account", | |
"email": [ | |
{ | |
"email_address": "burgers@example.com", | |
"invalid_email": false, | |
"opt_out": false, | |
"primary_address": false, | |
"reply_to_address": false | |
} | |
], | |
"_acl": { | |
"fields": {} | |
}, | |
"_module": "Accounts", | |
"_search": { | |
"score": 1, | |
"highlighted": { | |
"name": { | |
"text": "<strong>Burger</strong> Palace", | |
"module": "Accounts", | |
"label": "LBL_NAME" | |
}, | |
"email1": { | |
"text": "<strong>burgers</strong>@example.com", | |
"module": "Accounts", | |
"label": "LBL_EMAIL_ADDRESS" | |
} | |
} | |
}, | |
"following": true | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment