Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

Below are sample request and responses to LogiX reporting API

1. Daily OEE for whole Plant

Parameters :

plant: ILA
date_from: 2007-03-01T09:00:00.000Z
date_to: 2007-03-02T09:00:00.000Z
group_by: workday
performance_type: DesignSpeed
include_OEEs: true

GET /aggregated_metrics?plant=ILA&date_from=2007-03-01T09:00:00.000Z&date_to=2007-03-02T09:00:00.000Z&group_by=workday&performance_type=DesignSpeed&include_OEEs=true

Response:

 Click here to expand...
[
  {
    "startTime": "2007-03-02T08:00:00",
    "endTime": "2007-03-03T08:00:00",
    "shiftCode": null,
    "activityType": null,
    "activityId": null,
    "hourId": null,
    "workDayId": "2007-03-03T00:00:00",
    "weekId": null,
    "monthId": null,
    "SKU": null,
    "assetTaxonomyNode": null,
    "assetIdentification": null,
    "eventsData": null,
    "OEEs": {
      "OEE": "0",
      "TEEP": "0",
      "OEE_A": "0",
      "OEE_P": "0",
      "OEE_Q": "0",
      "totalScheduledTimeSeconds": 0,
      "totalAvailableTimeSeconds": 0,
      "utilizationLossesSeconds": 0,
      "availabilityLossesSeconds": 0,
      "performanceLossesSeconds": 0,
      "qualityLossesSeconds": 0
    },
    "yieldData": null
  },
  {
    "startTime": "2007-03-01T08:00:00",
    "endTime": "2007-03-02T08:00:00",
    "shiftCode": null,
    "activityType": null,
    "activityId": null,
    "hourId": null,
    "workDayId": "2007-03-02T00:00:00",
    "weekId": null,
    "monthId": null,
    "SKU": null,
    "assetTaxonomyNode": null,
    "assetIdentification": null,
    "eventsData": null,
    "OEEs": {
      "OEE": "0",
      "TEEP": "0",
      "OEE_A": "0",
      "OEE_P": "0",
      "OEE_Q": "0",
      "totalScheduledTimeSeconds": 0,
      "totalAvailableTimeSeconds": 0,
      "utilizationLossesSeconds": 0,
      "availabilityLossesSeconds": 0,
      "performanceLossesSeconds": 0,
      "qualityLossesSeconds": 0
    },
    "yieldData": null
  }
]

2. Daily OEE detailed for all Lines

Distinction between Plants, Areas, Lines and Machines is a part of ISA95 taxonomy. In API calls, while referring to assetes this taxonomy is default one. To get aggregates for Lines you need just to specify asset_taxonomy_levels_to_include='line'.

Parameters:

plant: ILA
date_from: 2007-03-01T09:00:00.000Z
date_to: 2007-03-02T09:00:00.000Z
asset_taxonomy_levels_to_include: line
group_by: workday
group_by: AssetTaxonomy
performance_type: DesignSpeed
include_OEEs: true

GET /aggregated_metrics?plant=ILA&date_from=2007-03-01T09:00:00.000Z&date_to=2007-03-02T09:00:00.000Z&asset_taxonomy_levels_to_include=line&group_by=workday&group_by=AssetTaxonomy&performance_type=DesignSpeed&include_OEEs=true

 Click here to expand...
[
    {
        "startTime": "2007-03-01T08:00:00",
        "endTime": "2007-03-02T08:00:00",
        "shiftCode": null,
        "activityType": null,
        "activityId": null,
        "hourId": null,
        "workDayId": "2007-03-02T00:00:00",
        "weekId": null,
        "monthId": null,
        "SKU": null,
        "assetTaxonomyNode": "ILA/Area2/Line7",
        "assetIdentification": null,
        "eventsData": null,
        "OEEs": {
            "OEE": "0",
            "TEEP": "0",
            "OEE_A": "0",
            "OEE_P": "0",
            "OEE_Q": "0",
            "totalScheduledTimeSeconds": 0,
            "totalAvailableTimeSeconds": 0,
            "utilizationLossesSeconds": 0,
            "availabilityLossesSeconds": 0,
            "performanceLossesSeconds": 0,
            "qualityLossesSeconds": 0
        },
        "yieldData": null
    },
    {
        "startTime": "2007-03-01T08:00:00",
        "endTime": "2007-03-02T08:00:00",
        "shiftCode": null,
        "activityType": null,
        "activityId": null,
        "hourId": null,
        "workDayId": "2007-03-02T00:00:00",
        "weekId": null,
        "monthId": null,
        "SKU": null,
        "assetTaxonomyNode": "ILA/Area2/Line6",
        "assetIdentification": null,
        "eventsData": null,
        "OEEs": {
            "OEE": "0",
            "TEEP": "0",
            "OEE_A": "0",
            "OEE_P": "0",
            "OEE_Q": "0",
            "totalScheduledTimeSeconds": 0,
            "totalAvailableTimeSeconds": 0,
            "utilizationLossesSeconds": 0,
            "availabilityLossesSeconds": 0,
            "performanceLossesSeconds": 0,
            "qualityLossesSeconds": 0
        },
        "yieldData": null
    },
    {
        "startTime": "2007-03-02T08:00:00",
        "endTime": "2007-03-03T08:00:00",
        "shiftCode": null,
        "activityType": null,
        "activityId": null,
        "hourId": null,
        "workDayId": "2007-03-03T00:00:00",
        "weekId": null,
        "monthId": null,
        "SKU": null,
        "assetTaxonomyNode": "ILA/OBS/L2",
        "assetIdentification": null,
        "eventsData": null,
        "OEEs": {
            "OEE": "0",
            "TEEP": "0",
            "OEE_A": "0",
            "OEE_P": "0",
            "OEE_Q": "0",
            "totalScheduledTimeSeconds": 0,
            "totalAvailableTimeSeconds": 0,
            "utilizationLossesSeconds": 0,
            "availabilityLossesSeconds": 0,
            "performanceLossesSeconds": 0,
            "qualityLossesSeconds": 0
        },
        "yieldData": null
    },
    {
        "startTime": "2007-03-01T08:00:00",
        "endTime": "2007-03-02T08:00:00",
        "shiftCode": null,
        "activityType": null,
        "activityId": null,
        "hourId": null,
        "workDayId": "2007-03-02T00:00:00",
        "weekId": null,
        "monthId": null,
        "SKU": null,
        "assetTaxonomyNode": "ILA/OBS/L4",
        "assetIdentification": null,
        "eventsData": null,
        "OEEs": {
            "OEE": "0",
            "TEEP": "0",
            "OEE_A": "0",
            "OEE_P": "0",
            "OEE_Q": "0",
            "totalScheduledTimeSeconds": 0,
            "totalAvailableTimeSeconds": 0,
            "utilizationLossesSeconds": 0,
            "availabilityLossesSeconds": 0,
            "performanceLossesSeconds": 0,
            "qualityLossesSeconds": 0
        },
        "yieldData": null
    },
    {
        "startTime": "2007-03-01T08:00:00",
        "endTime": "2007-03-02T08:00:00",
        "shiftCode": null,
        "activityType": null,
        "activityId": null,
        "hourId": null,
        "workDayId": "2007-03-02T00:00:00",
        "weekId": null,
        "monthId": null,
        "SKU": null,
        "assetTaxonomyNode": "ILA/TA/L3",
        "assetIdentification": null,
        "eventsData": null,
        "OEEs": {
            "OEE": "0",
            "TEEP": "0",
            "OEE_A": "0",
            "OEE_P": "0",
            "OEE_Q": "0",
            "totalScheduledTimeSeconds": 0,
            "totalAvailableTimeSeconds": 0,
            "utilizationLossesSeconds": 0,
            "availabilityLossesSeconds": 0,
            "performanceLossesSeconds": 0,
            "qualityLossesSeconds": 0
        },
        "yieldData": null
    },
    {
        "startTime": "2007-03-01T08:00:00",
        "endTime": "2007-03-02T08:00:00",
        "shiftCode": null,
        "activityType": null,
        "activityId": null,
        "hourId": null,
        "workDayId": "2007-03-02T00:00:00",
        "weekId": null,
        "monthId": null,
        "SKU": null,
        "assetTaxonomyNode": "ILA/OBS/L1",
        "assetIdentification": null,
        "eventsData": null,
        "OEEs": {
            "OEE": "0",
            "TEEP": "0",
            "OEE_A": "0",
            "OEE_P": "0",
            "OEE_Q": "0",
            "totalScheduledTimeSeconds": 0,
            "totalAvailableTimeSeconds": 0,
            "utilizationLossesSeconds": 0,
            "availabilityLossesSeconds": 0,
            "performanceLossesSeconds": 0,
            "qualityLossesSeconds": 0
        },
        "yieldData": null
    },
    {
        "startTime": "2007-03-02T08:00:00",
        "endTime": "2007-03-03T08:00:00",
        "shiftCode": null,
        "activityType": null,
        "activityId": null,
        "hourId": null,
        "workDayId": "2007-03-03T00:00:00",
        "weekId": null,
        "monthId": null,
        "SKU": null,
        "assetTaxonomyNode": "ILA/Area2/Line7",
        "assetIdentification": null,
        "eventsData": null,
        "OEEs": {
            "OEE": "0",
            "TEEP": "0",
            "OEE_A": "0",
            "OEE_P": "0",
            "OEE_Q": "0",
            "totalScheduledTimeSeconds": 0,
            "totalAvailableTimeSeconds": 0,
            "utilizationLossesSeconds": 0,
            "availabilityLossesSeconds": 0,
            "performanceLossesSeconds": 0,
            "qualityLossesSeconds": 0
        },
        "yieldData": null
    },
    {
        "startTime": "2007-03-02T08:00:00",
        "endTime": "2007-03-03T08:00:00",
        "shiftCode": null,
        "activityType": null,
        "activityId": null,
        "hourId": null,
        "workDayId": "2007-03-03T00:00:00",
        "weekId": null,
        "monthId": null,
        "SKU": null,
        "assetTaxonomyNode": "ILA/Area2/Line6",
        "assetIdentification": null,
        "eventsData": null,
        "OEEs": {
            "OEE": "0",
            "TEEP": "0",
            "OEE_A": "0",
            "OEE_P": "0",
            "OEE_Q": "0",
            "totalScheduledTimeSeconds": 0,
            "totalAvailableTimeSeconds": 0,
            "utilizationLossesSeconds": 0,
            "availabilityLossesSeconds": 0,
            "performanceLossesSeconds": 0,
            "qualityLossesSeconds": 0
        },
        "yieldData": null
    },
    {
        "startTime": "2007-03-02T08:00:00",
        "endTime": "2007-03-03T08:00:00",
        "shiftCode": null,
        "activityType": null,
        "activityId": null,
        "hourId": null,
        "workDayId": "2007-03-03T00:00:00",
        "weekId": null,
        "monthId": null,
        "SKU": null,
        "assetTaxonomyNode": "ILA/OBS/L4",
        "assetIdentification": null,
        "eventsData": null,
        "OEEs": {
            "OEE": "0",
            "TEEP": "0",
            "OEE_A": "0",
            "OEE_P": "0",
            "OEE_Q": "0",
            "totalScheduledTimeSeconds": 0,
            "totalAvailableTimeSeconds": 0,
            "utilizationLossesSeconds": 0,
            "availabilityLossesSeconds": 0,
            "performanceLossesSeconds": 0,
            "qualityLossesSeconds": 0
        },
        "yieldData": null
    },
    {
        "startTime": "2007-03-01T08:00:00",
        "endTime": "2007-03-02T08:00:00",
        "shiftCode": null,
        "activityType": null,
        "activityId": null,
        "hourId": null,
        "workDayId": "2007-03-02T00:00:00",
        "weekId": null,
        "monthId": null,
        "SKU": null,
        "assetTaxonomyNode": "ILA/OBS/L2",
        "assetIdentification": null,
        "eventsData": null,
        "OEEs": {
            "OEE": "0",
            "TEEP": "0",
            "OEE_A": "0",
            "OEE_P": "0",
            "OEE_Q": "0",
            "totalScheduledTimeSeconds": 0,
            "totalAvailableTimeSeconds": 0,
            "utilizationLossesSeconds": 0,
            "availabilityLossesSeconds": 0,
            "performanceLossesSeconds": 0,
            "qualityLossesSeconds": 0
        },
        "yieldData": null
    },
    {
        "startTime": "2007-03-02T08:00:00",
        "endTime": "2007-03-03T08:00:00",
        "shiftCode": null,
        "activityType": null,
        "activityId": null,
        "hourId": null,
        "workDayId": "2007-03-03T00:00:00",
        "weekId": null,
        "monthId": null,
        "SKU": null,
        "assetTaxonomyNode": "ILA/TA/L3",
        "assetIdentification": null,
        "eventsData": null,
        "OEEs": {
            "OEE": "0",
            "TEEP": "0",
            "OEE_A": "0",
            "OEE_P": "0",
            "OEE_Q": "0",
            "totalScheduledTimeSeconds": 0,
            "totalAvailableTimeSeconds": 0,
            "utilizationLossesSeconds": 0,
            "availabilityLossesSeconds": 0,
            "performanceLossesSeconds": 0,
            "qualityLossesSeconds": 0
        },
        "yieldData": null
    },
    {
        "startTime": "2007-03-02T08:00:00",
        "endTime": "2007-03-03T08:00:00",
        "shiftCode": null,
        "activityType": null,
        "activityId": null,
        "hourId": null,
        "workDayId": "2007-03-03T00:00:00",
        "weekId": null,
        "monthId": null,
        "SKU": null,
        "assetTaxonomyNode": "ILA/OBS/L1",
        "assetIdentification": null,
        "eventsData": null,
        "OEEs": {
            "OEE": "0",
            "TEEP": "0",
            "OEE_A": "0",
            "OEE_P": "0",
            "OEE_Q": "0",
            "totalScheduledTimeSeconds": 0,
            "totalAvailableTimeSeconds": 0,
            "utilizationLossesSeconds": 0,
            "availabilityLossesSeconds": 0,
            "performanceLossesSeconds": 0,
            "qualityLossesSeconds": 0
        },
        "yieldData": null
    }
]

3. Summary of ‘Problems' (detailed type of asset events from PackOS 'problems’ dictionary for Lines and Machines) registered between dates

plant: ILA
date_from: 2022-11-01T09:00:00.000Z
date_to: 2022-11-03T09:00:00.000Z
group_by: DetailedEvent
performance_type: DesignSpeed

GET /aggregated_metrics?plant=ILA&date_from=2022-11-01T09:00:00.000Z&date_to=2022-11-03T09:00:00.000Z&group_by=DetailedEvent&performance_type=DesignSpeed

  • No labels