Get ASN PDF files

Request Service

  • getReceivingBoxPdfByCode

Request Method:

  • POST

Request Sample:

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://www.example.org/">
    <SOAP-ENV:Body>
        <ns1:callService>
            <paramsJson>
                {
                  "receiving_code":"RV-XX-200101-0001",
                  "pdf_type": "box",
                  "remark_made_in": "Made In China"
                }
            </paramsJson>
            <appToken>appToken</appToken>
            <appKey>appKey</appKey>
            <service>getReceivingBoxPdfByCode</service>
        </ns1:callService>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Request Parameter:

Parameter Type Required Remark Length Limited
receiving_code String Y ASN No 30
pdf_type String Y list: Receiving List,box: box mark,sku: sku barcode
remark_made_in String Y Manufacturer’s note: Maximum length limit of 30 characters, default value: Made In China 30

Response Sample:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<SOAP-ENV:Envelope xmlns:ns1="http://www.example.org/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Body>
        <ns1:callServiceResponse>
            <response>
                {
                  "ask":"Success",
                  "base64":"base64",
                  "message":"Success",
                  "nextPage":false,
                  "receiving_code":"RV-XX-200101-0001",
                  "type":"box"
                }
            </response>
        </ns1:callServiceResponse>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Response Parameter:

Parameter Type Remark
ask String Request Result: success or failure
base64 String base64 for file
message String Response message
nextPage boolean Identify if have next page or not
receiving_code String ASN No
type String list: Receiving List,box: box mark,sku: sku barcode
Error Object Reference to Error section
作者:WesternPost  创建时间:2021-07-01 03:06
最后编辑:郑璧宏  更新时间:2025-04-22 01:06