Index

This method allows you to retrieve a list of change requests for your organization. For data to exist, you must have established a ServiceNow Integration.

Method URL
GET /api/v2/change_requests.json
GET /api/v2/change_requests.json?page=1&per_page=2

Example Response

Code Status
200 OK

Example Response

[
  {
    "id": 1,
    "external_id": "46e9b4afa9fe198101w9e122b85f442",
    "short_description": "Roll back Windows SP2 patch",
    "planned_start_at": "2015-09-01T18:00:00-07:00",
    "planned_end_at": "2015-09-01T23:00:00-07:00",
    "started_at": null,
    "ended_at": null,
    "url": "https://yoursubdomainat.service-now.com//nav_to.do?uri=change_request.do?sys_id=46e9b4afa9fe198101026e122b85f442"
  },
  {
    "id": 2,
    "external_id": "46cc713aa9fe198198a95d213681c65",
    "short_description": "Install new PBX",
    "planned_start_at": "2015-08-30T00:00:00-07:00",
    "planned_end_at": "2015-09-02T16:46:31-07:00",
    "started_at": null,
    "ended_at": null,
    "url": "https://yoursubdomainat.service-now.com//nav_to.do?uri=change_request.do?sys_id=46cc713aa9fe1981008a95d213681c65"
  },
  {
    "id": 3,
    "external_id": "d7323e9dc0a801670053dj74c2efb7f1",
    "short_description": "Apply patches 10.2.0.1 to 10.2.0.3",
    "planned_start_at": "2015-08-30T03:00:00-07:00",
    "planned_end_at": "2015-08-30T08:00:15-07:00",
    "started_at": "2015-09-01T09:17:01-07:00",
    "ended_at": "2015-09-01T13:17:04-07:00",
    "url": "https://yoursubdomainat.service-now.com//nav_to.do?uri=change_request.do?sys_id=d7323e9dc0a8016700538974c2efb7f1"
  },
  ...
]

Show

This method returns details of the change request specified by the change request ID in the URL. The data returned for this change request record is retrieved from ServiceNow records.

Method URL
GET /api/v2/change_requests/[change_request_id].json

Example Response

Code Status
200 OK

Example Response JSON

{
  "id": 1,
  "external_id": "46e9b4afa9fe198101026e122b85f442",
  "short_description": "Roll back Windows SP2 patch",
  "planned_start_at": "2015-09-01T14:00:00-11:00",
  "planned_end_at": "2015-09-01T19:00:00-11:00",
  "started_at": null,
  "ended_at": null,
  "data": {
    ...
  },
  "url": "https://yoursubdomainat.service-now.com//nav_to.do?uri=change_request.do?sys_id=46e9b4afa9fe198101026e122b85f442"
}