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

Request

  • Base URL
    https://api.avionte.com/front-office
  • URL
    https://api.avionte.com/front-office/v1/departments/default-timesheet-approvers
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Headers

RequestIdstring uuid

Unique request identifier in UUID format used to correlate request data to log entries and events.

Example:63680b86-c7e0-4a36-ae4a-d0d481089aff

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[]

Changes

No recorded changes to this operation across all 1 revision of this API.