getRoomList
Request:
{
"name": "泌尿科:李醫師線上看診",
"description": "李醫師上午診"
}
Parameter | Meaning | Type | Required | Default value | Description |
---|---|---|---|---|---|
HEADERS | |||||
Authorization | After logging in, the server returns an Authorization token. | string | Y | Bearer | |
BODY | |||||
name | string | Y | This | ||
description | string | N | |||
Response:
{
"status": 1,
"message": "",
"data": {
"roomId": "xp4z6dani",
"name": "泌尿科:李醫師線上看診",
"description": "李醫師上午診",
"createdAt": "2024-06-23T06:00:52.330Z",
"host": {
"id": "1",
"displayName": "陳曉玲"
}
}
}
Parameter | Meaning | Type | Existed | Default value | Description |
---|---|---|---|---|---|
BODY | |||||
status | response status | string | Y | 0: fail | |
1: success | |||||
2: warning | |||||
message | message | string | Y | Error messages should be shown when there are errors. | |
data | Return Information | object | Y | ||
Error code:
The following is a table of error messages returned by the API.
Code | Status | Error | Message |
---|---|---|---|
200 | 1 | success | |
0 | error message | ||
404 | Resource Not Found | ||
403 | Access to the requested resource is not allowed |