How to create Catalog Task with Inbound REST API

Nisha30
Kilo Sage

Hello Developers,

 

Need some help, we are developing Inbound REST API via Transform maps 

We did it for Incident table that was straight forward since it is a single table.

 

Now the API has to be for Service Request and here Catalog Task will be created but it should have a fixed RITM and REQ, How do we do that without scripted API . Will the transform map to sc_task will generate any default RITM and REQ?

 

Thanks

2 REPLIES 2

Eshwar Reddy
Kilo Sage

Hi @Nisha30 

I need more information regarding whether the catalog task is associated with any specific catalog item request.

Daniel Borkowi1
Mega Sage

Hi @Nisha30 , no the Table API won't create a RITM nor Request. A approach you can do is, create your own Import Set table for sc_task. You can write in this table by using ImportSet API.

In the transform map you can write a onBefore script to create Request and RITM and set the right reference.

 

Greets
Daniel

Please mark reply as Helpful/Correct, if applicable. Thanks!