Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 867 Bytes

File metadata and controls

23 lines (14 loc) · 867 Bytes

11 — Reference data (lookups)

Read-only reference data you need when creating other entities. Core API, scope ditioapiv3. Set $BASE_URL / $TOKEN — see ../authentication.

Machine types

Each has a typeId used when creating machines (../machines).

curl $BASE_URL/api/MachineType -H "Authorization: Bearer $TOKEN"

Alert (notification) types

curl $BASE_URL/api/ProjNotificationTypeSetup -H "Authorization: Bearer $TOKEN"

Payroll & absence types

Payroll types and absence types are configured in Ditio and referenced by id in the payroll export filters (payrollTypeIds / absenceTypeIds — see ../data-extraction). See Swagger for the lookup endpoints.

C#: ReferenceDataExample.cs.