Skip to content

List service charges

Request

List service charges for a given entity

Security
Bearer
Path
entityTypestring(ServiceChargeEntityType)required

Entity type for service charge

Enum:"TRIP""USER"
Example:TRIP
entityIdstringrequired

Entity ID for service charge e.g. trip ID for entityType = TRIP

Example:1234567890
typestring(ServiceChargeType)required

Service charge type.

Value:"TMC_CHARGE"
Example:TMC_CHARGE
Bodyapplication/jsonrequired
serviceTypestring(ServiceType)

Type of service charge (Optional).

Enum:"ITINERARY_BOOKING""AGENT_CONTACT"
curl -i -X POST \
  'https://api-ext-sboxmeta.partners.spotnana.com/v2/service-charge/{entityType}/1234567890/types/{type}/list' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "serviceType": "ITINERARY_BOOKING"
  }'

Responses

OK

Bodyapplication/json
serviceChargesArray of objects(ServiceChargeRecord)

List of service charges.

Response
{ "serviceCharges": [ { … } ] }