ArtworkDownload
Click here for a complete list of operations.
AvailableArtwork
Get a list of available artwork to download. Note: If the file hasn't been downloaded then the 'retrieved' field will be false and the 'DownloadDate' will be the minimum date. If the artwork isn't on a plan, or has no page number, those fields will be -1
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 /AsArtworkDownload/ArtworkDownload.asmx HTTP/1.1 Host: artworkdownload.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://www.artworkdownload.com/AsArtworkDownload/AvailableFiles/AvailableArtwork" <?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> <AvailableArtwork xmlns="http://www.artworkdownload.com/AsArtworkDownload/AvailableFiles"> <PublisherId>string</PublisherId> <PublisherPassword>string</PublisherPassword> <ArtworkId>string</ArtworkId> <ArtworkPassword>string</ArtworkPassword> <ArtworkSource>string</ArtworkSource> <UncollectedOnly>boolean</UncollectedOnly> <SameSource>boolean</SameSource> <Result>int</Result> </AvailableArtwork> </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> <AvailableArtworkResponse xmlns="http://www.artworkdownload.com/AsArtworkDownload/AvailableFiles"> <AvailableArtworkResult> <ArtworkDownloadFile> <Source>string</Source> <ArtworkId>string</ArtworkId> <ProductType>string</ProductType> <PageBlock>string</PageBlock> <PreviewURL>string</PreviewURL> <URL>string</URL> <BuildDate>dateTime</BuildDate> <DownloadDate>dateTime</DownloadDate> <Retrieved>boolean</Retrieved> <MarkedForRetrieval>boolean</MarkedForRetrieval> <LocalFileName>string</LocalFileName> <PlanNumber>int</PlanNumber> <PageNumber>int</PageNumber> </ArtworkDownloadFile> <ArtworkDownloadFile> <Source>string</Source> <ArtworkId>string</ArtworkId> <ProductType>string</ProductType> <PageBlock>string</PageBlock> <PreviewURL>string</PreviewURL> <URL>string</URL> <BuildDate>dateTime</BuildDate> <DownloadDate>dateTime</DownloadDate> <Retrieved>boolean</Retrieved> <MarkedForRetrieval>boolean</MarkedForRetrieval> <LocalFileName>string</LocalFileName> <PlanNumber>int</PlanNumber> <PageNumber>int</PageNumber> </ArtworkDownloadFile> </AvailableArtworkResult> <Result>int</Result> </AvailableArtworkResponse> </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 /AsArtworkDownload/ArtworkDownload.asmx HTTP/1.1 Host: artworkdownload.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> <AvailableArtwork xmlns="http://www.artworkdownload.com/AsArtworkDownload/AvailableFiles"> <PublisherId>string</PublisherId> <PublisherPassword>string</PublisherPassword> <ArtworkId>string</ArtworkId> <ArtworkPassword>string</ArtworkPassword> <ArtworkSource>string</ArtworkSource> <UncollectedOnly>boolean</UncollectedOnly> <SameSource>boolean</SameSource> <Result>int</Result> </AvailableArtwork> </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> <AvailableArtworkResponse xmlns="http://www.artworkdownload.com/AsArtworkDownload/AvailableFiles"> <AvailableArtworkResult> <ArtworkDownloadFile> <Source>string</Source> <ArtworkId>string</ArtworkId> <ProductType>string</ProductType> <PageBlock>string</PageBlock> <PreviewURL>string</PreviewURL> <URL>string</URL> <BuildDate>dateTime</BuildDate> <DownloadDate>dateTime</DownloadDate> <Retrieved>boolean</Retrieved> <MarkedForRetrieval>boolean</MarkedForRetrieval> <LocalFileName>string</LocalFileName> <PlanNumber>int</PlanNumber> <PageNumber>int</PageNumber> </ArtworkDownloadFile> <ArtworkDownloadFile> <Source>string</Source> <ArtworkId>string</ArtworkId> <ProductType>string</ProductType> <PageBlock>string</PageBlock> <PreviewURL>string</PreviewURL> <URL>string</URL> <BuildDate>dateTime</BuildDate> <DownloadDate>dateTime</DownloadDate> <Retrieved>boolean</Retrieved> <MarkedForRetrieval>boolean</MarkedForRetrieval> <LocalFileName>string</LocalFileName> <PlanNumber>int</PlanNumber> <PageNumber>int</PageNumber> </ArtworkDownloadFile> </AvailableArtworkResult> <Result>int</Result> </AvailableArtworkResponse> </soap12:Body> </soap12:Envelope>