rest message return code '200'

soukayna
Tera Contributor

hello i need to create a record in a table in an instance using a rest message in an other instance , but i got the code 200 wich is success

this is my post method:

find_real_file.png

and this is my table:

find_real_file.png

any idea pls ,

thanks

1 ACCEPTED SOLUTION

Hi Soukayna,



With one endpoint there is only one table associated so that won't be possible.


For inserting into different tables different endpoint will be there.



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

View solution in original post

15 REPLIES 15

corina
ServiceNow Employee
ServiceNow Employee

Hello Soukayna.



Could you please share with us how you solved this?


soukayna
Tera Contributor

hi corina,


as Ankur said , i create a rest api explorer and i added the user there :


find_real_file.png


so that i could use it in the auth


Hi Soukayna,



With one endpoint there is only one table associated so that won't be possible.


For inserting into different tables different endpoint will be there.



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

thank u so much ankur


Glad that it worked.



Could you also mark it as helpful and Endorse the post if you feel it solved your requirement.


How to Endorse Content



Regards


Ankur


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