Skip to content

Instantly share code, notes, and snippets.

@bryanbarnard
Created September 25, 2015 21:17
Show Gist options
  • Save bryanbarnard/ee1d952604a11e0f0342 to your computer and use it in GitHub Desktop.
Save bryanbarnard/ee1d952604a11e0f0342 to your computer and use it in GitHub Desktop.
Sample Response - using sysparm_fields to limit response
HTTP/1.1 200 OK
Link: <https://demo003.service-now.com/api/now/table/incident?sysparm_limit=1&sysparm_fields=number&sysparm_offset=0>;rel="first",<https://demo003.service-now.com/api/now/table/incident?sysparm_limit=1&sysparm_fields=number&sysparm_offset=-1>;rel="prev",<https://demo003.service-now.com/api/now/table/incident?sysparm_limit=1&sysparm_fields=number&sysparm_offset=1>;rel="next",<https://demo003.service-now.com/api/now/table/incident?sysparm_limit=1&sysparm_fields=number&sysparm_offset=549>;rel="last"
X-Total-Count: 550
Content-Type: application/json
Transfer-Encoding: chunked
Date: Fri, 25 Sep 2015 21:08:44 GMT
Server: ServiceNow
Connection: close
{"result":[{"number":"INC0000001"}]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment