Scripted REST API POST method not inserting record into core_company table.

Devi12
Giga Guru

Hi,

I have created a scripted REST API POST method to insert a record into "core_company" table from third party. When I am testing in POSTMAN and Explore REST API It is showing status message as "200". But the record is not inserting into core_company table. How can I fix thie issue?

I am attaching the script I have used, may be this is causing the issue. Can anyone suggest how can I modify below script to insert the record.

find_real_file.png

11 REPLIES 11

Hi Ankur,

Sorry for the late reply.

I am very poor at scripting.

I wanted to insert the record from peoplesoft to Servicenow core_company table.

Hi,

then check these below links on Scripted REST API

Create incident with Scripted REST API

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader