-
Notifications
You must be signed in to change notification settings - Fork 1
REST API This
- All SMEMA I/O States
- Upstream SMEMA I/O States
- Downstream SMEMA I/O States
Returns All the SMEMA I/O States. For arrays, Index zero(0) is the aggregate result for all proceeding values. Index zero is therefore the value of interest.
GET /api/multiplug.ext.hermes/smema/
-
StringlaneOptional. Guid of the Lane. If not specified then first lane will be used.
{
"upstream": {
"ready": [
true,
true
],
"good": false,
"bad": false
},
"downstream": {
"ready": false,
"good": [
false,
false
],
"bad": [
false,
false
]
}
}
-
200OK -
403Forbidden- API Not Enabled
Returns the Upstream SMEMA I/O States. For arrays, Index zero(0) is the aggregate result for all proceeding values. Index zero is therefore the value of interest.
GET /api/multiplug.ext.hermes/smema/up/
-
StringlaneOptional. Guid of the Lane. If not specified then first lane will be used.
{
"ready": [
true,
true
],
"good": false,
"bad": false
}
-
200OK -
403Forbidden- API Not Enabled
Returns the Downstream SMEMA I/O States. For arrays, Index zero(0) is the aggregate result for all proceeding values. Index zero is therefore the value of interest.
GET /api/multiplug.ext.hermes/smema/down/
-
StringlaneOptional. Guid of the Lane. If not specified then first lane will be used.
{
"ready": false,
"good": [
false,
false
],
"bad": [
false,
false
]
}
-
200OK -
403Forbidden- API Not Enabled
Adds a Board to This Station Queue
POST /api/multiplug.ext.hermes/this/boards/new/
-
StringlaneOptional. Guid of the Lane. If not specified then first lane will be used. -
Stringboardid -
Stringboardidcreatedby -
Intfailedboard -
Stringproducttypeid -
Intflippedboard -
Stringtopbarcode -
Stringbottombarcode -
Stringlength -
Stringwidth -
Stringthickness -
Stringconveyorspeed -
Stringtopclearanceheight -
Stringbottomclearanceheight -
Stringweight -
Stringworkorderid -
Stringbatchid -
Introute -
Intaction -
Int ArrayPosSubBoards Position. Length must matchBcandSt -
String ArrayBcSubBoards Barcode. Length must matchPosandSt -
Int ArrayStSubBoards State. Length must matchPosandBc
-
200OK -
400Unprocessed- Lane Not Found. Iflaneguid not specified, no lanes are setup. -
422Unprocessed- Missing Compulsory Value -
422Unprocessed- Malformed Request: SubBoards. -
403Forbidden- API Not Enabled
Deletes a Board from the This Station Queue
POST /api/multiplug.ext.hermes/this/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 This Station Queue
GET /api/multiplug.ext.hermes/this/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 This Station Queue
GET /api/multiplug.ext.hermes/this/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 This Station Queue
GET /api/multiplug.ext.hermes/this/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/this/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 for this machine
GET /api/multiplug.ext.hermes/this/hermes/servicedescription/
-
StringlaneOptional. Guid of the Lane. If not specified then first lane will be used.
{
"upstream": {
"machineId": "Conveyor",
"laneId": 1,
"interfaceId": "UpInterface",
"version": "1.5",
"supportedFeatures": {
"featureCheckAliveResponse": true,
"featureBoardForecast": true,
"featureQueryBoardInfo": true,
"featureCommand": true
}
},
"downstream": {
"machineId": "Conveyor",
"laneId": 1,
"interfaceId": "DownInterface",
"version": "1.5",
"supportedFeatures": {
"featureCheckAliveResponse": true,
"featureBoardForecast": true,
"featureSendBoardInfo": true,
"featureCommand": true
}
}
}
-
200OK -
400Bad Request- Lane Not Found. Iflaneguid not specified, no lanes are setup. -
403Forbidden- API Not Enabled