POST communication/CancelMessageSending

Request Information

URI Parameters

None.

Body Parameters

Collection of SendMessageRequest
NameDescriptionTypeAdditional information
Id

integer

None.

Send

boolean

None.

SendTo

string

None.

Body

string

None.

Subject

string

None.

ObjectType

string

None.

ObjectId

integer

None.

CustId

integer

None.

MessageType

string

None.

GridId

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Send": true,
    "SendTo": "sample string 3",
    "Body": "sample string 4",
    "Subject": "sample string 5",
    "ObjectType": "sample string 6",
    "ObjectId": 7,
    "CustId": 8,
    "MessageType": "sample string 9",
    "GridId": 10
  },
  {
    "Id": 1,
    "Send": true,
    "SendTo": "sample string 3",
    "Body": "sample string 4",
    "Subject": "sample string 5",
    "ObjectType": "sample string 6",
    "ObjectId": 7,
    "CustId": 8,
    "MessageType": "sample string 9",
    "GridId": 10
  }
]

text/html

Sample:
[{"Id":1,"Send":true,"SendTo":"sample string 3","Body":"sample string 4","Subject":"sample string 5","ObjectType":"sample string 6","ObjectId":7,"CustId":8,"MessageType":"sample string 9","GridId":10},{"Id":1,"Send":true,"SendTo":"sample string 3","Body":"sample string 4","Subject":"sample string 5","ObjectType":"sample string 6","ObjectId":7,"CustId":8,"MessageType":"sample string 9","GridId":10}]

application/xml, text/xml

Sample:
<ArrayOfSendMessageRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Communication">
  <SendMessageRequest>
    <Body>sample string 4</Body>
    <CustId>8</CustId>
    <GridId>10</GridId>
    <Id>1</Id>
    <MessageType>sample string 9</MessageType>
    <ObjectId>7</ObjectId>
    <ObjectType>sample string 6</ObjectType>
    <Send>true</Send>
    <SendTo>sample string 3</SendTo>
    <Subject>sample string 5</Subject>
  </SendMessageRequest>
  <SendMessageRequest>
    <Body>sample string 4</Body>
    <CustId>8</CustId>
    <GridId>10</GridId>
    <Id>1</Id>
    <MessageType>sample string 9</MessageType>
    <ObjectId>7</ObjectId>
    <ObjectType>sample string 6</ObjectType>
    <Send>true</Send>
    <SendTo>sample string 3</SendTo>
    <Subject>sample string 5</Subject>
  </SendMessageRequest>
</ArrayOfSendMessageRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.