PUT Case/{id}/Attachment

PUT: Adds a new file Attachment to a particular Case. Ensure that the data being sent is as a base64-encoded string.

Request Information

Parameters

NameDescriptionAdditional information
id
The GUID Id of the Case the User wishes to attach their file to.

Define this parameter in the request URI.

file
See The Request body formats below for properties.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Data": "sample string 1",
  "FileNameWithExtension": "sample string 2"
}

text/html

Sample:
{"Data":"sample string 1","FileNameWithExtension":"sample string 2"}

application/xml, text/xml

Sample:
<AttachedFileDtoForApi>
  <Data>sample string 1</Data>
  <FileNameWithExtension>sample string 2</FileNameWithExtension>
</AttachedFileDtoForApi>