CPL API
Useful links
  • Developer
  • Sandbox
Useful links
  • Developer
  • Sandbox
Přepni do češtiny
  1. ShipmentBatch
  • Back to home
  • API Methods
  • AccessPoint
    • List of access points
  • AddressWhisper
    • Address Whisperer
  • Codelist
    • Codelist for the beneficiary's age verification service
    • Codelist product
    • Codelist externalNumbers
    • Codelist country + COD authorization
    • Codelist currency
    • Method for obtaining the services provided for shipments.
    • A method for obtaining minimum and maximum values ​​for services
    • Codelist shipment phase
    • Codelist status
    • Codelist of validation messages
    • Types of personal documents
  • Customer
    • Customer information - permitted currencies
    • Customer addresess
  • Info
    • /info
  • Order
    • Order tracking
  • OrderBatch
    • Create an order
    • Get order status
  • OrderEvent
    • Order cancel
  • Shipment
    • Shipment tracking
  • ShipmentBatch
    • Shipment creation
      POST
    • Used to modify the output format of the label.
      PUT
    • Getting import state
      GET
    • Pick up label
      GET
  • ShipmentEvent
    • Shipment cancel
    • Adding informations to shipment
  • VersionInformation
    • News
  1. ShipmentBatch

Pick up label

GET
/shipment/batch/{batchId}/label
ShipmentBatch

Purpose and usage#

This method returns the generated label.
To successfully call the method, it is necessary to use the batchId, which is obtained from the Location header in the response to the POST shipment/batch request.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/shipment/batch//label?PageSize&Position&limit&offset&OrderBy' \
--header 'Accept-Language;' \
--header 'X-Correlation-ID;' \
--header 'X-LogLevel;'
Response Response Example
200 - Example 1
"string"

Request

Path Params
batchId
string <uuid>
required
The batch id
Query Params
PageSize
enum<string> 
optional
PageSize
Allowed values:
DefaultA4
Position
integer <int32>
optional
Position
>= 1<= 4
limit
integer <int32>
required
The limit
>= 1<= 200
offset
integer <int32>
required
The offset
>= 0
OrderBy
optional
Sort items by defined fields. For multiple sorting use field names separated by comma. Use "-" to descendant order (eg.: OrderBy=field1,-field2).
Orderable fields: ShipmentNumber, ReferenceId, see also schema Eps.Api.MyApi2.Web.Controllers.ShipmentBatchController.GetShipmentBatchLabel.OrderBy.enum
Any of
Allowed values:
ShipmentNumberReferenceId
Header Params
Accept-Language
string 
optional
Language specification, default language: cs-CZ
X-Correlation-ID
string 
optional
Correlation Id of request
X-LogLevel
enum<string> 
optional
The forced log level
Allowed values:
TraceDebugInformationWarningErrorCritical

Responses

🟢200OK
application/json
Success
Headers
X-Correlation-ID
string 
optional
Correlation Id of request otherwise id of response
Body
string <binary>
optional
🟠400Bad Request
🟠404Record Not Found
🔴500Server Error
🔴503Service Unavailable
Previous
Getting import state
Next
Shipment cancel
Built with