Doc.365-post.io

Stock In Notification (WMS to Client)

  1. Summary

Clients can have their channel to receive the stocked in information from WMS

  1. Push Content Explanation

#

Item

Description

1

Request Method

POST

2

Request Data Format

XML

3

Request Data Encoding

UTF-8

  1. Push Data Sample and Explanation
 

Node with Example

Explanation

Max Length

Remark

1

<?xml version=”1.0″ encoding=”UTF-8″?>

 

 

 

2

<Request>

 

 

 

3

<RequestID>##REQUEST_ID##</RequestID>

Request ID.

20

Generated by our side. For reference only

4

<RequestDate>2020-09-25T09:15:02+08:00</RequestDate>

Request Date

 

For reference only

5

<StockIns>

 

 

 

6

<StockIn>

 

 

 

7

<Header>

 

 

 

8

<TransactionType>NEW</TransactionType>

Transaction Type

 

Only new at this stage

9

<StockInNo>##STOCK_IN_NO</StockInNo>

Stock in Number

30

System generated number for the stock in record

10

<Customer>CUSTCODE</Customer>

Customer Code

8

 

11

<Warehouse>WHSCODE</Warehouse>

Warehouse Code

8

 

12

<Supplier>DELIVERY_CLIENT_CODE</Supplier >

Supplier Code

8

 

13

</Header>

 

 

 

14

<Detail>

 

 

 

15

<ItemNumber>ITEM_NUMBER</ItemNumber>

Item/SKU Number

30

 

16

<LotNumber>LOT_NUMBER1</LotNumber>

Lot Number

30

 

17

<PONumber>PO#0001</PONumber>

 

35

 

18

<InnerPKG>15.000</InnerPKG>

 

 

 

19

<InnerUnit>PCS</InnerUnit>

 

 

 

20

<Length>60.000</Length>

 

 

 

21

<Width>43.000</Width>

 

 

 

22

<Height>20.000</Height>

 

 

 

23

<NetWeight>0.480</NetWeight>

 

 

 

24

<GrossWeight>0.480</GrossWeight>

 

 

 

25

<CBM>0.002</CBM>

 

 

 

26

</Detail>

 

 

 

27

<Detail>

 

 

 

28

<ItemNumber>ITEM_NUMBER</ItemNumber>

Item/SKU Number

30

 

29

<LotNumber>LOT_NUMBER2</LotNumber>

Lot Number

30

 

30

<PONumber>PO#0002</PONumber>

 

35

 

31

<InnerPKG>5.000</InnerPKG>

 

 

 

32

<InnerUnit>PCS</InnerUnit>

 

 

 

33

<Length>6.000</Length>

 

 

 

34

<Width>4.000</Width>

 

 

 

35

<Height>2.000</Height>

 

 

 

36

<NetWeight>0.280</NetWeight>

 

 

 

37

<GrossWeight>0.280</GrossWeight>

 

 

 

38

<CBM>0.008</CBM>

 

 

 

39

</Detail>

 

 

 

40

</StockIn>

 

 

 

41

</StockIns>

 

 

 

42

</Request>

 

 

 

Note: The XML content above can display different information according to different customer, we can offer more information than above upon request.

  1. Recommended Response Data Sample

#

Node with Example

Explanation

Remark

1

<?xml version=”1.0″ encoding=”UTF-8″?>

  

2

<Response xmlns:xsd=”http://www.w3.org/2001/XMLSchema” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”>

 

 

3

<RequestID>##REQUEST_ID##</RequestID>

 

 

4

<ResponseID>##RESPONSE_ID##</ResponseID>

Response ID

For reference only 

5

<ResponseDate>2020-09-25T01:15:03.9697594+00:00</ResponseDate>

Response Date

 

6

<ResponseStatus>Success</ResponseStatus>

Response Status

SUCCESS , FAIL *We use this value for identify the call success or fail

7

<ResponseCode>S00</ResponseCode>

 

S00 for success, other for fail

8

<ResponseMessage>Push successed</ResponseMessage>

 

 

9

</Response>