POST api/sugarai/v1/confirm

確認

Request Information

URI Parameters

None.

Body Parameters

ConfirmRq
NameDescriptionTypeAdditional information
logTrackGuid

日志標識

string

None.

reserveNumbers

需要確認的預約號碼

Collection of string

None.

Request Formats

application/json, text/json

Sample:
{
  "logTrackGuid": "sample string 1",
  "reserveNumbers": [
    "sample string 1",
    "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 'ConfirmRq'.

Response Information

Resource Description

確認

ReturnResultOfConfirmRp
NameDescriptionTypeAdditional information
data

ConfirmRp

None.

code

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

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": {
    "success": true,
    "confirmInfos": [
      {
        "productkey": "sample string 1",
        "docNo": "sample string 2",
        "reserveNumber": "sample string 3",
        "expireAt": "2024-12-23T19:45:57.2490387+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:45:57.2490387+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"
}