How upload an attachment to Item using Rest API
Hi Team,
I am trying to use "Upload an attachment" rest API for uploading a file to Item.
I am trying to use below request Payload.
{
"DatatypeCode": "FILE",
"CategoryName": "REQ_INTERNAL",
"UploadedFileName" : "REST Attachment.txt",
"UploadedFileContentType" : "text/plain",
"ContentRepositoryFileShared": "false",
"Title" : "REST Attachment File",
"Description" : "File attachment"
"UploadedText" : "123"
}
I am getting success response, and do see the file under attachments section of Item UI. But it is not actually adding any content to the file attachment when I check it from UI.
Could you please help us on this.
Tagged:
1