bryanbarnard
9/25/2015 - 9:38 PM

Sample Response to a ServiceNow Demo Instance - using sysparm_fields dot-walk

Sample Response to a ServiceNow Demo Instance - using sysparm_fields dot-walk

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"
    }
  ]
}