POST api/Chat/PostNewMsg
Request Information
URI Parameters
None.
Body Parameters
msgNewCustomer| Name | Description | Type | Additional information |
|---|---|---|---|
| client | string |
None. |
|
| from | string |
None. |
|
| customerNo | string |
None. |
|
| text | string |
None. |
|
| agent | agent |
None. |
|
| isMiCC | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"client": "sample string 1",
"from": "sample string 2",
"customerNo": "sample string 3",
"text": "sample string 4",
"agent": {
"id": "sample string 1",
"name": "sample string 2",
"replying": "sample string 3",
"viewing": "sample string 4",
"phoneNo": "sample string 5",
"micc": true,
"appId": "sample string 7"
},
"isMiCC": true
}
application/xml, text/xml
Sample:
<jsonObj.msgNewCustomer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PageOneSmsApi">
<agent>
<appId>sample string 7</appId>
<id>sample string 1</id>
<micc>true</micc>
<name>sample string 2</name>
<phoneNo>sample string 5</phoneNo>
<replying>sample string 3</replying>
<viewing>sample string 4</viewing>
</agent>
<client>sample string 1</client>
<customerNo>sample string 3</customerNo>
<from>sample string 2</from>
<isMiCC>true</isMiCC>
<text>sample string 4</text>
</jsonObj.msgNewCustomer>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |