How to insert records in custom table using API response
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2023 03:08 AM
Hi,
Their is a custom table in service now and insert data in that table using API call
the requirement is call the API and load data to import set table after insert servicenow table. Can you help me how to implement this requirement.
Thanks,
Sekhar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2023 03:43 AM
Hi @sekhar5311 ,
You can directly create records in custom table using Table API :
POST https://instance_name.service-now.com/api/now/table/{tableName}
Please refer -https://developer.servicenow.com/dev.do#!/reference/api/tokyo/rest/c_TableAPI
Thanks,
Ratnakar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2023 10:21 PM
The requirement is they are provided get API and using that api get response and insert in the custom table in service now using import set and transform maps. Can you please tell me the how it is implement via script.
Thanks,
sekhar.