The CreatorCon Call for Content is officially open! Get started here.

Creation of sc_request by api scripting

Saurabh _
Tera Guru

Hello Developer Team, 

                          I am trying to creating sc_req_ritm record through scripting but I am receiving error of responce_code 500.

Saurabh__0-1738388639668.png

 

Saurabh__1-1738388666322.png

 

I can not use 'CARTAPI' for this due to some other issue. I have to use this method only.

Please let me know where I am making mistake.
Thanks in advance.

 

1 REPLY 1

Ankur Bawiskar
Tera Patron
Tera Patron

@Saurabh _ 

any strong reason not to use Cart API?

Why are you consuming the API within the same instance?

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