DHL

DHL POSTWURFSPEZIAL processings API

Create, update and release processings. Track processing states and collect results.You need an access token with ROLE_DIS_ACCESS and ROLE_DIS_MANAGE_POSTWURFSPEZIAL 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/postwurfspezial/processings/{id} Get a Postwurfspezial processing · Get detail information about a processing #
Ask an LLM
“Is a particular Postwurfspezial processing draft or completed?”
“Can I look up one mailing preparation by its ID?”
Tell an agent
Get Postwurfspezial processing {id}.
Show the status of mailing preparation {id}.
PUT /dispatchpreparation/v1/postwurfspezial/processings/{id} Edit a Postwurfspezial processing draft · Update an existing processing draft #
Ask an LLM
“How do I change the description of a Postwurfspezial processing draft?”
“Can I switch the target group selection on an existing mailing preparation?”
Tell an agent
Update Postwurfspezial processing {id} with description {description}.
Change the target group selection of mailing preparation {id} to {targetGroupSelectionId}.
DELETE /dispatchpreparation/v1/postwurfspezial/processings/{id} Delete a Postwurfspezial processing draft · Delete a processing draft #
Ask an LLM
“Can I delete a Postwurfspezial processing draft before releasing it?”
“What state must a mailing preparation be in to delete it?”
Tell an agent destructive · confirm first
Delete Postwurfspezial processing {id}.
Remove mailing preparation {id} from customer {customerId}.
GET /dispatchpreparation/v1/postwurfspezial/processings List Postwurfspezial processings · Get an overview of your processings #
Ask an LLM
“Which Postwurfspezial processings exist for my customer?”
“Can I filter mailing preparations by state or description?”
Tell an agent
List Postwurfspezial processings for customer {customerId}.
Show processings for customer {customerId} in state {processingState}.
POST /dispatchpreparation/v1/postwurfspezial/processings Create a Postwurfspezial processing draft · Create a new processing as a draft #
Ask an LLM
“How do I start a new Postwurfspezial mailing preparation?”
“Can I create a simulation mailing preparation with fake content?”
Tell an agent
Create a Postwurfspezial processing for customer {customerId} described as {description}.
Create a simulation mailing preparation {description} for customer {customerId} with simulation {simulation}.
POST /dispatchpreparation/v1/postwurfspezial/processings/{id}/release Release a Postwurfspezial processing · Release a processing on basis of the current draft #
Ask an LLM
“How do I release a Postwurfspezial processing draft so it starts preparing addresses?”
“Can I release a mailing preparation that is still in draft state?”
Tell an agent
Release Postwurfspezial processing {id}.
Release mailing preparation {id} for customer {customerId} so it fetches its target group.
POST /dispatchpreparation/v1/postwurfspezial/processings/{id}/mailingitems Replace the mailing items of a processing · Create mailing items #
Ask an LLM
“How do I replace the mailing items on a Postwurfspezial processing?”
“Can I overwrite the existing recipient list on a mailing preparation?”
Tell an agent
Replace the mailing items of Postwurfspezial processing {id}.
Overwrite the recipient list on mailing preparation {id} for customer {customerId}.
GET /dispatchpreparation/v1/postwurfspezial/processings/{id}/mailing Get the mailing information of a processing · Get information about the mailing #
Ask an LLM
“What mailing information has been prepared for a Postwurfspezial processing?”
“Can I view the mailing details of a mailing preparation?”
Tell an agent
Get the mailing information for Postwurfspezial processing {id}.
Show the prepared mailing details of mailing preparation {id} for customer {customerId}.
POST /dispatchpreparation/v1/postwurfspezial/processings/{id}/mailing Set the mailing induction and production · Add information about the mailing #
Ask an LLM
“How do I set the induction date and production definition for a mailing preparation?”
“Can I add a contractual partner to a Postwurfspezial mailing preparation?”
Tell an agent
Set induction date {inductionDate} and production definition {productionDefinition} for mailing preparation {id}.
Add contractual partner {contractualPartner} to mailing preparation {id} for customer {customerId}.

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-postwurfspezial-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-postwurfspezial-processings-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Dhl POSTWURFSPEZIAL 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 POSTWURFSPEZIAL 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: POSTWURFSPEZIAL processings
  description: Create, update and release processings. Track processing states and collect results.You need an access token with ROLE_DIS_ACCESS and ROLE_DIS_MANAGE_POSTWURFSPEZIAL to access this resource.
paths:
  /dispatchpreparation/v1/postwurfspezial/processings/{id}:
    get:
      tags:
      - POSTWURFSPEZIAL processings
      summary: Get detail information about a processing
      description: This may be a draft or a completed processing.
      operationId: getProcessing
      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/PwspProcessingRep'
        '403':
          description: Access forbidden because of missing authority for resource or entity.
        '404':
          description: Processing with the given id was not found.
    put:
      tags:
      - POSTWURFSPEZIAL processings
      summary: Update an existing processing draft
      description: You may update, release or delete it afterwards.
      operationId: updateProcessing
      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/CreateOrUpdatePwspProcessingRep'
        required: true
      responses:
        '200':
          description: Processing successfully created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PwspProcessingRep'
        '403':
          description: Access forbidden because of missing authority for resource or entity.
        '422':
          description: 'DM_DIS_0003: If this processing is not in state ''CREATED''.DM_DIS_0020: Target group selection id of processing must be null when mailing items already exist or are created.'
    delete:
      tags:
      - POSTWURFSPEZIAL processings
      summary: Delete a processing draft
      description: This is only possible for processings in state 'CREATED'.
      operationId: deleteProcessing
      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
  /dispatchpreparation/v1/postwurfspezial/processings:
    get:
      tags:
      - POSTWURFSPEZIAL processings
      summary: Get an overview of your processings
      description: This resource is pageable and filterable! The default page size is 20.
      operationId: getProcessings
      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
      - name: targetGroupSelectionId
        in: query
        schema:
          type: string
      responses:
        '200':
          description: Processing list found and returned.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CollectionRepPwspProcessingRep'
        '403':
          description: Access forbidden because of missing authority for resource or entity.
    post:
      tags:
      - POSTWURFSPEZIAL processings
      summary: Create a new processing as a draft
      description: You may update, release or delete it afterwards.
      operationId: createProcessing
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateOrUpdatePwspProcessingRep'
        required: true
      responses:
        '200':
          description: Processing successfully created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PwspProcessingRep'
        '403':
          description: Access forbidden because of missing authority for resource or entity.
    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/postwurfspezial/processings/{id}/release:
    post:
      tags:
      - POSTWURFSPEZIAL processings
      summary: Release a processing on basis of the current draft
      description: This is only possible for processings in state 'CREATED'. It will validate all relevant mailing parameters, fetch your selection from the Target Group Planner and start preparing concrete recipient addresses.
      operationId: releaseProcessing
      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/PwspProcessingRep'
        '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''. DM_DIS_2016: No default payment is defined. DM_DIS_2017: No default induction is defined. DM_DIS_2020: The target group selection id cannot be found for the given customer. DM_DIS_2021: If an address was not found in the master data. DM_DIS_0014: If an production definition optimizationType other than FABRICATION_EFFORT is chosen. DM_DIS_0015: If no pallet production is chosen. DM_DIS_0041: Your customer''s EKP is not allowed to book PWSP processings. Please contact your sales contact person. DM_DIS_0021: Either target group selection id or mailing items of processing must be given. 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/postwurfspezial/processings/{id}/mailingitems:
    post:
      tags:
      - POSTWURFSPEZIAL processings
      summary: Create mailing items
      description: Existing mailing items will be replaced. This is only possible for processings in state 'CREATED'.
      operationId: createMailingItems
      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/CreatePwspProcessingMailingItemRep'
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/CreatePwspProcessingMailingItemRep'
        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_0006: If this processing is not in state ''CREATED''.DM_DIS_0020: Target group selection id of processing must be null when mailing items already exist or are 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/postwurfspezial/processings/{id}/mailing:
    get:
      tags:
      - POSTWURFSPEZIAL processings
      summary: Get information about the mailing
      description: Finds and returns mailing. This is only possible for processings in state 'CREATED'.
      operationId: getMailing
      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/PwspProcessingMailingRep'
        '403':
          description: Access forbidden because of missing authority for resource or entity.
        '404':
          description: Processing with the given id was not found.
    post:
      tags:
      - POSTWURFSPEZIAL processings
      summary: Add information about the mailing
      description: This is only possible for processings in state 'CREATED'.
      operationId: createOrUpdateMailing
      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/CreatePwspProcessingMailingRep'
        required: true
      responses:
        '200':
          description: Update successful.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PwspProcessingMailingRep'
        '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_2008: Wrong combination of inductionType and induction information. DM_DIS_2021: If an address was not found in the master data. DM_DIS_2016: No default payment is defined. DM_DIS_2017: No default induction is defined. DM_DIS_0023: Bundles with minNumberItemsForContainerLr are not supported for PWSP.'
    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
    PageMetadata:
      type: object
      properties:
        size:
          type: integer
          format: int64
        totalElements:
          type: integer
          format: int64
        totalPages:
          type: integer
          format: int64
        number:
          type: integer
          format: int64
    CreatePwspProcessingMailingRep:
      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. For IT franking ('DV Freimachung'), use production definition of type POSTWURFSPEZIAL.
          example: 3
        submitterEkp:
          type: string
          description: Identifies the submitter. This ekp has to be added to your addresses prior to processing creation.
          example: '0000000003'
        originatorEkp:
          type: string
          description: Identifies the originator. This ekp has to be added to your addresses prior to processing creation.
          example: '0000000002'
        payment:
          $ref: '#/components/schemas/DefaultPaymentBaseRep'
          description: Set your payment information here or set to null. If set to null, default payment information for the current customerId will be used. Not suppported for IT franking ('DV Freimachung'), use contracts instead.
        induction:
          $ref: '#/components/schemas/MailingInductionRep'
          description: Set your induction information here or set to null. If set to null, default induction information for the current customerId will be used. Not suppported for IT franking ('DV Freimachung'), use contracts instead.
        contractualPartner:
          $ref: '#/components/schemas/ContractualPartnerRep'
          description: Set the advertising contractual partner name and address in case of a reseller acting as originator Not suppported for IT franking ('DV Freimachung').
        definition:
          $ref: '#/components/schemas/PwspProcessingMailingDefinitionRep'
          description: Set your mailing parameters here.
        payments:
          type: array
          description: Set your payment options for IT franking ('DV Freimachung'). They have to reference existing contracts. Use the DIALOGPOST contracts for POSTWURFSPEZIAL.
          items:
            $ref: '#/components/schemas/DpProcessingMailingPaymentRep'
        customerId:
          type: integer
          format: int64
          description: The customer id for which to act.
      required:
      - customerId
      - definition
      - inductionDate
      - originatorEkp
      - productionDefinition
      - submitterEkp
    CollectionRepPwspProcessingRep:
      type: object
      properties:
        elements:
          type: array
          items:
            $ref: '#/components/schemas/PwspProcessingRep'
        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
    PwspProcessingMailingRep:
      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. For IT franking ('DV Freimachung'), use production definition of type POSTWURFSPEZIAL.
          example: 3
        submitterEkp:
          type: string
          description: Identifies the submitter. This ekp has to be added to your addresses prior to processing creation.
          example: '0000000003'
        originatorEkp:
          type: string
          description: Identifies the originator. This ekp has to be added to your addresses prior to processing creation.
          example: '0000000002'
        payment:
          $ref: '#/components/schemas/DefaultPaymentBaseRep'
          description: Set your payment information here or set to null. If set to null, default payment information for the current customerId will be used. Not suppported for IT franking ('DV Freimachung'), use contracts instead.
        induction:
          $ref: '#/components/schemas/MailingInductionRep'
          description: Set your induction information here or set to null. If set to null, default induction information for the current customerId will be used. Not suppported for IT franking ('DV Freimachung'), use contracts instead.
        contractualPartner:
          $ref: '#/components/schemas/ContractualPartnerRep'
          description: Set the advertising contractual partner name and address in case of a reseller acting as originator Not suppported for IT franking ('DV Freimachung').
        definition:
          $ref: '#/components/schemas/PwspProcessingMailingDefinitionRep'
          description: Set your mailing parameters here.
        payments:
          type: array
          description: Set your payment options for IT franking ('DV Freimachung'). They have to reference existing contracts. Use the DIALOGPOST contracts for POSTWURFSPEZIAL.
          items:
            $ref: '#/components/schemas/DpProcessingMailingPaymentRep'
      required:
      - definition
      - inductionDate
      - originatorEkp
      - productionDefinition
      - submitterEkp
    CreatePwspProcessingMailingItemRep:
      type: object
      properties:
        originalId:
          type: integer
          format: int32
          description: Continuous mailing item identifier.
          example: 1
        zip:
          type: string
          description: Mailing item zip (plz). Any string is acceptable, however the format is validated during calculation. 5 and 4 digit values are regarded as valid. A check for not existing zips is not provided.
          example: 53229
          maxLength: 5
          minLength: 1
        greeting:
          type: string
          description: Mailing item greeting.
          example: An die Bewohner des Hauses
        street:
          type: string
          description: Mailing item street.
          example: Siegburger Str.
        houseNumber:
          type: string
          description: Mailing item house number.
          example: 601
        city:
          type: string
          description: Mailing item city.
          example: Bonn
      required:
      - city
      - greeting
      - houseNumber
      - originalId
      - street
      - zip
    PwspProcessingMailingDefinitionRep:
      type: object
      properties:
        frankingType:
          type: integer
          format: int32
          default: 1
          description: A DPDHL franking type. POSTWURFSPEZIAL supports IT franking ('DV Freimachung') and franking mark ('Frankiervermerk'). See lookup resource 'FrankingType' for available values.
        goGreen:
          type: boolean
          deprecated: true
          description: Gogreen production option.
          example: false
        trackMatch:
          type: boolean
          description: Use track and match services.
          example: false
        accountingInfoText:
          type: string
          description: Info text for accounting and billing.
          maxLength: 80
          minLength: 0
        greeting:
          type: string
          default: An die Bewohner des Hauses
          description: A greeting which is added to every mailing item. Can be null.
          example: An die Bewohner des Hauses
          maxLength: 46
          minLength: 0
        createDocumentTypes:
          type: array
          description: Type of documents ('Belege') to be created. Default is the item posting list ('Einlieferungsliste'). See lookup resource 'CreateDocumentType' for available values. The document 'tray label one per sheet' is not supported for POSTWURFSPEZIAL with IT franking ('DV Freimachung').
          example:
          - 1
          - 2
          - 3
          - 4
          - 5
          items:
            type: integer
            format: int32
          minItems: 1
        directPostingParameters:
          $ref: '#/components/schemas/DirectPostingRep'
          description: Parameters for direct posting of 20 or more pallets.
        pickUpAlwaysEln:
          type: boolean
          default: false
          description: 'Pick-up always with express logistic transport declaration (''ELN-Transportanmeldung''). '
          example: true
        calculateMaxNumberMailingItemsPerPallet:
          type: boolean
          default: true
          description: Enables max number mailing items per pallet to be calculated. Value maxNumberMailingItemsPerPallet has to be set in productiondefinition pallets but will be ignored if true. Is not supported for POSTWURFSPEZIAL with IT franking ('DV Freimachung').
          example: false
      required:
      - createDocumentTypes
      - goGreen
      - trackMatch
    ContractualPartnerRep:
      type: object
      properties:
        name:
          type: string
          description: Name of address
          example: Advertising GmbH
          maxLength: 120
          minLength: 0
        street:
          type: string
          description: Street of address
          example: Musterstrasse
          maxLength: 50
          minLength: 0
        houseNumber:
          type: string
          description: House number of address
          example: 12
          maxLength: 20
          minLength: 0
        zip:
          type: string
          description: Zip code of address
          example: 12345
          maxLength: 10
          minLength: 0
        city:
          type: string
          description: City of address
          example: Bonn
          maxLength: 50
          minLength: 0
        country:
          type: string
          description: 'Country code of address (ISO 3166-1 alpha-2: 2 letters)'
          example: DE
          maxLength: 2
          minLength: 2
      required:
      - city
      - country
      - houseNumber
      - name
      - street
      - zip
    DirectPostingRep:
      type: object
      properties:
        elnDepotName:
          type: string
          description: Eln depot accepting the posting.
          example: Stahnsdorf
      required:
      - elnDepotName
    MailingInductionRep:
      type: object
      properties:
        depotName:
          type: string
          description: Name of the Deutsche Post depot. Use a location of type 'ELN-Depot' for your pick-up induction or a location of type 'LARGE_RECEIVING_POINT' for post-to-depot induction. See 'depotlookups' resource for available values.
          example: Bautzen
          maxLength: 50
          minLength: 0
        pickUpLocationStreet:
          type: string
          description: 'Relevant only if you chose InductionType=1, pick-up location: Street without house number.'
          example: Musterstrasse
          maxLength: 50
          minLength: 0
        pickUpLocationHouseNumber:
          type: string
          description: 'Relevant only if you chose InductionType=1, pick-up location: House number.'
          example: 12
          maxLength: 20
          minLength: 0
        pickUpLocationZip:
          type: string
          description: 'Relevant only if you chose InductionType=1, pick-up location: Zip code.'
          example: 12345
          maxLength: 10
          minLength: 0
        pickUpLocationCity:
          type: string
          description: 'Relevant only if you chose InductionType=1, pick-up location: City.'
          example: Musterstadt
          maxLength: 50
          minLength: 0
        pickUpLocationCountry:
          type: string
          description: 'Relevant only if you chose InductionType=1, pick-up location: Country (ISO 3166-1 alpha-2: 2 letters).'
          example: DE
          maxLength: 2
          minLength: 2
        inductionType:
          type: integer
          format: int32
          description: Specifies whether mailings should be picked-up from an address or are transported to a Deutsche Post depot. See lookup resource 'InductionType' for available values.
          example: 2
      required:
      - inductionType
    PwspProcessingRep:
      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.
        targetGroupSelectionId:
          type: string
          description: Identifies your target group selection provided from the target group planner (TGP) system.
          example: 221a304d-eabc-4c25-a2cb-c6fafceed64
          minLength: 1
      required:
      - description
      - targetGroupSelectionId
    CreateOrUpdatePwspProcessingRep:
      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.
          example: Summer session 2023
          maxLength: 255
          minLength: 0
        targetGroupSelectionId:
          type: string
          description: Identifies your target group selection provided from the target group planner (TGP) system.
          example: 221a304d-eabc-4c25-a2cb-c6fafceed64
        simulation:
          type: boolean
          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
      - description
    DefaultPaymentBaseRep:
      type: object
      properties:
        payerEkp:
          type: string
          description: Ekp of the payer. This ekp has to be added to your addresses prior to this.
          example: '0000000001'
        entitledToDeductPreTax:
          type: boolean
          description: Specifies whether the payer is entitled to deduct pre-tax. This parameter is not valid for products Postwurfspezial and Postaktuell.
          example: true
        paymentMethod:
          type: integer
          format: int32
          description: Payment method. See lookup resource 'PaymentMethodType' for available values. CASH is not available for product Postwurfspezial
          example: 1
        cardNo:
          type: string
          description: 'Relevant only if you chose PaymentMethodType=3: Post card number (4 to 7 characters) that is a supplement to the payerEkp.'
          example: 2502001
          pattern: \d{2}[\dA-Za-z]{2}(?:\d{3})?
        iban:
          type: string
          description: 'Relevant only if you chose PaymentMethodType=1: BAN of the utilized payment bank card.'
          example: DE91100000000123456789
        bic:
          type: string
          description: 'Relevant only if you chose PaymentMethodType=1: BIC of the utilized payment bank card.'
          example: AAAADE81XXX
        bankName:
          type: string
          description: 'Relevant only if you chose PaymentMethodType=1: Bank name of the utilized payment bank card.'
          example: Example Bank
          maxLength: 255
          minLength: 0
      required:
      - entitledToDeductPreTax
      - paymentMethod
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