DigitalKey
Click here for a complete list of operations.
GetDownloadKeysBySite
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 /DownloadKey.asmx HTTP/1.1
Host: keygen.judsonpress.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/GetDownloadKeysBySite"
<?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>
<GetDownloadKeysBySite xmlns="http://tempuri.org/">
<inputs>
<GetDownloadKeyBySiteInputData>
<ProductId>string</ProductId>
<SiteId>string</SiteId>
<Quantity>int</Quantity>
<OrderItemId>string</OrderItemId>
<DownloadWindowHrs>int</DownloadWindowHrs>
<DownloadsAllowed>int</DownloadsAllowed>
<OrderSoldToNameId>string</OrderSoldToNameId>
<ElanInstanceName>string</ElanInstanceName>
</GetDownloadKeyBySiteInputData>
<GetDownloadKeyBySiteInputData>
<ProductId>string</ProductId>
<SiteId>string</SiteId>
<Quantity>int</Quantity>
<OrderItemId>string</OrderItemId>
<DownloadWindowHrs>int</DownloadWindowHrs>
<DownloadsAllowed>int</DownloadsAllowed>
<OrderSoldToNameId>string</OrderSoldToNameId>
<ElanInstanceName>string</ElanInstanceName>
</GetDownloadKeyBySiteInputData>
</inputs>
</GetDownloadKeysBySite>
</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>
<GetDownloadKeysBySiteResponse xmlns="http://tempuri.org/">
<GetDownloadKeysBySiteResult>
<Status>string</Status>
<Message>string</Message>
<DigitalKeyItems>
<GetDownloadKeyBySiteItem>
<Key>string</Key>
<SiteId>string</SiteId>
<KeyCreateDateGMT>dateTime</KeyCreateDateGMT>
<DownloadWindowHrs>int</DownloadWindowHrs>
<DownloadsAllowed>int</DownloadsAllowed>
<ProductId>string</ProductId>
<OrderItemId>string</OrderItemId>
<AccessUrl>string</AccessUrl>
<Error>string</Error>
</GetDownloadKeyBySiteItem>
<GetDownloadKeyBySiteItem>
<Key>string</Key>
<SiteId>string</SiteId>
<KeyCreateDateGMT>dateTime</KeyCreateDateGMT>
<DownloadWindowHrs>int</DownloadWindowHrs>
<DownloadsAllowed>int</DownloadsAllowed>
<ProductId>string</ProductId>
<OrderItemId>string</OrderItemId>
<AccessUrl>string</AccessUrl>
<Error>string</Error>
</GetDownloadKeyBySiteItem>
</DigitalKeyItems>
</GetDownloadKeysBySiteResult>
</GetDownloadKeysBySiteResponse>
</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 /DownloadKey.asmx HTTP/1.1
Host: keygen.judsonpress.com
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>
<GetDownloadKeysBySite xmlns="http://tempuri.org/">
<inputs>
<GetDownloadKeyBySiteInputData>
<ProductId>string</ProductId>
<SiteId>string</SiteId>
<Quantity>int</Quantity>
<OrderItemId>string</OrderItemId>
<DownloadWindowHrs>int</DownloadWindowHrs>
<DownloadsAllowed>int</DownloadsAllowed>
<OrderSoldToNameId>string</OrderSoldToNameId>
<ElanInstanceName>string</ElanInstanceName>
</GetDownloadKeyBySiteInputData>
<GetDownloadKeyBySiteInputData>
<ProductId>string</ProductId>
<SiteId>string</SiteId>
<Quantity>int</Quantity>
<OrderItemId>string</OrderItemId>
<DownloadWindowHrs>int</DownloadWindowHrs>
<DownloadsAllowed>int</DownloadsAllowed>
<OrderSoldToNameId>string</OrderSoldToNameId>
<ElanInstanceName>string</ElanInstanceName>
</GetDownloadKeyBySiteInputData>
</inputs>
</GetDownloadKeysBySite>
</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>
<GetDownloadKeysBySiteResponse xmlns="http://tempuri.org/">
<GetDownloadKeysBySiteResult>
<Status>string</Status>
<Message>string</Message>
<DigitalKeyItems>
<GetDownloadKeyBySiteItem>
<Key>string</Key>
<SiteId>string</SiteId>
<KeyCreateDateGMT>dateTime</KeyCreateDateGMT>
<DownloadWindowHrs>int</DownloadWindowHrs>
<DownloadsAllowed>int</DownloadsAllowed>
<ProductId>string</ProductId>
<OrderItemId>string</OrderItemId>
<AccessUrl>string</AccessUrl>
<Error>string</Error>
</GetDownloadKeyBySiteItem>
<GetDownloadKeyBySiteItem>
<Key>string</Key>
<SiteId>string</SiteId>
<KeyCreateDateGMT>dateTime</KeyCreateDateGMT>
<DownloadWindowHrs>int</DownloadWindowHrs>
<DownloadsAllowed>int</DownloadsAllowed>
<ProductId>string</ProductId>
<OrderItemId>string</OrderItemId>
<AccessUrl>string</AccessUrl>
<Error>string</Error>
</GetDownloadKeyBySiteItem>
</DigitalKeyItems>
</GetDownloadKeysBySiteResult>
</GetDownloadKeysBySiteResponse>
</soap12:Body>
</soap12:Envelope>