API Docs
API Reference
RN ACK By Paging

RN ACK By Paging API

This article introduces the general RN ACK by Paging API for easily understanding and applying this API.

Introduction

The RN ACK by Paging API in WMS domain is used to send a return acknowledgement after successfully importing the receipt notification. The API confirms that the receipt data has been processed correctly by the system. By acknowledging the receipt of products, this API ensures accurate record-keeping and enhances communication between systems, improving inventory control and order processing efficiency. Using paging mechanism makes it support to manage large sets of data, optimizing the handling of RN in real time.

API Request

API: POST /edi/inbound/receipt/ack/search-by-paging
Body Request:

FieldNameDescriptionDataTypeLengthRequiredVersionSample
Root
1CompanyIDHard code, assigned by UNIS system admin.string15Yes1.3"LT"
2FacilityIDFacilityID indicates which warehouse UNIS ship from. It should be assigned by UNIS CSRstring15Yes1.3"889"
3CustomerIDHard code, assigned by UNIS accounting dept.string15Yes1.3"AUKINT0001"
4PONoInbound Purchase Order Number, which is a uniquely identifies a purchase order and is generally defined by the buyer.string50No1.3"8957515451-10"
5ReferenceNoUnique identifier, indicate an order.string50No1.3"LIV2020021804-10"
6CreatedWhenFromCreated Fromstring50No1.3"2020-02-24T00:11:11.892"
7CreatedWhenToCreated Tostring50No1.3"2020-02-24T00:12:11.892"
8PagingPagingobjectNo1.3
8.1PageNoPage NumberintNo1.31

API Return

Main Fields

FieldNameDescriptionDataTypeLengthVersionSample
Root
1FacilityIDFacilityID indicates which warehouse UNIS ship from. It should be assigned by UNIS CSRstring151.2"889"
2CustomerIDHard code, assigned by UNIS accounting dept.string151.2"AUKINT0001"
3ReferenceNoUnique identifier, indicate an order.string501.2"31312321"
4ACK (opens in a new tab)Ack Contentobject1.2
5CreatedWhenstring501.2"2020-02-24T00:11:11.892"

ACK Fields

FieldNameDescriptionDataTypeLengthVersionSample
Root
4.1CustomerIdHard code, assigned by UNIS accounting dept.string151.2"AUKINT0001"
4.2PONoInbound Purchase Order Number, which is a uniquely identifies a purchase order and is generally defined by the buyer.string151.2
4.3ReferenceNoUnique identifier, indicate an order.string501.2"31312321"
4.4WISEPOIDUNIS System (WISE) Receipt Number, unique in UNIS system.string501.2"RN-6428"
4.5StatusStatusstring301.2"Success"
4.6Errorstring10001.2"SupplierID is required"

Example

Request

// Url
http://preview.logisticsteam.com/shared/bam/v1/public/edi/inbound/receipt/ack/search-by-paging
 
// Body
{
    "CompanyID": "LT",
    "CustomerID": "AUKINT0001",
    "FacilityID": "889",
    "PONo": "",
    "ReferenceNo": "",
    "CreatedWhenFrom": "2020-06-15T00:11:11.892",
    "CreatedWhenTo": "2020-06-20T00:12:11.892",
    "Paging":{
        "PagingNo":1
    }
}

Response

// Success return
[
  {
        "FacilityID": "889",
        "CustomerID": "AUKINT0001",
        "PONo": "1187494_2",
        "ACK": {
            "CustomerID": "AUKINT0001",
            "PONo": "1187494_2",
            "ReferenceNo": null,
            "WISEPOID": "RN-6428",
            "Status": "Success",
            "Error": null
        },
        "CreatedWhen": "2020-06-16T12:25:47.226"
    },
    {
        "FacilityID": "889",
        "CustomerID": "AUKINT0001",
        "ACK": {
            "code": "EDI-ERROR-SupplierID is required",
            "error": "SupplierID is required"
        },
        "CreatedWhen": "2020-06-16T12:25:03.493"
    }
]
// Failed return
{
    "error": "Not found receipt"
}