POST api/sugarai/v1/cancel

取消

Request Information

URI Parameters

None.

Body Parameters

CancelRq
NameDescriptionTypeAdditional information
logTrackGuid

日志標識

string

None.

reserveNumbers

需要取消的預約號碼

Collection of string

None.

reason

取消原因

string

None.

Request Formats

application/json, text/json

Sample:
{
  "logTrackGuid": "sample string 1",
  "reserveNumbers": [
    "sample string 1",
    "sample string 2"
  ],
  "reason": "sample string 2"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CancelRq'.

Response Information

Resource Description

取消

ReturnResultOfCancelRp
NameDescriptionTypeAdditional information
data

CancelRp

None.

code

状态码:100成功,其他自定义

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": {
    "success": true,
    "cancelInfos": [
      {
        "productkey": "sample string 1",
        "docNo": "sample string 2",
        "reserveNumber": "sample string 3",
        "expireAt": "2024-12-23T19:39:01.525995+08:00",
        "state": "sample string 4",
        "quoteNumber": "sample string 5",
        "basePrice": 1.0,
        "orgBasePrice": 1.0,
        "discount": 1.0,
        "tax": 1.0,
        "orgTax": 1.0,
        "finalPrice": 1.0,
        "compensation": 1.0
      },
      {
        "productkey": "sample string 1",
        "docNo": "sample string 2",
        "reserveNumber": "sample string 3",
        "expireAt": "2024-12-23T19:39:01.525995+08:00",
        "state": "sample string 4",
        "quoteNumber": "sample string 5",
        "basePrice": 1.0,
        "orgBasePrice": 1.0,
        "discount": 1.0,
        "tax": 1.0,
        "orgTax": 1.0,
        "finalPrice": 1.0,
        "compensation": 1.0
      }
    ]
  },
  "code": 1,
  "message": "sample string 2"
}