DHL

DHL DIALOGPOST processings API

Create, update and release processings or track processing states.You need an access token with ROLE_DIS_ACCESS and ROLE_DIS_MANAGE_DIALOGPOST to access this resource.

GitHub OpenAPI

Operations 9

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

GET /dispatchpreparation/v1/dialogpost/processings List Dialogpost processings · Get an overview of your processings #
Ask an LLM
“Which Dialogpost processings have I created?”
“Can I filter my processings by state?”
Tell an agent
List my Dialogpost processings for customer {customer}.
Show Dialogpost processings for {customer} in state {state}.
POST /dispatchpreparation/v1/dialogpost/processings Create a Dialogpost processing draft · Create a new processing as a draft #
Ask an LLM
“How do I start a new Dialogpost processing?”
“Can I create a processing draft and release it later?”
Tell an agent
Create a Dialogpost processing draft for customer {customer}.
Create a Dialogpost processing {description} for {customer}.
POST /dispatchpreparation/v1/dialogpost/processings/{id}/release Release a Dialogpost processing · Release a processing on basis of the current draft #
Ask an LLM
“How do I release a Dialogpost processing draft?”
“Can I release a processing only if it is still in created state?”
Tell an agent
Release Dialogpost processing {id} for customer {customer}.
Release the Dialogpost processing draft {id} of {customer}.
POST /dispatchpreparation/v1/dialogpost/processings/{id}/mailingitems Replace mailing items in a Dialogpost processing · Create mailing items #
Ask an LLM
“How do I add or replace the mailing items in a Dialogpost processing?”
“Can I overwrite existing mailing items?”
Tell an agent
Create mailing items in Dialogpost processing {id} for customer {customer}.
Replace the mailing items of Dialogpost processing {id} for {customer}.
DELETE /dispatchpreparation/v1/dialogpost/processings/{id}/mailingitems Delete mailing items from a Dialogpost processing · Delete mailing items #
Ask an LLM
“How do I remove the mailing items from a Dialogpost processing?”
“Can I clear mailing items before releasing?”
Tell an agent destructive · confirm first
Delete mailing items from Dialogpost processing {id} for customer {customer}.
Clear the mailing items of Dialogpost processing {id} for {customer}.
GET /dispatchpreparation/v1/dialogpost/processings/{id}/mailing Get mailing information for a Dialogpost processing · Get information about the mailing #
Ask an LLM
“What mailing information has been set on my Dialogpost processing?”
“Can I view the mailing details of a Dialogpost processing?”
Tell an agent
Get the mailing information for Dialogpost processing {id} of {customer}.
Show the mailing details of Dialogpost processing {id} for {customer}.
POST /dispatchpreparation/v1/dialogpost/processings/{id}/mailing Set mailing details for a Dialogpost processing · Add information about the mailing #
Ask an LLM
“How do I set the induction date and production definition for a Dialogpost processing?”
“Can I change the submitter or originator on a Dialogpost processing?”
Tell an agent
Set induction date {induction} and production definition {definition} for Dialogpost processing {id} of {customer}.
Set the submitter {submitter} and originator {originator} on Dialogpost processing {id} for {customer}.
GET /dispatchpreparation/v1/dialogpost/processings/{id} Get a Dialogpost processing · Get detail information about a processing #
Ask an LLM
“What is the current state of my Dialogpost processing?”
“Can I fetch a Dialogpost processing by id?”
Tell an agent
Get Dialogpost processing {id} for customer {customer}.
Show the current state of Dialogpost processing {id} of {customer}.
DELETE /dispatchpreparation/v1/dialogpost/processings/{id} Delete a Dialogpost processing draft · Delete a processing draft #
Ask an LLM
“How do I delete a Dialogpost processing draft?”
“Can I remove a Dialogpost processing before releasing it?”
Tell an agent destructive · confirm first
Delete Dialogpost processing {id} for customer {customer}.
Remove the Dialogpost processing draft {id} of {customer}.

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

Schemas & Data

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-dialogpost-processings-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-dialogpost-processings-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Dhl DIALOGPOST processings API
  version: 26.11.02-291-a8c40f4a7af2fabbbe5278c6fafbd2076d62a39b
  contact:
    url: https://developer.dhl.com/api-reference/print-mailing-dispatch-preparation-api
    email: it-csp@deutschepost.de
  description: 'Operations tagged DIALOGPOST processings across 2 of this provider''s published API definitions: dhl-deutsche-post-print-mailing-dispatch-preparation-post-parcel-germany-openapi.yml, dhl-deutsche-post-print-mailing-dispatch-preparation-post-parcel-germany-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api-eu.dhl.com/post/advertising/print-mailing
  description: Production environment
- url: https://api-uat.dhl.com/post/advertising/print-mailing
  description: Test environment
tags:
- name: DIALOGPOST processings
  description: Create, update and release processings or track processing states.You need an access token with ROLE_DIS_ACCESS and ROLE_DIS_MANAGE_DIALOGPOST to access this resource.
paths:
  /dispatchpreparation/v1/dialogpost/processings:
    get:
      tags:
      - DIALOGPOST processings
      summary: Get an overview of your processings
      description: This resource is pageable and filterable! The default page size is 20.
      operationId: getProcessings_1
      parameters:
      - name: customerId
        in: query
        description: ID of the customer.
        required: true
        schema:
          type: integer
          format: int64
      - name: processingState
        in: query
        required: false
        schema:
          type: integer
          format: int32
      - name: description
        in: query
        schema:
          type: string
      responses:
        '200':
          description: Processing list found and returned.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CollectionRepDpProcessingRep'
        '403':
          description: Access forbidden because of missing authority for resource or entity.
    post:
      tags:
      - DIALOGPOST processings
      summary: Create a new processing as a draft
      description: You may update, release or delete it afterwards.
      operationId: createProcessing_2
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateDpProcessingRep'
        required: true
      responses:
        '201':
          description: Processing successfully created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DpProcessingRep'
        '403':
          description: Access forbidden because of missing authority for resource or entity.
        '422':
          description: 'DM_DIS_2003: Input data validation failed. DM_DIS_2039 If the LETTER contract for processing with remaining items is missing. Please notice the concrete error description in the error response.'
    servers:
    - url: https://api-eu.dhl.com/post/advertising/print-mailing
      description: Production environment
    - url: https://api-uat.dhl.com/post/advertising/print-mailing
      description: Test environment
  /dispatchpreparation/v1/dialogpost/processings/{id}/release:
    post:
      tags:
      - DIALOGPOST processings
      summary: Release a processing on basis of the current draft
      description: This is only possible for processings in state 'CREATED'.
      operationId: releaseProcessing_2
      parameters:
      - name: id
        in: path
        description: The identifier of the processing.
        required: true
        schema:
          type: integer
          format: int64
      - name: customerId
        in: query
        description: ID of the customer.
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: Release of processing successful.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DpProcessingRep'
        '403':
          description: Access forbidden because of missing authority for resource or entity.
        '404':
          description: Processing with the given id was not found. If no matching contract was found.
        '422':
          description: 'DM_DIS_0004: If this processing is not in state ''CREATED''.DM_DIS_2021: If an address was not found in the master data. DM_DIS_2043: If type of depot does not match type of induction. Other validation errors for mailing definition parameters may occur.'
    servers:
    - url: https://api-eu.dhl.com/post/advertising/print-mailing
      description: Production environment
    - url: https://api-uat.dhl.com/post/advertising/print-mailing
      description: Test environment
  /dispatchpreparation/v1/dialogpost/processings/{id}/mailingitems:
    post:
      tags:
      - DIALOGPOST processings
      summary: Create mailing items
      description: Existing mailing items will be replaced. This is only possible for processings in state 'CREATED'.
      operationId: createMailingItems_1
      parameters:
      - name: id
        in: path
        description: The identifier of the processing.
        required: true
        schema:
          type: integer
          format: int64
      - name: customerId
        in: query
        description: ID of the customer.
        required: true
        schema:
          type: integer
          format: int64
      requestBody:
        description: List of mailing items. Strongly recommended is gzip compression of the body and media type 'application/octet-stream'.
        content:
          application/octet-stream:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/CreateDpProcessingMailingItemRep'
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/CreateDpProcessingMailingItemRep'
        required: true
      responses:
        '201':
          description: Creation of mailing items successful.
          content:
            application/octet-stream:
              schema:
                type: object
            application/json:
              schema:
                type: object
        '403':
          description: Access forbidden because of missing authority for resource or entity.
        '404':
          description: Processing with the given id was not found.
        '422':
          description: 'DM_DIS_0004: If this processing is not in state ''CREATED''.'
    delete:
      tags:
      - DIALOGPOST processings
      summary: Delete mailing items
      description: Delete mailing items. This is only possible for processings in state 'CREATED'.
      operationId: deleteMailingItems
      parameters:
      - name: id
        in: path
        description: The identifier of the processing.
        required: true
        schema:
          type: integer
          format: int64
      - name: customerId
        in: query
        description: ID of the customer.
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: Deletion of mailing items successful.
          content:
            application/json:
              schema:
                type: object
        '403':
          description: Access forbidden because of missing authority for resource or entity.
        '404':
          description: Processing with the given id was not found.
        '422':
          description: 'DM_DIS_0004: If this processing is not in state ''CREATED''.'
    servers:
    - url: https://api-eu.dhl.com/post/advertising/print-mailing
      description: Production environment
    - url: https://api-uat.dhl.com/post/advertising/print-mailing
      description: Test environment
  /dispatchpreparation/v1/dialogpost/processings/{id}/mailing:
    get:
      tags:
      - DIALOGPOST processings
      summary: Get information about the mailing
      description: Finds and returns mailing. This is only possible for processings in state 'CREATED'.
      operationId: getMailing_2
      parameters:
      - name: id
        in: path
        description: The identifier of the processing.
        required: true
        schema:
          type: integer
          format: int64
      - name: customerId
        in: query
        description: ID of the customer.
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: Mailing found and returned.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DpProcessingMailingRep'
        '403':
          description: Access forbidden because of missing authority for resource or entity.
        '404':
          description: Processing with the given id was not found.
    post:
      tags:
      - DIALOGPOST processings
      summary: Add information about the mailing
      description: This is only possible for processings in state 'CREATED'.
      operationId: createOrUpdateMailing_2
      parameters:
      - name: id
        in: path
        description: The identifier of the processing.
        required: true
        schema:
          type: integer
          format: int64
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateDpProcessingMailingRep'
        required: true
      responses:
        '200':
          description: Creation or update successful.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DpProcessingMailingRep'
        '403':
          description: Access forbidden because of missing authority for resource or entity.
        '404':
          description: Processing with the given id was not found.
        '422':
          description: 'DM_DIS_0006: If this processing is not in state ''CREATED''. DM_DIS_2021: If an address was not found in the master data. DM_DIS_2037: If multiple payments of the same contract type are configured.'
    servers:
    - url: https://api-eu.dhl.com/post/advertising/print-mailing
      description: Production environment
    - url: https://api-uat.dhl.com/post/advertising/print-mailing
      description: Test environment
  /dispatchpreparation/v1/dialogpost/processings/{id}:
    get:
      tags:
      - DIALOGPOST processings
      summary: Get detail information about a processing
      description: This may be a draft or a completed processing.
      operationId: getProcessing_2
      parameters:
      - name: id
        in: path
        description: The identifier of the processing.
        required: true
        schema:
          type: integer
          format: int64
      - name: customerId
        in: query
        description: ID of the customer.
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: Processing found and returned.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DpProcessingDetailRep'
        '403':
          description: Access forbidden because of missing authority for resource or entity.
        '404':
          description: Processing with the given id was not found.
    delete:
      tags:
      - DIALOGPOST processings
      summary: Delete a processing draft
      description: This is only possible for processings in state 'CREATED'.
      operationId: deleteProcessing_2
      parameters:
      - name: id
        in: path
        description: The identifier of the processing.
        required: true
        schema:
          type: integer
          format: int64
      - name: customerId
        in: query
        description: ID of the customer.
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: Processing draft deleted.
          content:
            application/json:
              schema:
                type: object
        '403':
          description: Access forbidden because of missing authority for resource or entity.
        '404':
          description: Processing with the given id was not found.
        '422':
          description: 'DM_DIS_0003: If this processing is not in state ''CREATED''.'
    servers:
    - url: https://api-eu.dhl.com/post/advertising/print-mailing
      description: Production environment
    - url: https://api-uat.dhl.com/post/advertising/print-mailing
      description: Test environment
components:
  schemas:
    DpProcessingMailingPaymentRep:
      type: object
      properties:
        contractType:
          type: integer
          format: int32
          default: 1
          description: The type of the contract.
          example: 1
        ownerEkp:
          type: string
          description: Identifies the contract owner. This ekp is a part of a customer contract.
          example: '0000000001'
        procedureNumber:
          type: string
          description: This two-digit number ('Verfahren') is a part of a contract.
          example: 25
          maxLength: 2
          minLength: 2
          pattern: 10|25
        subscriptionNumber:
          type: string
          description: This two-digit number ('Teilnahme') is a part of a contract.
          example: '01'
          maxLength: 2
          minLength: 2
          pattern: 0[1-9]|[1-9][0-9]|[A-F][A-Z]
      required:
      - procedureNumber
      - subscriptionNumber
    CreateDpProcessingMailingRep:
      type: object
      properties:
        inductionDate:
          type: string
          format: date-time
          description: Specifies the date and time in UTC when induction takes place. Note that the GT&C according to which this mailing was optimized and produced must be valid on this date.
        productionDefinition:
          type: integer
          format: int64
          description: Identifier of an existing production definition.
          example: 3
        submitterEkp:
          type: string
          description: 'Overwrite value from contract: Identifies the submitter. This ekp has to be added to your addresses prior to processing creation.'
          example: '0000000003'
        originatorEkp:
          type: string
          description: 'Overwrite value from contract: Identifies the originator. This ekp has to be added to your addresses prior to processing creation.'
          example: '0000000002'
        zipCodeCheck:
          type: boolean
          default: true
          description: Checks that zip codes in mailing items exist during processing. If enabled, non existing zip codes will not be considered for franking.
          example: true
        definition:
          $ref: '#/components/schemas/DpProcessingMailingDefinitionRep'
          description: Set your mailing parameters here.
        payment:
          $ref: '#/components/schemas/DpProcessingMailingPaymentRep'
          deprecated: true
          description: Set your payment option here. They have to reference an existing contract. Attribute is deprecated. Use payments instead.
          oneOf:
          - $ref: '#/components/schemas/DpProcessingMailingRep'
        payments:
          type: array
          description: Set your payment options here. They have to reference existing contracts.
          items:
            $ref: '#/components/schemas/DpProcessingMailingPaymentRep'
        induction:
          $ref: '#/components/schemas/DpProcessingMailingInductionRep'
          description: Overwrite your induction parameters from the referenced contract here. This is only possible for depot induction.
        customerId:
          type: integer
          format: int64
          description: The customer id for which to act.
      required:
      - customerId
      - definition
      - inductionDate
      - productionDefinition
    DpProcessingMailingDefinitionRep:
      type: object
      properties:
        productionInfoText:
          type: string
          description: Info text for posting documents.
          maxLength: 50
          minLength: 0
        accountingInfoText:
          type: string
          description: Info text for accounting and billing.
          maxLength: 80
          minLength: 0
        dataMatrixType:
          type: integer
          format: int32
          default: 2
          description: Type of data matrix codes to be created. None or large size format is supported.
          example: 2
        trackMatch:
          type: boolean
          default: false
          description: Use track and match services. Only with datamatrix type 2.
          example: false
        variantProductionType:
          type: integer
          format: int32
          default: 1
          description: Production type for processings with multiple variants. See lookup resource 'VariantProductionType' for available values. Determines whether containers and pallets contain multiple variants, and the order of containers produced. EINSTROM will always produce the lowest postage. However, depending on the production site of a customer producing containers and pallets this way is technically not possible or so expensive that the reduced postage does not pay out.
          example: 1
        createDocumentTypes:
          type: array
          default: '[9]'
          description: Type of documents ('Belege') to be created. Default is the posting list ('Einlieferungsbeleg'). See lookup resource 'DpDocumentType' for available values.
          example:
          - 22
          - 23
          - 34
          - 35
          - 9
          - 24
          - 26
          - 25
          - 15
          items:
            type: integer
            format: int32
        directPostingParameters:
          $ref: '#/components/schemas/DirectPostingRep'
          description: Parameters for direct posting of 20 or more pallets.
      required:
      - createDocumentTypes
    DpProcessingDetailRep:
      type: object
      properties:
        id:
          type: integer
          format: int64
          description: Id of the processing.
        description:
          type: string
          description: A text describing the processing.
          example: Summer session 2023
          maxLength: 255
          minLength: 0
        processingState:
          type: integer
          format: int32
          description: The status of the processing. See lookup resource 'ProcessingState' for available values.
          example: 25
        processingType:
          type: integer
          format: int32
          description: The type of the processing. See lookup resource 'ProcessingType' for available values.
          example: 20
        optimizerType:
          type: integer
          format: int32
          description: The type of the optimizer. See lookup resource 'OptimizerType' for available values.
          example: 20
        mailingItemsQuantity:
          type: integer
          format: int32
          description: Amount of items of the mailing.
        mailingItemsErrors:
          type: integer
          format: int32
          description: Amount of erroneous items of the mailing.
        logInfoQuantity:
          type: integer
          format: int32
          description: Amount of registered informative log entries.
        logWarnQuantity:
          type: integer
          format: int32
          description: Amount of registered warnings within log entries.
        logErrorQuantity:
          type: integer
          format: int32
          description: Amount of registered error log entries.
        createdOn:
          type: string
          format: date-time
          description: Date and time of the creation.
        changedOn:
          type: string
          format: date-time
          description: Date and time of the last change.
        simulation:
          type: boolean
          default: false
          description: The simulation mode for a single processing. If true, documents for the released processing will be created with simulated content. Further, invoice and order are neither created nor submitted.
          example: false
        inputState:
          type: integer
          format: int32
          description: State of input data processing step.
          example: 91
        internalDataProcessingState:
          type: integer
          format: int32
          description: State of internal data processing step.
          example: 92
        documentsCreationState:
          type: integer
          format: int32
          description: State of documents creation processing step.
          example: 0
        orderTransmissionState:
          type: integer
          format: int32
          description: State of order transmission processing step.
          example: 1
        orderResponseState:
          type: integer
          format: int32
          description: State of order response processing step.
          example: 98
        processingOutputState:
          type: integer
          format: int32
          description: State of order output processing step.
          example: 99
      required:
      - description
    CollectionRepDpProcessingRep:
      type: object
      properties:
        elements:
          type: array
          items:
            $ref: '#/components/schemas/DpProcessingRep'
        page:
          $ref: '#/components/schemas/PageMetadata'
        links:
          type: array
          items:
            $ref: '#/components/schemas/Link'
    Link:
      type: object
      properties:
        href:
          type: string
        hreflang:
          type: string
        title:
          type: string
        type:
          type: string
        deprecation:
          type: string
        profile:
          type: string
        name:
          type: string
        templated:
          type: boolean
    PageMetadata:
      type: object
      properties:
        size:
          type: integer
          format: int64
        totalElements:
          type: integer
          format: int64
        totalPages:
          type: integer
          format: int64
        number:
          type: integer
          format: int64
    DpProcessingRep:
      type: object
      properties:
        id:
          type: integer
          format: int64
          description: Id of the processing.
        description:
          type: string
          description: A text describing the processing.
          example: Summer session 2023
          maxLength: 255
          minLength: 0
        processingState:
          type: integer
          format: int32
          description: The status of the processing. See lookup resource 'ProcessingState' for available values.
          example: 25
        processingType:
          type: integer
          format: int32
          description: The type of the processing. See lookup resource 'ProcessingType' for available values.
          example: 20
        optimizerType:
          type: integer
          format: int32
          description: The type of the optimizer. See lookup resource 'OptimizerType' for available values.
          example: 20
        mailingItemsQuantity:
          type: integer
          format: int32
          description: Amount of items of the mailing.
        mailingItemsErrors:
          type: integer
          format: int32
          description: Amount of erroneous items of the mailing.
        logInfoQuantity:
          type: integer
          format: int32
          description: Amount of registered informative log entries.
        logWarnQuantity:
          type: integer
          format: int32
          description: Amount of registered warnings within log entries.
        logErrorQuantity:
          type: integer
          format: int32
          description: Amount of registered error log entries.
        createdOn:
          type: string
          format: date-time
          description: Date and time of the creation.
        changedOn:
          type: string
          format: date-time
          description: Date and time of the last change.
        simulation:
          type: boolean
          default: false
          description: The simulation mode for a single processing. If true, documents for the released processing will be created with simulated content. Further, invoice and order are neither created nor submitted.
          example: false
      required:
      - description
    DpProcessingMailingInductionRep:
      type: object
      properties:
        depotName:
          type: string
          description: 'Overwrite value from contract: Name of a Deutsche Post depot (''GrASt'' only). See ''depotlookups'' resource for available values.'
          example: Bautzen
          maxLength: 50
          minLength: 0
      required:
      - depotName
    DirectPostingRep:
      type: object
      properties:
        elnDepotName:
          type: string
          description: Eln depot accepting the posting.
          example: Stahnsdorf
      required:
      - elnDepotName
    DpProcessingMailingRep:
      type: object
      properties:
        inductionDate:
          type: string
          format: date-time
          description: Specifies the date and time in UTC when induction takes place. Note that the GT&C according to which this mailing was optimized and produced must be valid on this date.
        productionDefinition:
          type: integer
          format: int64
          description: Identifier of an existing production definition.
          example: 3
        submitterEkp:
          type: string
          description: 'Overwrite value from contract: Identifies the submitter. This ekp has to be added to your addresses prior to processing creation.'
          example: '0000000003'
        originatorEkp:
          type: string
          description: 'Overwrite value from contract: Identifies the originator. This ekp has to be added to your addresses prior to processing creation.'
          example: '0000000002'
        zipCodeCheck:
          type: boolean
          default: true
          description: Checks that zip codes in mailing items exist during processing. If enabled, non existing zip codes will not be considered for franking.
          example: true
        definition:
          $ref: '#/components/schemas/DpProcessingMailingDefinitionRep'
          description: Set your mailing parameters here.
        payment:
          $ref: '#/components/schemas/DpProcessingMailingPaymentRep'
          deprecated: true
          description: Set your payment option here. They have to reference an existing contract. Attribute is deprecated. Use payments instead.
          oneOf:
          - $ref: '#/components/schemas/DpProcessingMailingRep'
        payments:
          type: array
          description: Set your payment options here. They have to reference existing contracts.
          items:
            $ref: '#/components/schemas/DpProcessingMailingPaymentRep'
        induction:
          $ref: '#/components/schemas/DpProcessingMailingInductionRep'
          description: Overwrite your induction parameters from the referenced contract here. This is only possible for depot induction.
      required:
      - definition
      - inductionDate
      - productionDefinition
    CreateDpProcessingMailingItemRep:
      type: object
      properties:
        id:
          type: integer
          format: int32
          description: Mailing item identifier.
        zip:
          type: string
          description: Mailing item zip (plz).
          example: 53177
          maxLength: 5
          minLength: 1
        productionDefinition:
          type: integer
          format: int64
          description: Identifies a production definition (Fertigungsmuster).
          example: 1
        country:
          type: string
          description: 'Country code (ISO 3166-1 alpha-2: 2 letters)'
          example: DE
          maxLength: 2
          minLength: 1
        infoTextAlphanumeric:
          type: string
          description: Info text in format alphanumeric
          example: abcXYZ123
          pattern: ^[A-z0-9]+$
        infoTextHexadecimal:
          type: string
          description: Info text in format hexadecimal
          example: 0123456789ABCdef
          pattern: ^[0-9a-fA-F]+$
        premiumAddressVariant:
          type: integer
          format: int32
          description: Identifier of premium address product variant.
          example: 1
        premiumAddressId:
          type: integer
          format: int32
          description: Individual premium address identifier.
      required:
      - id
      - zip
    CreateDpProcessingRep:
      type: object
      properties:
        customerId:
          type: integer
          format: int64
          description: The customer id for which to act.
        description:
          type: string
          description: A text describing the processing.
        simulation:
          type: boolean
          default: false
          description: The simulation mode for a single processing. If true, documents for the released processing will be created with simulated content. Further, order records are neither created nor submitted to Deutsche Post Auftragsmanagement.
          example: false
      required:
      - customerId
x-refined-from:
- dhl-deutsche-post-print-mailing-dispatch-preparation-post-parcel-germany-openapi.yml
- dhl-deutsche-post-print-mailing-dispatch-preparation-post-parcel-germany-openapi.yml