Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

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

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  ||  ✨ 10x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

5 REPLIES 5

Thank you, Ankur.