POST api/ServerPro/GetUnserviceableDates
商品不可服务时间(购物车)
Request Information
URI Parameters
None.
Body Parameters
input_unserviceableDates| Name | Description | Type | Additional information |
|---|---|---|---|
| Ticket |
身份票據 |
string |
Required |
| mshopId |
服务商品编号 |
globally unique identifier |
None. |
| sameWorker |
若為true則只查詢同服務商品代號上一筆訂單的供應商的不可服務時間。 |
boolean |
None. |
| userId |
會員帳號 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Ticket": "sample string 1",
"mshopId": "e26f2135-7114-4a86-b650-a7d9770c46bc",
"sameWorker": true,
"userId": "sample string 4"
}
text/html
Sample:
{"Ticket":"sample string 1","mshopId":"e26f2135-7114-4a86-b650-a7d9770c46bc","sameWorker":true,"userId":"sample string 4"}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
商品不可服务时间(购物车)
output_unserviceableDates| Name | Description | Type | Additional information |
|---|---|---|---|
| unserviceableDates |
不可服务时间 |
Collection of string |
None. |
| ticketVerified |
驗證是否通過 |
boolean |
None. |
| daysOfWeekDisabled |
不可服務的星期 |
Collection of string |
None. |
| dateStart |
可服務日期(起) |
integer |
None. |
| dateEnd |
可服務日期(迄) |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"unserviceableDates": [
"sample string 1",
"sample string 2"
],
"ticketVerified": true,
"daysOfWeekDisabled": [
"sample string 1",
"sample string 2"
],
"dateStart": 1,
"dateEnd": 1
}
text/html
Sample:
{"unserviceableDates":["sample string 1","sample string 2"],"ticketVerified":true,"daysOfWeekDisabled":["sample string 1","sample string 2"],"dateStart":1,"dateEnd":1}