OnlineScheduler


Click here here, for a full list of operations.

GetMarketingConsents

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>
        <GetMarketingConsents xmlns="OnlineScheduler">
            <LanguageSymbol>string</LanguageSymbol>
        </GetMarketingConsents>
    </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>
        <GetMarketingConsentsResponse xmlns="OnlineScheduler">
            <ErrorMessage>string</ErrorMessage>
                        <Status>None or OK or Failed</Status>
            <Data>
                <Collection>
                    <pv_HOSPWSOnlineSchedulerGetMarketingConsentsDto>
                        <ExecutionStatus>byte</ExecutionStatus>
                        <ExecutionMessage>string</ExecutionMessage>
                        <MarketingConsentList>
                            <MarketingConsent>
                                <MarketingConsentID>string</MarketingConsentID>
                                <MarketingConsentName>string</MarketingConsentName>
                                <MarketingConsentDescription>string</MarketingConsentDescription>
                                <IsMarketingConsentRequired>boolean</IsMarketingConsentRequired>
                            </MarketingConsent>
                        </MarketingConsentList>
                    </pv_HOSPWSOnlineSchedulerGetMarketingConsentsDto>
                </Collection>
            </Data>
        </GetMarketingConsentsResponse>
    </soap12:Body>
</soap12:Envelope>