POST reservation/locator/list

Request Information

URI Parameters

None.

Body Parameters

ReservationRequest
NameDescriptionTypeAdditional information
UserId

integer

None.

StatusLocator

Collection of HotelReservationStatus

None.

StatusConfirm

Collection of HotelReservationConfirmStatus

None.

DateReference

DateReference

None.

DateStart

date

None.

DateEnd

date

None.

SetDateRestriction

boolean

None.

PaymentOption

Collection of PaymentOption

None.

CollectTypes

Collection of HotelCollectType

None.

HotelsIds

Collection of integer

None.

ContractId

integer

None.

ProviderAccountId

integer

None.

MarketRCPId

integer

None.

FilterString

string

None.

ProductManagerId

integer

None.

ProductManagerNotAssigned

boolean

None.

PageSize

integer

None.

Page

integer

None.

AffiliateId

integer

None.

ExternalProvidersFilter

Collection of ExternalProvider

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "StatusLocator": [
    0,
    0
  ],
  "StatusConfirm": [
    0,
    0
  ],
  "DateReference": 0,
  "DateStart": "2025-08-13T16:08:34.937626-06:00",
  "DateEnd": "2025-08-13T16:08:34.937626-06:00",
  "SetDateRestriction": true,
  "PaymentOption": [
    0,
    0
  ],
  "CollectTypes": [
    1,
    1
  ],
  "HotelsIds": [
    1,
    2
  ],
  "ContractId": 1,
  "ProviderAccountId": 1,
  "MarketRCPId": 1,
  "FilterString": "sample string 2",
  "ProductManagerId": 1,
  "ProductManagerNotAssigned": true,
  "PageSize": 4,
  "Page": 5,
  "AffiliateId": 1,
  "ExternalProvidersFilter": [
    0,
    0
  ]
}

application/xml, text/xml

Sample:
<ReservationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PT.Platform.Extranet.Hotels.Data.Model.Reservation">
  <AffiliateId>1</AffiliateId>
  <CollectTypes xmlns:d2p1="http://schemas.datacontract.org/2004/07/PrecioyViajes.Dao.Model">
    <d2p1:HotelCollectType>Prepaid</d2p1:HotelCollectType>
    <d2p1:HotelCollectType>Prepaid</d2p1:HotelCollectType>
  </CollectTypes>
  <ContractId>1</ContractId>
  <DateEnd>2025-08-13T16:08:34.937626-06:00</DateEnd>
  <DateReference>Reservation</DateReference>
  <DateStart>2025-08-13T16:08:34.937626-06:00</DateStart>
  <ExternalProvidersFilter xmlns:d2p1="http://schemas.datacontract.org/2004/07/PrecioyViajes.Dao.Model">
    <d2p1:ExternalProvider>None</d2p1:ExternalProvider>
    <d2p1:ExternalProvider>None</d2p1:ExternalProvider>
  </ExternalProvidersFilter>
  <FilterString>sample string 2</FilterString>
  <HotelsIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </HotelsIds>
  <MarketRCPId>1</MarketRCPId>
  <Page>5</Page>
  <PageSize>4</PageSize>
  <PaymentOption>
    <PaymentOption>VirtualCard</PaymentOption>
    <PaymentOption>VirtualCard</PaymentOption>
  </PaymentOption>
  <ProductManagerId>1</ProductManagerId>
  <ProductManagerNotAssigned>true</ProductManagerNotAssigned>
  <ProviderAccountId>1</ProviderAccountId>
  <SetDateRestriction>true</SetDateRestriction>
  <StatusConfirm>
    <HotelReservationConfirmStatus>Confirmed</HotelReservationConfirmStatus>
    <HotelReservationConfirmStatus>Confirmed</HotelReservationConfirmStatus>
  </StatusConfirm>
  <StatusLocator>
    <HotelReservationStatus>New</HotelReservationStatus>
    <HotelReservationStatus>New</HotelReservationStatus>
  </StatusLocator>
  <UserId>1</UserId>
</ReservationRequest>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.