Created
September 25, 2015 21:38
-
-
Save bryanbarnard/53c91a53b4a27d549196 to your computer and use it in GitHub Desktop.
Sample Response to a ServiceNow Demo Instance - using sysparm_fields dot-walk
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
HTTP/1.1 200 OK | |
Link: <https://demo003.service-now.com/api/now/table/incident?sysparm_limit=1&sysparm_fields=number%2Clocation%2Clocation.name%2Clocation.city&sysparm_offset=0>;rel="first",<https://demo003.service-now.com/api/now/table/incident?sysparm_limit=1&sysparm_fields=number%2Clocation%2Clocation.name%2Clocation.city&sysparm_offset=-1>;rel="prev",<https://demo003.service-now.com/api/now/table/incident?sysparm_limit=1&sysparm_fields=number%2Clocation%2Clocation.name%2Clocation.city&sysparm_offset=1>;rel="next",<https://demo003.service-now.com/api/now/table/incident?sysparm_limit=1&sysparm_fields=number%2Clocation%2Clocation.name%2Clocation.city&sysparm_offset=549>;rel="last" | |
X-Total-Count: 550 | |
Content-Type: application/json | |
Transfer-Encoding: chunked | |
Date: Fri, 25 Sep 2015 21:33:32 GMT | |
Server: ServiceNow | |
Connection: close | |
{ | |
"result": [ | |
{ | |
"location.name": "Oklahoma", | |
"location": { | |
"link": "https://demo003.service-now.com/api/now/table/cmn_location/1083361cc611227501b682158cabf646", | |
"value": "1083361cc611227501b682158cabf646" | |
}, | |
"number": "INC0000001", | |
"location.city": "Oklahoma" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment