Scripted REST API POST method not inserting record into core_company table.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-27-2022 02:33 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-30-2022 08:03 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-30-2022 08:18 PM
Hi,
then check these below links on Scripted REST API
Create incident with Scripted REST API
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader