-
Notifications
You must be signed in to change notification settings - Fork 1
REST API Inspection
Deletes a Board from the Inspection Station Queue
POST /api/multiplug.ext.hermes/inspection/boards/delete/
-
StringlaneOptional. Guid of the Lane. If not specified then first lane will be used. -
StringguidThe Guid of the Board
-
200OK -
422Unprocessed- Lane Not Found. Iflaneguid not specified, no lanes are setup. -
422Unprocessed- Missing Board Guid -
422Unprocessed- Board Not Found -
403Forbidden- API Not Enabled
Returns all Boards from Inspection Station Queue
GET /api/multiplug.ext.hermes/inspection/boards/all/
-
StringlaneOptional. Guid of the Lane. If not specified then first lane will be used.
[
{
"guid": "0c6ff39d-7165-445c-8116-187cab84c8fc",
"boardId": "5859f008-4328-48e8-99e4-c33a7f7cc3a1",
"boardIdCreatedBy": "DEK NeoHorizon",
"failedBoard": 1,
"productTypeId": "Product Type 01",
"flippedBoard": 1,
"topBarcode": "0123456789",
"bottomBarcode": "9876543210",
"length": 2.0,
"width": 1.0,
"thickness": 3.0,
"conveyorSpeed": 4.0,
"topClearanceHeight": 5.0,
"bottomClearanceHeight": 6.0,
"weight": 7.0,
"workOrderId": "Work Order 02",
"batchId": "0001"
}
]
-
200OK -
400Bad Request- Lane Not Found. Iflaneguid not specified, no lanes are setup. -
403Forbidden- API Not Enabled
Returns the First Board from Inspection Station Queue
GET /api/multiplug.ext.hermes/inspection/boards/first/
-
StringlaneOptional. Guid of the Lane. If not specified then first lane will be used.
{
"guid": "0c6ff39d-7165-445c-8116-187cab84c8fc",
"boardId": "5859f008-4328-48e8-99e4-c33a7f7cc3a1",
"boardIdCreatedBy": "DEK NeoHorizon",
"failedBoard": 1,
"productTypeId": "Product Type 01",
"flippedBoard": 1,
"topBarcode": "0123456789",
"bottomBarcode": "9876543210",
"length": 2.0,
"width": 1.0,
"thickness": 3.0,
"conveyorSpeed": 4.0,
"topClearanceHeight": 5.0,
"bottomClearanceHeight": 6.0,
"weight": 7.0,
"workOrderId": "Work Order 02",
"batchId": "0001"
}
-
200OK -
400Bad Request- Lane Not Found. Iflaneguid not specified, no lanes are setup. -
400Bad Request- First Board Not Found -
403Forbidden- API Not Enabled
Returns the Last Board from Inspection Station Queue
GET /api/multiplug.ext.hermes/inspection/boards/last/
-
StringlaneOptional. Guid of the Lane. If not specified then first lane will be used.
{
"guid": "0c6ff39d-7165-445c-8116-187cab84c8fc",
"boardId": "5859f008-4328-48e8-99e4-c33a7f7cc3a1",
"boardIdCreatedBy": "DEK NeoHorizon",
"failedBoard": 1,
"productTypeId": "Product Type 01",
"flippedBoard": 1,
"topBarcode": "0123456789",
"bottomBarcode": "9876543210",
"length": 2.0,
"width": 1.0,
"thickness": 3.0,
"conveyorSpeed": 4.0,
"topClearanceHeight": 5.0,
"bottomClearanceHeight": 6.0,
"weight": 7.0,
"workOrderId": "Work Order 02",
"batchId": "0001"
}
-
200OK -
400Bad Request- Lane Not Found. Iflaneguid not specified, no lanes are setup. -
400Bad Request- Last Board Not Found -
403Forbidden- API Not Enabled
Returns a Board record with the specified Top or Bottom Barcode
GET /api/multiplug.ext.hermes/inspection/boards/query/
-
StringlaneOptional. Guid of the Lane. If not specified then first lane will be used. -
StringguidOptional. The Guid of the Board -
StringtopbarcodeOptional. The Top Barcode of the Board -
StringbottombarcodeOptional. Bottom Barcode of the Board
Note: Either guid, topbarcode or bottombarcode should be used.
{
"guid": "0c6ff39d-7165-445c-8116-187cab84c8fc",
"boardId": "5859f008-4328-48e8-99e4-c33a7f7cc3a1",
"boardIdCreatedBy": "DEK NeoHorizon",
"failedBoard": 1,
"productTypeId": "Product Type 01",
"flippedBoard": 1,
"topBarcode": "0123456789",
"bottomBarcode": "9876543210",
"length": 2.0,
"width": 1.0,
"thickness": 3.0,
"conveyorSpeed": 4.0,
"topClearanceHeight": 5.0,
"bottomClearanceHeight": 6.0,
"weight": 7.0,
"workOrderId": "Work Order 02",
"batchId": "0001"
}
-
200OK -
400Bad Request- Lane Not Found. Iflaneguid not specified, no lanes are setup. -
400Bad Request- Board Not Found -
403Forbidden- API Not Enabled
Returns all possible User Actions
GET /api/multiplug.ext.hermes/inspection/boards/action/
-
StringlaneOptional. Guid of the Lane. If not specified then first lane will be used. -
Stringguid. The Guid of the Board
{
"guid": "0b4c23c1-d991-4c13-9709-b4c6a9f3bf38",
"reason": "Failed Board is Equal to 2",
"actions": [
{
"guid": "8bda",
"text": "PASS"
},
{
"guid": "5427",
"text": "FAIL"
}
]
}
-
200OK -
400Bad Request- Lane Not Found. Iflaneguid not specified, no lanes are setup. -
400Bad Request- Missing Board Guid -
400Bad Request- Board Not Found -
403Forbidden- API Not Enabled
Invokes a User Action
POST /api/multiplug.ext.hermes/inspection/boards/action/
-
StringlaneOptional. Guid of the Lane. If not specified then first lane will be used. -
StringguidThe Guid of the Board -
StringactionguidThe Guid of the Action
-
200OK -
422Unprocessed- Lane Not Found. Iflaneguid not specified, no lanes are setup. -
422Unprocessed- Missing Board Guid -
422Unprocessed- Missing Action Guid -
422Unprocessed- Action Not Found -
403Forbidden- API Not Enabled