how to get the value of state and short description field from the table using REST explorer

surya76
Tera Contributor

Third party should hit my REST API end point and GET the state field and shortdescription value of my Change request table.

i know how to do with Scripted Rest API:

i want to know how to do it with REST API EXPLORER:

can anyone do taht and provide screen shot how tp obtain that?

NOTE:How to modify and Provide to the Third party so that they can hit that API.

 

EXAMPLE:

i WANT screen SHOT OF REST API EXPLORET TO ACHIEVE THIS QUERY

 https://<your instance>.service-now.com/api/now/table/change_request?sysparm_query=number%3D<Change number>&sysparm_fields=short_description%2Cstate&sysparm_limit=1

1 ACCEPTED SOLUTION

palanikumar
Mega Sage

Refer the image below. Follow the highlighted ones in sequence

find_real_file.png

Thank you,
Palani

View solution in original post

2 REPLIES 2

palanikumar
Mega Sage

Refer the image below. Follow the highlighted ones in sequence

find_real_file.png

Thank you,
Palani

THANKS!

 

Third Party APP will only send Change Request Number as the input PARAMETER.

service now should sent the state and short description field values

 

WILL THIS END POINT WORK ON THAT CASE OR WE NEED USE SCRIPTED REST API 

IF YOUR SHARED ENDPOINT ITSELF WORKS HOW SHOULD I PRESENT IT TO THE CUSTOMER

CAN YOU EXPLAIN HOW IT WORKS?