POST api/ServerPro/GetServerTimePro
獲取服務時間是否可以選擇(商品)
Request Information
URI Parameters
None.
Body Parameters
GetServerTimePro_Input| Name | Description | Type | Additional information |
|---|---|---|---|
| Ticket |
身份票據 |
string |
Required |
| userId |
會員帳號 |
string |
Required |
| ServerTime |
服務時間 |
string |
Required |
| ProNo |
商品編號 |
string |
Required |
| CityNo |
服務縣市編號 |
string |
Required |
| AreaNo |
鄉鎮市區編號 |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Ticket": "sample string 1",
"userId": "sample string 2",
"ServerTime": "sample string 3",
"ProNo": "sample string 4",
"CityNo": "sample string 5",
"AreaNo": 1
}
text/html
Sample:
{"Ticket":"sample string 1","userId":"sample string 2","ServerTime":"sample string 3","ProNo":"sample string 4","CityNo":"sample string 5","AreaNo":1}
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}