POST api/hotel/rts/order/cancel

订单取消

Request Information

URI Parameters

None.

Body Parameters

BookingCancel
NameDescriptionTypeAdditional information
LanguageCode

string

None.

BookingCode

string

None.

ItemNo

string

None.

CancelReasonCode

string

None.

LastWriterUno

integer

None.

Source

string

None.

UserName

string

None.

Cid

string

None.

Request Formats

application/json, text/json

Sample:
{
  "LanguageCode": "sample string 1",
  "BookingCode": "sample string 2",
  "ItemNo": "sample string 3",
  "CancelReasonCode": "sample string 4",
  "LastWriterUno": 5,
  "Source": "sample string 6",
  "UserName": "sample string 7",
  "Cid": "sample string 8"
}

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 'BookingCancel'.

Response Information

Resource Description

订单取消

ReturnResultOfHotelBookingResponse
NameDescriptionTypeAdditional information
data

None.

Response Formats

application/json, text/json

Sample:
{
  "data": {
    "LanguageCode": "sample string 1",
    "BookingCode": "sample string 2",
    "BookingName": "sample string 3",
    "BookingStatusCode": "sample string 4",
    "BookingStatusName": "sample string 5",
    "FullCancelReasonCode": "sample string 6",
    "FullCancelReasonName": "sample string 7",
    "NormalRemarks": "sample string 8",
    "SalesRemarks": "sample string 9",
    "BookingTime": "sample string 10",
    "DepartureDate": "sample string 11",
    "CancelDeadLine": "sample string 12",
    "LastWriteTime": "sample string 13",
    "CustomerList": [
      {
        "No": 1,
        "Name": "sample string 2",
        "LastName": "sample string 3",
        "FirstName": "sample string 4",
        "Gender": "sample string 5",
        "Age": "sample string 6",
        "Country": "sample string 7",
        "Birthday": "sample string 8",
        "JuminNo": "sample string 9",
        "LeadYn": true,
        "PassportNo": "sample string 11",
        "PassportExpiry": "sample string 12"
      },
      {
        "No": 1,
        "Name": "sample string 2",
        "LastName": "sample string 3",
        "FirstName": "sample string 4",
        "Gender": "sample string 5",
        "Age": "sample string 6",
        "Country": "sample string 7",
        "Birthday": "sample string 8",
        "JuminNo": "sample string 9",
        "LeadYn": true,
        "PassportNo": "sample string 11",
        "PassportExpiry": "sample string 12"
      }
    ],
    "BookingItemList": [
      {
        "ItemNo": "sample string 1",
        "ItemTypeCode": "sample string 2",
        "NormalReceiveYn": "sample string 3",
        "BookingReference": "sample string 4",
        "ItemReference": "sample string 5",
        "CountryCode": "sample string 6",
        "CountryName": "sample string 7",
        "CityCode": "sample string 8",
        "CityName": "sample string 9",
        "ItemCode": "sample string 10",
        "ItemName": "sample string 11",
        "CheckInDate": "sample string 12",
        "CheckOutDate": "sample string 13",
        "Duration": "sample string 14",
        "CancelDeadLine": "sample string 15",
        "FreeBreakfastCode": "sample string 16",
        "FreeBreakfastName": "sample string 17",
        "SellingCurrencyCode": "sample string 18",
        "SellingCurrencyRate": "sample string 19",
        "ClientCurrencyCode": "sample string 20",
        "ClientPartnerAmount": "sample string 21",
        "ClientSellingAmount": "sample string 22",
        "ItemStatusCode": "sample string 23",
        "ItemStatusName": "sample string 24",
        "ItemConfirmationNo": "sample string 25",
        "ItemConfirmedTime": "sample string 26",
        "ItemCancelReasonCode": "sample string 27",
        "ItemCancelReasonName": "sample string 28",
        "RoomTypeCode": "sample string 29",
        "RoomTypeName": "sample string 30",
        "LastWriteTime": "sample string 31",
        "BookingDate": "sample string 32",
        "RoomAndGuestList": [
          {
            "RoomNo": "sample string 1",
            "BedTypeCode": "sample string 2",
            "BedTypeName": "sample string 3",
            "GuestList": [
              {
                "GuestNo": "sample string 1",
                "GuestName": "sample string 2",
                "BookMailCount": "sample string 3",
                "CancelMailCount": "sample string 4",
                "ModifyMailCount": "sample string 5",
                "VoucherMailCount": "sample string 6",
                "VoucherRemarks": "sample string 7",
                "SpecialRemarks": "sample string 8",
                "TravelerNationlity": "sample string 9",
                "CancelNotice": "sample string 10"
              },
              {
                "GuestNo": "sample string 1",
                "GuestName": "sample string 2",
                "BookMailCount": "sample string 3",
                "CancelMailCount": "sample string 4",
                "ModifyMailCount": "sample string 5",
                "VoucherMailCount": "sample string 6",
                "VoucherRemarks": "sample string 7",
                "SpecialRemarks": "sample string 8",
                "TravelerNationlity": "sample string 9",
                "CancelNotice": "sample string 10"
              }
            ]
          },
          {
            "RoomNo": "sample string 1",
            "BedTypeCode": "sample string 2",
            "BedTypeName": "sample string 3",
            "GuestList": [
              {
                "GuestNo": "sample string 1",
                "GuestName": "sample string 2",
                "BookMailCount": "sample string 3",
                "CancelMailCount": "sample string 4",
                "ModifyMailCount": "sample string 5",
                "VoucherMailCount": "sample string 6",
                "VoucherRemarks": "sample string 7",
                "SpecialRemarks": "sample string 8",
                "TravelerNationlity": "sample string 9",
                "CancelNotice": "sample string 10"
              },
              {
                "GuestNo": "sample string 1",
                "GuestName": "sample string 2",
                "BookMailCount": "sample string 3",
                "CancelMailCount": "sample string 4",
                "ModifyMailCount": "sample string 5",
                "VoucherMailCount": "sample string 6",
                "VoucherRemarks": "sample string 7",
                "SpecialRemarks": "sample string 8",
                "TravelerNationlity": "sample string 9",
                "CancelNotice": "sample string 10"
              }
            ]
          }
        ]
      },
      {
        "ItemNo": "sample string 1",
        "ItemTypeCode": "sample string 2",
        "NormalReceiveYn": "sample string 3",
        "BookingReference": "sample string 4",
        "ItemReference": "sample string 5",
        "CountryCode": "sample string 6",
        "CountryName": "sample string 7",
        "CityCode": "sample string 8",
        "CityName": "sample string 9",
        "ItemCode": "sample string 10",
        "ItemName": "sample string 11",
        "CheckInDate": "sample string 12",
        "CheckOutDate": "sample string 13",
        "Duration": "sample string 14",
        "CancelDeadLine": "sample string 15",
        "FreeBreakfastCode": "sample string 16",
        "FreeBreakfastName": "sample string 17",
        "SellingCurrencyCode": "sample string 18",
        "SellingCurrencyRate": "sample string 19",
        "ClientCurrencyCode": "sample string 20",
        "ClientPartnerAmount": "sample string 21",
        "ClientSellingAmount": "sample string 22",
        "ItemStatusCode": "sample string 23",
        "ItemStatusName": "sample string 24",
        "ItemConfirmationNo": "sample string 25",
        "ItemConfirmedTime": "sample string 26",
        "ItemCancelReasonCode": "sample string 27",
        "ItemCancelReasonName": "sample string 28",
        "RoomTypeCode": "sample string 29",
        "RoomTypeName": "sample string 30",
        "LastWriteTime": "sample string 31",
        "BookingDate": "sample string 32",
        "RoomAndGuestList": [
          {
            "RoomNo": "sample string 1",
            "BedTypeCode": "sample string 2",
            "BedTypeName": "sample string 3",
            "GuestList": [
              {
                "GuestNo": "sample string 1",
                "GuestName": "sample string 2",
                "BookMailCount": "sample string 3",
                "CancelMailCount": "sample string 4",
                "ModifyMailCount": "sample string 5",
                "VoucherMailCount": "sample string 6",
                "VoucherRemarks": "sample string 7",
                "SpecialRemarks": "sample string 8",
                "TravelerNationlity": "sample string 9",
                "CancelNotice": "sample string 10"
              },
              {
                "GuestNo": "sample string 1",
                "GuestName": "sample string 2",
                "BookMailCount": "sample string 3",
                "CancelMailCount": "sample string 4",
                "ModifyMailCount": "sample string 5",
                "VoucherMailCount": "sample string 6",
                "VoucherRemarks": "sample string 7",
                "SpecialRemarks": "sample string 8",
                "TravelerNationlity": "sample string 9",
                "CancelNotice": "sample string 10"
              }
            ]
          },
          {
            "RoomNo": "sample string 1",
            "BedTypeCode": "sample string 2",
            "BedTypeName": "sample string 3",
            "GuestList": [
              {
                "GuestNo": "sample string 1",
                "GuestName": "sample string 2",
                "BookMailCount": "sample string 3",
                "CancelMailCount": "sample string 4",
                "ModifyMailCount": "sample string 5",
                "VoucherMailCount": "sample string 6",
                "VoucherRemarks": "sample string 7",
                "SpecialRemarks": "sample string 8",
                "TravelerNationlity": "sample string 9",
                "CancelNotice": "sample string 10"
              },
              {
                "GuestNo": "sample string 1",
                "GuestName": "sample string 2",
                "BookMailCount": "sample string 3",
                "CancelMailCount": "sample string 4",
                "ModifyMailCount": "sample string 5",
                "VoucherMailCount": "sample string 6",
                "VoucherRemarks": "sample string 7",
                "SpecialRemarks": "sample string 8",
                "TravelerNationlity": "sample string 9",
                "CancelNotice": "sample string 10"
              }
            ]
          }
        ]
      }
    ],
    "BookingResult": {
      "BookingCode": "sample string 1",
      "NormalReceivedYn": "sample string 2"
    },
    "Msg": "sample string 14",
    "Status": 15
  },
  "code": 1,
  "message": "sample string 2"
}