POST api/Messages/PostMessageByMobileApp
Request Information
URI Parameters
None.
Body Parameters
MessageSendRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| MemberPhone | string |
Required |
|
| Message | string |
Required |
|
| ResourceURL | string |
None. |
|
| ChatAdmin | string |
Required |
Request Formats
application/json, text/json
Sample:
{
"memberPhone": "sample string 1",
"message": "sample string 2",
"resourceURL": "sample string 3",
"chatAdmin": "sample string 4"
}
application/xml, text/xml
Sample:
<MessageSendRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TextByChoiceRestApi.Controllers"> <ChatAdmin>sample string 4</ChatAdmin> <MemberPhone>sample string 1</MemberPhone> <Message>sample string 2</Message> <ResourceURL>sample string 3</ResourceURL> </MessageSendRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
MessageSendResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| MessageResult | string |
None. |
|
| RequestID | integer |
None. |
|
| MethodPointerID | integer |
None. |
|
| Segments | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"messageResult": "sample string 1",
"requestID": 2,
"methodPointerID": 3,
"segments": 4
}
application/xml, text/xml
Sample:
<MessageSendResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TextByChoiceRestApi.Controllers"> <MessageResult>sample string 1</MessageResult> <MethodPointerID>3</MethodPointerID> <RequestID>2</RequestID> <Segments>4</Segments> </MessageSendResponse>
