RESERVATION GROUP CREATE V004
Service Reference Name: S_RESERVATION_GROUP_CREATE_V004
General
This service creates a new reservation which is the first element of a group. To add new "elements" to an existing group, the following service should be used: S_RESERVATION_GROUP_RESERVATION_ADD...
What to consider when creating a reservation linked to an allotment?
- The allotment needs to belong to the orderer of the reservation (holder). However, this depends on who the rate is assigned to, which can also be defined.
- The reservation type should be consistent with the allotment we are linking the reservation to. See input section.
Input
- ORDERER-OBJID: ObjID of the orderer, which can be obtained from other defined services (Mandatory)
- TRAVELAGENCY-OBJID: ObjID of the travel agency (Optional)
- TRAVELPOINT-OBJID: ObjID of the travel point (Optional)
- ORDERERCONTACTPERSON-OBJID: ObjID of the orderer contact person. Make sure it's a valid contact person for ORDERER-OBJID (Optional)
- TRAVELAGENCYCONTACTPERSON-OBJID: ObjID of the travel agency contact person. Make sure it's a valid contact person for TRAVELAGENCY-OBJID (Optional)
- TRAVELPOINTCONTACTPERSON-OBJID: ObjID of the travel point contact person. Make sure it's a valid contact person for TRAVELPOINT-OBJID (Optional)
- ALLOTMENT-OBJID: ObjID of the allotment to be linked to the reservation (Optional)
-
restype: Reservation type for the new reservation, see table below (Mandatory)
Reservation type Description 0 Group block offer 1 Guaranteed 2 Not guaranteed 3 Walk-In 4 Pre-blocked 5 Group block 6 Group reservation (guaranteed) 7 Timeshare J Allotment/group block option 8 Timeshare option 9 Group block option H Allotment-confirmed option G Group block offer option A Turned away E Error K Allotment/group block I Allotment-confirmed L Room blocked M Moved N No-Show O Optional S Cancelled W Waiting list -
Remaining reservation data
Output
- RESERVATION-OBJID: ObjID of the newly created reservation
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_RESERVATION_GROUP_CREATE_V004Request xmlns="http://www.gubse.com/IFS/SihotServices01.xsd"><!--Optional--><TransactionID>string</TransactionID>
<Authentication>
<SecurityID>string</SecurityID>
</Authentication>
<RESERVATION>
<arrival>Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2})|</arrival><!--Optional--><arrivaltime>Base: string Pattern: ([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])|</arrivaltime>
<departure>Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2})|</departure><!--Optional--><departuretime>Base: string Pattern: ([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])|</departuretime>
<noofrooms>Base: string Pattern: ([-+]){0,1}([0-9])*</noofrooms>
<noofpax>Base: string Pattern: ([-+]){0,1}([0-9])*</noofpax>
<category>Base: string minLength: 0 maxLength: 4</category><!--Optional--><ratecategory>Base: string minLength: 0 maxLength: 4</ratecategory>
<restype>string</restype><!--Optional--><optiontodate>Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2})|</optiontodate><!--Optional--><paymentinstructions>string</paymentinstructions>
<packages>string</packages><!--Optional--><commentadditional>string</commentadditional><!--Optional--><commenttechnical>string</commenttechnical><!--Optional--><commentinternet>string</commentinternet><!--Optional--><commentcentral>string</commentcentral><!--Optional--><commentinvoice>string</commentinvoice>
<guesttype>Base: string minLength: 0 maxLength: 2</guesttype><!--Optional--><note>Base: string minLength: 0 maxLength: 60</note><!--Optional--><gdsresnumber>Base: string minLength: 0 maxLength: 40</gdsresnumber><!--Optional--><externalid>string</externalid><!--Optional--><externalkey>Base: string minLength: 0 maxLength: 15</externalkey><!--Optional--><externalreference>Base: string minLength: 0 maxLength: 60</externalreference><!--Optional--><ratesegment>Base: string minLength: 0 maxLength: 3</ratesegment><!--Optional--><marketsegment>Base: string minLength: 0 maxLength: 3</marketsegment><!--Optional--><resmedium>Base: string minLength: 0 maxLength: 3</resmedium><!--Optional--><ressource>Base: string minLength: 0 maxLength: 3</ressource><!--Optional--><channel>Base: string minLength: 0 maxLength: 3</channel><!--Optional--><nn1>Base: string minLength: 0 maxLength: 3</nn1><!--Optional--><rateassignedto>Base: string Pattern: ([-+]){0,1}([0-9])*</rateassignedto>
<ORDERER>
<ORDERER-OBJID>Base: string Pattern: ([0-9])*</ORDERER-OBJID>
</ORDERER><!--Optional--><TRAVELAGENCY>
<TRAVELAGENCY-OBJID>Base: string Pattern: ([0-9])*</TRAVELAGENCY-OBJID>
</TRAVELAGENCY><!--Optional--><TRAVELPOINT>
<TRAVELPOINT-OBJID>Base: string Pattern: ([0-9])*</TRAVELPOINT-OBJID>
</TRAVELPOINT><!--Optional--><ORDERERCONTACTPERSON>
<ORDERERCONTACTPERSON-OBJID>Base: string Pattern: ([0-9])*</ORDERERCONTACTPERSON-OBJID>
</ORDERERCONTACTPERSON><!--Optional--><TRAVELAGENCYCONTACTPERSON>
<TRAVELAGENCYCONTACTPERSON-OBJID>Base: string Pattern: ([0-9])*</TRAVELAGENCYCONTACTPERSON-OBJID>
</TRAVELAGENCYCONTACTPERSON><!--Optional--><TRAVELPOINTCONTACTPERSON>
<TRAVELPOINTCONTACTPERSON-OBJID>Base: string Pattern: ([0-9])*</TRAVELPOINTCONTACTPERSON-OBJID>
</TRAVELPOINTCONTACTPERSON>
</RESERVATION><!--Optional--><ALLOTMENT>
<ALLOTMENT-OBJID>Base: string Pattern: ([0-9])*</ALLOTMENT-OBJID>
</ALLOTMENT>
</S_RESERVATION_GROUP_CREATE_V004Request>
</soapenv:Body>
</soapenv:Envelope>
Attributes Message
| Name | Type |
|---|---|
| S_RESERVATION_GROUP_CREATE_V004Request | |
| TransactionID | string |
| Authentication | Node |
| SecurityID | string |
| RESERVATION | Node |
| arrival | Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2}) |
| arrivaltime | Base: string Pattern: ([01][0-9] |
| departure | Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2}) |
| departuretime | Base: string Pattern: ([01][0-9] |
| noofrooms | Base: string Pattern: ([-+]){0,1}([0-9])* |
| noofpax | Base: string Pattern: ([-+]){0,1}([0-9])* |
| category | Base: string minLength: 0 maxLength: 4 |
| ratecategory | Base: string minLength: 0 maxLength: 4 |
| restype | string |
| optiontodate | Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2}) |
| paymentinstructions | string |
| packages | string |
| commentadditional | string |
| commenttechnical | string |
| commentinternet | string |
| commentcentral | string |
| commentinvoice | string |
| guesttype | Base: string minLength: 0 maxLength: 2 |
| note | Base: string minLength: 0 maxLength: 60 |
| gdsresnumber | Base: string minLength: 0 maxLength: 40 |
| externalid | string |
| externalkey | Base: string minLength: 0 maxLength: 15 |
| externalreference | Base: string minLength: 0 maxLength: 60 |
| ratesegment | Base: string minLength: 0 maxLength: 3 |
| marketsegment | Base: string minLength: 0 maxLength: 3 |
| resmedium | Base: string minLength: 0 maxLength: 3 |
| ressource | Base: string minLength: 0 maxLength: 3 |
| channel | Base: string minLength: 0 maxLength: 3 |
| nn1 | Base: string minLength: 0 maxLength: 3 |
| rateassignedto | Base: string Pattern: ([-+]){0,1}([0-9])* |
| ORDERER | Node |
| ORDERER-OBJID | Base: string Pattern: ([0-9])* |
| TRAVELAGENCY | Node |
| TRAVELAGENCY-OBJID | Base: string Pattern: ([0-9])* |
| TRAVELPOINT | Node |
| TRAVELPOINT-OBJID | Base: string Pattern: ([0-9])* |
| ORDERERCONTACTPERSON | Node |
| ORDERERCONTACTPERSON-OBJID | Base: string Pattern: ([0-9])* |
| TRAVELAGENCYCONTACTPERSON | Node |
| TRAVELAGENCYCONTACTPERSON-OBJID | Base: string Pattern: ([0-9])* |
| TRAVELPOINTCONTACTPERSON | Node |
| TRAVELPOINTCONTACTPERSON-OBJID | Base: string Pattern: ([0-9])* |
| ALLOTMENT | Node |
| ALLOTMENT-OBJID | Base: string Pattern: ([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_RESERVATION_GROUP_CREATE_V004Response 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--><RESERVATION>
<RESERVATION-OBJID>Base: string Pattern: ([0-9])*</RESERVATION-OBJID>
</RESERVATION>
</S_RESERVATION_GROUP_CREATE_V004Response>
</soapenv:Body>
</soapenv:Envelope>
Attributes Response
| Name | Type |
|---|---|
| S_RESERVATION_GROUP_CREATE_V004Response | |
| 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 |
| RESERVATION | Node |
| RESERVATION-OBJID | Base: string Pattern: ([0-9])* |