How to create Catalog Task with Inbound REST API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2024 07:47 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2024 11:01 PM
Hi @Nisha30
I need more information regarding whether the catalog task is associated with any specific catalog item request.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2024 11:10 PM
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!