The Inspection Status app provides a complete API set to manage Inspection Status via API. This on could be used to interact with powerplatform.
Lot No.
Methods
Method |
Return Type |
Description |
|
GET |
Lot No. Information |
Gets an array of Lot No. Information objects. |
|
POST |
Lot No. Information |
Create a Lot No. Information object. |
|
PATCH |
Lot No. Information |
Update a Lot No. Information object. |
|
Properties
Property |
Type |
Description |
|
id |
Guid |
The unique ID of the Lot No. Information. |
|
itemNo |
string |
Specifies the Item No. |
|
variantCode |
string |
Specifies Variant Code of the Item No. |
|
lotNo |
string |
Specifies the Lot No. |
|
description |
string |
Specifies the description of Lot No. |
|
inspectionStatus |
string |
Specifies the Inspection Status of Lot No. |
|
blocked |
boolean |
Specifies the blocked status of Lot No. |
|
HTTP request
Get request
GET businesscentralPrefix/api/bricklead/inspectionStatus/v2.0/companies({companyId})/lotNoInformations?filter=id eq 'id value'
GET businesscentralPrefix/api/bricklead/inspectionStatus/v2.0/companies({companyId})/lotNoInformations?filter=itemNo eq 'item no value' and variantCode eq 'variant code value'
GET businesscentralPrefix/api/bricklead/inspectionStatus/v2.0/companies({companyId})/lotNoInformations?filter=lotNo eq 'lot No. value'
For more information, please check
Using Filter Expressions in OData URIs.
Returned Value
{
"value": [
{
"@odata.etag": "string",
"id": "guid",
"itemNo": "string",
"variantCode": "string",
"lotNo": "string",
"description": "string",
"blocked": "boolean",
"comment": "boolean",
"inventory": "decimal",
"expiredInventory": "decimal",
"inspectionStatus": "string",
}
]
}
Inspection Status
Methods
Method |
Return Type |
Description |
|
GET |
Inspection Status |
Gets an array of Inspection Status objects. |
|
Properties
Property |
Type |
Description |
|
id |
Guid |
The unique ID of Inspection Status. |
|
code |
string |
Specifies the Lot Inspection Status code. |
|
description |
string |
Specifies the value of the Description field. |
|
blocked |
boolean |
Specifies whether or not this Lot Inspection Status has been blocked. |
|
HTTP request
Get request
Replace the URL prefix for Business Central depending on environment following the
guideline.
GET businesscentralPrefix/api/bricklead/inspectionstatus/v2.0/companies({companyId})/lotsinspectionstatus
Returned Value
{
"value": [
{
"@odata.etag": "string",
"id": "guid",
"code": "string",
"description": "string",
"blocked": "boolean",
}
]
}