POST api/Order/AcceptTermsOfService

是否同意服务条款

Request Information

URI Parameters

None.

Body Parameters

AcceptTermsOfService_Input
NameDescriptionTypeAdditional information
Ticket

身份票據

string

Required

userId

會員帳號

string

Required

orderNumber

訂單編號

string

Required

Matching regular expression pattern: (CO|BO|HO|FO|HC|HQ|CB)\d{11}

IsAgreement

是否同意 (true 同意,false 不同意)

boolean

Required

Request Formats

application/json, text/json

Sample:
{
  "Ticket": "sample string 1",
  "userId": "sample string 2",
  "orderNumber": "sample string 3",
  "IsAgreement": true
}

text/html

Sample:
{"Ticket":"sample string 1","userId":"sample string 2","orderNumber":"sample string 3","IsAgreement":true}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

是否同意服务条款

AcceptTermsOfService_Output
NameDescriptionTypeAdditional information
status

0:系統錯誤 1:成功,2无效订单 3 已提交过,无需重复提交

integer

None.

ticketVerified

驗證是否通過

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "status": 1,
  "ticketVerified": true
}

text/html

Sample:
{"status":1,"ticketVerified":true}