OnlineScheduler


Click here here, for a full list of operations.

AddReservation

SOAP 1.2

Below is an example of a request and answer SOAP 1.2. Instead placeholders real values should be given.

POST /OnlineScheduler.asmx HTTP/1.1
Host: localhost
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>
        <AddReservation xmlns="OnlineScheduler">
            <ReservationGroupID>string</ReservationGroupID>
            <ServiceID>string</ServiceID>
            <Date>dateTime</Date>
            <HourFrom>string</HourFrom>
            <HourTo>string</HourTo>
            <StaffID>string</StaffID>
            <ObjectID>string</ObjectID>
            <ResourcesList>
                <Resources>
                    <ResourceID>string</ResourceID>
                    <ResourceQuantitySelected>int</ResourceQuantitySelected>
                </Resources>
            </ResourcesList>
            <LanguageSymbol>string</LanguageSymbol>
        </AddReservation>
    </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>
        <AddReservationResponse xmlns="OnlineScheduler">
            <ErrorMessage>string</ErrorMessage>
                        <Status>None or OK or Failed</Status>
            <Data>
                <Collection>
                    <p_HOSPWSOnlineSchedulerAddReservationDto>
                        <ExecutionStatus>byte</ExecutionStatus>
                        <ExecutionMessage>string</ExecutionMessage>
                        <ReservationGroupID>string</ReservationGroupID>
                        <ReservationID>string</ReservationID>
                    </p_HOSPWSOnlineSchedulerAddReservationDto>
                </Collection>
            </Data>
        </AddReservationResponse>
    </soap12:Body>
</soap12:Envelope>