Booking


Click here for a complete list of operations.

GetBookings

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/GetBookings"

<?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>
    <GetBookings xmlns="http://tempuri.org/">
      <department>int</department>
      <date>dateTime</date>
    </GetBookings>
  </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>
    <GetBookingsResponse xmlns="http://tempuri.org/">
      <GetBookingsResult>
        <BookingDTO>
          <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 xsi:nil="true" />
            <CompanyName>string</CompanyName>
            <CompanyOSSNumber>string</CompanyOSSNumber>
            <CustomerRefNumber>string</CustomerRefNumber>
          </OSSOrder>
          <TimeSlot>
            <Id>guid</Id>
            <TimeOfDay xsi:nil="true" />
            <Date>dateTime</Date>
            <IsFree>boolean</IsFree>
          </TimeSlot>
          <Type>
            <Id>guid</Id>
            <Description>string</Description>
            <Model xsi:nil="true" />
            <TechGroup>IOS or MAC</TechGroup>
            <Price>string</Price>
            <DepartmentStock xsi:nil="true" />
          </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>
        </BookingDTO>
        <BookingDTO>
          <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 xsi:nil="true" />
            <CompanyName>string</CompanyName>
            <CompanyOSSNumber>string</CompanyOSSNumber>
            <CustomerRefNumber>string</CustomerRefNumber>
          </OSSOrder>
          <TimeSlot>
            <Id>guid</Id>
            <TimeOfDay xsi:nil="true" />
            <Date>dateTime</Date>
            <IsFree>boolean</IsFree>
          </TimeSlot>
          <Type>
            <Id>guid</Id>
            <Description>string</Description>
            <Model xsi:nil="true" />
            <TechGroup>IOS or MAC</TechGroup>
            <Price>string</Price>
            <DepartmentStock xsi:nil="true" />
          </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>
        </BookingDTO>
      </GetBookingsResult>
    </GetBookingsResponse>
  </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>
    <AuthHeader xmlns="http://tempuri.org/">
      <Password>string</Password>
    </AuthHeader>
  </soap12:Header>
  <soap12:Body>
    <GetBookings xmlns="http://tempuri.org/">
      <department>int</department>
      <date>dateTime</date>
    </GetBookings>
  </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>
    <GetBookingsResponse xmlns="http://tempuri.org/">
      <GetBookingsResult>
        <BookingDTO>
          <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 xsi:nil="true" />
            <CompanyName>string</CompanyName>
            <CompanyOSSNumber>string</CompanyOSSNumber>
            <CustomerRefNumber>string</CustomerRefNumber>
          </OSSOrder>
          <TimeSlot>
            <Id>guid</Id>
            <TimeOfDay xsi:nil="true" />
            <Date>dateTime</Date>
            <IsFree>boolean</IsFree>
          </TimeSlot>
          <Type>
            <Id>guid</Id>
            <Description>string</Description>
            <Model xsi:nil="true" />
            <TechGroup>IOS or MAC</TechGroup>
            <Price>string</Price>
            <DepartmentStock xsi:nil="true" />
          </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>
        </BookingDTO>
        <BookingDTO>
          <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 xsi:nil="true" />
            <CompanyName>string</CompanyName>
            <CompanyOSSNumber>string</CompanyOSSNumber>
            <CustomerRefNumber>string</CustomerRefNumber>
          </OSSOrder>
          <TimeSlot>
            <Id>guid</Id>
            <TimeOfDay xsi:nil="true" />
            <Date>dateTime</Date>
            <IsFree>boolean</IsFree>
          </TimeSlot>
          <Type>
            <Id>guid</Id>
            <Description>string</Description>
            <Model xsi:nil="true" />
            <TechGroup>IOS or MAC</TechGroup>
            <Price>string</Price>
            <DepartmentStock xsi:nil="true" />
          </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>
        </BookingDTO>
      </GetBookingsResult>
    </GetBookingsResponse>
  </soap12:Body>
</soap12:Envelope>