How to update a record using Import Set API

Pradeep J
Kilo Guru

HI All,

I am working on Import Set API. There I can find only two methods POST and GET.

I am trying with POST method to update record there getting response 'No fields value changed'.

I want to update a record. How to update record using Import Set API.

Thanks

Pradeep D J

1 ACCEPTED SOLUTION

pradeepksharma correct me if i am wrong.



Can do with the help of post method.



Double-click the Coalesce cell for the 'XXX' row, and set the value to true.


View solution in original post

4 REPLIES 4

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Pradeep,



POST is used to create whereas PUT is used to create or update.


Try using PUT method and verify


This link will help understanding PUT, POST   http - PUT vs POST in REST - Stack Overflow



Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.


Thanks


Ankur


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

Can you plz send sample example so it will help me to understand.




Coz i am not able to find any PUT method in Import Set API.


pradeepksharma correct me if i am wrong.



Can do with the help of post method.



Double-click the Coalesce cell for the 'XXX' row, and set the value to true.


Kalaiarasan Pus
Giga Sage

I believe you are talking about import set webservice? If that is the case, create a soap message with the import set endpoint and using the sosp message function to test the web service.