DSV

DSV Bookings API

The Bookings API from DSV — 8 operation(s) for bookings.

Operations 8

POST /Bookings/SearchCriteria 1. Search for Bookings by criteria #
GET /Bookings/{bookingNumber} 2. Get Bookings by booking number #
POST /Bookings/ChangeState 3. Change state by booking number #
POST /Bookings 4. Create or Update Booking(s) #
POST /Bookings/UpsertAsync 5. Post a collection of bookings asynchronously #
POST /Bookings/ReduceState 6. Reduce state by booking number #
POST /EDocs 3. Insert eDOC #
POST /event 2. Request Booking Cancellation #

Documentation

📖
APIReference
https://developer.dsv.com/api-details#api=access-token-demo-v1
📖
Documentation
https://developer.dsv.com/oauth-guide
📖
Documentation
https://developer.dsv.com/apicatalogue-generic
📖
Authentication
https://developer.dsv.com/oauth-guide
📖
APIReference
https://developer.dsv.com/api-details#api=generic-booking-demo-v2
📖
Documentation
https://developer.dsv.com/guide-mydsv
📖
APIReference
https://developer.dsv.com/api-details#api=generic-tracking-demo-v2
📖
APIReference
https://developer.dsv.com/api-details#api=generic-labels-demo-v1
📖
APIReference
https://developer.dsv.com/api-details#api=generic-upload-demo-v1
📖
APIReference
https://developer.dsv.com/api-details#api=generic-download-demo-v1
📖
APIReference
https://developer.dsv.com/api-details#api=generic-invoice-demo-v1
📖
APIReference
https://developer.dsv.com/api-details#api=generic-visibilitydemo-v1
📖
APIReference
https://developer.dsv.com/api-details#api=es-quote-demo-v1
📖
APIReference
https://developer.dsv.com/api-details#api=es-webhook-demo-v1
📖
Documentation
https://developer.dsv.com/webhook-guide
📖
APIReference
https://developer.dsv.com/api-details#api=es-webhook-int-v1
📖
Documentation
https://developer.dsv.com/apicatalogue-cl
📖
APIReference
https://developer.dsv.com/api-details#api=customs-ai-demo-v2
📖
APIReference
https://developer.dsv.com/api-details#api=connect-api-booking-demo-v1
📖
Documentation
https://developer.dsv.com/guide-road
📖
Documentation
https://developer.dsv.com/apicatalogue-road
📖
APIReference
https://developer.dsv.com/api-details#api=connect-api-tracking-demo-v1
📖
APIReference
https://developer.dsv.com/api-details#api=xpress-booking-v2
📖
Documentation
https://developer.dsv.com/guide-xpress
📖
Documentation
https://developer.dsv.com/apicatalogue-xpress
📖
APIReference
https://developer.dsv.com/api-details#api=xpress-tracking-v2
📖
APIReference
https://developer.dsv.com/api-details#api=xpress-comparator-v2
📖
APIReference
https://developer.dsv.com/api-details#api=edc-public-api-v2
📖
Documentation
https://developer.dsv.com/guide-scm
📖
Documentation
https://developer.dsv.com/apicatalogue-scm
📖
APIReference
https://developer.dsv.com/api-details#api=edc-booking-api-v2
📖
APIReference
https://developer.dsv.com/api-details#api=edc-shipments-api-v2
📖
APIReference
https://developer.dsv.com/api-details#api=edc-loadplan-api-v2
📖
APIReference
https://developer.dsv.com/api-details#api=edc-edocs-api-v2
📖
APIReference
https://developer.dsv.com/api-details#api=edc-events-api-v2
📖
APIReference
https://developer.dsv.com/api-details#api=edc-neom-api-v2
📖
Documentation
https://developer.dsv.com/guide-neom
📖
APIReference
https://developer.dsv.com/api-details#api=warehousing-productdata-demo-v1
📖
Documentation
https://developer.dsv.com/guide-contract-logistics
📖
APIReference
https://developer.dsv.com/api-details#api=warehousing-preadvice-demo-v1
📖
APIReference
https://developer.dsv.com/api-details#api=warehousing-despatch-demo-v1
📖
APIReference
https://developer.dsv.com/api-details#api=warehousing-inventory-demo-v1
📖
APIReference
https://developer.dsv.com/api-details#api=warehousing-status-demo-v1

Specifications

Other Resources

🔗
PostmanCollection
https://developer.dsv.com/content/DSV%20API%20(Access%20Token%20v1.0%20-%20samples%20with%20Bearer%20Token).postman_collection.zip
🔗
PostmanCollection
https://developer.dsv.com/content/DSV%20API%20(Booking%20V2%20-%20samples%20with%20Bearer%20Token).zip
🔗
PostmanCollection
https://developer.dsv.com/content/DSV%20API%20(Tracking%20v2.0%20-%20samples%20with%20Bearer%20Token).postman_collection.zip
🔗
PostmanCollection
https://developer.dsv.com/content/DSV%20API%20(Label%20v1.0%20-%20samples%20with%20Bearer%20Token).postman_collection.zip
🔗
PostmanCollection
https://developer.dsv.com/content/DSV%20API%20(Upload%20v1.0%20-%20samples%20with%20Bearer%20Token).postman_collection.zip
🔗
PostmanCollection
https://developer.dsv.com/content/DSV%20API%20(Download%20v1.0%20-%20samples%20with%20Bearer%20Token).postman_collection.zip
🔗
PostmanCollection
https://developer.dsv.com/content/DSV%20API%20(Visibility%20v1.0%20-%20samples%20with%20Bearer%20Token).postman_collection.zip
🔗
PostmanCollection
https://developer.dsv.com/content/DSV%20API%20(Quote%20v1.0%20-%20samples%20with%20Bearer%20Token).postman_collection.zip
🔗
PostmanCollection
https://developer.dsv.com/content/DSV%20API%20(Webhook%20v1.0%20-%20samples%20with%20Bearer%20Token).postman_collection.zip
🔗
PostmanCollection
https://developer.dsv.com/content/DSV%20API%20(WMS%20Webhook%20V1.0%20INT%20-%20samples%20with%20Bearer%20Token).postman_collection.zip
🔗
PostmanCollection
https://developer.dsv.com/content/DSV%20API%20(Customs%20v2.0%20-%20samples%20with%20Bearer%20Token).postman_collection.zip
🔗
PostmanCollection
https://developer.dsv.com/content/BookingWebService%20SOAP%20API%20v1.3.postman_collection.zip
🔗
PostmanCollection
https://developer.dsv.com/content/TrackingWebService%20SOAP%20API%20v1.3.postman_collection.zip
🔗
PostmanCollection
https://developer.dsv.com/content/DSV%20API(XPress%20Booking%20V2.0%20-%20samples).postman_collection.zip
🔗
PostmanCollection
https://developer.dsv.com/content/DSV%20API(XPress%20Tracking%20V2.0).postman_collection.zip
🔗
PostmanCollection
https://developer.dsv.com/content/DSV%20API(XPress%20Quote%20V2.0%20-%20samples).postman_collection.zip
🔗
PostmanCollection
https://developer.dsv.com/content/DSV%20API%20(eDC%20Orders%20V2.0%20-%20samples).postman_collection.zip
🔗
PostmanCollection
https://developer.dsv.com/content/DSV%20API%20(eDC%20Booking%20V2.0%20-samples).postman_collection.zip
🔗
PostmanCollection
https://developer.dsv.com/content/DSV%20API%20(eDC%20Shipments%20V2.0%20-%20samples).postman_collection.zip
🔗
PostmanCollection
https://developer.dsv.com/content/DSV%20API%20(eDC%20Loadplans%20V2.0%20-%20samples).postman_collection.zip
🔗
PostmanCollection
https://developer.dsv.com/content/DSV%20API%20(eDC%20eDocs%20V2.0%20-%20samples).postman_collection.zip
🔗
PostmanCollection
https://developer.dsv.com/content/DSV%20API%20(eDC%20Events%20V2.0%20-%20samples).postman_collection.zip
🔗
PostmanCollection
https://developer.dsv.com/content/DSV%20API%20(WMS%20Product%20Data%20v1.0%20-%20samples%20with%20Bearer%20token).postman_collection.zip
🔗
PostmanCollection
https://developer.dsv.com/content/DSV%20API%20(WMS%20Inbound%20Notification%20v1.0%20-%20samples%20with%20Bearer%20Token).postman_collection.zip
🔗
PostmanCollection
https://developer.dsv.com/content/DSV%20API%20(WMS%20Delivery%20Notification%20v1.0%20-%20samples%20with%20Bearer%20token).postman_collection.zip
🔗
PostmanCollection
https://developer.dsv.com/content/DSV%20API%20(WMS%20Inventory%20v1.0%20-%20samples%20with%20Bearer%20token).postman_collection.zip
🔗
PostmanCollection
https://developer.dsv.com/content/WMS%20Notification%20Status%20v1.0%20API.postman_collection.zip

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/dsv-bookings-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

dsv-bookings-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Dsv Bookings API
  version: v2
  description: 'Operations tagged Bookings across 2 of this provider''s published API definitions: dsv-edc-booking-api-v2-openapi.json, dsv-edc-neom-api-v2-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.dsv.com/om/bookings/v2
- url: https://api.dsv.com/om/neom/v2
security:
- apiKeyHeader: []
- apiKeyQuery: []
tags:
- name: Bookings
paths:
  /Bookings/SearchCriteria:
    post:
      tags:
      - Bookings
      summary: 1. Search for Bookings by criteria
      description: 1. Search for Bookings by criteria
      operationId: Search-for-Bookings-by-criteria
      parameters:
      - name: authorization
        in: header
        description: DSV Authorization header
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/eDC.Web.Api.v2.Models.Search.SearchRequest'
            example:
              Page: 0
              PageSize: 0
              Sorts:
              - Member: string
                SortDirection: Ascending
              Filters:
              - {}
              Groups:
              - MemberType: string
                DisplayContent: {}
                AggregateFunctions:
                - AggregateMethodName: string
                  Caption: string
                  SourceField: string
                  FunctionName: string
                  MemberType: string
                  ResultFormatString: string
                Member: string
                SortDirection: Ascending
              Aggregates:
              - Aggregates:
                - AggregateMethodName: string
                  Caption: string
                  SourceField: string
                  FunctionName: string
                  MemberType: string
                  ResultFormatString: string
                Member: string
      responses:
        '200':
          description: Success
    servers:
    - url: https://api.dsv.com/om/bookings/v2
  /Bookings/{bookingNumber}:
    get:
      tags:
      - Bookings
      summary: 2. Get Bookings by booking number
      description: 2. Get Bookings by booking number
      operationId: Get-Bookings-by-booking-number
      parameters:
      - name: bookingNumber
        in: path
        required: true
        schema:
          type: string
      - name: authorization
        in: header
        description: DSV Authorization header
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/eDC.Web.Api.v2.Models.Entities.Booking'
              example:
                Header:
                  MessageId: 0f6b70c8-2c26-4d1d-9b9e-03a68fec52f0
                  TimeStamp: '2022-11-01T12:00:00.0000000+00:00'
                  Source:
                    ApplicationCode: CUSTOMER_SYSTEM
                    EnterpriseCode: CUSTOMER_APPLICATION
                    Environment: QA
                  Target:
                    ApplicationCode: eDC
                    EnterpriseCode: DSV
                    Environment: QA
                  Function: New
                Booking:
                  ExternalBookingNumber: BOKEXT014a
                  ExternalBookingSender: SKUIRRELS
                  Incoterm: EXW
                  AdditionalTerms: PETAH
                  SupplierReference: sup-ref
                  TransportMode: SEA
                  ContainerMode: FCL
                  RequestedDepartureDate: '2022-11-01T12:00:00.0000000+00:00'
                  RequestedArrivalDate: '2022-11-01T12:00:00.0000000+00:00'
                  LoadPort: ILPET
                  DischargePort: ILPET
                  GoodsDescription: Pharmaceuticals
                  MarksAndNumbers: marks here
                  BookingInstructions: Pickup and Delivery Transprt Instructions
                  ShippingInstructions: shipping instructions
                  CustomerDivision: Parts
                  EquipmentTypes:
                  - Type: 40HC
                    NoOfUnits: 1
                    ContainerNumber: CBHU2204309
                  EstimatedDeliveryToOriginCFS: '2022-11-01T12:00:00.0000000+00:00'
                  IsPickupRequired: true
                  CollectionRequiredDate: '2022-11-01T12:00:00.0000000+00:00'
                  CollectionRequiredDateBy: '2022-11-01T06:00:00.0000000+00:00'
                  DeliveryRequiredDate: '2022-11-01T12:00:00.0000000+00:00'
                  DeliveryRequiredDateBy: '2022-11-01T08:00:00.0000000+00:00'
                  PackLinesMethod: patch
                  PackLines:
                  - PackageCount: 1
                    PackType: CTN
                    ContainerPackingOrder: 0
                    Weight: 0
                    UnitOfWeight: KG
                    Length: 10
                    Height: 10
                    Width: 10
                    UnitOfDimension: CM
                    Volume: 0.001
                    UnitOfVolume: M3
                    RefNumber: null
                    Description: null
                    HarmonisedCode: null
                    CommodityCode: null
                    ContainerNumber: CBHU2204309
                    LoadingMeters: 0
                    MarksAndNumbers: null
                    ProductCode: null
                    DangerousGoodsRef: null
                    NoOfPallets: 0
                    PackIdentifier: null
                    Sequence: 0
                    Stackable: false
                    PackageMarks: null
                    DangerousGoods:
                      Regulation: REG
                      HazardClass: null
                      AdditionalHazardClass: null
                      ClassificationCode: null
                      UNDGNumber: UNDG001
                      Variant: null
                      PSN: null
                      TechnicalName: null
                      Labels: null
                      PackingGroup: null
                      UpperPlate: null
                      LowerPlate: null
                      NumberOfPackages: null
                      PackageType: null
                      PackagingInstruction: null
                      TransportMeansCategory: null
                      GrossWeight: 0
                      NetWeight: 0
                      ExplosiveWeight: 0
                      UnitOfWeight: null
                      FlashPointTemperature: null
                      FlashPointTemperatureUnit: null
                      FlashPointDescription: null
                      TremCardNumber: null
                      EMSNumber: null
                      MFAGNumber: null
                      MarinePollutant: null
                      LimitedQuantity: false
                      TunnelCode: null
                      Remarks: null
                      ContactName: null
                      ContactEmail: null
                    InnerPackLines: []
                    CustomFields: []
                  Parties:
                  - Type: Consignor
                    Code: 5001ACME-IL
                    FullName: ACME PHARMACEUTICAL INDUST (PHARMA)
                    ClosestPort: null
                    Currency: null
                    PhoneNumber: null
                    Email: null
                    Address:
                      Name: ACME PHARMACEUTICAL INDUST (PHARMA)
                      Address1: 5 Squirrel Street
                      Address2: null
                      Address3: null
                      UNLOCO: ILPET
                      City: PETAH TIKVA
                      State: null
                      PostCode: '49131'
                      CountryCode: IL
                      Country: ISREAL
                      AddressCode: Default
                      Longitude: null
                      Latitude: null
                  - Type: Consignee
                    Code: ACME
                    FullName: ACME PHARMACEUTICAL INDUST (PHARMA)
                    PhoneNumber: null
                    Email: null
                    Address:
                      Name: ACME PHARMACEUTICAL INDUST (PHARMA)
                      Address1: 5 Squirrel Street
                      Address2: null
                      Address3: null
                      UNLOCO: ILPET
                      City: PETAH TIKVA
                      State: null
                      PostCode: '49131'
                      CountryCode: IL
                      Country: ISREAL
                      AddressCode: Default
                      Longitude: null
                      Latitude: null
                  - Type: DeliveryTo
                    Code: 5001ACME-IL
                    FullName: ACME PHARMACEUTICAL INDUST (PHARMA)
                    PhoneNumber: null
                    Email: null
                    Address:
                      Name: ACME PHARMACEUTICAL INDUST (PHARMA)
                      Address1: 5 Squirrel Street
                      Address2: null
                      Address3: null
                      UNLOCO: ILPET
                      City: PETAH TIKVA
                      State: null
                      PostCode: '49131'
                      CountryCode: IL
                      Country: ISREAL
                      AddressCode: Default
                      Longitude: null
                      Latitude: null
                  - Type: PickupFrom
                    Code: '6409938278'
                    FullName: DHL FREIGHT BELGIUM N V
                    PhoneNumber: '1454203949'
                    Email: null
                    Address:
                      Name: DHL FREIGHT BELGIUM N V
                      Address1: 2 Brandekensweg
                      Address2: add2
                      Address3: null
                      UNLOCO: null
                      City: Schelle
                      State: null
                      PostCode: '2630'
                      CountryCode: BE
                      Country: null
                      AddressCode: Default
                      Longitude: null
                      Latitude: null
                  Notes:
                  - Description: SpecialInstructions
                    NoteText: note content
                    IntendedParty: Customer, InternalDSV
                  CustomFields:
                  - Name: Documents_Ready_On_Collection
                    Type: String
                    Value: 'YES'
                  - Name: Temperature_Range
                    Type: String
                    Value: General Cargo
                  Orders:
                  - OrderNumber: ORDEXT0001
                    SplitNumber: 0
                    OrderType: SO
                    ParentOrderNumber: null
                    OrderDate: '2022-09-20T06:51:50.0000000+00:00'
                    GoodsDescription: goods
                    TransportMode: SEA
                    ContainerMode: LCL
                    ServiceLevel: STD
                    RequiredExWorks: '2022-09-20T06:51:50.0000000+00:00'
                    RequiredInStore: '2022-09-20T06:51:50.0000000+00:00'
                    OriginCountry: GB
                    Incoterm: CIF
                    AdditionalTerms: COLLECT
                    AdditionalTermsUNLOCO: null
                    ActualVolume: 20
                    UnitOfVolume: CM3
                    ActualWeight: 30
                    UnitOfWeight: KG
                    TotalPacks: 5
                    TotalQuantity: 181765
                    FollowUpDate: '2022-11-01T12:00:00.0000000+00:00'
                    PortOfLoading: GBFXT
                    PortOfDischarge: USNYC
                    Currency: USD
                    TotalValue: 492895.94
                    OnHandDate: '2022-11-01T12:00:00.0000000+00:00'
                    PlannerCode: planner code
                    PlannerEmail: null
                    WarehouseReceiptNumber: WR001
                    VehicleRegistration: VR001
                    TrailerNumber: TR001
                    Seal: SL001
                    ManifestNumber: MF001
                    BookedInNumber: BI001
                    DispatchedDate: null
                    EstimatedReceiptDate: '2022-11-01T12:00:00.0000000+00:00'
                    BookedInDate: '2022-11-01T12:00:00.0000000+00:00'
                    CutOffDate: '2022-11-01T12:00:00.0000000+00:00'
                    InvoiceDate: '2022-11-01T12:00:00.0000000+00:00'
                    InvoiceNumber: IN001
                    ConfirmedDate: '2022-11-01T12:00:00.0000000+00:00'
                    ConfirmationNumber: CN001
                    ContractNumber: C001
                    GoodsReceiptNumber: GR001
                    GoodsReceiptDate: '2022-11-01T12:00:00.0000000+00:00'
                    AuthorisedBy: auth by
                    AuthorisedToShip: '2022-11-01T12:00:00.0000000+00:00'
                    RevisionNumber: 0
                    EarliestShipDate: '2022-11-01T12:00:00.0000000+00:00'
                    LatestShipDate: '2022-11-01T12:00:00.0000000+00:00'
                    OrderLines:
                    - LineNo: 10
                      Partno: 000000000010015389
                      Description: FAMOTIDINE tab.USP 100*20mg
                      UnitOfQuantity: ST
                      Quantity: 87661
                      QtyInvoiced: 87661
                      QtyBooked: null
                      QtyReceived: null
                      QtyShipped: 87661
                      Volume: 0
                      UnitOfVolume: ''
                      Weight: 0
                      UnitOfWeight: ''
                      ItemPrice: 1.22
                      LinePrice: 106946.42
                      Length: 0
                      Width: 0
                      Height: 0
                      DimUnit: ''
                      DangerousGoodsRef: null
                      ContainerNumber: null
                      HarmonisedCode: null
                      PackLineId: null
                      InvoiceNumber: null
                      ConfirmationNumber: null
                      SpecialInstructions: null
                      AdditionalInformation: null
                      LineWeight: 0
                      LineVolume: 0
                      ContractNumber: null
                      OriginCountry: null
                      DecimalPlaces: 0
                      QuantityPerUnit: 0
                      NetWeight: 0
                      TransportMode: ''
                      EarliestShipDate: '2022-11-01T12:00:00.0000000+00:00'
                      LatestShipDate: '2022-11-01T12:00:00.0000000+00:00'
                      FreightClass: FC
                      ServiceLevel: STD
                      Inners:
                        Value: 10.5
                        Unit: PC
                      Outers:
                        Value: 20.5
                        Unit: PC
                      Parties: []
                      EstimatedExWorksDate: null
                      RequiredExWorks: null
                      RequiredInStore: null
                      CustomFields: []
                    PackLines: []
                    CustomFields:
                    - Name: invoice_number
                      Type: STR
                      Value: 0090863377
                    Notes:
                    - Description: UserNote
                      NoteText: note content
                      IntendedParty: Customer, InternalDSV
                    Parties:
                    - Type: Buyer
                      Code: '0000402271'
                      FullName: ACTAVIS INTERNATIONAL LTD
                      ClosestPort: null
                      Currency: null
                      PhoneNumber: null
                      Email: null
                      VATNumber: null
                      RegisteredNumber: null
                      EDICode: DP-ICC4400
                      ExternalCode: IL201001
                      Address:
                        Name: ACME Pharmaceuticals USA, Inc.
                        Address1: 400 Interpace Parkway
                        Address2: null
                        Address3: null
                        UNLOCO: null
                        City: Parsippany, NJ
                        State: null
                        PostCode: '07054'
                        CountryCode: US
                        Country: null
                        AddressCode: 400 Interpace Parkway
                        Longitude: null
                        Latitude: null
                    - Type: Supplier
                      Code: SM23ACME-HR
                      FullName: SM23ACME-HR
                      ClosestPort: null
                      Currency: null
                      PhoneNumber: null
                      Email: null
                      VATNumber: null
                      RegisteredNumber: null
                      Address: null
                    - Type: PickupFrom
                      Code: SM239902
                      FullName: SM239902
                      ClosestPort: null
                      Currency: null
                      PhoneNumber: null
                      Email: null
                      VATNumber: null
                      RegisteredNumber: null
                      Address: null
                  Documents:
                  - IntendedParties: Customer,InternalDSV
                    FileName: packages
                    Extension: json
                    DocType: POD
                    IsPublished: true
                    UniqueFileName: true
                    Description: UserNote
                    Data: ewogICJuYW1lIjogImVkYyIsCiAgImRlc2NyaXB0aW9uIjogImVEQyBTeXN0ZW0iLAogICJyZXBvc2l0b3J5IjogewogICAgInR5cGUiOiAidGZzIgogIH0sCiAgInNjcmlwdHMiOiB7CiAgICAid2F0Y2gtY29udHJvbHMiOiAid2VicGFjayAtLWNvbmZpZyB3ZWJwYWNrLmNvbnRyb2xzLmNvbmZpZy5qcyAtLXdhdGNoIiwKICAgICJ0ZXN0IjogImphc21pbmUtbm9kZSBzcGVjIiwKICAgICJtYWludGVuYW5jZS1wYWdlIjogImd1bHAgYnVpbGQ6bWFpbnRlbmFuY2UtcGFnZSIsCiAgICAiYm9va2luZy10ZW1wbGF0ZXMiOiAiZ3VscCBidWlsZDpib29raW5nLXRlbXBsYXRlcyIKICB9LAogICJyZWFkbWUiOiAiTm8gcmVhZG1lIiwKICAibGljZW5zZSI6ICJOTFBMIiwKICAiZGV2RGVwZW5kZW5jaWVzIjogewogICAgImJhYmVsLWxvYWRlciI6ICJeNy4xLjQiLAogICAgImd1bHAiOiAiXjMuOS4xIiwKICAgICJndWxwLWlubGluZS1jc3MiOiAiXjMuMC4wIiwKICAgICJndWxwLXByZXByb2Nlc3MiOiAiXjEuMi4wIiwKICAgICJndWxwLXJlbmFtZSI6ICJeMS4yLjIiLAogICAgImh0bWwtbG9hZGVyIjogIl4wLjUuNSIsCiAgICAiaW5saW5lciI6ICJeMS4xMC4xIiwKICAgICJqYXNtaW5lLW5vZGUiOiAiXjEuMTUuMCIsCiAgICAid2VicGFjayI6ICJeNC40LjEiLAogICAgIndlYnBhY2stY2xpIjogIl4yLjAuMTMiLAogICAgIndlYnBhY2stbm90aWZpZXIiOiAiXjEuNi4wIgogIH0sCiAgImRlcGVuZGVuY2llcyI6IHsKICAgICJub2RlIjogIl4xMS4xNS4wIiwKICAgICJudm0iOiAiMC4wLjQiCiAgfQp9Cg==
    servers:
    - url: https://api.dsv.com/om/bookings/v2
  /Bookings/ChangeState:
    post:
      tags:
      - Bookings
      summary: 3. Change state by booking number
      description: 3. Change state by booking number
      operationId: Change-state-by-booking-number
      parameters:
      - name: authorization
        in: header
        description: DSV Authorization header
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/eDC.Web.Api.v2.Controllers.ChangeStateRequest'
            example:
              bookingNumber: string
              state: Provisional
              note: string
              intendedParty: string
      responses:
        '200':
          description: Success
    servers:
    - url: https://api.dsv.com/om/bookings/v2
  /Bookings:
    post:
      tags:
      - Bookings
      summary: 4. Create or Update Booking(s)
      description: Create or Update Booking(s)
      operationId: POSTapi-public-v2-Bookings
      parameters:
      - name: authorization
        in: header
        description: DSV Authorization header
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/eDC.Web.Api.v2.Models.Entities.Booking'
            example:
              Header:
                MessageId: 0f6b70c8-2c26-4d1d-9b9e-03a68fec52f0
                TimeStamp: '2022-11-01T12:00:00.0000000+00:00'
                Source:
                  ApplicationCode: CUSTOMER_SYSTEM
                  EnterpriseCode: CUSTOMER_APPLICATION
                  Environment: QA
                Target:
                  ApplicationCode: eDC
                  EnterpriseCode: DSV
                  Environment: QA
                Function: New
              Booking:
                ExternalBookingNumber: BOKEXT014a
                ExternalBookingSender: SKUIRRELS
                Incoterm: EXW
                AdditionalTerms: PETAH
                SupplierReference: sup-ref
                TransportMode: SEA
                ContainerMode: FCL
                RequestedDepartureDate: '2022-11-01T12:00:00.0000000+00:00'
                RequestedArrivalDate: '2022-11-01T12:00:00.0000000+00:00'
                LoadPort: ILPET
                DischargePort: ILPET
                GoodsDescription: Pharmaceuticals
                MarksAndNumbers: marks here
                BookingInstructions: Pickup and Delivery Transprt Instructions
                ShippingInstructions: shipping instructions
                CustomerDivision: Parts
                EquipmentTypes:
                - Type: 40HC
                  NoOfUnits: 1
                  ContainerNumber: CBHU2204309
                EstimatedDeliveryToOriginCFS: '2022-11-01T12:00:00.0000000+00:00'
                IsPickupRequired: true
                CollectionRequiredDate: '2022-11-01T12:00:00.0000000+00:00'
                CollectionRequiredDateBy: '2022-11-01T06:00:00.0000000+00:00'
                DeliveryRequiredDate: '2022-11-01T12:00:00.0000000+00:00'
                DeliveryRequiredDateBy: '2022-11-01T08:00:00.0000000+00:00'
                PackLinesMethod: patch
                PackLines:
                - PackageCount: 1
                  PackType: CTN
                  ContainerPackingOrder: 0
                  Weight: 0
                  UnitOfWeight: KG
                  Length: 10
                  Height: 10
                  Width: 10
                  UnitOfDimension: CM
                  Volume: 0.001
                  UnitOfVolume: M3
                  RefNumber: null
                  Description: null
                  HarmonisedCode: null
                  CommodityCode: null
                  ContainerNumber: CBHU2204309
                  LoadingMeters: 0
                  MarksAndNumbers: null
                  ProductCode: null
                  DangerousGoodsRef: null
                  NoOfPallets: 0
                  PackIdentifier: null
                  Sequence: 0
                  Stackable: false
                  PackageMarks: null
                  DangerousGoods:
                    Regulation: REG
                    HazardClass: null
                    AdditionalHazardClass: null
                    ClassificationCode: null
                    UNDGNumber: UNDG001
                    Variant: null
                    PSN: null
                    TechnicalName: null
                    Labels: null
                    PackingGroup: null
                    UpperPlate: null
                    LowerPlate: null
                    NumberOfPackages: null
                    PackageType: null
                    PackagingInstruction: null
                    TransportMeansCategory: null
                    GrossWeight: 0
                    NetWeight: 0
                    ExplosiveWeight: 0
                    UnitOfWeight: null
                    FlashPointTemperature: null
                    FlashPointTemperatureUnit: null
                    FlashPointDescription: null
                    TremCardNumber: null
                    EMSNumber: null
                    MFAGNumber: null
                    MarinePollutant: null
                    LimitedQuantity: false
                    TunnelCode: null
                    Remarks: null
                    ContactName: null
                    ContactEmail: null
                  InnerPackLines: []
                  CustomFields: []
                Parties:
                - Type: Consignor
                  Code: 5001ACME-IL
                  FullName: ACME PHARMACEUTICAL INDUST (PHARMA)
                  ClosestPort: null
                  Currency: null
                  PhoneNumber: null
                  Email: null
                  Address:
                    Name: ACME PHARMACEUTICAL INDUST (PHARMA)
                    Address1: 5 Squirrel Street
                    Address2: null
                    Address3: null
                    UNLOCO: ILPET
                    City: PETAH TIKVA
                    State: null
                    PostCode: '49131'
                    CountryCode: IL
                    Country: ISREAL
                    AddressCode: Default
                    Longitude: null
                    Latitude: null
                - Type: Consignee
                  Code: ACME
                  FullName: ACME PHARMACEUTICAL INDUST (PHARMA)
                  PhoneNumber: null
                  Email: null
                  Address:
                    Name: ACME PHARMACEUTICAL INDUST (PHARMA)
                    Address1: 5 Squirrel Street
                    Address2: null
                    Address3: null
                    UNLOCO: ILPET
                    City: PETAH TIKVA
                    State: null
                    PostCode: '49131'
                    CountryCode: IL
                    Country: ISREAL
                    AddressCode: Default
                    Longitude: null
                    Latitude: null
                - Type: DeliveryTo
                  Code: 5001ACME-IL
                  FullName: ACME PHARMACEUTICAL INDUST (PHARMA)
                  PhoneNumber: null
                  Email: null
                  Address:
                    Name: ACME PHARMACEUTICAL INDUST (PHARMA)
                    Address1: 5 Squirrel Street
                    Address2: null
                    Address3: null
                    UNLOCO: ILPET
                    City: PETAH TIKVA
                    State: null
                    PostCode: '49131'
                    CountryCode: IL
                    Country: ISREAL
                    AddressCode: Default
                    Longitude: null
                    Latitude: null
                - Type: PickupFrom
                  Code: '6409938278'
                  FullName: DHL FREIGHT BELGIUM N V
                  PhoneNumber: '1454203949'
                  Email: null
                  Address:
                    Name: DHL FREIGHT BELGIUM N V
                    Address1: 2 Brandekensweg
                    Address2: add2
                    Address3: null
                    UNLOCO: null
                    City: Schelle
                    State: null
                    PostCode: '2630'
                    CountryCode: BE
                    Country: null
                    AddressCode: Default
                    Longitude: null
                    Latitude: null
                Notes:
                - Description: SpecialInstructions
                  NoteText: note content
                  IntendedParty: Customer, InternalDSV
                CustomFields:
                - Name: Documents_Ready_On_Collection
                  Type: String
                  Value: 'YES'
                - Name: Temperature_Range
                  Type: String
                  Value: General Cargo
                Orders:
                - OrderNumber: ORDEXT0001
                  SplitNumber: 0
                  OrderType: SO
                  ParentOrderNumber: null
                  OrderDate: '2022-09-20T06:51:50.0000000+00:00'
                  GoodsDescription: goods
                  TransportMode: SEA
                  ContainerMode: LCL
                  ServiceLevel: STD
                  RequiredExWorks: '2022-09-20T06:51:50.0000000+00:00'
                  RequiredInStore: '2022-09-20T06:51:50.0000000+00:00'
                  OriginCountry: GB
                  Incoterm: CIF
                  AdditionalTerms: COLLECT
                  AdditionalTermsUNLOCO: null
                  ActualVolume: 20
                  UnitOfVolume: CM3
                  ActualWeight: 30
                  UnitOfWeight: KG
                  TotalPacks: 5
                  TotalQuantity: 181765
                  FollowUpDate: '2022-11-01T12:00:00.0000000+00:00'
                  PortOfLoading: GBFXT
                  PortOfDischarge: USNYC
                  Currency: USD
                  TotalValue: 492895.94
                  OnHandDate: '2022-11-01T12:00:00.0000000+00:00'
                  PlannerCode: planner code
                  PlannerEmail: null
                  WarehouseReceiptNumber: WR001
                  VehicleRegistration: VR001
                  TrailerNumber: TR001
                  Seal: SL001
                  ManifestNumber: MF001
                  BookedInNumber: BI001
                  DispatchedDate: null
                  EstimatedReceiptDate: '2022-11-01T12:00:00.0000000+00:00'
                  BookedInDate: '2022-11-01T12:00:00.0000000+00:00'
                  CutOffDate: '2022-11-01T12:00:00.0000000+00:00'
                  InvoiceDate: '2022-11-01T12:00:00.0000000+00:00'
                  InvoiceNumber: IN001
                  ConfirmedDate: '2022-11-01T12:00:00.0000000+00:00'
                  ConfirmationNumber: CN001
                  ContractNumber: C001
                  GoodsReceiptNumber: GR001
                  GoodsReceiptDate: '2022-11-01T12:00:00.0000000+00:00'
                  AuthorisedBy: auth by
                  AuthorisedToShip: '2022-11-01T12:00:00.0000000+00:00'
                  RevisionNumber: 0
                  EarliestShipDate: '2022-11-01T12:00:00.0000000+00:00'
                  LatestShipDate: '2022-11-01T12:00:00.0000000+00:00'
                  OrderLines:
                  - LineNo: 10
                    Partno: 000000000010015389
                    Description: FAMOTIDINE tab.USP 100*20mg
                    UnitOfQuantity: ST
                    Quantity: 87661
                    QtyInvoiced: 87661
                    QtyBooked: null
                    QtyReceived: null
                    QtyShipped: 87661
                    Volume: 0
                    UnitOfVolume: ''
                    Weight: 0
                    UnitOfWeight: ''
                    ItemPrice: 1.22
                    LinePrice: 106946.42
                    Length: 0
                    Width: 0
                    Height: 0
                    DimUnit: ''
                    DangerousGoodsRef: null
                    ContainerNumber: null
                    HarmonisedCode: null
                    PackLineId: null
                    InvoiceNumber: null
                    ConfirmationNumber: null
                    SpecialInstructions: null
                    AdditionalInformation: null
                    LineWeight: 0
                    LineVolume: 0
                    ContractNumber: null
                    OriginCountry: null
                    DecimalPlaces: 0
                    QuantityPerUnit: 0
                    NetWeight: 0
                    TransportMode: ''
                    EarliestShipDate: '2022-11-01T12:00:00.0000000+00:00'
                    LatestShipDate: '2022-11-01T12:00:00.0000000+00:00'
                    FreightClass: FC
                    ServiceLevel: STD
                    Inners:
                      Value: 10.5
                      Unit: PC
                    Outers:
                      Value: 20.5
                      Unit: PC
                    Parties: []
                    EstimatedExWorksDate: null
                    RequiredExWorks: null
                    RequiredInStore: null
                    CustomFields: []
                  PackLines: []
                  CustomFields:
                  - Name: invoice_number
                    Type: STR
                    Value: 0090863377
                  Notes:
             

# --- truncated at 32 KB (244 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/dsv/refs/heads/main/openapi/dsv-bookings-api-openapi.yml