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
required

Company code

string

Path

establishmentCode
required

Establishment code

string

Query

from
required

Begin datetime

string
(YYYY-MM-DDTHH:MM:SSZ)

Query

to
required

End datetime

string
(YYYY-MM-DDTHH:MM:SSZ)

Query

page
optional

Page index

integer
DEFAULT(1)

Query

size
optional

Entity count per page

integer
DEFAULT(100)

Query

lineCode
optional

Line code

string

Responses

HTTP Code Description Schema

200

Successful

400

The difference between from and to must not exceed 7 days

No Content

400

The size must be strictly less than 500

No Content

500

Internal server error

No Content

Produces

  • application/json

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
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

page
optional

Page index

integer
DEFAULT(1)

Query

size
optional

Entity count per page

integer
DEFAULT(100)

Query

lineCode
optional

Line code

string

Responses

HTTP Code Description Schema

200

Successful

400

The difference between from and to must not exceed 7 days

No Content

400

The size must be strictly less than 500

No Content

405

Initialization is not allowed

No Content

500

Internal server error

No Content

Produces

  • application/json

Data structure

MeasuresPagingEntity

Description of measures paging response.

Name Description Value

page
required

Number page

int

size
required

Size values

int

values
required

Measures paginated

Measure list

Measure

Description of measure

Name Description Value

companyCode
required

Company Code

String

establishmentCode
required

Establishment Code

String

measureId
required

Id measure

Long

measures
required

Measure split by sample

MeasureBySample

Description of measure split by sample

Name Description Value Business Rules

areaCode
required

Area code

string

batch
required

Batch

string

booleanValue
required

Boolean value

boolean

counterMeasure
required

Countermeasure

boolean

creationAt
required

Creation at

datetime

(YYYY-MM-DDTHH:MM:SSZ)

creationFrom
required

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

criterionCode
required

Criterion code

string

criterionGroupCode
required

Criterion group code

string

criterionPosition
required

Criterion position

integer

groupRating
required

Group rating

string

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

cancelled
required

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

measureCriterionRating
required

Measure criterion rating

string

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

mesureAt
required

Measure at

datetime

YYYY-MM-DDTHH:MM:SSZ

moLine
optional

Manufacturing order internal id

long

monitoredMeasure
required

Monitored measure

boolean

moNumber
optional

Manufacturing order number

string

(empty string if not present)

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

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

Creation operator first name

string

operatorLastName
optional

Creation operator last name

string

pastMeasure
required

Past measure

boolean

prodDay
required

Production day

date

YYYY-MM-DD

productRangeItemTagCode
optional

Product range item tag code

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
required

Resource code (Line)

string

sampleId
required

Sample id

integer

sampleRating
required

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

stringNorms
optional

Norm codes

string list

stringTolerances
optional

Tolerance codes

string list

stringValue
optional

Value

string

stringValueCode
optional

String value code

string

teamCode
required

Team code

string

voluntaryControl
required

Voluntary control

boolean

workstationCode
optional

Workstation code

string