POST api/CommunicationFiles/InsertAttachments

Insert Attachements associated with Messages

Request Information

URI Parameters

None.

Body Parameters

AttachementDataModel
NameDescriptionTypeAdditional information
ContentFilePath

string

None.

ContentFileName

string

None.

ReferenceId

integer

None.

ReferenceType

string

None.

CreatedBy

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ContentFilePath": "sample string 1",
  "ContentFileName": "sample string 2",
  "ReferenceId": 1,
  "ReferenceType": "sample string 3",
  "CreatedBy": "sample string 4"
}

application/xml, text/xml

Sample:
<AttachementDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ECEMessageCenterCommon.Models.CommunicationFiles">
  <ContentFileName>sample string 2</ContentFileName>
  <ContentFilePath>sample string 1</ContentFilePath>
  <CreatedBy>sample string 4</CreatedBy>
  <ReferenceId>1</ReferenceId>
  <ReferenceType>sample string 3</ReferenceType>
</AttachementDataModel>

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.