Skip to content
Download OpenAPI description
Languages
Servers
Sandbox URL

https://api-ext-sboxmeta.partners.spotnana.com/

Spotnana mock server

https://developer.spotnana.com/_mock/openapi/companyapi/

Companies

APIs to onboard and manage company.

Operations

Cost Centers

APIs to create and manage company cost centers.

Operations

Offices

APIs to create and manage company offices.

Operations

Departments

APIs to create and manage departments.

Operations

Service Charge Plan

APIs to manage service charge plans.

Operations
Operations

Request

List service charges for a given entity

Security
Bearer
Path
entityTypestring(ServiceChargeEntityType)required
Enum"TRIP""USER"
Example: TRIP
entityIdstringrequired

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

Example: 1234567890
typestring(ServiceChargeType)required
Value"TMC_CHARGE"
Example: TMC_CHARGE
Bodyapplication/jsonrequired
serviceTypestring(ServiceType)
Enum"ITINERARY_BOOKING""AGENT_CONTACT"
curl -i -X POST \
  https://api-ext-sboxmeta.partners.spotnana.com/v2/service-charge/TRIP/1234567890/types/TMC_CHARGE/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
application/json
{ "serviceCharges": [ {} ] }
Operations
Operations