Get ASN List

Request Service

  • getAsnList

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>
                {
                  "pageSize":"20",
                  "page":1,
                  "receiving_code":"",
                  "receiving_code_arr":[],
                  "create_date_from":"2018-01-08 10:00:00",
                  "create_date_to":"2018-02-08 10:00:00",
                  "modify_date_from":"2018-01-08 10:00:00",
                  "modify_date_to":"2018-02-08 10:00:00",
                  "receiving_attached":"1",
                  "attachment_type":"1"
                }
            </paramsJson>
            <appToken>appToken</appToken>
            <appKey>appKey</appKey>
            <service>getAsnList</service>
        </ns1:callService>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Request Parameter:

Parameter Type Required Remark Length Limited
pageSize int Y Page size
page int Y Current page
receiving_code String N ASN No 30
receiving_code_arr Object N Multiple ASN No 500
reference_no String N Reference number 30
reference_no_arr Object N Multiple reference numbers in array format 500
receiving_attached String N Obtained the attachment of the warehouse receipt: 0- No, 1- Yes 1
attachment_type String N Attachment format 0: base64 (default),1:url 1
create_date_from String N Starting time (creation time, this parameter becomes invalid when there is a receipt number)
create_date_to String N End time (creation time, this parameter becomes invalid when there is a receipt number)
modify_date_from String N Starting time (modification time, this parameter becomes invalid when there is a receipt number)
modify_date_to String N End time (modification time, this parameter becomes invalid when there is a receipt number)

Response Sample:

`xml

<SOAP-ENV:Envelope xmlns:ns1=”http://www.example.org/" xmlns:SOAP-ENV=”http://schemas.xmlsoap.org/soap/envelope/">
SOAP-ENV:Body
ns1:callServiceResponse

{
“ask”:”Success”,
“count”:”2”,
“data”:[
{
“box_total”:1550,
“cabinet_type”:”53HQ”,
“customer_code”:”AK”,
“transit_type”:1,
“items”:[
{
“box_mark_barcode”:”RVAK-181005-0002-1”,
“box_no”:”1”,
“package_type”:”ow”,
“product_barcode”:”AK-USAFF175156”,
“product_sku”:”USAFF175156”,
“putaway_quantity”:0,
“received_quantity”:1,
“quantity”:1
},
{
“box_mark_barcode”:”RVAK-181005-0002-2”,
“box_no”:”2”,
“package_type”:”ow”,
“product_barcode”:”AK-USAFF175156”,
“product_sku”:”USAFF175156”,
“putaway_quantity”:1,
“received_quantity”:1,
“quantity”:1
}
],
“receiving_add_time”:1538963420000,
“receiving_code”:”RVAK-181005-0002”,
“receiving_desc”:””,
“receiving_status”:9,
“receiving_type”:0,
“receiving_update_time”:1569398382000,
“reference_no”:””,
“shelf_mode”:”1”,
“shipping_type”:”1”,
“sku_species”:0,
“sku_total”:0,
“tracking_number”:”333333333”,
“warehouse_code”:”WPCHI”,
“warehouse_id”:”7”
},
{
“box_total”:859,
“cabinet_type”:”53HQ”,
“customer_code”:”AK”,
“transit_type”:1,
“items”:[
{
“box_mark_barcode”:”RVAK-181005-0001-855”,
“box_no”:”855”,
“package_type”:”ow”,
“product_barcode”:”AK-USAFF0000114”,
“product_sku”:”USAFF0000114”,
“putaway_quantity”:0,
“received_quantity”:1,
“quantity”:1
},
{
“box_mark_barcode”:”RVAK-181005-0001-856”,
“box_no”:”856”,
“package_type”:”ow”,
“product_barcode”:”AK-USAFF0000114”,
“product_sku”:”USAFF0000114”,
“putaway_quantity”:0,
“received_quantity”:1,
“quantity”:1
}],
“receiving_add_time”:1538963422000,
“receiving_code”:”RVAK-181005-0001”,
“receiving_desc”:””,
“receiving_status”:9,
“receiving_type”:0,
“receiving_update_time”:1569398382000,
“reference_no”:””,
“shelf_mode”:”1”,
“shipping_type”:”1”,
“sku_species”:0,
“sku_total”:0,
“tracking_number”:”333333333”,
“warehouse_code”:”WPLA”,
“warehouse_id”:”3”,
“fileList”:[
{
“base64”:”base64”,
“file_type”:”png”,
“receiving_code”:”RVAK-181005-0001”,
“file_url”:””
}
],
“receivingSerialNumberItems”:[
{
“product_serial_number”:”2305220002”,
“product_sku”:”22-01-07-01”
},
{
“product_serial_number”:”22222222”,
“product_sku”:”22-01-07-01”
},
{
“product_serial_number”:”33333333”,
“product_sku”:”22-01-07-01”
},
{
“product_serial_number”:”44444444”,
“product_sku”:”22-01-07-01”
},
{
“product_serial_number”:”55555555”,
“product_sku”:”22-01-07-01”
},
{
“product_serial_number”:”66666666”,
“product_sku”:”22-01-07-01”
},
{
“product_serial_number”:”77777777”,
“product_sku”:”22-01-07-01”
},
{
“product_serial_number”:”9999999”,
“product_sku”:”22-01-07-01”
},
{
“product_serial_number”:”22-01-07-01-01”,
“product_sku”:”22-01-07-01”
}
],
}
],
“message”:”Success”,
“nextPage”:true,
“pagination”:{
“page”:1,
“pageSize”:2
}
}



Response Parameter:

Parameter Type Remark
box_total int Box Count
cabinet_type String Cabinet type:0:无,1:40HQ,2:45HQ,3:20GP,4:40GP,5:45PLWD,6:53HQ
customer_code String Customer Code
items Object ASN Detail (refer to items object)
receiving_add_time datetime Create Time
company String Company
receiving_code String ASN No
receiving_desc String ASN remark
receiving_status int Status:0.Deleted,1.Draft,5.Under way,6.Receiving,7.Received,8.Exception,9.Finished
receiving_type int ASN type:0.Normal,10.Return from FBA
receiving_update_time datetime Update Tme
reference_no String Reference no
shelf_mode String Shelving method: 1. Shelving by box, 2. Shelving by PCS
transit_type int Transit type :1 By Customer, 2 By Western Post
shipping_type String Shipping type:1:Ocean,2:Air feight,3:Express,4:Pallet
sku_species int SKU Item Count
sku_total int SKU Total
tracking_number String Tracking Number/Container No
warehouse_code String Warehouse Code
warehouse_id String Warehouse Id
sn_list Object The list of serial number

items:

Parameter Type Remark
box_mark_barcode String Box barcode
box_no String Box No
package_type String Package type:ow: Package by Customer,rw Package By Warehouse
product_barcode String Product barcode
product_sku String SKU
quantity int Forecast quantity
received_quantity int Received quantity
putaway_quantity int Putaway quantity
rb_update_time Date Update time for inbound packing
Receiving code String Receipt number
File_URL String File URL (returned when attachments type=1)

fileList:

Parameter Type Remark
base64 String The base64 format of file
file_type String file type e.g. pdf/png/jpg/doc/xls

sn_list

Parameter Type Remark
product_serial_number String serial number
product_sku String Product SKU
作者:WesternPost  创建时间:2021-06-30 03:32
最后编辑:覃超华  更新时间:2024-12-31 02:56