REST API Get full information about a Ticket (/api/now/table/sc_request)

moises roth
Kilo Explorer

How can I get full information abou one Ticket?

I'm using the following GET request https://company.service-now.com/api/now/table/sc_request?number=REQ0082953, but it returns only basic information about the ticket, and I need to obtain full information about it.

The "notes" from this Ticket I get from this request:
https://company.service-now.com/api/now/table/sys_journal_field?element_id=4fd6a39d1b4f34d0d676844fe54bcb56

There is a way to get additional information about the Ticket?

3 REPLIES 3

Jon Ulrich
Kilo Guru

See this previously answered question:

https://community.servicenow.com/community?id=community_question&sys_id=92034c7edb7773cc4819fb24399619a8

Thanks for answering. Unfortunately it's not what I need.

The example requires RITM values to perform queries, and I don't have that.

Hello,

 

Do you mean you want to get the values of RITM table from the REQ?

 

If so using table api's you will have to make a seperate api call for REQ and RITM i believe but alternatively you can configure scripted rest api's so that you can script it according to your requirement.

 

https://docs.servicenow.com/bundle/rome-application-development/page/integrate/custom-web-services/concept/c_CustomWebServices.html

 

Go through scripted rest api's in servicenow

 

Please let me know if you need any help or you can elaborate more so that we can try to find an answer for your question

 

Thank you!!