adding an attachment while creating an incident through REST API

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-24-2016 06:04 AM
Hi Everyone!! Can anyone please let me know how can we add an attachment(doc,docx,zip,pdf,txt,xls,xlsx,ppt,pptx,jpg,jpeg) while creating an incident through REST API??
I found attachment API through which it can be done. But create Incident and uploading attachment should be done through single REST call not through two different APIs.
Anyone help on this will be appreciated ?? How can this be achieved??
- Labels:
-
Integrations

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-25-2016 02:32 AM
Hi !! Creating an incident and adding attachments give two different APIs. After we create an incident only the attachment can be added as attachment API depends on the sys_id of the record. While creating an incident how can attachment API be called?Anyone help on this will be appreciated ?? How can this be achieved??