Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

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.