How to insert records in custom table using API response

sekhar5311
Tera Contributor

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  

2 REPLIES 2

Ratnakar7
Mega Sage
Mega Sage

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

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.