POST api/Elong/OrderList

返回订单列表

Request Information

URI Parameters

None.

Body Parameters

OrderListCondition
NameDescriptionTypeAdditional information
CreationTimeFrom

date

None.

CreationTimeTo

date

None.

HotelId

string

None.

RoomTypeId

string

None.

RatePlanId

integer

None.

ArrivalDateFrom

date

None.

ArrivalDateTo

date

None.

DepartureDateFrom

date

None.

DepartureDateTo

date

None.

Mobile

string

None.

CustomerName

string

None.

Status

string

None.

PageIndex

integer

None.

MaxUpdateTime

date

None.

MinUpdateTime

date

None.

PageSize

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "creationTimeFromField": "2025-05-24T22:57:20.1872604+08:00",
  "creationTimeToField": "2025-05-24T22:57:20.1872604+08:00",
  "hotelIdField": "sample string 1",
  "roomTypeIdField": "sample string 2",
  "ratePlanIdField": 1,
  "arrivalDateFromField": "2025-05-24T22:57:20.1872604+08:00",
  "arrivalDateToField": "2025-05-24T22:57:20.1872604+08:00",
  "departureDateFromField": "2025-05-24T22:57:20.1872604+08:00",
  "departureDateToField": "2025-05-24T22:57:20.1872604+08:00",
  "mobileField": "sample string 3",
  "customerNameField": "sample string 4",
  "statusField": "sample string 5",
  "pageIndexField": 6,
  "maxUpdateTimeField": "2025-05-24T22:57:20.1872604+08:00",
  "minUpdateTimeField": "2025-05-24T22:57:20.1872604+08:00",
  "pageSizeField": 1
}

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

Response Information

Resource Description

BaseResponseOfOrderListResult
NameDescriptionTypeAdditional information
Code

string

None.

Result

OrderListResult

None.

Data

OrderListResult

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": "sample string 1",
  "Result": {
    "countField": 1,
    "ordersField": [
      {
        "orderIdField": 1,
        "statusField": "sample string 2",
        "hotelNameField": "sample string 3",
        "roomTypeNameField": "sample string 4",
        "ratePlanNameField": "sample string 5",
        "hotelIdField": "sample string 6",
        "roomTypeIdField": "sample string 7",
        "ratePlanIdField": 8,
        "arrivalDateField": "2025-05-24T22:57:20.202886+08:00",
        "departureDateField": "2025-05-24T22:57:20.202886+08:00",
        "customerTypeField": 0,
        "paymentTypeField": 0,
        "numberOfRoomsField": 11,
        "numberOfCustomersField": 12,
        "earliestArrivalTimeField": "2025-05-24T22:57:20.202886+08:00",
        "latestArrivalTimeField": "2025-05-24T22:57:20.202886+08:00",
        "currencyCodeField": 0,
        "totalPriceField": 15.0,
        "customerPriceField": 16.0,
        "confirmationTypeField": 0,
        "noteToHotelField": "sample string 17",
        "noteToElongField": "sample string 18"
      },
      {
        "orderIdField": 1,
        "statusField": "sample string 2",
        "hotelNameField": "sample string 3",
        "roomTypeNameField": "sample string 4",
        "ratePlanNameField": "sample string 5",
        "hotelIdField": "sample string 6",
        "roomTypeIdField": "sample string 7",
        "ratePlanIdField": 8,
        "arrivalDateField": "2025-05-24T22:57:20.202886+08:00",
        "departureDateField": "2025-05-24T22:57:20.202886+08:00",
        "customerTypeField": 0,
        "paymentTypeField": 0,
        "numberOfRoomsField": 11,
        "numberOfCustomersField": 12,
        "earliestArrivalTimeField": "2025-05-24T22:57:20.202886+08:00",
        "latestArrivalTimeField": "2025-05-24T22:57:20.202886+08:00",
        "currencyCodeField": 0,
        "totalPriceField": 15.0,
        "customerPriceField": 16.0,
        "confirmationTypeField": 0,
        "noteToHotelField": "sample string 17",
        "noteToElongField": "sample string 18"
      }
    ]
  },
  "Data": {
    "countField": 1,
    "ordersField": [
      {
        "orderIdField": 1,
        "statusField": "sample string 2",
        "hotelNameField": "sample string 3",
        "roomTypeNameField": "sample string 4",
        "ratePlanNameField": "sample string 5",
        "hotelIdField": "sample string 6",
        "roomTypeIdField": "sample string 7",
        "ratePlanIdField": 8,
        "arrivalDateField": "2025-05-24T22:57:20.202886+08:00",
        "departureDateField": "2025-05-24T22:57:20.202886+08:00",
        "customerTypeField": 0,
        "paymentTypeField": 0,
        "numberOfRoomsField": 11,
        "numberOfCustomersField": 12,
        "earliestArrivalTimeField": "2025-05-24T22:57:20.202886+08:00",
        "latestArrivalTimeField": "2025-05-24T22:57:20.202886+08:00",
        "currencyCodeField": 0,
        "totalPriceField": 15.0,
        "customerPriceField": 16.0,
        "confirmationTypeField": 0,
        "noteToHotelField": "sample string 17",
        "noteToElongField": "sample string 18"
      },
      {
        "orderIdField": 1,
        "statusField": "sample string 2",
        "hotelNameField": "sample string 3",
        "roomTypeNameField": "sample string 4",
        "ratePlanNameField": "sample string 5",
        "hotelIdField": "sample string 6",
        "roomTypeIdField": "sample string 7",
        "ratePlanIdField": 8,
        "arrivalDateField": "2025-05-24T22:57:20.202886+08:00",
        "departureDateField": "2025-05-24T22:57:20.202886+08:00",
        "customerTypeField": 0,
        "paymentTypeField": 0,
        "numberOfRoomsField": 11,
        "numberOfCustomersField": 12,
        "earliestArrivalTimeField": "2025-05-24T22:57:20.202886+08:00",
        "latestArrivalTimeField": "2025-05-24T22:57:20.202886+08:00",
        "currencyCodeField": 0,
        "totalPriceField": 15.0,
        "customerPriceField": 16.0,
        "confirmationTypeField": 0,
        "noteToHotelField": "sample string 17",
        "noteToElongField": "sample string 18"
      }
    ]
  }
}