API Docs
API Reference
DN ACK By Paging

DN ACK By Paging API

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

Introduction

The DN ACK by Paging API in WMS is used to send an acknowledgement after importing DN. This API is particularly useful for confirming the successful receipt and processing of delivery notification by the system, ensuring tat all relevant parties are informed that the DN has been received and logged. Via paging, the API can handle large amounts of data efficiently, sending acknowledgments in batches if needed. This improves system scalability and responsiveness in high-volume environments.

API Request

API: POST /edi/outbound/order/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"
4PONoYour customer's Purchse Order Number, doesn't need to be unique.string50No1.3"8957515451-10"
5ReferenceNoReference Number, Unique identifier, indicate an order.string50No1.3"LIV2020021804-10"
6CreatedWhenFromCreated Fromstring50No1.3"2020-02-24T00:11:11.892"
7CreatedWhenToCreated Tostring30No1.3"2020-02-24T00:12:11.892"
8PagingPagingobjectNo1.3
8.1PageNoPage NumberintNo1.31

API Return

It will return a message to indicate whether the cancellation successes or not. For more details, please refer to the Example below.

Example

Request

// Url
http://preview.logisticsteam.com/shared/bam/v1/public/edi/outbound/order/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",
      "ReferenceNo": "31312321",
      "ACK": {
          "CustomerId": "AUKINT0001",
          "PONo": null,
          "ReferenceNo": 31312321,
          "WISEPOID": "DN-16945",
          "Status": "Warning",
          "Error": "New ship to address (GLOBAL GRANITE  MARBLE) Created by EDI./n"
      },
      "CreatedWhen": "2020-06-15T20:14:04.055"
  },
  {
      "FacilityID": "889",
      "CustomerID": "AUKINT0001",
      "ReferenceNo": "",
      "ACK": {
          "code": "EDI-ERROR-ReferenceNo is required",
          "error": "ReferenceNo is required"
      },
      "CreatedWhen": "2020-06-15T20:13:44.774"
  }
]
// Failed return
{
    "error": "Not found order"
}