- Previous: Cargo Tracking API
- Up: Cargo Tracking API
- Next: GET /awbs/{urn}
GET /urns
GET /urns/{email}
This endpoint is used to get all urns linked to your afklcargo.com account.
Customer List : By using your Cargo Account e-mail address, the API will retrieve the list of customers linked to your Cargo account. Same as the login on afklcargo.com, it will be possible to switch between Customer/URN to display information regarding this Customer/URN only.
List of data whoich can be displayed :
- List of the customers linked to the Cargo e-mail address used on aflkcargo.com
HEADER
Name
|
Value
|
Required
|
---|---|---|
Authorization | Bearer {{token}} | true |
RESOURCE
GET https://api.airfranceklm.com/cargo/tracking/urns/{email}
QUERY PARAMETERS
Name
|
Value
|
Required
|
---|---|---|
email of the afklcargo.com account | true |
RESPONSE PARAMETERS
Name
|
Type
|
Multiplicity
|
Description
|
---|---|---|---|
- Agents |
Arrays of Objects | 0..n | List of agents linked to the provided email |
| - customerId | String | 0..1 | agent Id, ie URN |
| - links | Array of HATEOAS links | 1 | Represent a HATEOAS link to get the list of awb linked to this URN |
| - name | String | 0..1 | agent name |
| | - href | String | 1 | |
| | - rel | String | 1 |
SAMPLE REQUEST
GET https:
//api.ute1.klm.com/cargo/tracking/urns/email@airfrance.fr
SAMPLE RESPONSE
{ "agents": [ { "name": "TEST AGENT", "customerId": "12345", "links": [ { "rel": "self", "href": "http://api.ute1.klm.com/cargo/tracking/awbs/12345" } ] }, { "name": "TEST IT CUSTOMER", "customerId": "54321", "links": [ { "rel": "self", "href": "http://api.ute1.klm.com/cargo/tracking/awbs/54321" } ] } ] }
ERROR RESPONSES
400 : Bad Request : invalid email format
"Email must be ^[_A-Za-z0-9-]+(\\.[_A-Za-z0-9-]+)*@[A-Za-z0-9-]+(\\.[A-Za-z0-9-]+)*(\\.[A-Za-z]{2,})$",
412 : Precondition failed : No accound found in the database
- Previous: Cargo Tracking API
- Up: Cargo Tracking API
- Next: GET /awbs/{urn}
Docs Navigation
- Air France-KLM Documentation
- Open Data
- Baggage allowance API Process flow - Pre-booking (inspiration) context
- Introduction
- Data scope
- Quick peak
- How to use
- Services overview
- Header
- GET All Allowances without Loyalty
- V1- All Allowances without Loyalty- Request
- V1- All Allowances without Loyalty- Response
- GET Base Allowances
- V1- Base Allowance - Request
- V1- Base Allowance - Response
- GET Loyalty Allowances
- V1- Loyalty Allowance - Request
- V1- Loyalty Allowance - Response
- GET Paid Options with Loyalty
- V1- GET Paid Options with Loyalty - Request
- V1- GET Paid Options with Loyalty - Response
- GET Paid Options without Loyalty
- V1- GET Paid Options without Loyalty - Request
- V1- GET Paid Options without Loyalty - Response
- GET All Allowances with Loyalty
- V1- All Allowances with Loyalty- Request
- V1- All Allowances with Loyalty- Response
- Get Started
- Offers API
- GET /reference-data v1
- GET /reference-data/deals v1
- GET /search-context v1
- POST /lowest-fare-offers v1
- GET /lowest-fare-offers v1
- POST /available-offers v1
- GET /available-offers v1
- GET /flightDetails
- POST /upsell-offers v1
- GET /upsell-offers v1
- GET /priceDetails v1
- GET /tax-breakdown
- GET /ticket-conditions
- GET /ticket-conditions with Reservation ID
- GET /ticket-conditions with Trip Parameters
- POST /shopping-carts
- GET /related-products
- POST /related-products/shopping-carts
- POST /mail-my-search
- POST /flights-availability v1
- POST /best-fare-offers v1
- POST/ bestOffers/feed
- Errors Code
- POST /available-offers/all v1
- POST /best-fare-offers/all-deals v1
- Inspire API / Amenities
- Flight Status API
- Network and Schedule API
- Baggage allowance API Process flow - Pre-booking (inspiration) context
- Metasearch API
- Cargo API
- All Other APIS