Station Group

get
Authorizations
Query parameters
plantcodestring · min: 1Optional
Responses
200
200 OK
application/json
get
GET /api/station-group HTTP/1.1
Host: demo.busroot.com
X-API-KEY: YOUR_API_KEY
Accept: */*
{
  "isSuccess": true,
  "results": [
    {
      "code": "text",
      "name": "text",
      "plantCode": "text",
      "accountId": "text",
      "allowScheduleStationFlexibility": true,
      "shiftPatternId": 1,
      "allowQuickScheduleStart": true,
      "createdAt": "text",
      "updatedAt": "text",
      "plantTimezone": "text",
      "stations": [
        {
          "accountId": "text",
          "code": "text",
          "name": "text",
          "groupCode": "text",
          "shiftPatternId": 1,
          "moduleVisibility": [
            "utilisation"
          ],
          "minimumCycleTime": 1,
          "speedScale": 1,
          "speedOffset": 1,
          "speedToProductionRatio": 1,
          "idleCostPerMinute": 1,
          "downtimeDetectionMode": "utilisation",
          "utilisationDowntimeThreshold": 1,
          "slowDurationThreshold": 1,
          "forceAllShiftTimeAsPlannedProduction": true,
          "productiveStatusMode": "productive_signal",
          "electricalUsageStoppedThresholdKw": 1,
          "lineSpeedStoppedThreshold": 1,
          "productiveHoldOnTime": 1,
          "allowInterruptionMode": false,
          "allowManualProduction": false,
          "allowQuickScheduleStart": false,
          "allowScheduleCutShort": false,
          "currentOperatorInitials": "text",
          "statusCode": "text",
          "statusCodeUpdatedAt": "text",
          "cycleTime": 1,
          "unitsPerMinute": 1,
          "unitsPerHour": 1,
          "lineSpeedTarget": 1,
          "createdAt": "text",
          "updatedAt": "text",
          "archivedAt": "text"
        }
      ],
      "shifts": [
        {
          "id": 1,
          "name": "text",
          "startHour": 1,
          "duration": 1,
          "accountId": "text",
          "shiftPatternId": 1,
          "weekDay": "text"
        }
      ]
    }
  ]
}
post
Authorizations
Body
codestring · min: 1 · max: 32RequiredPattern: ^([a-zA-Z0-9-_]+)$
namestring · min: 1 · max: 32Required
plantCodestring · min: 1Required
allowScheduleStationFlexibilitybooleanOptionalDefault: false
shiftPatternIdintegerRequired
allowQuickScheduleStartbooleanOptional
Responses
200
200 OK
application/json
post
POST /api/station-group HTTP/1.1
Host: demo.busroot.com
X-API-KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 138

{
  "code": "text",
  "name": "text",
  "plantCode": "text",
  "allowScheduleStationFlexibility": false,
  "shiftPatternId": 1,
  "allowQuickScheduleStart": true
}
{
  "isSuccess": true,
  "results": [
    {
      "code": "text",
      "name": "text",
      "plantCode": "text",
      "accountId": "text",
      "allowScheduleStationFlexibility": true,
      "shiftPatternId": 1,
      "allowQuickScheduleStart": true,
      "createdAt": "text",
      "updatedAt": "text"
    }
  ]
}
get
Authorizations
Path parameters
codestring · min: 1 · max: 32RequiredPattern: ^([a-zA-Z0-9-_]+)$
Responses
200
200 OK
application/json
get
GET /api/station-group/{code} HTTP/1.1
Host: demo.busroot.com
X-API-KEY: YOUR_API_KEY
Accept: */*
{
  "isSuccess": true,
  "result": {
    "code": "text",
    "name": "text",
    "plantCode": "text",
    "accountId": "text",
    "allowScheduleStationFlexibility": true,
    "shiftPatternId": 1,
    "allowQuickScheduleStart": true,
    "createdAt": "text",
    "updatedAt": "text",
    "plantTimezone": "text",
    "stations": [
      {
        "accountId": "text",
        "code": "text",
        "name": "text",
        "groupCode": "text",
        "shiftPatternId": 1,
        "moduleVisibility": [
          "utilisation"
        ],
        "minimumCycleTime": 1,
        "speedScale": 1,
        "speedOffset": 1,
        "speedToProductionRatio": 1,
        "idleCostPerMinute": 1,
        "downtimeDetectionMode": "utilisation",
        "utilisationDowntimeThreshold": 1,
        "slowDurationThreshold": 1,
        "forceAllShiftTimeAsPlannedProduction": true,
        "productiveStatusMode": "productive_signal",
        "electricalUsageStoppedThresholdKw": 1,
        "lineSpeedStoppedThreshold": 1,
        "productiveHoldOnTime": 1,
        "allowInterruptionMode": false,
        "allowManualProduction": false,
        "allowQuickScheduleStart": false,
        "allowScheduleCutShort": false,
        "currentOperatorInitials": "text",
        "statusCode": "text",
        "statusCodeUpdatedAt": "text",
        "cycleTime": 1,
        "unitsPerMinute": 1,
        "unitsPerHour": 1,
        "lineSpeedTarget": 1,
        "createdAt": "text",
        "updatedAt": "text",
        "archivedAt": "text"
      }
    ],
    "shifts": [
      {
        "id": 1,
        "name": "text",
        "startHour": 1,
        "duration": 1,
        "accountId": "text",
        "shiftPatternId": 1,
        "weekDay": "text"
      }
    ]
  }
}
delete
Authorizations
Path parameters
codestring · min: 1 · max: 32RequiredPattern: ^([a-zA-Z0-9-_]+)$
Responses
204
204 No Content
delete
DELETE /api/station-group/{code} HTTP/1.1
Host: demo.busroot.com
X-API-KEY: YOUR_API_KEY
Accept: */*

No content