Activate Reservation
This operation activates a customer's pending reservation, which is created by the SetReservation function.
Parameters​
Field | min Occurs | nillable | Max | Type | Description |
---|---|---|---|---|---|
Username | 1 | false | 50 | string | The username used to authorize the request. |
Password | 1 | false | 50 | string | The password used to authorize the request. |
CorrelationId | 1 | true | 50 | string | CorrelationID is sent back in the response. |
CountryCode | 1 | false | 2 | string | The country code (ISO 3166-1 alpha-2) for the country. |
IntegrationId | 1 | true | 128 | string | The 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. |
RegNo | 1 | true | 50 | string | Either civic registration number or organization number. Only nillable if an IntegrationId is set and has been assigned to the RegNo beforehand. |
StoreId | 1 | true | - | int | The StoreId used for identification of store. |
Response​
Field | min Occurs | nillable | Max | Type | Description |
---|---|---|---|---|---|
CorrelationId | 1 | true | 50 | string | CorrelationID from the request if any. |
ValidUntil | 1 | true | - | datetime | Date until the reservation is valid, null means indefinite. |
Example Requests​
 | Value |
---|---|
Environment: | UAT |
Service: | PaymentService |
URL: | https://ecommercetest.collector.se/v3.0/PaymentServiceV10.svc?wsdl |
Function: | ActivateReservation |
Description: | The operation activates a pending reservation |
Notes: | N/A |
- B2C Request
- B2C Response
<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:ActivateReservationRequest>
<pay:CorrelationId>ActivateReservationV10</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:ActivateReservationRequest>
</soapenv:Body>
</soapenv:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<ActivateReservationResponse xmlns="http://schemas.ecommerce.collector.se/v30/PaymentService">
<AvailableAmount>10460.00</AvailableAmount>
<CorrelationId>ActivateReservationV10</CorrelationId>
<CustomerStatus/>
<ReservedAmount>10000.00</ReservedAmount>
<ValidUntil i:nil="true" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"/>
</ActivateReservationResponse>
</s:Body>
</s:Envelope>
Error Codes​
Please see separate page Error Codes
Fault Code | Description |
---|