Data Access Labor

Endpoints

Get Labor split by OEE periods list

/companies/{companycode}/establishments/{establishmentcode}/data-access/labor/split-periods

Description

Returns Labor split by OEE periods paginated.

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 Labor split by OEE periods list - Initialization

/companies/{companycode}/establishments/{establishmentcode}/data-access/labor/split-periods/initialization

Description

Returns Labor split by OEE periods paginated.

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

OeeLaborsPagingEntity

Description of labors paging response.

Name Description Value

page
required

Number page

int

size
required

Size

int

total
required

Total values

int

values
required

Labors paginated

Labor list

Labor

Deletion key is <CompanyCode, EstablishmentCode, LaborPeriodId>

Description of labor

Name Description Value

companyCode
required

Company Code

String

establishmentCode
required

Establishment Code

String

laborPeriodId
required

Labor period id

Long

periods
required

Labor split periods

LaborSplitByOeePeriods

Description of Labor split by OEE periods

Name Description Value

areaCode
required

Area code

string

beginDate
required

Begin date

string

endDate
required

End date

string

includedInOee
required

Is stop reason included in oee

boolean

itemCode
optional

Item code

string

laborProfileAmount
required

Labor profile amount

double

laborProfileCode
required

Labor profile code

string

laborProfileShared
required

Is shared labor profile

boolean

laborProfileType
required

Labor profile type

string

lineCode
required

Line code

string

lineOpenPeriodId
optional

Line open period id

integer

moNb
optional

Manufacturing order number

string
(empty string if not present)

prodDay
required

Production day

date
(YYYY-MM-DD)

stopReasonCode
optional

Stop reason code

string

teamCode
optional

Team code

string

teamPeriodId
optional

team period id

integer