POST api/business/updateBusinessOnlineStatus
Request Information
URI Parameters
None.
Body Parameters
UpdateBusinessOnlineStatusModel| Name | Description | Type | Additional information |
|---|---|---|---|
| userId | string |
None. |
|
| businessId | integer |
None. |
|
| onlineStatus | integer |
None. |
|
| reason | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"userId": "sample string 1",
"businessId": 2,
"onlineStatus": 3,
"reason": "sample string 4"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Result| Name | Description | Type | Additional information |
|---|---|---|---|
| success | boolean |
None. |
|
| data | Object |
None. |
|
| error | string |
None. |
|
| code | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": true,
"data": {},
"error": "sample string 3",
"code": 4
}