Skip to main content

Resources endpoints

Resources, resource groups, employees, users, work types and causes of absence, plus capacity entries and time sheets (current and archived).

All URLs on this page are relative to the company URL, https://api.businesscentral.dynamics.com/v2.0/{tenantId}/{environment}/api/datawareness/endpoints/v1.0/companies({companyId})/. See Construction of the URL.

Master data​

EndpointDescriptionBusiness keySource tableTier
causesOfAbsenceCause of absence definitions.codeCause of AbsencePremium
employeesEmployee master data.noEmployeePremium
resourceDimensionsDefault dimensions assigned to resources.resourceNo&&dimensionCodeDefault DimensionPremium
resourceGroupsResource group definitions.noResource GroupPremium
resourcesResource master data.noResourcePremium
usersUser accounts.userNameUserPremium
workTypesWork type definitions used on resource usage and pricing.codeWork TypePremium

Transactional data​

EndpointDescriptionBusiness keySource tableTier
resourceCapacityEntriesResource capacity entries.entryNoRes. Capacity EntryPremium
timeSheetDetailArchivesArchived time sheet details.timeSheetNo&&timeSheetLineNo&&dateTime Sheet Detail ArchivePremium
timeSheetDetailsTime sheet details.timeSheetNo&&timeSheetLineNo&&dateTime Sheet DetailPremium
timeSheetHeaderArchivesArchived time sheet headers.noTime Sheet Header ArchivePremium
timeSheetHeadersTime sheet headers.noTime Sheet HeaderPremium
timeSheetLineArchivesArchived time sheet lines.timeSheetNo&&lineNoTime Sheet Line ArchivePremium
timeSheetLinesTime sheet lines.timeSheetNo&&lineNoTime Sheet LinePremium

Example queries​

Resource list​

GET .../resources?$select=no,name,resourceType,resourceGroupNo,baseUnitOfMeasureCode,useTimeSheet

Time sheet hours for a month​

GET .../timeSheetDetails?$filter=date ge 2026-01-01 and date le 2026-01-31
&$select=timeSheetNo,timeSheetLineNo,date,quantity,posted

Join to timeSheetLines on timeSheetNo and line number, and to timeSheetHeaders for the resource.

Employees​

GET .../employees?$select=no,firstName,lastName,jobTitle,resourceNo,status,employmentDate

Tips​

  • Fields: every endpoint's fields, with types, are listed by properties — see Metadata discovery. The same list is on the endpoint's page under BI Endpoints in Business Central.