# Slouží k získání informací (trackingu) k zásilce

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /shipment:
    get:
      summary: Slouží k získání informací (trackingu) k zásilce
      deprecated: false
      description: ''
      tags:
        - API Metody/Shipment
        - Shipment
      parameters:
        - name: ShipmentNumbers
          in: query
          description: Čísla zásilek
          required: false
          schema:
            maxItems: 50
            type: array
            items:
              type: string
        - name: InvoiceNumbers
          in: query
          description: Čísla zakázek
          required: false
          schema:
            maxItems: 50
            type: array
            items:
              type: string
        - name: CustomerReferences
          in: query
          description: Zákaznická reference
          required: false
          schema:
            maxItems: 50
            type: array
            items:
              type: string
        - name: VariableSymbols
          in: query
          description: Variabilní symbol
          required: false
          schema:
            maxItems: 50
            type: array
            items:
              type: string
        - name: DateFrom
          in: query
          description: Datum od
          required: false
          schema:
            type: string
            format: date-time
        - name: DateTo
          in: query
          description: Datum do
          required: false
          schema:
            type: string
            format: date-time
        - name: ShipmentStates
          in: query
          description: Stavy zásilek
          required: false
          schema: &ref_0
            $ref: >-
              #/components/schemas/Eps.Api.MyApi2.Web.Models.Shipment.ShipmentStates
        - name: Limit
          in: query
          description: ''
          required: true
          schema:
            maximum: 1000
            minimum: 1
            type: integer
            format: int32
        - name: Offset
          in: query
          description: ''
          required: true
          schema:
            maximum: 2147483647
            minimum: 0
            type: integer
            format: int32
        - name: Accept-Language
          in: header
          description: 'Language specification, default language: cs-CZ'
          required: false
          example: ''
          schema:
            $ref: '#/components/schemas/AcceptLanguageSchema'
        - name: X-Correlation-ID
          in: header
          description: Correlation Id of request
          required: false
          example: ''
          schema:
            $ref: '#/components/schemas/XCorrelationIdSchema'
        - name: X-LogLevel
          in: header
          description: The forced log level
          required: false
          example: ''
          schema:
            $ref: '#/components/schemas/XLogLevelSchema'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  x-apidog-refs:
                    01JK83WMRHBST5HYVZ7Z26JWPR:
                      $ref: >-
                        #/components/schemas/Eps.Api.MyApi2.Web.Models.Shipment.ShipmentModel
                      x-apidog-overrides:
                        shipmentNumber: &ref_58
                          type: string
                          description: Číslo zásilky
                          nullable: true
                        productType: &ref_59
                          type: string
                          description: Typ produktu viz /codelist/product
                          nullable: true
                        note: &ref_60
                          type: string
                          description: Poznámka
                          nullable: true
                        depot: &ref_61
                          type: string
                          description: Sklad
                          nullable: true
                        lastUpdateDate: &ref_62
                          type: string
                          description: Datum poslední aktualizace
                          format: date-time
                          nullable: true
                        shipmentState: *ref_0
                        shipmentSet: &ref_63
                          oneOf:
                            - type: object
                              x-apidog-refs:
                                01JK844J38ZA8B12KF7SZR6MY5: &ref_77
                                  $ref: >-
                                    #/components/schemas/Eps.Api.MyApi2.Web.Models.Shipment.ShipmentSetFeatureModel
                                  x-apidog-overrides:
                                    shipmentsInSet: &ref_2
                                      type: integer
                                      description: Počet zásilek v sadě
                                      format: int32
                                    masterShipmentNumber: &ref_1
                                      type: string
                                      description: Číslo nosné zásilky
                                      nullable: true
                                    shipmentInSetNumber: &ref_3
                                      type: integer
                                      description: Pozice zásilky v sadě
                                      format: int32
                              x-apidog-orders:
                                - 01JK844J38ZA8B12KF7SZR6MY5
                              properties:
                                masterShipmentNumber: *ref_1
                                shipmentsInSet: *ref_2
                                shipmentInSetNumber: *ref_3
                              x-apidog-ignore-properties:
                                - masterShipmentNumber
                                - shipmentsInSet
                                - shipmentInSetNumber
                            - &ref_12
                              $ref: '#/components/schemas/EmptyNullableObject'
                        sender: &ref_64
                          oneOf:
                            - type: object
                              x-apidog-refs:
                                01JK84AA30DNCD6EX6SFGWW0RG: &ref_13
                                  $ref: >-
                                    #/components/schemas/Eps.Api.MyApi2.Web.Models.Shipment.ShipmentAddressModel
                                  x-apidog-overrides:
                                    name: &ref_4
                                      type: string
                                      description: Jméno
                                      nullable: true
                                    name2: &ref_5
                                      type: string
                                      nullable: true
                                    street: &ref_6
                                      type: string
                                      description: Ulice
                                      nullable: true
                                    city: &ref_7
                                      type: string
                                      description: Město
                                      nullable: true
                                    zipCode: &ref_8
                                      type: string
                                      description: PSČ
                                      nullable: true
                                    country: &ref_9
                                      type: string
                                      description: Země
                                      nullable: true
                                    contact: &ref_10
                                      type: string
                                      description: Kontakt
                                      nullable: true
                                    phone: &ref_11
                                      type: string
                                      description: Telefon
                                      nullable: true
                              x-apidog-orders:
                                - 01JK84AA30DNCD6EX6SFGWW0RG
                              properties:
                                name: *ref_4
                                name2: *ref_5
                                street: *ref_6
                                city: *ref_7
                                zipCode: *ref_8
                                country: *ref_9
                                contact: *ref_10
                                phone: *ref_11
                                email:
                                  type: string
                                  description: Email
                                  nullable: true
                              x-apidog-ignore-properties:
                                - name
                                - name2
                                - street
                                - city
                                - zipCode
                                - country
                                - contact
                                - phone
                                - email
                            - *ref_12
                          description: Odesílatel
                        recipient: &ref_65
                          oneOf:
                            - *ref_13
                            - *ref_12
                          description: Příjemce
                        specificDelivery: &ref_66
                          oneOf:
                            - type: object
                              x-apidog-refs:
                                01JK8A4EN8J2Y4WMHTC6CCHPDQ: &ref_78
                                  $ref: >-
                                    #/components/schemas/Eps.Api.MyApi2.Web.Models.Shipment.SpecificDeliveryFeatureModel
                                  x-apidog-overrides:
                                    specificDeliveryDate: &ref_14
                                      type: string
                                      description: Specifické datum doručení
                                      format: date-time
                                      nullable: true
                                    specificDeliveryTimeFrom: &ref_15
                                      type: string
                                      description: Specifický čas doručení -Od
                                      format: date-span
                                      nullable: true
                                    specificDeliveryTimeTo: &ref_16
                                      type: string
                                      description: Specifický čas doručení -Do
                                      format: date-span
                                      nullable: true
                                    specificTakeDate: &ref_17
                                      type: string
                                      description: Specifické datum převzetí
                                      format: date-time
                                      nullable: true
                                    specificTakeTimeFrom: &ref_18
                                      type: string
                                      description: Specifické datum převzetí -Od
                                      format: date-span
                                      nullable: true
                                    specificTakeTimeTo: &ref_19
                                      type: string
                                      description: Specifické datum převzetí -Do
                                      format: date-span
                                      nullable: true
                                    accessPointCode: &ref_20
                                      type: string
                                      description: >-
                                        1. ProductType pouze PRIV, PRID, CONN,
                                        COND, SMAR, SMAD !!

                                        2. Validace proti seznamu, který vrací
                                        metoda AccessPoint
                                      nullable: true
                              x-apidog-orders:
                                - 01JK8A4EN8J2Y4WMHTC6CCHPDQ
                              properties:
                                specificDeliveryDate: *ref_14
                                specificDeliveryTimeFrom: *ref_15
                                specificDeliveryTimeTo: *ref_16
                                specificTakeDate: *ref_17
                                specificTakeTimeFrom: *ref_18
                                specificTakeTimeTo: *ref_19
                                accessPointCode: *ref_20
                              x-apidog-ignore-properties:
                                - specificDeliveryDate
                                - specificDeliveryTimeFrom
                                - specificDeliveryTimeTo
                                - specificTakeDate
                                - specificTakeTimeFrom
                                - specificTakeTimeTo
                                - accessPointCode
                            - *ref_12
                          description: Specifické požadavky na doručení
                        services: &ref_68
                          type: array
                          items:
                            type: object
                            x-apidog-refs:
                              01JK8AKK7GBZCG06V4NC47HH75: &ref_80
                                $ref: >-
                                  #/components/schemas/Eps.Api.MyApi2.Web.Models.Shipment.ServiceModel
                                x-apidog-overrides:
                                  code: &ref_22
                                    type: string
                                    description: Kód
                                    nullable: true
                                  price: &ref_23
                                    type: number
                                    description: Cena
                                    format: double
                                    nullable: true
                                  priceCurrency: &ref_24
                                    type: string
                                    description: Měna
                                    nullable: true
                                  additionalParameters: &ref_21
                                    type: array
                                    items:
                                      type: object
                                      x-apidog-refs:
                                        01JK8AZA0VQ02JSN4NRD6K2EM5:
                                          x-apidog-overrides:
                                            type:
                                              type: string
                                              description: Typ
                                              nullable: true
                                            reference:
                                              type: string
                                              description: Reference
                                              nullable: true
                                          type: object
                                          properties: {}
                                      x-apidog-orders:
                                        - 01JK8AZA0VQ02JSN4NRD6K2EM5
                                      properties: {}
                                      x-apidog-ignore-properties: []
                                    description: Další parametry
                                    nullable: true
                            x-apidog-orders:
                              - 01JK8AKK7GBZCG06V4NC47HH75
                            properties:
                              additionalParameters: *ref_21
                              code: *ref_22
                              price: *ref_23
                              priceCurrency: *ref_24
                            x-apidog-ignore-properties:
                              - additionalParameters
                              - code
                              - price
                              - priceCurrency
                          description: Služby
                          nullable: true
                        externalNumbers: &ref_67
                          type: array
                          items:
                            type: object
                            x-apidog-refs:
                              01JK8B0BFMSBT3CDFBCR7Q9FW6: &ref_79
                                $ref: >-
                                  #/components/schemas/Eps.Api.MyApi2.Web.Models.Shipment.ExternalNumberModel
                                x-apidog-overrides:
                                  externalNumber: &ref_25
                                    type: string
                                    description: Externí číslo
                                    nullable: true
                                  code: &ref_26
                                    type: string
                                    description: Kód externího čísla
                                    nullable: true
                            x-apidog-orders:
                              - 01JK8B0BFMSBT3CDFBCR7Q9FW6
                            properties:
                              externalNumber: *ref_25
                              code: *ref_26
                            x-apidog-ignore-properties:
                              - externalNumber
                              - code
                          description: Externí čísla
                          nullable: true
                        accessPointFeature: &ref_75
                          oneOf:
                            - type: object
                              x-apidog-refs:
                                01JK8J4J3HB5JVWARR5Q3TSZ7N: &ref_87
                                  $ref: >-
                                    #/components/schemas/Eps.Api.MyApi2.Web.Models.Shipment.AccessPointFeatureModel
                                  x-apidog-overrides:
                                    accessPointDaysInStorage: &ref_27
                                      type: integer
                                      description: Počet dnů na výdejním místě
                                      format: int32
                                      nullable: true
                                    accessPointDaysInStorageRemain: &ref_28
                                      type: integer
                                      description: >-
                                        Počet zbyvajících dnů uložení zásilky na
                                        výdejním místě
                                      format: int32
                                      nullable: true
                                    accessPointHoursInStorageRemain: &ref_29
                                      type: integer
                                      description: >-
                                        Počet zbyvajících hodin uložení zásilky
                                        na výdejním místě
                                      format: int32
                                      nullable: true
                              x-apidog-orders:
                                - 01JK8J4J3HB5JVWARR5Q3TSZ7N
                              properties:
                                accessPointDaysInStorage: *ref_27
                                accessPointDaysInStorageRemain: *ref_28
                                accessPointHoursInStorageRemain: *ref_29
                              x-apidog-ignore-properties:
                                - accessPointDaysInStorage
                                - accessPointDaysInStorageRemain
                                - accessPointHoursInStorageRemain
                            - *ref_12
                        dormantShipmentFeature: &ref_74
                          oneOf:
                            - type: object
                              x-apidog-refs:
                                01JK8J7YYSQR9GB4N25874RTWS: &ref_86
                                  $ref: >-
                                    #/components/schemas/Eps.Api.MyApi2.Web.Models.Shipment.DormantShipmentFeatureModel
                                  x-apidog-overrides:
                                    dormantShipmentNumber: &ref_30
                                      type: string
                                      description: Číslo zpětné zásilky
                                      nullable: true
                                    dormantShipmentNumberActive: &ref_31
                                      type: boolean
                                      description: >-
                                        true/false informuje zda je zpětná
                                        zásilka aktivní
                                      nullable: true
                              x-apidog-orders:
                                - 01JK8J7YYSQR9GB4N25874RTWS
                              properties:
                                dormantShipmentNumber: *ref_30
                                dormantShipmentNumberActive: *ref_31
                              x-apidog-ignore-properties:
                                - dormantShipmentNumber
                                - dormantShipmentNumberActive
                            - *ref_12
                        deliveryFeature: &ref_72
                          oneOf:
                            - type: object
                              x-apidog-refs:
                                01JK8JASX08N91VD01B05WJRD5: &ref_84
                                  $ref: >-
                                    #/components/schemas/Eps.Api.MyApi2.Web.Models.Shipment.ShipmentDeliveryFeatureModel
                                  x-apidog-overrides:
                                    loadDate: &ref_32
                                      type: string
                                      description: Datum naložení zásilky pro doručení
                                      format: date-time
                                      nullable: true
                                    delivDate: &ref_33
                                      type: string
                                      description: Datum doručení
                                      format: date-time
                                      nullable: true
                                    delivPerson: &ref_34
                                      type: string
                                      description: Příjemce
                                      nullable: true
                                    deliveryToAccessPoint: &ref_38
                                      type: boolean
                                      description: >-
                                        True/false určení zda bude zásilka
                                        doručena na výdejní místo
                                    notDelivDate: &ref_35
                                      type: string
                                      description: Datum nedoručení
                                      format: date-time
                                      nullable: true
                                    outDepDate: &ref_36
                                      type: string
                                      description: Přijetí na doručovací depo
                                      format: date-time
                                      nullable: true
                                    hubDate: &ref_37
                                      type: string
                                      description: Příjem na centrálu
                                      format: date-time
                                      nullable: true
                              x-apidog-orders:
                                - 01JK8JASX08N91VD01B05WJRD5
                              properties:
                                loadDate: *ref_32
                                delivDate: *ref_33
                                delivPerson: *ref_34
                                notDelivDate: *ref_35
                                outDepDate: *ref_36
                                hubDate: *ref_37
                                deliveryToAccessPoint: *ref_38
                              x-apidog-ignore-properties:
                                - loadDate
                                - delivDate
                                - delivPerson
                                - notDelivDate
                                - outDepDate
                                - hubDate
                                - deliveryToAccessPoint
                            - *ref_12
                        paymentInfo: &ref_71
                          oneOf:
                            - type: object
                              x-apidog-refs:
                                01JK8JHXPT77SH97AY16F3X9EZ: &ref_83
                                  $ref: >-
                                    #/components/schemas/Eps.Api.MyApi2.Web.Models.Shipment.ShipmentPaymentFeatureModel
                                  x-apidog-overrides:
                                    paidByCard: &ref_39
                                      type: boolean
                                      description: true/false určení zda je platba kartou
                                    codPaidDate: &ref_40
                                      type: string
                                      format: date-time
                                      description: datum zaplacení dobírky
                                      nullable: true
                                    invoiceNumber: &ref_41
                                      type: string
                                      description: číslo faktury
                                      nullable: true
                                    bankAccount: &ref_42
                                      type: string
                                      description: bankovní účet
                                      nullable: true
                                    bankCode: &ref_43
                                      type: string
                                      description: bankovní kód
                                      nullable: true
                                    codCurrency: &ref_44
                                      type: string
                                      description: měna dobírky
                                      nullable: true
                                    codPrice: &ref_45
                                      type: number
                                      format: double
                                      description: cena
                                      nullable: true
                                    codVariableSymbol: &ref_46
                                      type: string
                                      description: variabilní symbol dobírky
                                      nullable: true
                                    specificSymbol: &ref_47
                                      type: string
                                      description: specifický symbol
                                      nullable: true
                              x-apidog-orders:
                                - 01JK8JHXPT77SH97AY16F3X9EZ
                              properties:
                                paidByCard: *ref_39
                                codPaidDate: *ref_40
                                invoiceNumber: *ref_41
                                bankAccount: *ref_42
                                bankCode: *ref_43
                                codBankStatementDate:
                                  type: string
                                  format: date-time
                                  nullable: true
                                codCurrency: *ref_44
                                codPaymentAccDate:
                                  type: string
                                  format: date-time
                                  nullable: true
                                codPrice: *ref_45
                                codVariableSymbol: *ref_46
                                specificSymbol: *ref_47
                              x-apidog-ignore-properties:
                                - paidByCard
                                - codPaidDate
                                - invoiceNumber
                                - bankAccount
                                - bankCode
                                - codBankStatementDate
                                - codCurrency
                                - codPaymentAccDate
                                - codPrice
                                - codVariableSymbol
                                - specificSymbol
                            - *ref_12
                          description: Informace o platbě
                        shipmentWeightInfo: &ref_70
                          oneOf:
                            - type: object
                              x-apidog-refs:
                                01JK8JP9NH0VNJZBH6NPC4D0YX: &ref_82
                                  $ref: >-
                                    #/components/schemas/Eps.Api.MyApi2.Web.Models.Shipment.ShipmentWeightFeatureModel
                                  x-apidog-overrides:
                                    weighedDate: &ref_49
                                      type: string
                                      description: datum vážení
                                      format: date-time
                                      nullable: true
                                    weight: &ref_48
                                      type: number
                                      description: hmotnost
                                      format: double
                                      nullable: true
                              x-apidog-orders:
                                - 01JK8JP9NH0VNJZBH6NPC4D0YX
                              properties:
                                weight: *ref_48
                                weighedDate: *ref_49
                              x-apidog-ignore-properties:
                                - weight
                                - weighedDate
                            - *ref_12
                          description: Informace o hmotnosti
                        backShipmentFeature: &ref_73
                          oneOf:
                            - type: object
                              x-apidog-refs:
                                01JKANQ5PQ1QZFBPVT3H91H0KQ: &ref_85
                                  $ref: >-
                                    #/components/schemas/Eps.Api.MyApi2.Web.Models.Shipment.BackShipmentFeatureModel
                                  x-apidog-overrides:
                                    backDate: &ref_50
                                      type: string
                                      description: Datum odeslání zpět
                                      format: date-time
                                      nullable: true
                              x-apidog-orders:
                                - 01JKANQ5PQ1QZFBPVT3H91H0KQ
                              properties:
                                backDate: *ref_50
                              x-apidog-ignore-properties:
                                - backDate
                            - *ref_12
                        routingFeature: &ref_76
                          oneOf:
                            - type: object
                              x-apidog-refs:
                                01JKANRMS0GGP4P78FR73258PB: &ref_88
                                  $ref: >-
                                    #/components/schemas/Eps.Api.MyApi2.Web.Models.Shipment.RoutingFeatureModel
                                  x-apidog-overrides:
                                    routingNumber: &ref_51
                                      type: string
                                      description: Číslo trasy
                                      nullable: true
                              x-apidog-orders:
                                - 01JKANRMS0GGP4P78FR73258PB
                              properties:
                                routingNumber: *ref_51
                              x-apidog-ignore-properties:
                                - routingNumber
                            - *ref_12
                        trackAndTrace: &ref_69
                          oneOf:
                            - type: object
                              x-apidog-refs:
                                01JKANV94HPB4JK9KJ4GM5MQSB: &ref_81
                                  $ref: >-
                                    #/components/schemas/Eps.Api.MyApi2.Web.Models.Shipment.TrackAndTraceModel
                                  x-apidog-overrides:
                                    externalShipmentId: &ref_52
                                      type: string
                                      description: >-
                                        Externí číslo zásilky -platí pro
                                        zahraniční zásilky
                                      nullable: true
                                    partnerUrl: &ref_53
                                      type: string
                                      description: Trackovací URL
                                      nullable: true
                                    lastEventCode: &ref_54
                                      type: string
                                      description: Kód poslední události
                                      nullable: true
                                    lastEventDate: &ref_55
                                      type: string
                                      description: Datum poslední události
                                      format: date-time
                                      nullable: true
                                    lastEventName: &ref_56
                                      type: string
                                      description: Jméno poslední události
                                      nullable: true
                                    events: &ref_57
                                      type: array
                                      items:
                                        type: object
                                        x-apidog-refs:
                                          01JKAP3ZHPDRWQ1REEJND86TPZ:
                                            x-apidog-overrides:
                                              code:
                                                type: string
                                                description: Kód události
                                                nullable: true
                                              phase:
                                                type: string
                                                description: Fáze události
                                                nullable: true
                                              group:
                                                type: string
                                                description: Skupina
                                                nullable: true
                                              eventDate:
                                                type: string
                                                description: Datum události
                                                format: date-time
                                              name:
                                                type: string
                                                description: Jméno statusu
                                                nullable: true
                                              gpsLatitude:
                                                type: number
                                                description: Zeměpisná šířka
                                                format: double
                                                nullable: true
                                              gpsLongitude:
                                                type: number
                                                description: Zemepisná délka
                                                format: double
                                                nullable: true
                                            type: object
                                            properties: {}
                                        x-apidog-orders:
                                          - 01JKAP3ZHPDRWQ1REEJND86TPZ
                                        properties: {}
                                        x-apidog-ignore-properties: []
                                      description: události při trackování zásilky
                                      nullable: true
                              x-apidog-orders:
                                - 01JKANV94HPB4JK9KJ4GM5MQSB
                              properties:
                                externalShipmentId: *ref_52
                                partnerUrl: *ref_53
                                lastEventCode: *ref_54
                                lastEventDate: *ref_55
                                lastEventName: *ref_56
                                events: *ref_57
                              x-apidog-ignore-properties:
                                - externalShipmentId
                                - partnerUrl
                                - lastEventCode
                                - lastEventDate
                                - lastEventName
                                - events
                            - *ref_12
                          description: Trackování zásilky
                  x-apidog-orders:
                    - 01JK83WMRHBST5HYVZ7Z26JWPR
                  properties:
                    shipmentNumber: *ref_58
                    productType: *ref_59
                    productTypeChanged:
                      type: boolean
                      description: Pokud je true znamená to, že byl productType změněn
                    note: *ref_60
                    depot: *ref_61
                    integratorId:
                      type: integer
                      description: IntegratorId
                      format: int32
                      nullable: true
                    lastUpdateDate: *ref_62
                    shipmentState: *ref_0
                    shipmentSet: *ref_63
                    sender: *ref_64
                    recipient: *ref_65
                    specificDelivery: *ref_66
                    externalNumbers: *ref_67
                    services: *ref_68
                    trackAndTrace: *ref_69
                    shipmentWeightInfo: *ref_70
                    paymentInfo: *ref_71
                    deliveryFeature: *ref_72
                    backShipmentFeature: *ref_73
                    dormantShipmentFeature: *ref_74
                    accessPointFeature: *ref_75
                    routingFeature: *ref_76
                  x-apidog-ignore-properties:
                    - shipmentNumber
                    - productType
                    - productTypeChanged
                    - note
                    - depot
                    - integratorId
                    - lastUpdateDate
                    - shipmentState
                    - shipmentSet
                    - sender
                    - recipient
                    - specificDelivery
                    - externalNumbers
                    - services
                    - trackAndTrace
                    - shipmentWeightInfo
                    - paymentInfo
                    - deliveryFeature
                    - backShipmentFeature
                    - dormantShipmentFeature
                    - accessPointFeature
                    - routingFeature
          headers:
            X-Correlation-ID:
              description: Correlation Id of request otherwise id of response
              schema:
                $ref: '#/components/schemas/XCorrelationIdSchema'
            X-Paging-Total-Items-Count:
              description: Total items in result
              schema:
                $ref: '#/components/schemas/XPagingSchema'
            X-Paging-Offset:
              description: Paging offset
              schema:
                $ref: '#/components/schemas/XPagingSchema'
            X-Paging-Limit:
              description: Page size
              schema:
                $ref: '#/components/schemas/XPagingSchema'
          x-apidog-name: OK
        '400':
          description: BadRequest
          content:
            application/problem+json:
              schema:
                type: object
                properties: {}
                x-apidog-orders: []
                x-apidog-ignore-properties: []
          headers: {}
          x-apidog-name: Bad Request
        '404':
          description: NotFound
          content:
            application/problem+json:
              schema:
                type: object
                properties: {}
                x-apidog-orders: []
                x-apidog-ignore-properties: []
          headers: {}
          x-apidog-name: Record Not Found
        '500':
          description: InternalServerError
          content:
            application/problem+json:
              schema:
                type: object
                properties: {}
                x-apidog-orders: []
                x-apidog-ignore-properties: []
          headers: {}
          x-apidog-name: Server Error
        '503':
          description: ServiceUnavailable
          content:
            application/problem+json:
              schema:
                type: object
                properties: {}
                x-apidog-orders: []
                x-apidog-ignore-properties: []
          headers: {}
          x-apidog-name: Service Unavailable
      security: []
      x-apidog-folder: API Metody/Shipment
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/796227/apis/api-13465913-run
components:
  schemas:
    Eps.Api.MyApi2.Web.Models.Shipment.ShipmentStates:
      enum:
        - None
        - Undelivered
        - Delivered
        - PickedUpFromSender
        - DeliveredToPickupPoint
        - OutForDelivery
        - NotDelivered
        - CodPaidDate
        - BackToSender
        - Rejected
        - DataShipment
        - Active
        - Canceled
        - Dormant
      type: string
      description: ShipmentStates
      x-apidog-folder: ''
    AcceptLanguageSchema:
      type: string
      description: Accept-Language header schema
      x-apidog-folder: ''
    XCorrelationIdSchema:
      type: string
      description: X-Correlation-ID header schema
      x-apidog-folder: ''
    XLogLevelSchema:
      enum:
        - Trace
        - Debug
        - Information
        - Warning
        - Error
        - Critical
      type: string
      description: X-LogLevel header schema
      x-apidog-folder: ''
    Eps.Api.MyApi2.Web.Models.Shipment.ShipmentModel:
      type: object
      properties:
        shipmentNumber:
          type: string
          description: ShipmentNumber
          nullable: true
        productType:
          type: string
          description: ProductType
          nullable: true
        productTypeChanged:
          type: boolean
          description: Pokud je true znamená to, že byl productType změněn
        note:
          type: string
          description: Note
          nullable: true
        depot:
          type: string
          description: Depot
          nullable: true
        integratorId:
          type: integer
          description: IntegratorId
          format: int32
          nullable: true
        lastUpdateDate:
          type: string
          description: Last update date
          format: date-time
          nullable: true
        shipmentState: *ref_0
        shipmentSet:
          oneOf:
            - *ref_77
            - *ref_12
        sender:
          oneOf:
            - *ref_13
            - *ref_12
        recipient:
          oneOf:
            - *ref_13
            - *ref_12
        specificDelivery:
          oneOf:
            - *ref_78
            - *ref_12
        externalNumbers:
          type: array
          items: *ref_79
          description: ExternalNumbers
          nullable: true
        services:
          type: array
          items: *ref_80
          description: Services
          nullable: true
        trackAndTrace:
          oneOf:
            - *ref_81
            - *ref_12
        shipmentWeightInfo:
          oneOf:
            - *ref_82
            - *ref_12
        paymentInfo:
          oneOf:
            - *ref_83
            - *ref_12
        deliveryFeature:
          oneOf:
            - *ref_84
            - *ref_12
        backShipmentFeature:
          oneOf:
            - *ref_85
            - *ref_12
        dormantShipmentFeature:
          oneOf:
            - *ref_86
            - *ref_12
        accessPointFeature:
          oneOf:
            - *ref_87
            - *ref_12
        routingFeature:
          oneOf:
            - *ref_88
            - *ref_12
      additionalProperties: false
      description: ShipmentModel
      x-apidog-orders:
        - shipmentNumber
        - productType
        - productTypeChanged
        - note
        - depot
        - integratorId
        - lastUpdateDate
        - shipmentState
        - shipmentSet
        - sender
        - recipient
        - specificDelivery
        - externalNumbers
        - services
        - trackAndTrace
        - shipmentWeightInfo
        - paymentInfo
        - deliveryFeature
        - backShipmentFeature
        - dormantShipmentFeature
        - accessPointFeature
        - routingFeature
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    Eps.Api.MyApi2.Web.Models.Shipment.TrackAndTraceModel:
      type: object
      properties:
        externalShipmentId:
          type: string
          description: External shipment Id
          nullable: true
        partnerUrl:
          type: string
          description: Partner track and trace URL
          nullable: true
        lastEventCode:
          type: string
          description: Last event code
          nullable: true
        lastEventDate:
          type: string
          description: Last event date
          format: date-time
          nullable: true
        lastEventName:
          type: string
          description: Last event name
          nullable: true
        events:
          type: array
          items:
            $ref: >-
              #/components/schemas/Eps.Api.MyApi2.Web.Models.Shipment.TrackAndTraceItemModel
          description: Track and trace events
          nullable: true
      additionalProperties: false
      description: Track and trace
      x-apidog-orders:
        - externalShipmentId
        - partnerUrl
        - lastEventCode
        - lastEventDate
        - lastEventName
        - events
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    Eps.Api.MyApi2.Web.Models.Shipment.TrackAndTraceItemModel:
      type: object
      properties:
        statusId:
          type: integer
          description: Status id
          format: int32
        code:
          type: string
          description: Event code
          nullable: true
        phase:
          type: string
          description: Event phase
          nullable: true
        group:
          type: string
          description: Event group
          nullable: true
        eventDate:
          type: string
          description: Event date
          format: date-time
        name:
          type: string
          description: Status name from codelist
          nullable: true
        gpsLatitude:
          type: number
          description: Latitude
          format: double
          nullable: true
        gpsLongitude:
          type: number
          description: Longitude
          format: double
          nullable: true
      additionalProperties: false
      description: TrackAndTraceItemModel
      x-apidog-orders:
        - statusId
        - code
        - phase
        - group
        - eventDate
        - name
        - gpsLatitude
        - gpsLongitude
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    Eps.Api.MyApi2.Web.Models.Shipment.RoutingFeatureModel:
      type: object
      properties:
        routingNumber:
          type: string
          description: Routing number
          nullable: true
      additionalProperties: false
      description: RoutingFeatureModel
      x-apidog-orders:
        - routingNumber
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    Eps.Api.MyApi2.Web.Models.Shipment.BackShipmentFeatureModel:
      type: object
      properties:
        backDate:
          type: string
          description: Back date
          format: date-time
          nullable: true
      additionalProperties: false
      description: BackShipmentFeatureModel
      x-apidog-orders:
        - backDate
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    Eps.Api.MyApi2.Web.Models.Shipment.ShipmentWeightFeatureModel:
      type: object
      properties:
        weight:
          type: number
          description: Gets or sets the weight.
          format: double
          nullable: true
        weighedDate:
          type: string
          description: Weighed date
          format: date-time
          nullable: true
      additionalProperties: false
      description: ShipmentWeightFeatureModel
      x-apidog-orders:
        - weight
        - weighedDate
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    Eps.Api.MyApi2.Web.Models.Shipment.ShipmentPaymentFeatureModel:
      type: object
      properties:
        paidByCard:
          type: boolean
        codPaidDate:
          type: string
          format: date-time
          nullable: true
        invoiceNumber:
          type: string
          nullable: true
        bankAccount:
          type: string
          nullable: true
        bankCode:
          type: string
          nullable: true
        codBankStatementDate:
          type: string
          format: date-time
          nullable: true
        codCurrency:
          type: string
          nullable: true
        codPaymentAccDate:
          type: string
          format: date-time
          nullable: true
        codPrice:
          type: number
          format: double
          nullable: true
        codVariableSymbol:
          type: string
          nullable: true
        specificSymbol:
          type: string
          nullable: true
      additionalProperties: false
      description: ShipmentPaymentFeatureModel
      x-apidog-orders:
        - paidByCard
        - codPaidDate
        - invoiceNumber
        - bankAccount
        - bankCode
        - codBankStatementDate
        - codCurrency
        - codPaymentAccDate
        - codPrice
        - codVariableSymbol
        - specificSymbol
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    Eps.Api.MyApi2.Web.Models.Shipment.ShipmentDeliveryFeatureModel:
      type: object
      properties:
        loadDate:
          type: string
          description: Date of loading shipment for delivery.
          format: date-time
          nullable: true
        delivDate:
          type: string
          description: Delivery date
          format: date-time
          nullable: true
        delivPerson:
          type: string
          description: Delivery person
          nullable: true
        notDelivDate:
          type: string
          description: Not delivery date
          format: date-time
          nullable: true
        outDepDate:
          type: string
          description: Out dep date
          format: date-time
          nullable: true
        hubDate:
          type: string
          description: Hub date
          format: date-time
          nullable: true
        deliveryToAccessPoint:
          type: boolean
          description: DeliveryToAccessPoint
      additionalProperties: false
      description: ShipmentDeliveryFeatureModel
      x-apidog-orders:
        - loadDate
        - delivDate
        - delivPerson
        - notDelivDate
        - outDepDate
        - hubDate
        - deliveryToAccessPoint
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    Eps.Api.MyApi2.Web.Models.Shipment.DormantShipmentFeatureModel:
      type: object
      properties:
        dormantShipmentNumber:
          type: string
          description: DormantShipmentNumber
          nullable: true
        dormantShipmentNumberActive:
          type: boolean
          description: DormantShipmentNumberActive
          nullable: true
      additionalProperties: false
      description: DormantShipmentFeatureModel
      x-apidog-orders:
        - dormantShipmentNumber
        - dormantShipmentNumberActive
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    Eps.Api.MyApi2.Web.Models.Shipment.AccessPointFeatureModel:
      type: object
      properties:
        accessPointDaysInStorage:
          type: integer
          description: Number of days at the access point
          format: int32
          nullable: true
        accessPointDaysInStorageRemain:
          type: integer
          description: Number of remaining days at the access point
          format: int32
          nullable: true
        accessPointHoursInStorageRemain:
          type: integer
          description: Number of remaining hours at the access point
          format: int32
          nullable: true
      additionalProperties: false
      description: Access point feature model
      x-apidog-orders:
        - accessPointDaysInStorage
        - accessPointDaysInStorageRemain
        - accessPointHoursInStorageRemain
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    Eps.Api.MyApi2.Web.Models.Shipment.ExternalNumberModel:
      type: object
      properties:
        externalNumber:
          type: string
          description: ExternalNumber
          nullable: true
        code:
          type: string
          description: Code
          nullable: true
      additionalProperties: false
      description: ExternalNumberModel
      x-apidog-orders:
        - externalNumber
        - code
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    Eps.Api.MyApi2.Web.Models.Shipment.ServiceModel:
      type: object
      properties:
        additionalParameters:
          type: array
          items:
            $ref: >-
              #/components/schemas/Eps.Api.MyApi2.Web.Models.Shipment.AdditionalParameterModel
          description: AdditionalParameters
          nullable: true
        code:
          type: string
          description: Code
          nullable: true
        price:
          type: number
          description: Price
          format: double
          nullable: true
        priceCurrency:
          type: string
          description: PriceCurrency
          nullable: true
      additionalProperties: false
      description: ServiceModel
      x-apidog-orders:
        - additionalParameters
        - code
        - price
        - priceCurrency
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    Eps.Api.MyApi2.Web.Models.Shipment.AdditionalParameterModel:
      type: object
      properties:
        type:
          type: string
          description: Type
          nullable: true
        reference:
          type: string
          description: Reference
          nullable: true
      additionalProperties: false
      description: AdditionalParameterModel
      x-apidog-orders:
        - type
        - reference
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    Eps.Api.MyApi2.Web.Models.Shipment.SpecificDeliveryFeatureModel:
      type: object
      properties:
        specificDeliveryDate:
          type: string
          description: SpecificDeliveryDate
          format: date-time
          nullable: true
        specificDeliveryTimeFrom:
          type: string
          description: SpecificDeliveryTimeFrom
          format: date-span
          nullable: true
        specificDeliveryTimeTo:
          type: string
          description: SpecificDeliveryTimeTo
          format: date-span
          nullable: true
        specificTakeDate:
          type: string
          description: SpecificTakeDate
          format: date-time
          nullable: true
        specificTakeTimeFrom:
          type: string
          description: SpecificTakeTimeFrom
          format: date-span
          nullable: true
        specificTakeTimeTo:
          type: string
          description: SpecificTakeTimeTo
          format: date-span
          nullable: true
        accessPointCode:
          type: string
          description: ParcelShopCode
          nullable: true
      additionalProperties: false
      description: SpecificDeliveryFeatureModel
      x-apidog-orders:
        - specificDeliveryDate
        - specificDeliveryTimeFrom
        - specificDeliveryTimeTo
        - specificTakeDate
        - specificTakeTimeFrom
        - specificTakeTimeTo
        - accessPointCode
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    Eps.Api.MyApi2.Web.Models.Shipment.ShipmentAddressModel:
      type: object
      properties:
        name:
          type: string
          description: Name
          nullable: true
        name2:
          type: string
          description: Name2
          nullable: true
        street:
          type: string
          description: Street
          nullable: true
        city:
          type: string
          description: City
          nullable: true
        zipCode:
          type: string
          description: ZipCode
          nullable: true
        country:
          type: string
          description: Country
          nullable: true
        contact:
          type: string
          description: Contact
          nullable: true
        phone:
          type: string
          description: Phone
          nullable: true
        email:
          type: string
          description: Email
          nullable: true
      additionalProperties: false
      description: AddressBaseModel
      x-apidog-orders:
        - name
        - name2
        - street
        - city
        - zipCode
        - country
        - contact
        - phone
        - email
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    EmptyNullableObject:
      description: Injected nullable object
      type: 'null'
      x-apidog-folder: ''
    Eps.Api.MyApi2.Web.Models.Shipment.ShipmentSetFeatureModel:
      type: object
      properties:
        masterShipmentNumber:
          type: string
          description: MasterShipmentNumber
          nullable: true
        shipmentsInSet:
          type: integer
          description: ShipmentsInSet
          format: int32
        shipmentInSetNumber:
          type: integer
          description: ShipmentInSetNumber
          format: int32
      additionalProperties: false
      description: ShipmentSetFeatureModel
      x-apidog-orders:
        - masterShipmentNumber
        - shipmentsInSet
        - shipmentInSetNumber
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
  securitySchemes:
    oauth2:
      type: apikey
      description: Get access token from authentication server.
      name: Authorization
      in: header
    Bearer:
      type: jwt
      description: >-
        JWT Authorization header using the Bearer scheme. Example:
        "Authorization: Bearer {token}"
      scheme: bearer
      bearerFormat: JWT
servers: []
security: []

```
