POST api/Pro/ProDefaultPrice
商品默認價格
Request Information
URI Parameters
None.
Body Parameters
DefaultProPrice_Input| Name | Description | Type | Additional information |
|---|---|---|---|
| Ticket |
身份票據 |
string |
Required |
| productNumber |
商品編號 |
string |
Required |
| clientAreaNo |
使用者所在區域 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Ticket": "sample string 1",
"productNumber": "sample string 2",
"clientAreaNo": "sample string 3"
}
text/html
Sample:
{"Ticket":"sample string 1","productNumber":"sample string 2","clientAreaNo":"sample string 3"}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
商品默認價格
DefaultProPrice_Output| Name | Description | Type | Additional information |
|---|---|---|---|
| ticketVerified |
驗證是否通過 |
boolean |
None. |
| price |
商品價格 |
decimal number |
None. |
| promotionText |
商品促銷文字 |
SaleAdText |
None. |
| promotion |
促銷 |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"ticketVerified": true,
"price": 2.0,
"promotionText": {
"text": "sample string 1",
"href": "sample string 2"
},
"promotion": true
}
text/html
Sample:
{"ticketVerified":true,"price":2.0,"promotionText":{"text":"sample string 1","href":"sample string 2"},"promotion":true}