Data Access Measures
Endpoints
Get measures list
| /companies/{companycode}/establishments/{establishmentcode}/data-access/line-monitoring/measures | 
Description
Returns all measures except measures paginated associated to criteria group with "automatically sent by the PLC" acquisition mode.
Parameters
| Type | Name | Description | Schema | 
|---|---|---|---|
| Path | companyCode | Company code | string | 
| Path | establishmentCode | Establishment code | string | 
| Query | from | Begin datetime | string | 
| Query | to | End datetime | string | 
| Query | page | Page index | integer | 
| Query | size | Entity count per page | integer | 
| Query | lineCode | Line code | string | 
Get measures list - Initialization
| /companies/{companycode}/establishments/{establishmentcode}/data-access/line-monitoring/measures/initialization | 
Description
Returns all measures except measures paginated associated to criteria group with "automatically sent by the PLC" acquisition mode.
Parameters
| Type | Name | Description | Schema | 
|---|---|---|---|
| Path | companyCode | Company code | string | 
| Path | establishmentCode | Establishment code | string | 
| Query | from | Begin date | string | 
| Query | to | End date | string | 
| Query | page | Page index | integer | 
| Query | size | Entity count per page | integer | 
| Query | lineCode | Line code | string | 
Data structure
MeasuresPagingEntity
Description of measures paging response.
| Name | Description | Value | 
|---|---|---|
| page | Number page | int | 
| size | Size | int | 
| total | Total values | int | 
| values | Measures paginated | Measure list | 
Measure
Description of measure
| Name | Description | Value | 
|---|---|---|
| companyCode | Company Code | String | 
| establishmentCode | Establishment Code | String | 
| measureId | Id measure | Long | 
| measures | Measure split by sample | MeasureBySample list | 
MeasureBySample
Description of measure split by sample
| Name | Description | Value | Business Rules | 
|---|---|---|---|
| areaCode | Area code | string | |
| batch | Batch | string | |
| booleanValue | Boolean value | boolean | |
| counterMeasure | Countermeasure | boolean | |
| creationAt | Creation at | datetime | (YYYY-MM-DDTHH:MM:SSZ) | 
| creationFrom | Creation from | string | IN(INTERNAL_USER, INTERNAL_OPERATOR, EXTERNAL) | 
| creationOperatorLogin | Creation operator login | string | |
| creationUserLogin | Creation user login | string | |
| creationWorkstationCode | Creation workstation code | string | |
| criterionCode | Criterion code | string | |
| criterionGroupCode | Criterion group code | string | |
| criterionPosition | Criterion position | integer | |
| groupRating | Group rating | string | IN(NO_RATING,TO_SPECIFY,NORM,LOWER_TOLERANCE,UPPER_TOLERANCE,OUTSIDE_LOWER_CONTROL,OUTSIDE_UPPER_CONTROL) | 
| cancelled | Cancelled | boolean | |
| itemTagCode | Item tag code | string | |
| lastUpdateAt | Last update at | datetime | YYYY-MM-DDTHH:MM:SSZ | 
| lastUpdateFrom | Last update from | string | IN(INTERNAL_USER, INTERNAL_OPERATOR, EXTERNAL) | 
| lastUpdateOperatorLogin | Last update operator login | string | |
| lastUpdateUserLogin | Last update user login | string | |
| lastUpdateWorkstationCode | Last update workstation code | string | |
| measureCriterionRating | Measure criterion rating | string | IN(NO_RATING,TO_SPECIFY,NORM,LOWER_TOLERANCE,UPPER_TOLERANCE,OUTSIDE_LOWER_CONTROL,OUTSIDE_UPPER_CONTROL) | 
| mesureAt | Measure at | datetime | YYYY-MM-DDTHH:MM:SSZ | 
| moLine | Manufacturing order internal id | long | |
| monitoredMeasure | Monitored measure | boolean | |
| moNumber | Manufacturing order number | string | (empty string if not present) | 
| moRealBeginDate | Manufacturing order real begin date | datetime | YYYY-MM-DDTHH:MM:SSZ | 
| moRealEndDate | Manufacturing order real end date | datetime | YYYY-MM-DDTHH:MM:SSZ | 
| moReferenceItemCode | Manufacturing order reference item code | string | |
| numericalNormMax | Numerical norm max | double | |
| numericalNormMin | Numerical norm min | double | |
| numericalTarget | Numerical target | double | |
| numericalToleranceMax | Numerical tolerance max | double | |
| numericalToleranceMin | numerical tolerance min | double | |
| numericalUnitCode | Numerical unit code | string | |
| numericalUnitDecimalCount | Numerical unit decimal count | integer | |
| numericalUnitType | Numerical unit type | string | IN(WEIGHT,PIECE,TEMPERATURE,VOLUME,OTHER) | 
| numericalValue | Numerical value | double | |
| operatorFirstName | Creation operator first name | string | |
| operatorLastName | Creation operator last name | string | |
| pastMeasure | Past measure | boolean | |
| prodDay | Production day | date | YYYY-MM-DD | 
| productRangeItemTagCode | Product range item tag code | string | |
| ratingForFalseValue | Rating for false value | string | IN(NO_RATING,TO_SPECIFY,NORM,LOWER_TOLERANCE,UPPER_TOLERANCE,OUTSIDE_LOWER_CONTROL,OUTSIDE_UPPER_CONTROL) | 
| ratingForTrueValue | Rating for true value | string | IN(NO_RATING,TO_SPECIFY,NORM,LOWER_TOLERANCE,UPPER_TOLERANCE,OUTSIDE_LOWER_CONTROL,OUTSIDE_UPPER_CONTROL) | 
| resourceCode | Resource code (Line) | string | |
| sampleId | Sample id | integer | |
| sampleRating | Sample rating | string | IN(NO_RATING,TO_SPECIFY,NORM,LOWER_TOLERANCE,UPPER_TOLERANCE,OUTSIDE_LOWER_CONTROL,OUTSIDE_UPPER_CONTROL) | 
| stringListToSpecify | List to specify | string list | |
| stringNorms | Norm codes | string list | |
| stringTolerances | Tolerance codes | string list | |
| stringValue | Value | string | |
| stringValueCode | String value code | string | |
| teamCode | Team code | string | |
| voluntaryControl | Voluntary control | boolean | |
| workstationCode | Workstation code | string |