Timesheets

Get Approver Terms

Returns the account's configured timesheet Approver Terms configured under Accounts & Settings > Utilities.

get/v1/timesheet/approver-terms

Request

  • Base URL
    https://api.avionte.com/front-office
  • URL
    https://api.avionte.com/front-office/v1/timesheet/approver-terms
  • 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.

Response

The account's configured Approver Terms.

terms_idinteger required

The database identifier of the account's configured Approver Terms record. 0 when Approver Terms are not configured for the account.

terms_textstring nullable required

The attestation text presented to a supervisor when approving a timesheet. Null when Approver Terms are not configured for the account.

last_modified_datestring date-time nullable required

The date and time when the account's Approver Terms were last updated. Null when Approver Terms are not configured for the account. The field follows the YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss formats, for example, 2024-12-01 or 2024-12-01T14:30:00.

Example response

{
  "terms_id": 202,
  "terms_text": "I approve these hours as submitted."
}

Changes

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