OnlineScheduler


Click here here, for a full list of operations.

GetSalesDocuments

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>
        <GetSalesDocuments xmlns="OnlineScheduler">
            <DateFrom>dateTime</DateFrom>
            <DateTo>dateTime</DateTo>
            <ClientFirstName>string</ClientFirstName>
            <ClientLastName>string</ClientLastName>
            <ClientPhone>string</ClientPhone>
            <ClientCardNumber>string</ClientCardNumber>
            <DocumentNumber>string</DocumentNumber>
            <UserIDsList>
                <UserIDs>
                    <UserID>string</UserID>
                </UserIDs>
            </UserIDsList>
            <LanguageSymbol>string</LanguageSymbol>
        </GetSalesDocuments>
    </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>
        <GetSalesDocumentsResponse xmlns="OnlineScheduler">
            <ErrorMessage>string</ErrorMessage>
                        <Status>None or OK or Failed</Status>
            <Data>
                <Collection>
                    <pv_HOSPWSOnlineSchedulerGetSalesDocumentsDto>
                        <ExecutionStatus>byte</ExecutionStatus>
                        <ExecutionMessage>string</ExecutionMessage>
                        <SaleDocumentList>
                            <SaleDocument>
                                <SaleDocumentID>string</SaleDocumentID>
                                <SaleDocumentType>string</SaleDocumentType>
                                <DocumentNumber>string</DocumentNumber>
                                <Date>dateTime</Date>
                                <Client>string</Client>
                                <User>string</User>
                                <Local>string</Local>
                                <Value>double</Value>
                            </SaleDocument>
                        </SaleDocumentList>
                    </pv_HOSPWSOnlineSchedulerGetSalesDocumentsDto>
                </Collection>
            </Data>
        </GetSalesDocumentsResponse>
    </soap12:Body>
</soap12:Envelope>