Booking
Click here for a complete list of operations.
GetBooking
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /Booking.asmx HTTP/1.1
Host: bookingapi.care1.dk
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/GetBooking"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<AuthHeader xmlns="http://tempuri.org/">
<Password>string</Password>
</AuthHeader>
</soap:Header>
<soap:Body>
<GetBooking xmlns="http://tempuri.org/">
<ordernr>string</ordernr>
</GetBooking>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<GetBookingResponse xmlns="http://tempuri.org/">
<GetBookingResult>
<Id>guid</Id>
<OSSOrder>
<Id>string</Id>
<Name>string</Name>
<Address>string</Address>
<Zip>string</Zip>
<City>string</City>
<Email>string</Email>
<Phone>string</Phone>
<DateOfSale>dateTime</DateOfSale>
<LoginInformation>string</LoginInformation>
<Imei>string</Imei>
<Vendor>string</Vendor>
<Model>string</Model>
<FaultDescription>string</FaultDescription>
<BookingDetails>
<Id>guid</Id>
<OSSOrder xsi:nil="true" />
<TimeSlot xsi:nil="true" />
<Type xsi:nil="true" />
<Department>None or Aabenraa or Koebenhavn or Aalborg or Glostrup or Aarhus or Odense or Esbjerg</Department>
<Status>CUSTOMER_CANCELLED or CUSTOMER_RESCHEDULED or STORE_CLOSURE or STAFF_UNAVAILABILITY or IMPROPER_RESERVATION or DUPLICATE_RESERVATION</Status>
</BookingDetails>
<CompanyName>string</CompanyName>
<CompanyOSSNumber>string</CompanyOSSNumber>
<CustomerRefNumber>string</CustomerRefNumber>
</OSSOrder>
<TimeSlot>
<Id>guid</Id>
<TimeOfDay />
<Date>dateTime</Date>
<IsFree>boolean</IsFree>
</TimeSlot>
<Type>
<Id>guid</Id>
<Description>string</Description>
<Model>
<Id>guid</Id>
<Producent>string</Producent>
<Model>string</Model>
<Type>string</Type>
</Model>
<TechGroup>IOS or MAC</TechGroup>
<Price>string</Price>
<DepartmentStock>
<DepartmentStockDTO xsi:nil="true" />
<DepartmentStockDTO xsi:nil="true" />
</DepartmentStock>
</Type>
<Department>None or Aabenraa or Koebenhavn or Aalborg or Glostrup or Aarhus or Odense or Esbjerg</Department>
<Status>CUSTOMER_CANCELLED or CUSTOMER_RESCHEDULED or STORE_CLOSURE or STAFF_UNAVAILABILITY or IMPROPER_RESERVATION or DUPLICATE_RESERVATION</Status>
</GetBookingResult>
</GetBookingResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /Booking.asmx HTTP/1.1 Host: bookingapi.care1.dk Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Header /> <soap12:Body /> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body /> </soap12:Envelope>