POST api/ServerPro/GetServerTimeOrder
獲取服務時間是否可以選擇(訂單)
Request Information
URI Parameters
None.
Body Parameters
GetServerTimeOrder_Input| Name | Description | Type | Additional information |
|---|---|---|---|
| Ticket |
身份票據 |
string |
Required |
| userId |
會員帳號 |
string |
Required |
| ServerTime |
服務時間 |
string |
Required |
| OrderNo |
訂單編號 |
string |
Required |
Request Formats
application/json, text/json
Sample:
{
"Ticket": "sample string 1",
"userId": "sample string 2",
"ServerTime": "sample string 3",
"OrderNo": "sample string 4"
}
text/html
Sample:
{"Ticket":"sample string 1","userId":"sample string 2","ServerTime":"sample string 3","OrderNo":"sample string 4"}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
獲取服務時間是否可以選擇(訂單)
GetServerTime_Output| Name | Description | Type | Additional information |
|---|---|---|---|
| ticketVerified |
驗證是否通過 |
boolean |
None. |
| IsMorning |
是否可選擇9:00-12:00 時段 |
boolean |
None. |
| IsAfternoon |
是否可選擇13:00-18:00 時段 |
boolean |
None. |
| IsNight |
是否可選擇18:00-21:00 時段 |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"ticketVerified": true,
"IsMorning": true,
"IsAfternoon": true,
"IsNight": true
}
text/html
Sample:
{"ticketVerified":true,"IsMorning":true,"IsAfternoon":true,"IsNight":true}