MDRFulfillmentMemberServices


Click here for a complete list of operations.

DownloadFile

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 /MDRFulfillmentMemberServices.asmx HTTP/1.1
Host: api.mdrorders.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://MDRCDLFulfillmentServices.ServiceContracts/DownloadFile"

<?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:Header>
    <ApiFulfillmentHeader xmlns="http://MDRCDLFulfillmentServices.ServiceContracts">
      <UserName>string</UserName>
      <Password>string</Password>
      <ClientToken>string</ClientToken>
    </ApiFulfillmentHeader>
  </soap:Header>
  <soap:Body>
    <DownloadFileRequest xmlns="http://MDRCDLFulfillmentServices.ServiceContracts">
      <FileRequest>
        <AccessKey xmlns="http://MDRCDLFulfillmentServices.DataTypes">string</AccessKey>
        <FileName xmlns="http://MDRCDLFulfillmentServices.DataTypes">string</FileName>
        <UserName xmlns="http://MDRCDLFulfillmentServices.DataTypes">string</UserName>
        <Ordernumber xmlns="http://MDRCDLFulfillmentServices.DataTypes">long</Ordernumber>
      </FileRequest>
    </DownloadFileRequest>
  </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>
    <DownloadFileResponse xmlns="http://MDRCDLFulfillmentServices.ServiceContracts">
      <RemoteFile>
        <FileName xmlns="http://MDRCDLFulfillmentServices.DataTypes">string</FileName>
        <FileLength xmlns="http://MDRCDLFulfillmentServices.DataTypes">long</FileLength>
        <FileString xmlns="http://MDRCDLFulfillmentServices.DataTypes">base64Binary</FileString>
      </RemoteFile>
      <MessageStatus>
        <Status xmlns="http://MDRCDLFulfillmentServices.DataTypes">int</Status>
        <Message xmlns="http://MDRCDLFulfillmentServices.DataTypes">string</Message>
      </MessageStatus>
    </DownloadFileResponse>
  </soap:Body>
</soap:Envelope>