-
Notifications
You must be signed in to change notification settings - Fork 1
REST API Down
- Set SMEMA Good Board Available I/O State
- Set SMEMA Bad Board Available I/O State
- Delete Board
- All Boards
- First Board
- Last Board
- Query Board
Returns the SMEMA Good or Bad Board Available I/O State
GET /api/multiplug.ext.hermes/down/smema/
-
StringlaneOptional. Guid of the Lane. If not specified then first lane will be used.
{
"good": false,
"bad": false
}
-
200OK -
400BadRequest- Lane Not Found. Iflaneguid not specified, no lanes are setup. -
403Forbidden- API Not Enabled
Sets the SMEMA Good Board Available
POST /api/multiplug.ext.hermes/down/smema/good/
-
StringlaneOptional. Guid of the Lane. If not specified then first lane will be used. -
BoolgoodOptions:truefalse
{
"good": true,
"bad": false
}
-
200OK -
422Unprocessed- Lane Not Found. Iflaneguid not specified, no lanes are setup. -
403Forbidden- API Not Enabled
Sets the SMEMA Bad Board Available I/O State
POST /api/multiplug.ext.hermes/down/smema/bad/
-
StringlaneOptional. Guid of the Lane. If not specified then first lane will be used. -
BoolbadOptions:truefalse
{
"good": false,
"bad": true
}
-
200OK -
422Unprocessed- Lane Not Found. Iflaneguid not specified, no lanes are setup. -
403Forbidden- API Not Enabled
Deletes a Board from the Downstream Queue
POST /api/multiplug.ext.hermes/down/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 the Downstream Queue
GET /api/multiplug.ext.hermes/down/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 the Downstream Queue
GET /api/multiplug.ext.hermes/down/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 the Downstream Queue
GET /api/multiplug.ext.hermes/down/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/down/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 the Hermes Service Description from the Downstream Connection
GET /api/multiplug.ext.hermes/down/hermes/servicedescription/
-
StringlaneOptional. Guid of the Lane. If not specified then first lane will be used.
{
"machineId": "???DownstreamSimulation",
"laneId": 1,
"interfaceId": "DownstreamInterface",
"version": "1.3",
"supportedFeatures": {
"featureCheckAliveResponse": true,
"featureBoardForecast": true,
"featureQueryBoardInfo": true,
"featureSendBoardInfo": false,
"featureCommand": false
}
}
-
200OK -
400Bad Request- Lane Not Found. Iflaneguid not specified, no lanes are setup. -
400Bad Request- Service Description not received. -
403Forbidden- API Not Enabled
Reconnects the Downstream Hermes connection
POST /api/multiplug.ext.hermes/down/hermes/connection/restart
-
StringlaneOptional. Guid of the Lane. If not specified then first lane will be used.
-
200OK -
403Forbidden- API Not Enabled