Attachment API

Shabbir1
Tera Contributor

Hi

 

can anyone suggest how to create incident attachment  POST API along with the fields short description and description by using REST API explorer

6 REPLIES 6

Community Alums
Not applicable

Hi @Shabbir1 ,

 

You are not adding the attachment.

 

AnandMahajan_0-1697703395551.png

 

Add the attachment in the request body -> binary section

 

Refer the below script to use script to create attachment

AnandMahajan_1-1697703557197.png

 

Thanks 

Anand

GodOfWar
Mega Guru

It's true that it's not possible to create an attachment using Rest API. It's all script.