Skip to content

Get trip partner info

Request

This endpoint provides info related to partner for the trip.

Security
Bearer
Path
tripIdstringrequired

Identifier for trip.

Example:2398199412
bookerEmailIdstringrequired

Booker Email Id for whom budget info will be fetched.

Example:akanksha@spotnana.com
Query
revealReasonstring

Reason for revealing the budget card information.

Example:revealReason=Purchase a Flight
curl -i -X GET \
  'https://api-ext-sboxmeta.partners.spotnana.com/v2/trips/2398199412/booker-email/akanksha@spotnana.com/partner-info?revealReason=Purchase%20a%20Flight' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

OK

Bodyapplication/json
tripIdstringrequired

Spotnana trip Id

Example:"6926658168"
partnerInfoobject(TripPartnerInfo)required

Partner info such as budget info for a given trip Id.

Response
{ "tripId": "6926658168", "partnerInfo": { "partnerInfoType": "BUDGET", "partnerInfoDetails": { … } } }