v1

latestOpenAPI 3.0.12026-07-243124341009.5 KB
Departments

Get Default Timesheet Approvers

Returns a Dictionary<int, List<int>> called branch_default_timesheet_approvers, where branch_IDs are keys, and a List<mgr_id> is the value. Also returns a List<int> nonexistent_branches. An empty List<mgr_id> means the branch may exist, but default timesheet approvers were not set.

post/v1/departments/default-timesheet-approvers

Headers

RequestIdstring uuid

The unique request identifier used to correlate request data with log entries and events, formatted as a UUID.

Unique request identifier (UUID) used to correlate request data with log entries and events.

FrontOfficeTenantIdinteger

An integer identifier for the tenant that the request is being made for. Required when Tenant header is not provided.

Tenantstring

Tenant company code that determines data access scope during the request. Required when FrontOfficeTenantId header is not provided.

Request body

IntegerSchema[] required

Response

A dictionary mapping branch IDs to their default timesheet approvers.

branch_default_timesheet_approversobject
nonexistent_branchesinteger[]