Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

REST API Attachment while ordering the catalog item

Ramu Gajula
Kilo Explorer

Dear Experts,

One of our catalog item has a mandatory requirement of attaching a file while submitting the service request. I have problem doing it through the REST API using python. Could you please guide me or point towards a doc which tells how to attach a file while submitting a service request itself through REST API. Thank you.

 

Regards,

Ramu.

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

I don't think that's possible using the Cart API.

You will have to make another API call and use Attachment API and pass the RITM sysId there.

Regards
Ankur

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

View solution in original post

5 REPLIES 5

Thank you, Ankur.