How to get the RITM variable from the REST API

chandan2212
Tera Contributor

Hi Team , 

Can anyone help to fetch the RITM variables from the (sc_item_option_mtomtable using get method 

 

API Name (get method 😞https://p99uat.service-now.com/api/now/table/sc_item_option_mtom?number=RITM0041533 

Using this method I am not getting the variables like questions and answers. I want to fetch the RITM variables only API.

 

 

Thanks and Regards,

Chandan

 

 

 

 

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@chandan2212 

I will suggest to use scripted REST API as if you are using the table API there will be other tables also involved and you can't get display value

Scripted REST APIs & Retrieving RITM Variables via SRAPI 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

1 REPLY 1

Ankur Bawiskar
Tera Patron
Tera Patron

@chandan2212 

I will suggest to use scripted REST API as if you are using the table API there will be other tables also involved and you can't get display value

Scripted REST APIs & Retrieving RITM Variables via SRAPI 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader