The CreatorCon Call for Content is officially open! Get started here.

REST API Table: GET data by 'sys_id' only, i.e. without table 'name'?

jeff00seattle
Kilo Guru

Curious

Using REST API for Table, its URL sub-directory path requires two parameters:

  • table_name
  • sys_id, table_name unique record identifier.

Since sys_id is unique for all records regardless of which table,

is it possible to GET record using REST API Table using 'sys_id' and without table_name?

 

1 ACCEPTED SOLUTION

Mark Roethof
Tera Patron
Tera Patron

Hi there,

 

That won't be possible I beleive. There's simply no API available for such.

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

View solution in original post

1 REPLY 1

Mark Roethof
Tera Patron
Tera Patron

Hi there,

 

That won't be possible I beleive. There's simply no API available for such.

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn