Skip to content

EVENT RESERVATION SERVICE ADD V001

Service Reference Name: S_EVENT_RESERVATION_SERVICE_ADD_V001

General

This service is able to add a service or a package to a particular event reservation or room reservation or module reservation. Also services to room reservations that are assigned to a module reservation can be added.

Input

Due to that the service/package can be added to different nodes in the event tree, the necessary data needs to be sent to address the targeted node for the request. Use the refroomresobjid for room reservations and refmoduleresobjid for module reservations. If there are both empty, the service/package will be added to the event. If the room is below a module reservation, the refmoduleresobjid needs not to be sent. The room reservation is identifiable by its ObjID.

HINT: The ObjID of the event reservation is a precondition for everything and needs to be set in all cases. The service code is also required.

With the service the fromDate, toDate and also the timeFrom or timeTo as well as the numberliteral can be set. The service will create at least one data set per day between dateFrom and dateTo (inclusive). In case of assigning a package, there will be also one data set per entry in the components. If there are no data for the dates or times, the values of the superior node will be overtaken (Room in case of room services, module in case of module services and so on).

Output

The service will return all services (no matter if they are standalone or from a package) that are assigned to that event reservation.

The data is stored per date, and the result will contain all service entries from the event reservation, not only the recently created or assigned.

The result contains among other things the ObjID of every assigned service. The ObjID is necessary to change or remove the particular service afterwards.

Direction

SIHOT.PMS ← IF Partner

Message

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:envgen="http://soapenvelopegenerator.eduardocastro.info/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <soapenv:Header />
  <soapenv:Body>
    <S_EVENT_RESERVATION_SERVICE_ADD_V001Request xmlns="http://www.gubse.com/IFS/SihotServices01.xsd"><!--Optional--><TransactionID>string</TransactionID>
      <Authentication>
        <SecurityID>string</SecurityID>
      </Authentication>
      <EventRes>
        <EVENT-RESERVATION-OBJID>Base: string Pattern: ([0-9])*</EVENT-RESERVATION-OBJID>
      </EventRes>
      <Service>
        <servicecode>string</servicecode><!--Optional--><refroomresobjid>Base: string Pattern: ([0-9])*</refroomresobjid><!--Optional--><refmoduleresobjid>Base: string Pattern: ([0-9])*</refmoduleresobjid><!--Optional--><datefrom>Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2})|</datefrom><!--Optional--><dateto>Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2})|</dateto><!--Optional--><timefrom>Base: string Pattern: ([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])|</timefrom><!--Optional--><timeto>Base: string Pattern: ([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])|</timeto><!--Optional--><numberliteral>Base: string Pattern: ([-+]){0,1}([0-9])*</numberliteral>
      </Service>
    </S_EVENT_RESERVATION_SERVICE_ADD_V001Request>
  </soapenv:Body>
</soapenv:Envelope>

Attributes Message

Name Type
S_EVENT_RESERVATION_SERVICE_ADD_V001Request
TransactionID string
Authentication Node
SecurityID string
EventRes Node
EVENT-RESERVATION-OBJID Base: string Pattern: ([0-9])*
Service Node
servicecode string
refroomresobjid Base: string Pattern: ([0-9])*
refmoduleresobjid Base: string Pattern: ([0-9])*
datefrom Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2})
dateto Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2})
timefrom Base: string Pattern: ([01][0-9]
timeto Base: string Pattern: ([01][0-9]
numberliteral Base: string Pattern: ([-+]){0,1}([0-9])*

Response

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:envgen="http://soapenvelopegenerator.eduardocastro.info/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <soapenv:Header />
  <soapenv:Body>
    <S_EVENT_RESERVATION_SERVICE_ADD_V001Response xmlns="http://www.gubse.com/IFS/SihotServices01.xsd"><!--Optional--><TransactionID>string</TransactionID>
      <Result>
        <Success>Base: string Pattern: true or false</Success><!--Optional--><ErrorMsg>string</ErrorMsg><!--Optional--><MSG-LIST><!--Optional--><MSG-ENTRY><!--Optional--><MSG-LEVEL>Base: string Pattern: ERROR or WARNING or INFO</MSG-LEVEL><!--Optional--><MSG-CLASS>string</MSG-CLASS><!--Optional--><MSG-NO>Base: string Pattern: ([0-9])*</MSG-NO><!--Optional--><MSG-TEXT>string</MSG-TEXT><!--Optional--><MSG-ENTRY-PARAM-LIST><!--Optional--><PARAM><!--Optional--><INDEX>Base: string Pattern: ([0-9])*</INDEX><!--Optional--><VALUE>string</VALUE>
              </PARAM>
            </MSG-ENTRY-PARAM-LIST><!--Optional--><MSG-COMMENT>string</MSG-COMMENT><!--Optional--><MSG-SUPRESSED>string</MSG-SUPRESSED>
          </MSG-ENTRY>
        </MSG-LIST>
      </Result><!--Optional--><EventRes><!--Optional--><EventServiceRes>
          <EVENT-SERVICE-OBJID>Base: string Pattern: ([0-9])*</EVENT-SERVICE-OBJID>
          <service>string</service>
          <date>Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2})|</date>
          <timefrom>Base: string Pattern: ([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])|</timefrom>
          <timeto>Base: string Pattern: ([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])|</timeto>
          <numberliteral>Base: string Pattern: ([-+]){0,1}([0-9])*</numberliteral>
          <postingtype>Base: string minLength: 0 maxLength: 4</postingtype>
        </EventServiceRes><!--Optional--><RoomRes><!--Optional--><RoomServiceRes>
            <ROOM-SERVICE-OBJID>Base: string Pattern: ([0-9])*</ROOM-SERVICE-OBJID>
            <service>string</service>
            <date>Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2})|</date>
            <timefrom>Base: string Pattern: ([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])|</timefrom>
            <timeto>Base: string Pattern: ([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])|</timeto>
            <numberliteral>Base: string Pattern: ([-+]){0,1}([0-9])*</numberliteral>
            <postingtype>Base: string minLength: 0 maxLength: 4</postingtype>
          </RoomServiceRes>
        </RoomRes><!--Optional--><ModuleRes><!--Optional--><ModuleServiceRes>
            <MODULE-SERVICE-OBJID>Base: string Pattern: ([0-9])*</MODULE-SERVICE-OBJID>
            <service>string</service>
            <date>Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2})|</date>
            <timefrom>Base: string Pattern: ([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])|</timefrom>
            <timeto>Base: string Pattern: ([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])|</timeto>
            <numberliteral>Base: string Pattern: ([-+]){0,1}([0-9])*</numberliteral>
            <postingtype>Base: string minLength: 0 maxLength: 4</postingtype>
          </ModuleServiceRes><!--Optional--><ModuleRoomRes><!--Optional--><ModuleRoomServiceRes>
              <MODULE-ROOM-SERVICE-OBJID>Base: string Pattern: ([0-9])*</MODULE-ROOM-SERVICE-OBJID>
              <service>string</service>
              <date>Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2})|</date>
              <timefrom>Base: string Pattern: ([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])|</timefrom>
              <timeto>Base: string Pattern: ([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])|</timeto>
              <numberliteral>Base: string Pattern: ([-+]){0,1}([0-9])*</numberliteral>
              <postingtype>Base: string minLength: 0 maxLength: 4</postingtype>
            </ModuleRoomServiceRes>
          </ModuleRoomRes>
        </ModuleRes>
      </EventRes>
    </S_EVENT_RESERVATION_SERVICE_ADD_V001Response>
  </soapenv:Body>
</soapenv:Envelope>

Attributes Response

Name Type
S_EVENT_RESERVATION_SERVICE_ADD_V001Response
TransactionID string
Result Node
Success Base: string Pattern: true or false
ErrorMsg string
MSG-LIST Node
MSG-ENTRY Node
MSG-LEVEL Base: string Pattern: ERROR or WARNING or INFO
MSG-CLASS string
MSG-NO Base: string Pattern: ([0-9])*
MSG-TEXT string
MSG-ENTRY-PARAM-LIST Node
PARAM Node
INDEX Base: string Pattern: ([0-9])*
VALUE string
MSG-COMMENT string
MSG-SUPRESSED string
EventRes Node
EventServiceRes Node
EVENT-SERVICE-OBJID Base: string Pattern: ([0-9])*
service string
date Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2})
timefrom Base: string Pattern: ([01][0-9]
timeto Base: string Pattern: ([01][0-9]
numberliteral Base: string Pattern: ([-+]){0,1}([0-9])*
postingtype Base: string minLength: 0 maxLength: 4
RoomRes Node
RoomServiceRes Node
ROOM-SERVICE-OBJID Base: string Pattern: ([0-9])*
service string
date Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2})
timefrom Base: string Pattern: ([01][0-9]
timeto Base: string Pattern: ([01][0-9]
numberliteral Base: string Pattern: ([-+]){0,1}([0-9])*
postingtype Base: string minLength: 0 maxLength: 4
ModuleRes Node
ModuleServiceRes Node
MODULE-SERVICE-OBJID Base: string Pattern: ([0-9])*
service string
date Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2})
timefrom Base: string Pattern: ([01][0-9]
timeto Base: string Pattern: ([01][0-9]
numberliteral Base: string Pattern: ([-+]){0,1}([0-9])*
postingtype Base: string minLength: 0 maxLength: 4
ModuleRoomRes Node
ModuleRoomServiceRes Node
MODULE-ROOM-SERVICE-OBJID Base: string Pattern: ([0-9])*
service string
date Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2})
timefrom Base: string Pattern: ([01][0-9]
timeto Base: string Pattern: ([01][0-9]
numberliteral Base: string Pattern: ([-+]){0,1}([0-9])*
postingtype Base: string minLength: 0 maxLength: 4