GET api/Chat/SetUserStatus?id={id}&UserStatus={UserStatus}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
|
| UserStatus | integer |
Default value is 0 |
Body Parameters
None.
Response Information
Resource Description
FunctionResult| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Message | string |
None. |
|
| IsDone | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"ID": 1,
"Message": "sample string 1",
"IsDone": true
}
application/xml, text/xml
Sample:
<FunctionResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Chatrata.MetaData"> <ID>1</ID> <IsDone>true</IsDone> <Message>sample string 1</Message> </FunctionResult>