POST /mail-my-search

POST /mail-my-search

The MailMySearch endpoint provides the information of the customer mail, name, and the details of the flight to be sent by mail. 

HOW TO USE?

Use case flow can be followed by the consumer by requesting the POST method supplied as HATEOAS link in the response body of Upsell Offers.

HEADERS TO USE FOR REQUESTS

Parameter

Value

Authorization 

Bearer {{token}}

Content-Type 

application/json

Accept 

application/hal+json;charset=utf8

Accept-Language 

{{language}}-{{country}}

AFKL-TRAVEL-Host 

KL or AF

AFKL-TRAVEL-Country 

Country (overrides Accept-Language country)

GET

POST https://api.airfranceklm.com/opendata/offers/v1/mail-my-search/{id}

Query Parameters

N/A

RESPONSE PARAMETERS

Level Name Type Multiplicity  Description
1 name String 1 The surname of the customer.
2 surname
String 1

The surname of the customer.

3

email

String 1 The mail of the customer.

HTTP STATUS CODE

HTTP status

Type

200 OK

500

INTERNAL_SERVER_ERROR

SAMPLE RESPONSE

N/A


Docs Navigation