Rest API

Ramesh_143
Giga Guru

Can anyone help me on how to create RITM through Rest API method?

2 ACCEPTED SOLUTIONS

VishaalRanS
Tera Guru

Hi @Ramesh_143 

 

Please go through the below links:

Create Request/RITM via API - ServiceNow Community

Rest API for creating REQ and RITM - ServiceNow Community

 

Thanks, and Regards

Vishaal

Please mark this response as correct or helpful if it assisted you with your question.

View solution in original post

7 REPLIES 7

Sai Krishna6147
Mega Guru

Hi @Ramesh_143 

  • Go to the Application navigator
  • go to  Rest Api Explorer,
  • choose the method and get the data in that explorer.
  • copy and use ServiceNow business rule which is present in ServiceNow URL

The alternative best way of practice is use http method.
please go through the links:

Refer: https://www.servicenow.com/community/itsm-forum/create-request-ritm-via-api/m-p/443448 

Rest API for creating REQ and RITM - ServiceNow Community

 

thullurishalini
Kilo Guru

Hi @Ramesh_143 

To create a Requested Item (RITM) through the REST API in ServiceNow,

  1. Open REST API Explorer:

    • Navigate to System Web Services > REST API Explorer.
  2. Select Service Catalog API:

    • Set Namespace to sn_sc.
    • Choose Service Catalog API and the latest version.
  3. Use the POST Method:

    • Select the Buy Item (POST) method.
  4. Provide Path Parameters:

    • Enter the sys_id of the catalog item you want to order.
  5. Prepare the Request:

    • Include necessary headers (e.g., authorization, content type).
    • Provide the request body with details like quantity and variables.
  6. Send the Request:

    • Click Send and check the response for success.

Thanks,

Shalini.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful".