POST api/Chat/InsertAndUpdateChatLog
Request Information
URI Parameters
None.
Body Parameters
InsertChatLogDataName | Description | Type | Additional information |
---|---|---|---|
UserID | integer |
None. |
|
ToUserID | integer |
None. |
|
Content | string |
None. |
|
SenderName | string |
None. |
|
Type | string |
None. |
|
Token | string |
None. |
|
Attachment | string |
None. |
|
FileName | string |
None. |
|
Chatdatetime | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserID": 1, "ToUserID": 2, "Content": "sample string 3", "SenderName": "sample string 4", "Type": "sample string 5", "Token": "sample string 6", "Attachment": "sample string 7", "FileName": "sample string 8", "Chatdatetime": "sample string 9" }
text/html
Sample:
{"UserID":1,"ToUserID":2,"Content":"sample string 3","SenderName":"sample string 4","Type":"sample string 5","Token":"sample string 6","Attachment":"sample string 7","FileName":"sample string 8","Chatdatetime":"sample string 9"}
application/xml, text/xml
Sample:
<ChatController.InsertChatLogData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HR2Eazy_WebApi.Controllers"> <Attachment>sample string 7</Attachment> <Chatdatetime>sample string 9</Chatdatetime> <Content>sample string 3</Content> <FileName>sample string 8</FileName> <SenderName>sample string 4</SenderName> <ToUserID>2</ToUserID> <Token>sample string 6</Token> <Type>sample string 5</Type> <UserID>1</UserID> </ChatController.InsertChatLogData>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Dictionary of Object [key] and Object [value]Response Formats
application/json, text/json, text/html
Sample:
{"System.Object":{},"System.Object":{}}
application/xml, text/xml
Sample:
<ArrayOfKeyValueOfanyTypeanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <KeyValueOfanyTypeanyType> <Key /> <Value /> </KeyValueOfanyTypeanyType> <KeyValueOfanyTypeanyType> <Key /> <Value /> </KeyValueOfanyTypeanyType> </ArrayOfKeyValueOfanyTypeanyType>