DHL

DHL Time Attendance API

The Time Attendance API from DHL — 1 operation(s) for time attendance.

GitHub OpenAPI

Operations 1

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /time-attendance Send a worker's time and attendance records · Sends canonical Time and Attendance records for one worker #
Ask an LLM
“How do I send a worker's planned hours and absences into the time attendance pipeline?”
“Can I include planned working times and schedule adjustments for one employee?”
Tell an agent
Send time attendance records for {person}.
Record {plannedWorkingTimes} and {absences} for {person}.

Documentation

📖
Documentation
https://developer.dhl.com/tracking
📖
Documentation
https://developer.dhl.com/api-reference/shipment-tracking-unified-push
📖
Documentation
https://developer.dhl.com/api-reference/additional-services-dhl-freight
📖
Documentation
https://developer.dhl.com/api-reference/authentication-dhl-ecommerce-americas
📖
Documentation
https://developer.dhl.com/api-reference/authentication-api-dhl-freight
📖
Documentation
https://developer.dhl.com/api-reference/authentication-api-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/datafactory-autocomplete-20-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/deutsche-post-hybrid-mail-shipments-e-post-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/deutsche-post-international-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/deutsche-post-internetmarke-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/deutsche-post-print-mailing-dispatch-preparation-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/deutsche-post-print-mailing-targeting-post-parcel-germany
📖
Documentation
https://developer.dhl.com/parcel-connect
📖
Documentation
https://developer.dhl.com/api-reference/econnect-beta-dhl-ecommerce-europe
📖
Documentation
https://developer.dhl.com/api-reference/dhl-parcel-de-pickup-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/dhl-parcel-de-postnumber-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/dhl-parcel-de-private-shipping-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/dhl-parcel-de-returns-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/parcel-de-shipping-post-parcel-germany-v2
📖
Documentation
https://developer.dhl.com/api-reference/dhl-parcel-de-shipment-tracking-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/dgf-document
📖
Documentation
https://developer.dhl.com/api-reference/duty-tax-dhl-ecommerce-americas
📖
Documentation
https://developer.dhl.com/api-reference/ecommerce-uk
📖
Documentation
https://developer.dhl.com/api-reference/parcel-eu
📖
Documentation
https://developer.dhl.com/api-reference/pickup-cancellation-dhl-ecommerce-india-blue-dart
📖
Documentation
https://developer.dhl.com/api-reference/price-quote-dhl-freight
📖
Documentation
https://developer.dhl.com/api-reference/print-dhl-freight
📖
Documentation
https://developer.dhl.com/api-reference/product-dhl-freight
📖
Documentation
https://developer.dhl.com/api-reference/product-and-sub-product-pickup-detail-dhl-ecommerce-india-blue-dart
📖
Documentation
https://developer.dhl.com/api-reference/product-finder-dhl-ecommerce-americas
📖
Documentation
https://developer.dhl.com/api-reference/products-api-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/dgf-push-api
📖
Documentation
https://developer.dhl.com/api-reference/registration-pickup-dhl-ecommerce-india-blue-dart
📖
Documentation
https://developer.dhl.com/api-reference/return-label-dhl-ecommerce-americas
📖
Documentation
https://developer.dhl.com/api-reference/shipment-booking-dhl-freight
📖
Documentation
https://developer.dhl.com/api-reference/dgf-shipment-booking
📖
Documentation
https://developer.dhl.com/api-reference/shipment-label-dhl-global-forwarding
📖
Documentation
https://developer.dhl.com/api-reference/dgf-shipment-status
📖
Documentation
https://developer.dhl.com/api-reference/shipment-tracking-dhl-ecommerce-india-blue-dart
📖
Documentation
https://developer.dhl.com/api-reference/shipment-tracking-v2-dhl-global-forwarding
📖
Documentation
https://developer.dhl.com/api-reference/time-table-dhl-freight
📖
Documentation
https://developer.dhl.com/api-reference/tracking-dhl-ecommerce-americas

Specifications

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/dhl:dhl-time-attendance-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

dhl-time-attendance-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Time and Attendance Time Attendance API
  version: 1.0.0
  contact:
    name: ITGF HR Integration
  description: Canonical, system-agnostic contract for Time and Attendance data exchanged between upstream source systems (for example Oracle Time and Labor, UKG) and the transformation layer that prepares payloads for STEPS SAP payroll interfaces.
servers:
- url: https://api-dev.dhl.com/gbs/itgf/human-resources/time-attendance/v1
  description: Development
- url: https://api-uat.dhl.com/gbs/itgf/human-resources/time-attendance/v1
  description: Test
- url: https://api.dhl.com/gbs/itgf/human-resources/time-attendance/v1
  description: Production
security:
- oAuth2ClientCredentials: []
tags:
- name: Time Attendance
paths:
  /time-attendance:
    post:
      summary: Sends canonical Time and Attendance records for one worker
      security:
      - oAuth2ClientCredentials: []
      description: Receives effective-dated Time and Attendance records in the canonical model. The payload is source-system agnostic and supports transformation to STEPS SAP payroll infotypes such as IT0007, IT2001, IT2003, and IT2010.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TimeAttendancePayload'
      responses:
        '200':
          description: Time and Attendance record submitted successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuccessResponse'
        '202':
          description: Time and Attendance record accepted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AcceptedResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      tags:
      - Time Attendance
      operationId: postTimeAttendance
      x-operation-id-source: derived
components:
  schemas:
    TimeAttendancePayload:
      type: object
      properties:
        gid:
          $ref: '#/components/schemas/GID'
        legalEntityCode:
          $ref: '#/components/schemas/LegalEntityCode'
        legalEntityName:
          $ref: '#/components/schemas/LegalEntityName'
        transactionId:
          $ref: '#/components/schemas/TransactionId'
        flowInstanceId:
          $ref: '#/components/schemas/FlowInstanceId'
        action:
          $ref: '#/components/schemas/EnvelopeAction'
        exportDateTime:
          $ref: '#/components/schemas/ExportDateTime'
        source:
          $ref: '#/components/schemas/SourceSystem'
        person:
          $ref: '#/components/schemas/PersonReference'
        plannedWorkingTimes:
          type: array
          items:
            $ref: '#/components/schemas/PlannedWorkingTime'
        absences:
          type: array
          items:
            $ref: '#/components/schemas/Absence'
        scheduleAdjustments:
          type: array
          items:
            $ref: '#/components/schemas/ScheduleAdjustment'
        remunerations:
          type: array
          items:
            $ref: '#/components/schemas/Remuneration'
        additionalData:
          type: array
          description: 'Generic extension key-value pairs for source-specific or country-specific information that does not belong in the canonical core model.

            '
          items:
            $ref: '#/components/schemas/AdditionalData'
    ScheduleAdjustment:
      type: object
      properties:
        recordMetadata:
          $ref: '#/components/schemas/RecordMetadata'
        validFrom:
          $ref: '#/components/schemas/DateYMD'
        validTo:
          $ref: '#/components/schemas/DateYMD'
        scheduleAdjustmentType:
          type: string
          maxLength: 10
          example: '01'
          description: Canonical schedule adjustment type code.
        startTime:
          $ref: '#/components/schemas/TimeHHMMSS'
        endTime:
          $ref: '#/components/schemas/TimeHHMMSS'
        dailyWorkScheduleCode:
          type: string
          maxLength: 20
          example: DWS_A
          description: Canonical daily work schedule code.
        breakStartTime:
          $ref: '#/components/schemas/TimeHHMMSS'
        breakEndTime:
          $ref: '#/components/schemas/TimeHHMMSS'
        unpaidBreakDurationHours:
          type: number
          format: double
          minimum: 0
          example: 0.5
          description: Unpaid break duration in hours.
    TimeHHMMSS:
      type: string
      pattern: ^\\d{2}:\\d{2}:\\d{2}$
      example: 09:30:00
      description: Time in 24-hour format HH:MM:SS.
    GID:
      type: string
      example: '99400014'
      description: Global identifier for cross-system person linkage when available.
    Absence:
      type: object
      required:
      - validFrom
      - validTo
      - absenceType
      properties:
        recordMetadata:
          $ref: '#/components/schemas/RecordMetadata'
        validFrom:
          $ref: '#/components/schemas/DateYMD'
        validTo:
          $ref: '#/components/schemas/DateYMD'
        absenceType:
          type: string
          maxLength: 20
          example: SICK_PAID
          description: Canonical absence code mapped to target absence type.
        hours:
          type: number
          format: double
          minimum: 0
          example: 4.0
          description: Absence duration in hours.
        startTime:
          $ref: '#/components/schemas/TimeHHMMSS'
        endTime:
          $ref: '#/components/schemas/TimeHHMMSS'
        payrollDays:
          type: number
          format: double
          minimum: 0
          example: 0.5
          description: Payroll days value when used by country logic.
        illnessCode:
          type: string
          maxLength: 20
          example: ILL001
          description: Optional illness category code where applicable.
        referenceNumber:
          type: string
          maxLength: 30
          example: ABS-UK-20260601-0001
          description: Optional reference number for target traceability.
    AcceptedResponse:
      type: object
      properties:
        status:
          type: string
          example: ACCEPTED
        transactionId:
          type: string
          example: GB01_TA_20260601103045_000123
        message:
          type: string
          example: Payload accepted for asynchronous processing.
    PersonReference:
      type: object
      required:
      - personNumber
      properties:
        personNumber:
          type: string
          minLength: 1
          pattern: \\S+
          example: GB01_00123456
          description: Canonical person identifier used in T&A integration.
        workerNumber:
          type: string
          example: '00123456'
          description: Worker or assignment identifier from source domain.
        localPersonNumber:
          type: string
          example: EHR-789123
          description: Optional local employee identifier.
    SuccessResponse:
      type: object
      properties:
        status:
          type: string
          example: OK
        transactionId:
          type: string
          example: GB01_TA_20260601103045_000123
        message:
          type: string
          example: Payload processed successfully.
    Remuneration:
      type: object
      properties:
        recordMetadata:
          $ref: '#/components/schemas/RecordMetadata'
        validFrom:
          $ref: '#/components/schemas/DateYMD'
        wageType:
          type: string
          maxLength: 20
          example: OVERTIME_150
          description: Canonical remuneration code mapped to target wage type.
        hours:
          type: number
          format: double
          minimum: 0
          example: 7.5
          description: Time quantity in hours.
        quantity:
          type: number
          format: double
          minimum: 0
          example: 1.0
          description: Generic number per unit for remuneration entries.
        unit:
          type: string
          maxLength: 3
          example: H
          description: Unit for quantity, for example H (hours) or D (days).
        amount:
          type: number
          format: double
          example: 125.25
          description: Monetary amount where applicable.
        currency:
          type: string
          pattern: ^[A-Z]{3}$
          example: GBP
          description: ISO currency code.
    TransactionId:
      type: string
      minLength: 1
      pattern: \\S+
      example: GB01_TA_20260601103045_000123
      description: Unique transaction identifier for traceability and idempotency.
    LegalEntityCode:
      type: string
      minLength: 1
      pattern: \\S+
      example: GB01
      description: Payroll legal entity code used for target routing and mapping.
    EnvelopeAction:
      type: string
      enum:
      - CREATE
      - UPDATE
      - DELETE
      example: UPDATE
      description: High-level action for the envelope.
    LegalEntityName:
      type: string
      example: DHL Supply Chain UK Limited
      description: Legal entity display name.
    PlannedWorkingTime:
      type: object
      properties:
        recordMetadata:
          $ref: '#/components/schemas/RecordMetadata'
        validFrom:
          $ref: '#/components/schemas/DateYMD'
        validTo:
          $ref: '#/components/schemas/DateYMD'
        workScheduleRule:
          type: string
          maxLength: 8
          example: FT40H
          description: Canonical work schedule code mapped to target schedule rule.
        timeManagementStatus:
          type: string
          maxLength: 2
          example: '1'
          description: Time management control indicator required by target mapping.
        partTimeIndicator:
          type: boolean
          example: false
          description: Indicates part-time setup when relevant.
        employmentPercentage:
          type: number
          format: double
          minimum: 0
          maximum: 100
          example: 100.0
          description: Contracted employment percentage.
    AdditionalData:
      type: object
      properties:
        key:
          type: string
          example: oracleAssignmentId
        value:
          type: string
          example: '300000123456789'
        scope:
          type: string
          enum:
          - ENVELOPE
          - PLANNED_WORKING_TIME
          - ABSENCE
          - SCHEDULE_ADJUSTMENT
          - REMUNERATION
          example: ABSENCE
    FlowInstanceId:
      type: string
      example: flow-6f6e0b94-6136-4b87-bde8-e3f4e94a2f7a
      description: Correlation id for end-to-end processing and observability.
    SourceSystem:
      type: object
      required:
      - systemName
      properties:
        systemName:
          type: string
          minLength: 1
          pattern: \\S+
          example: ORACLE_TIME_AND_LABOR
          description: 'Name of source system. Expected examples include ORACLE_TIME_AND_LABOR, UKG, or another approved source.

            '
        systemRecordId:
          type: string
          example: otl-run-20260601-02
          description: Source system run id, batch id, or message id.
        countryCode:
          type: string
          pattern: ^[A-Z]{2}$
          example: UK
          description: ISO-like country code used for localization context.
    RecordMetadata:
      type: object
      properties:
        recordAction:
          type: string
          enum:
          - CREATE
          - UPDATE
          - DELETE
          example: CREATE
          description: Action for this individual record.
        sourceRecordId:
          type: string
          example: src-abs-99881
          description: Unique source record key used for deduplication and replay safety.
        changeSequence:
          type: integer
          minimum: 0
          example: 3
          description: Optional monotonic sequence from source, when available.
        metadata:
          type: boolean
          default: false
          description: 'Set true when the row is transmitted for mapping reference only and should not trigger target changes.

            '
    ErrorResponse:
      type: object
      properties:
        status:
          type: string
          example: ERROR
        code:
          type: string
          example: VALIDATION_ERROR
        transactionId:
          type: string
          example: GB01_TA_20260601103045_000123
        message:
          type: string
          example: Mandatory field validFrom is missing in absences[0].
    ExportDateTime:
      type: string
      format: date-time
      example: '2026-06-01T10:30:45Z'
      description: Timestamp when the source export was generated.
    DateYMD:
      type: string
      pattern: ^\\d{4}-\\d{2}-\\d{2}$
      example: '2026-06-01'
      description: Date in ISO format YYYY-MM-DD.
  securitySchemes:
    oAuth2ClientCredentials:
      type: oauth2
      description: OAuth2 token authentication
      flows:
        clientCredentials:
          tokenUrl: https://api-dev.dhl.com/auth/v1/token?response_type=access_token&grant_type=client_credentials
          scopes: {}