POST common/sendmessage

Authorized only.

Request Information

URI Parameters

None.

Body Parameters

SendMessageRequest
NameDescriptionTypeAdditional information
CustomerId

integer

None.

AssignToCustomerId

integer

None.

Contact

string

None.

ContactType

UserContactType

None.

Text

string

None.

Subject

string

None.

IsCommunication

boolean

None.

Media

Dictionary of string [key] and string [value]

None.

ForceSend

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerId": 1,
  "AssignToCustomerId": 1,
  "Contact": "sample string 1",
  "ContactType": 0,
  "Text": "sample string 2",
  "Subject": "sample string 3",
  "IsCommunication": true,
  "Media": {
    "sample string 1": "sample string 2",
    "sample string 3": "sample string 4"
  },
  "ForceSend": true
}

application/xml, text/xml

Sample:
<SendMessageRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Api">
  <AssignToCustomerId>1</AssignToCustomerId>
  <Contact>sample string 1</Contact>
  <ContactType>Email</ContactType>
  <CustomerId>1</CustomerId>
  <ForceSend>true</ForceSend>
  <IsCommunication>true</IsCommunication>
  <Media xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 1</d2p1:Key>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 3</d2p1:Key>
      <d2p1:Value>sample string 4</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </Media>
  <Subject>sample string 3</Subject>
  <Text>sample string 2</Text>
</SendMessageRequest>

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.