Data Access Labors

Endpoints

Get labors list

/companies/{companycode}/establishments/{establishmentcode}/data-access/labors

operation.deprecated

Description

Returns labors.

Parameters

Type Name Description Schema

Path

companyCode
required

Current context company code

string

Path

establishmentCode
required

Current context establishment code

string

Query

from
required

Begin date

string

Query

to
optional

End date

string

Query

lineCode
optional

Line code

string

Responses

HTTP Code Description Schema

200

Successfull

< labors response > array

400

Functionnal error

No Content

500

Internal server error

No Content

Produces

  • application/json

Data structure

labors response

Description of labors.

Name Description Value

labors
required

Labors

LaborDTO list

LaborDTO

Name Description Value

areaCode
required

Area code

string

areaLabel
optional

Area label

string

beginDate
required

Begin date

string

companyCode
required

Company code

string

companyLabel
optional

Company label

string

endDate
optional

End date

string

establishmentCode
required

Establishment code

string

establishmentLabel
optional

Establishment label

string

itemCode
optional

Item code

string

itemLabel
optional

Item label

string

laborPeriodId
optional

Labor period id

integer

laborProfileAmount
required

Labor profile amount

double

laborProfileCode
required

Labor profile code

string

laborProfileLabel
optional

Labor profile label

string

laborProfileShared
required

Is shared labor profile

boolean

laborProfileType
required

Labor profile type

string

lineCode
required

Line code

string

lineLabel
optional

Line label

string

lineOpenPeriodId
required

Line open period id

integer

moNb
optional

Manufacturing order number

string

originLaborCode
optional

Origin labor profile code

string

originLaborLabel
optional

Origin labor profile label

string

teamCode
optional

Team code

string

teamLabel
optional

Team label

string

teamProdDay
required

Team production day

string