POST api/admin/CreateAttachment

Request Information

URI Parameters

None.

Body Parameters

AttachmentDTO
NameDescriptionTypeAdditional information
AttachmentId

string

None.

TicketId

string

None.

FileName

string

None.

AttachmentBody

Collection of byte

None.

ContentType

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AttachmentId": "sample string 1",
  "TicketId": "sample string 2",
  "FileName": "sample string 3",
  "AttachmentBody": "QEA=",
  "ContentType": "sample string 4"
}

application/xml, text/xml

Sample:
<AttachmentDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSPApi.DTO.Ticketing">
  <AttachmentBody>QEA=</AttachmentBody>
  <AttachmentId>sample string 1</AttachmentId>
  <ContentType>sample string 4</ContentType>
  <FileName>sample string 3</FileName>
  <TicketId>sample string 2</TicketId>
</AttachmentDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.