DCLWebService


Click here for a complete list of operations.

SubmitRMA

Submit an RMA (ReturnTrak).

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 /webservices/dclwebservice.asmx HTTP/1.1
Host: www.efactory.dclcorp.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://dclcorp.com/SubmitRMA"

<?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>
    <SubmitRMA xmlns="http://dclcorp.com/">
      <SessionID>string</SessionID>
      <RMA>
        <RMANumber>string</RMANumber>
        <RMADate>string</RMADate>
        <OriginalOrderNumber>string</OriginalOrderNumber>
        <ShippingCarrier>string</ShippingCarrier>
        <ShippingService>string</ShippingService>
        <CustomerNumber>string</CustomerNumber>
        <Comments>string</Comments>
        <ShippingInstructions>string</ShippingInstructions>
        <ShipTo>
          <Company>string</Company>
          <Attention>string</Attention>
          <Address1>string</Address1>
          <Address2>string</Address2>
          <Email>string</Email>
          <Phone>string</Phone>
          <City>string</City>
          <StateProvince>string</StateProvince>
          <PostalCode>string</PostalCode>
          <Country>string</Country>
        </ShipTo>
        <OrderAmount>decimal</OrderAmount>
        <ShippingAndHandling>decimal</ShippingAndHandling>
        <SalesTax>decimal</SalesTax>
        <RestockingFee>decimal</RestockingFee>
        <TotalAmount>decimal</TotalAmount>
        <RMAType>T01 or T02 or T03 or T11 or T12 or T13 or T21 or T22 or T23 or T24 or T25 or T26 or T31 or T32 or T33 or T81 or T82 or T99</RMAType>
        <Disposition>D1 or D2 or D3 or D5 or D10 or D18</Disposition>
        <CustomOption1>string</CustomOption1>
        <CustomOption2>string</CustomOption2>
        <CustomOption3>string</CustomOption3>
        <CustomOption4>string</CustomOption4>
        <CustomOption5>string</CustomOption5>
        <CustomOption6>string</CustomOption6>
        <CustomOption7>string</CustomOption7>
        <DetailArray>
          <DetailType02Object>
            <ItemNumber>string</ItemNumber>
            <Description>string</Description>
            <Quantity>int</Quantity>
            <UnitPrice>decimal</UnitPrice>
            <SerialNumber>string</SerialNumber>
            <ShipItemNumber>string</ShipItemNumber>
            <ShipDescription>string</ShipDescription>
            <ShipQuantity>int</ShipQuantity>
            <ShipUnitPrice>decimal</ShipUnitPrice>
          </DetailType02Object>
          <DetailType02Object>
            <ItemNumber>string</ItemNumber>
            <Description>string</Description>
            <Quantity>int</Quantity>
            <UnitPrice>decimal</UnitPrice>
            <SerialNumber>string</SerialNumber>
            <ShipItemNumber>string</ShipItemNumber>
            <ShipDescription>string</ShipDescription>
            <ShipQuantity>int</ShipQuantity>
            <ShipUnitPrice>decimal</ShipUnitPrice>
          </DetailType02Object>
        </DetailArray>
      </RMA>
    </SubmitRMA>
  </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>
    <SubmitRMAResponse xmlns="http://dclcorp.com/">
      <SubmitRMAResult>
        <ResultStatus>
          <Error>int</Error>
          <ErrorStr>string</ErrorStr>
          <SessionID>string</SessionID>
        </ResultStatus>
        <RMANumber>string</RMANumber>
      </SubmitRMAResult>
    </SubmitRMAResponse>
  </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 /webservices/dclwebservice.asmx HTTP/1.1
Host: www.efactory.dclcorp.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>
    <SubmitRMA xmlns="http://dclcorp.com/">
      <SessionID>string</SessionID>
      <RMA>
        <RMANumber>string</RMANumber>
        <RMADate>string</RMADate>
        <OriginalOrderNumber>string</OriginalOrderNumber>
        <ShippingCarrier>string</ShippingCarrier>
        <ShippingService>string</ShippingService>
        <CustomerNumber>string</CustomerNumber>
        <Comments>string</Comments>
        <ShippingInstructions>string</ShippingInstructions>
        <ShipTo>
          <Company>string</Company>
          <Attention>string</Attention>
          <Address1>string</Address1>
          <Address2>string</Address2>
          <Email>string</Email>
          <Phone>string</Phone>
          <City>string</City>
          <StateProvince>string</StateProvince>
          <PostalCode>string</PostalCode>
          <Country>string</Country>
        </ShipTo>
        <OrderAmount>decimal</OrderAmount>
        <ShippingAndHandling>decimal</ShippingAndHandling>
        <SalesTax>decimal</SalesTax>
        <RestockingFee>decimal</RestockingFee>
        <TotalAmount>decimal</TotalAmount>
        <RMAType>T01 or T02 or T03 or T11 or T12 or T13 or T21 or T22 or T23 or T24 or T25 or T26 or T31 or T32 or T33 or T81 or T82 or T99</RMAType>
        <Disposition>D1 or D2 or D3 or D5 or D10 or D18</Disposition>
        <CustomOption1>string</CustomOption1>
        <CustomOption2>string</CustomOption2>
        <CustomOption3>string</CustomOption3>
        <CustomOption4>string</CustomOption4>
        <CustomOption5>string</CustomOption5>
        <CustomOption6>string</CustomOption6>
        <CustomOption7>string</CustomOption7>
        <DetailArray>
          <DetailType02Object>
            <ItemNumber>string</ItemNumber>
            <Description>string</Description>
            <Quantity>int</Quantity>
            <UnitPrice>decimal</UnitPrice>
            <SerialNumber>string</SerialNumber>
            <ShipItemNumber>string</ShipItemNumber>
            <ShipDescription>string</ShipDescription>
            <ShipQuantity>int</ShipQuantity>
            <ShipUnitPrice>decimal</ShipUnitPrice>
          </DetailType02Object>
          <DetailType02Object>
            <ItemNumber>string</ItemNumber>
            <Description>string</Description>
            <Quantity>int</Quantity>
            <UnitPrice>decimal</UnitPrice>
            <SerialNumber>string</SerialNumber>
            <ShipItemNumber>string</ShipItemNumber>
            <ShipDescription>string</ShipDescription>
            <ShipQuantity>int</ShipQuantity>
            <ShipUnitPrice>decimal</ShipUnitPrice>
          </DetailType02Object>
        </DetailArray>
      </RMA>
    </SubmitRMA>
  </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>
    <SubmitRMAResponse xmlns="http://dclcorp.com/">
      <SubmitRMAResult>
        <ResultStatus>
          <Error>int</Error>
          <ErrorStr>string</ErrorStr>
          <SessionID>string</SessionID>
        </ResultStatus>
        <RMANumber>string</RMANumber>
      </SubmitRMAResult>
    </SubmitRMAResponse>
  </soap12:Body>
</soap12:Envelope>