Maersk DemurrageDetention API

Demurrage and detention charges and clocks.

Documentation

Specifications

Schemas & Data

Other Resources

OpenAPI Specification

maersk-line-demurragedetention-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Maersk Air Booking AirBookings DemurrageDetention API
  description: 'Submit air freight booking requests via Maersk Air Cargo. Covers consolidation, charter, and forwarder bookings between supported origin and destination airports.

    '
  version: '1.0'
  contact:
    name: Maersk Developer Support
    url: https://developer.maersk.com/support
servers:
- url: https://api.maersk.com
  description: Production Gateway
security:
- ConsumerKey: []
tags:
- name: DemurrageDetention
  description: Demurrage and detention charges and clocks.
paths:
  /demurrage-detention/v1/charges:
    get:
      summary: Get Demurrage And Detention Charges
      description: 'Retrieve current demurrage and detention charges and remaining free days for one or more containers.

        '
      operationId: getDemurrageDetention
      tags:
      - DemurrageDetention
      parameters:
      - name: equipmentReference
        in: query
        description: Comma-separated list of container numbers.
        required: true
        schema:
          type: string
      - name: transportDocumentReference
        in: query
        schema:
          type: string
      - name: Consumer-Key
        in: header
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Charge details returned.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/DemurrageDetentionCharge'
components:
  schemas:
    DemurrageDetentionCharge:
      type: object
      properties:
        equipmentReference:
          type: string
        transportDocumentReference:
          type: string
        type:
          type: string
          enum:
          - Demurrage
          - Detention
          - Combined
        clockStart:
          type: string
          format: date-time
        freeDays:
          type: integer
        elapsedDays:
          type: integer
        chargeableDays:
          type: integer
        amount:
          type: number
        currency:
          type: string
        tariffReference:
          type: string
  securitySchemes:
    ConsumerKey:
      type: apiKey
      in: header
      name: Consumer-Key