For the complete documentation index, see llms.txt. This page is also available as Markdown.

Create ASN

Create or update asn data in Xorosoft ERP. Send the JSON payload using the field names documented in this operation and in the module export/import format used by Xorosoft ERP.

post
Authorizations
AuthorizationstringRequired
Body

Creates or imports an ASN using the current ASNData model.

CartonIdentifierCodeintegerOptional

Default carton identifier type code.

CartonIdentifierstringOptional

Default carton identifier value.

Responses
200

Request processed successfully.

application/json

Standard Xorosoft ERP API response envelope used by most endpoints.

ResultbooleanOptional

True when the operation completed successfully.

MessagestringOptional

Human-readable success or error message.

Pageinteger · nullableOptional

Current page number when paging is enabled.

TotalPagesinteger · nullableOptional

Total page count when paging is enabled.

post/api/xerp/asn/create
POST /api/xerp/asn/create HTTP/1.1
Host: res.xorosoft.io
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 118

{
  "AsnHeaderData": {
    "AsnNumber": "ASN-1001",
    "PoNumber": "PO-1001"
  },
  "AsnDetailDataArr": [
    {
      "ItemNumber": "SKU-001",
      "Qty": 10
    }
  ]
}
{
  "Result": true,
  "Message": "Request processed successfully",
  "Data": {}
}

Last updated

Was this helpful?