Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Request example

Code Block
languagexml
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  xmlns:tns="http://tempuri.org/" xmlns:s1="http://microsoft.com/wsdl/types/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/">
    <soap:Body>
        <CreateWebhookSubscriptions xmlns="http://tempuri.org/">
        <req>
            <Credentials>
            <UserName>{{UserName}}</UserName>
            <Password>{{Password}}</Password>
            </Credentials>
            <identify>{{identify}}</identify>
                <Entities>
                    <CreateWebhookSubscription>                   
                        <DestinationAddress>https://test.com/test</DestinationAddress>
                        <EventName>TradeOrderUpdated</EventName>
                    </CreateWebhookSubscription>
                </Entities>
        </req>
        </CreateWebhookSubscriptions>
    </soap:Body>
</soap:Envelope>

Response

Code Block
languagexml
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <soap:Body>
        <CreateWebhookSubscriptionsResponse xmlns="http://tempuri.org/">
            <CreateWebhookSubscriptionsResult>
                <Message>OK</Message>
                <Entities>
                    <CreateWebhookSubscription>
                        <BrickId>00000000-0000-0000-0000-000000000000</BrickId>
                        <CreatedDate>0001-01-01T00:00:00</CreatedDate>
                        <EventName>TradeOrderUpdated</EventName>
                        <DestinationAddress>https://test.com/test</DestinationAddress>
                    </CreateWebhookSubscription>
                </Entities>
            </CreateWebhookSubscriptionsResult>
        </CreateWebhookSubscriptionsResponse>
    </soap:Body>
</soap:Envelope>