Create Record using Get API

SoudarapuN
Tera Contributor

Hey Team,

i have a requirement that i need to import the data using Rest API( Get ).i Need to create the data which is present in the that get API from another instance .How can i do that.

1 ACCEPTED SOLUTION

@SoudarapuN 

so from instance B use table API to get the records from instance A and then load data

Refer below link for step by step instructions and enhance for your requirement

ServiceNow to ServiceNow Integration using REST API and PUSH and PUT methods with Business Rule 

You can also explore on Ebonding Spoke with less scripting

ServiceNow eBonding spoke 

Refer the below link which has the approach with example shared by me.

Integration hub ebonding spoke 

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

View solution in original post

13 REPLIES 13

Can't we create using GET API? I have doubt about this.

@SoudarapuN 

The OOB table API GET method doesn't support this.

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

Ankur Bawiskar
Tera Patron
Tera Patron

@SoudarapuN 

you can fetch data from Table API which is OOB using GET method

what's your next requirement?

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

after fetching data required to import in another instance

@SoudarapuN 

instance A will fetch data from 3rd party (ServiceNow) instance using GET and then you can load that data using GlideRecord

what script did you start with and where are you stuck?

If my response helped please mark it correct and close the thread so that it benefits future readers.

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