POST query/PublicQuery/EventListQuery

Listado de eventos de negocio

Request Information

URI Parameters

None.

Body Parameters

RequestQueryOfEventListQuery
NameDescriptionAdditional informationType
QueryCredentials

Credenciales

Required

QueryCredentials
QueryRequest

Petición

Required

EventListQuery

Request Formats

application/json, text/json

Sample:
{
  "QueryCredentials": {
    "User": "sample string 1",
    "Password": "sample string 2",
    "UserPasswordToken": "sample string 3"
  },
  "QueryRequest": {
    "QueryHeader": {
      "HotelCodeMap": {
        "HotelSourceCode": "sample string 1",
        "HotelTargetCode": "sample string 2"
      },
      "MaxRowsResponse": 1,
      "Source": "sample string 2"
    },
    "LastEventId": 1.0,
    "UserID": "9560afc1-21d0-4863-8059-4a7f607b2915"
  }
}

application/xml, text/xml

Sample:
<RequestQueryOfEventListQueryePqK7TrS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PMS.QueryProcessorSVC.Contracts.Requests">
  <QueryCredentials xmlns:d2p1="http://schemas.datacontract.org/2004/07/PMS.QueryProcessorSVC.Contracts.Security">
    <d2p1:Password>sample string 2</d2p1:Password>
    <d2p1:User>sample string 1</d2p1:User>
    <d2p1:UserPasswordToken>sample string 3</d2p1:UserPasswordToken>
  </QueryCredentials>
  <QueryRequest xmlns:d2p1="http://schemas.datacontract.org/2004/07/PMS.QueryProcessorBC.Queries.Property.EventAR">
    <UserID xmlns="http://schemas.datacontract.org/2004/07/WH_CQRS.DomainQueries">9560afc1-21d0-4863-8059-4a7f607b2915</UserID>
    <d2p1:LastEventId>1</d2p1:LastEventId>
    <d2p1:QueryHeader xmlns:d3p1="http://schemas.datacontract.org/2004/07/PMS.QueryProcessorBC.Commons.Parameters">
      <d3p1:HotelCodeMap xmlns:d4p1="http://schemas.datacontract.org/2004/07/PMS.QueryProcessorBC.Commons.HotelSettings">
        <d4p1:HotelSourceCode>sample string 1</d4p1:HotelSourceCode>
        <d4p1:HotelTargetCode>sample string 2</d4p1:HotelTargetCode>
      </d3p1:HotelCodeMap>
      <d3p1:MaxRowsResponse>1</d3p1:MaxRowsResponse>
      <d3p1:Source>sample string 2</d3p1:Source>
    </d2p1:QueryHeader>
  </QueryRequest>
</RequestQueryOfEventListQueryePqK7TrS>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BusinessEventListQueryResponse
NameDescriptionAdditional informationType
BusinessEvents

Eventos de negocio

Collection of BusinessEvent
Success

Es válida

boolean
Error

Error

string

Response Formats

application/json, text/json

Sample:
{
  "BusinessEvents": [
    {
      "EventId": 1.0,
      "ModifiedDate": "2025-04-30T13:25:19.4932011+02:00",
      "BookingState": 0,
      "BookingCode": "sample string 3",
      "ModifiedEntity": "sample string 4"
    },
    {
      "EventId": 1.0,
      "ModifiedDate": "2025-04-30T13:25:19.4932011+02:00",
      "BookingState": 0,
      "BookingCode": "sample string 3",
      "ModifiedEntity": "sample string 4"
    }
  ],
  "Success": true,
  "Error": "sample string 2"
}

application/xml, text/xml

Sample:
<BusinessEventListQueryResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PMS.QueryProcessorBC.Commons.Responses.Events">
  <Error xmlns="http://schemas.datacontract.org/2004/07/PMS.QueryProcessorBC.Commons.Responses">sample string 2</Error>
  <Success xmlns="http://schemas.datacontract.org/2004/07/PMS.QueryProcessorBC.Commons.Responses">true</Success>
  <BusinessEvents xmlns:d2p1="http://schemas.datacontract.org/2004/07/PMS.QueryProcessorBC.Commons.Events">
    <d2p1:BusinessEvent>
      <d2p1:BookingCode>sample string 3</d2p1:BookingCode>
      <d2p1:BookingState>None</d2p1:BookingState>
      <d2p1:EventId>1</d2p1:EventId>
      <d2p1:ModifiedDate>2025-04-30T13:25:19.4932011+02:00</d2p1:ModifiedDate>
      <d2p1:ModifiedEntity>sample string 4</d2p1:ModifiedEntity>
    </d2p1:BusinessEvent>
    <d2p1:BusinessEvent>
      <d2p1:BookingCode>sample string 3</d2p1:BookingCode>
      <d2p1:BookingState>None</d2p1:BookingState>
      <d2p1:EventId>1</d2p1:EventId>
      <d2p1:ModifiedDate>2025-04-30T13:25:19.4932011+02:00</d2p1:ModifiedDate>
      <d2p1:ModifiedEntity>sample string 4</d2p1:ModifiedEntity>
    </d2p1:BusinessEvent>
  </BusinessEvents>
</BusinessEventListQueryResponse>