- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2016 08:13 PM
hi Macmceldon, when you you are using a GET message of REST, you tipically recieve all of the fields within the table! for example:
if you use this rest link : https://<your instance>.service-now.com/api/now/table/incident you will get all of the fields within incidents! you can also specify what fields to return like this: https://dev12348.service-now.com/api/now/table/incident?sysparm_query=&sysparm_fields=priority (this will return only priority fields!) or if you want more fields at once use %2C after each condition like this:
https://<your instance>.service-now.com/api/now/table/incident?sysparm_query=&sysparm_fields=priority%2Clocation%2Curgency (to get priority, location and urgency)
now remeber I am not specifying any specific record on incidents table, so I would recieve all of the fields of all of the incidents! so you woul actually specify what incident you want using the following link https://<your instance>.service-now.com/api/now/table/incident/<sys id of the record you want to che... or you could simply check an incident record by https://<my instance>.service-now.com/api/now/table/incident/392c0e4f4fc19640d12b8c318110c7b4 last one was an example a record in my developer instance!
hopefully my answer solves your question!