POST api/SharePurchSpec/SharePurchSpecSave
儲存規格列表
Request Information
URI Parameters
None.
Body Parameters
SharePurchSpecSave_Input| Name | Description | Type | Additional information |
|---|---|---|---|
| Ticket |
身份票據 |
string |
Required |
| productNumber |
服務商品編號 |
string |
Required |
| ServiceCityNo |
服務城市編號 |
integer |
None. |
| ServiceAreaNo |
服務區域編號 |
integer |
None. |
| ServiceSpecs |
服務規格 |
Collection of ServiceSpecs |
None. |
Request Formats
application/json, text/json
Sample:
{
"Ticket": "sample string 1",
"productNumber": "sample string 2",
"ServiceCityNo": 1,
"ServiceAreaNo": 1,
"ServiceSpecs": [
{
"ServiceSpec": "sample string 1",
"condition": 2,
"Qty": 3,
"Questions": "sample string 4"
},
{
"ServiceSpec": "sample string 1",
"condition": 2,
"Qty": 3,
"Questions": "sample string 4"
}
]
}
text/html
Sample:
{"Ticket":"sample string 1","productNumber":"sample string 2","ServiceCityNo":1,"ServiceAreaNo":1,"ServiceSpecs":[{"ServiceSpec":"sample string 1","condition":2,"Qty":3,"Questions":"sample string 4"},{"ServiceSpec":"sample string 1","condition":2,"Qty":3,"Questions":"sample string 4"}]}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
儲存規格列表
SharePurchSpecSave_Output| Name | Description | Type | Additional information |
|---|---|---|---|
| ticketVerified |
驗證是否通過 |
boolean |
None. |
| specGroupNumber |
規格群組編號 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ticketVerified": true,
"specGroupNumber": "sample string 2"
}
text/html
Sample:
{"ticketVerified":true,"specGroupNumber":"sample string 2"}