Get Reservations

This functionality returns information about previously made reservations. Several reservations can be returned.

Parameters

Fieldmin OccursnillableMaxTypeDescription
Username1false50stringThe username used to authorize the request.
Password1false50stringThe password used to authorize the request.
StoreId1true4shortThe StoreId used for identification of store.
CorrelationId1true50stringCorrelationID is sent back in the response.
CountryCode1false2stringThe country code (ISO 3166-1 alpha-2) for the country.
IntegrationId1true128stringThe integration ID is used to uniquely identify customers. Civic reg. numbers can be used for this, but are not mandatory. As long as the value entered is unique. No separators should be used, for example: - , . Only nillable if Regno is set.
RegNo1true50stringEither civic registration number or organization number. Only nillable if an IntegrationId is set and has been assigned to the RegNo beforehand.
StoreId1true4shortThe StoreId used for identification of store.
Fieldmin OccursnillableMaxTypeDescription
CorrelationId1true50stringCorrelationID from the request if any.
Reservationstrue50ReservationsA list of reservations for the customer associated with the given request. See “Reservation” under “Types” for more information.

Example Requests

 Value
Environment:UAT
Service:PaymentService
URL:https://ecommercetest.collector.se/v3.0/PaymentServiceV10.svc?wsdl
Function:GetReservation
Description:The operation fetchs all reservations for a customer
Notes:N/A
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pay="http://schemas.ecommerce.collector.se/v30/PaymentService">
<soapenv:Header>
<pay:Username>USERNAME</pay:Username>
<pay:Password>PASSWORD</pay:Password>
</soapenv:Header>
<soapenv:Body>
<pay:GetReservationsRequest>
<pay:CorrelationId>GetReservationsV10</pay:CorrelationId>
<pay:CountryCode>SE</pay:CountryCode>
<pay:IntegrationId xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
<pay:RegNo>195001182046</pay:RegNo>
<pay:StoreId>1234</pay:StoreId>
</pay:GetReservationsRequest>
</soapenv:Body>
</soapenv:Envelope>

Error Codes

Please see separate page Error Codes

Fault CodeDescription