POST api/TwilioConversation/DeleteConversation
Request Information
URI Parameters
None.
Body Parameters
ChatHistoryDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| AccountId | integer |
None. |
|
| CompanyId | string |
None. |
|
| ConversationSId | string |
None. |
|
| chatIdentity | string |
None. |
|
| chatJson | string |
None. |
|
| IsChatDeleted | boolean |
None. |
|
| chatIdentities | Collection of string |
None. |
|
| PhoneNumber | string |
None. |
|
| ChatUserId | integer |
None. |
|
| EntityId | string |
None. |
|
| EntityType | integer |
None. |
|
| CallNumber | string |
None. |
|
| ChatJsonList | Collection of MessageModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"AccountId": 1,
"CompanyId": "sample string 2",
"ConversationSId": "sample string 3",
"chatIdentity": "sample string 4",
"chatJson": "sample string 5",
"IsChatDeleted": true,
"chatIdentities": [
"sample string 1",
"sample string 2"
],
"PhoneNumber": "sample string 7",
"ChatUserId": 8,
"EntityId": "sample string 9",
"EntityType": 10,
"CallNumber": "sample string 11",
"ChatJsonList": [
{
"Author": "sample string 1",
"body": "sample string 2",
"DateCreated": "sample string 3",
"Url": "sample string 4"
},
{
"Author": "sample string 1",
"body": "sample string 2",
"DateCreated": "sample string 3",
"Url": "sample string 4"
}
]
}
application/xml, text/xml
Sample:
<ChatHistoryDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">
<AccountId>1</AccountId>
<CallNumber>sample string 11</CallNumber>
<ChatJsonList>
<MessageModel>
<Author>sample string 1</Author>
<DateCreated>sample string 3</DateCreated>
<Url>sample string 4</Url>
<body>sample string 2</body>
</MessageModel>
<MessageModel>
<Author>sample string 1</Author>
<DateCreated>sample string 3</DateCreated>
<Url>sample string 4</Url>
<body>sample string 2</body>
</MessageModel>
</ChatJsonList>
<ChatUserId>8</ChatUserId>
<CompanyId>sample string 2</CompanyId>
<ConversationSId>sample string 3</ConversationSId>
<EntityId>sample string 9</EntityId>
<EntityType>10</EntityType>
<IsChatDeleted>true</IsChatDeleted>
<PhoneNumber>sample string 7</PhoneNumber>
<chatIdentities xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</chatIdentities>
<chatIdentity>sample string 4</chatIdentity>
<chatJson>sample string 5</chatJson>
</ChatHistoryDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />