Data Access Measures

Endpoints

Get measures list

/companies/{companycode}/establishments/{establishmentcode}/data-access/line-measures

Description

Returns all measures except measures associated to criteria group with "automatically sent by the PLC" acquisition mode.

Parameters

Type Name Description Schema

Path

companyCode
required

Company code

string

Path

establishmentCode
required

Establishment code

string

Query

from
required

Begin date

string (YYYY-MM-DD)

Query

to
required

End date

string (YYYY-MM-DD)

Query

mode
optional

Mode export data
(either export created or updated measures)

IN(INITIALISATION=from and to parameters compared to production day, INCREMENTAL=from and to parameters compared to updated date)
DEFAULT(INITIALISATION)

Query

lineCode
optional

Line code

string

Query

scrollId
optional

Scroll ID of first response

string

Responses

HTTP Code Description Schema

200

Successful

400

Functional error

No Content

500

Internal server error

No Content

Produces

  • application/json

Data structure

measure response information

Description of measures.

Name Description Value

measures
required

Measures

MeasureDTO list

scrollId
required

Scroll ID

string

MeasureDTO

Name Description Value Business Rules

areaCode
required

Area code

string

areaLabel
required

Area label

string

batch
required

Batch

string

booleanValue
optional

Boolean value

boolean

companyCode
required

Company code

string

companyLabel
optional

Company label

string

counterMeasure
optional

Counter measure

boolean

creationAt
optional

Creation at

datetime

YYYY-MM-DDTHH:MM:SSZ

creationFrom
optional

Creation from

string

IN(INTERNAL_USER, INTERNAL_OPERATOR, EXTERNAL)

creationOperatorLogin
optional

Creation operator login

string

creationUserLogin
optional

Creation user login

string

creationWorkstationCode
optional

Creation workstation code

string

creationWorkstationLabel
optional

Creation workstation label

string

criterionCode
required

Criterion code

string

criterionGroupCode
required

Criterion group code

string

criterionGroupLabel
optional

Criterion group label

string

criterionLabel
optional

Criterion label

string

criterionPosition
optional

Criterion position

integer

establishmentCode
required

Establishment code

string

establishmentLabel
optional

Establishment label

string

groupRating
optional

Group rating

string

IN(NO_RATING,TO_SPECIFY,NORM,LOWER_TOLERANCE,UPPER_TOLERANCE,OUTSIDE_LOWER_CONTROL,OUTSIDE_UPPER_CONTROL)

isCancelled
optional

Cancelled

boolean

itemTagCode
optional

Item tag code

string

lastUpdateAt
optional

Last update at

datetime

YYYY-MM-DDTHH:MM:SSZ

lastUpdateFrom
optional

Last update from

string

IN(INTERNAL_USER, INTERNAL_OPERATOR, EXTERNAL)

lastUpdateOperatorLogin
optional

Last update operator login

string

lastUpdateUserLogin
optional

Last update user login

string

lastUpdateWorkstationCode
optional

Last update workstation code

string

lastUpdateWorkstationLabel
optional

Last update workstation label

string

measureCriterionId
optional

Measure criterion id

long

measureCriterionRating
optional

Measure criterion rating

string

IN(NO_RATING,TO_SPECIFY,NORM,LOWER_TOLERANCE,UPPER_TOLERANCE,OUTSIDE_LOWER_CONTROL,OUTSIDE_UPPER_CONTROL)

mesureAt
optional

Measure at

datetime

YYYY-MM-DDTHH:MM:SSZ

moLine
required

Manufacturing order internal id

long

monitoredMeasure
optional

Monitored measure

boolean

moNumber
required

Manufacturing order number

string

moRealBeginDate
required

Manufacturing order real begin date

datetime

YYYY-MM-DDTHH:MM:SSZ

moRealEndDate
optional

Manufacturing order real end date

datetime

YYYY-MM-DDTHH:MM:SSZ

moReferenceItemCode
required

Manufacturing order reference item code

string

moReferenceItemLabel
optional

Manufacturing order reference item label

string

numericalNormMax
optional

Numerical norm max

double

numericalNormMin
optional

Numerical norm min

double

numericalTarget
optional

Numerical target

double

numericalToleranceMax
optional

Numerical tolerance max

double

numericalToleranceMin
optional

numerical tolerance min

double

numericalUnitCode
optional

Numerical unit code

string

numericalUnitDecimalCount
optional

Numerical unit decimal count

integer

numericalUnitType
optional

Numerical unit type

string

IN(WEIGHT,PIECE,TEMPERATURE,VOLUME,OTHER)

numericalValue
optional

Numerical value

double

operatorFirstName
optional

Operator first name

string

operatorLastName
optional

Operator last name

string

pastMeasure
optional

Past measure

boolean

prodDay
optional

Production day

date

YYYY-MM-DD

productRangeItemTagCode
optional

Product range item tag code

string

productRangeItemTagLabel
optional

Product range item tag label

string

ratingForFalseValue
optional

Rating for false value

string

IN(NO_RATING,TO_SPECIFY,NORM,LOWER_TOLERANCE,UPPER_TOLERANCE,OUTSIDE_LOWER_CONTROL,OUTSIDE_UPPER_CONTROL)

ratingForTrueValue
optional

Rating for true value

string

IN(NO_RATING,TO_SPECIFY,NORM,LOWER_TOLERANCE,UPPER_TOLERANCE,OUTSIDE_LOWER_CONTROL,OUTSIDE_UPPER_CONTROL)

resourceCode
optional

Resource code

string

resourceLabel
optional

Resource label

string

sampleId
optional

Sample id

integer

sampleRating
optional

Sample rating

string

IN(NO_RATING,TO_SPECIFY,NORM,LOWER_TOLERANCE,UPPER_TOLERANCE,OUTSIDE_LOWER_CONTROL,OUTSIDE_UPPER_CONTROL)

stringListToSpecify
optional

List to specify

string list

stringListToSpecifyLabels
optional

List to specify labels

string list

stringNormLabels
optional

Norm labels

string list

stringNorms
optional

Norm codes

string list

stringToleranceLabels
optional

Tolerance labels

string list

stringTolerances
optional

Tolerance codes

string list

stringValue
optional

Value

string

stringValueLabel
optional

Value label

string

teamCode
optional

Team code

string

teamLabel
optional

Team label

string

voluntaryControl
optional

Voluntary control

boolean

workstationCode
optional

Workstation code

string

workstationLabel
optional

Workstation label

string