Create ASN SN

Request Service

  • createReceivingSerialNumber

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-test-230526-0002",
                  "product_sku":"test-1E038-0024507",
                  "product_serial_numbers":[
                    {
                      "product_serial_number":"HOG102329"
                    },
                    {
                      "product_serial_number":"HOG102330"
                    }
                  ]
                }
            </paramsJson>
            <appToken>appToken</appToken>
            <appKey>appKey</appKey>
            <service>createReceivingSerialNumber</service>
        </ns1:callService>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Request Parameter:

Parameter Type Required Remark Length Limited
receiving_code String Y ASN no 30
product_sku String Y product sku 64
product_serial_numbers Object Y Product serial number details (limited to 1000 entries) 128

productSerialNumbers:

Parameter Type Required Remark Length Limited
product_serial_number String Y SN 128

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>
        <callServiceResponse>
            <response>
                {
                  "ask":"Success",
                  "message":"Success",
                  "nextPage":false,
                  "receiving_code":"RV-test-230526-0002"
                }
            </response>
        </callServiceResponse>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Response Parameter:

Parameter Type Remark
ask String Return the result, Success indicates successful request, Failure indicates failed request
message String Return Information
nextPage boolean true has the next page,false has no next page
data Object Reference data format
Error Object Reference Error Format

Response data:

Parameter Type Remark
type String The type requested during creation
receiving_code String Warehouse entry number
receiving_code_arr List Multiple warehouse entry numbers
file_url String Box label path (returned when type=1)
file_list List Reference file list format (returned when type=2)

Response file_list:

message String Response message
receiving_code String Warehouse entry number
message String Return Information
nextPage boolean true There is a next page,false there is no next page
receiving_code String The system generated receipt number
Error Object reference Error format
作者:WesternPost  创建时间:2023-05-25 21:14
最后编辑:覃超华  更新时间:2024-12-31 02:56