Posting Errors API
Overview
The WMS Posting Errors API is a Business Central API page designed to manage posting error data. This API allows external systems to interact with posting error records, providing functionality for reading error information.
API Details
- Publisher: smart
- API Group: wms
- API Version: v2.0
- Entity Name: postingError
- Entity Set Name: postingErrors
- Source Table: SMA Delayed Processing Task
- Source Table View: Status = Error
Fields
The following fields are exposed in the API:
| Field Name | Source Field | Required | Description |
|---|---|---|---|
SourceType | SMA Delayed Processing Task."Source Type Name" | Yes | Type of the source document. |
SourceNo | SMA Delayed Processing Task."Source No." | Yes | Number of the source document. |
CreatedDT | SMA Delayed Processing Task.SystemCreatedAt | No | Date and time when the error was created. |
ErrMsg | SMA Delayed Processing Task."Last Error Message" | No | Description of the error message. |
Example Usage
Retrieve Posting Errors
GET host/instance/api/smart/wms/v2.0/companies(companyId)/postingErrors
Retrieve a Specific Posting Error
GET host/instance/api/smart/wms/v2.0/companies(companyId)/postingErrors?$filter=SourceNo eq 'SALES001'