Activity Fetch Booking API

Overview

This API retrieves the complete booking details for a given activity booking.


Endpoint

GET /api/activity/booking/{booking_reference}

Description

Fetches booking details using the unique booking_reference.
Returns all commercial, operational, and traveler information for the booking.


Example Request

curl --location 'http://domain.com/api/activity/booking/3a7d9ffcecc74c93' \
**Method:** `GET`
**URL:** `/api/activity/booking`
**Api-Key:** Required (Api Key Header)
**Content-Type:** `application/json`
**Accept:** `application/json`

View Booking Response

Description

This response provides detailed information about a specific booking, including
its supplier references, commercial breakdown, commission structure, and pricing.


Example Response

{
  "data": {
    "agent_id": 1113,
    "booking_date": "2025-07-15T09:38:02",
    "startDate": "2025-07-28T00:00:00Z",
    "supports_amendment": false,
    "grn_recheck_price_changed": false,
    "endDate": "2025-07-28T00:00:00Z",
    "agent_reference": "agent_reference_008",
    "status": "Cancellation_Confirmed",
    "supports_cancellation": true,
    "channel": "API",
    "roe_uuid": "60c39b57-eb14-411f-b96c-0e10bf78ad04",
    "source_market": "IN",
    "currency": "INR",
    "cancel_by_date": "2025-07-24T23:59:59",
    "product_type": "activity",
    "booking_item": {
      "additional_info": {
        "actual_supplier_price": 43.91,
        "base_price": {
          "amount": 3838.6122,
          "currency": "INR"
        },
        "default_cxl_policy": false,
        "rate_markup": 5100,
        "supplier_activity_code": "5808GELLERT",
        "supplier_map": {
          "conversion_rate": 87.42,
          "converter": "Elixir.IBR",
          "currency": "USD",
          "currency_uuid": "60c39b57-eb14-411f-b96c-0e10bf78ad04",
          "price": 43.91,
          "supplier": "A_viator"
        }
      },
      "available": true,
      "booking_questions": [
        {
          "code": "SPECIAL_REQUIREMENTS",
          "max_length": 1000,
          "message": "Special requirements ",
          "required": "OPTIONAL",
          "type": "PER_BOOKING"
        }
      ],
      "cancellation_policy": {
        "amount_type": "percent",
        "cancel_by_date": "2025-07-24T23:59:59",
        "details": [
          {
            "currency": "INR",
            "from": "2025-07-25T00:00:00",
            "percent": 100
          }
        ],
        "under_cancellation": false
      },
      "currency": "INR",
      "description": "Massage is NOT included<br/>Cabin use included: Cabin - Serves as changing room as well as safe storage space for belongings",
      "non_refundable": false,
      "original_cancellation_policy": [
        { "dayRangeMin": 1, "percentageRefundable": 100 },
        { "dayRangeMax": 1, "dayRangeMin": 0, "percentageRefundable": 0 }
      ],
      "price": 5100,
      "rate_comments": [
        {
          "text": "Redemption You must use each QR code received for entering the venue",
          "type": "REDEMPTION_NONE_SPECIAL_INSTRUCTIONS"
        },
        { "text": "STANDARD", "type": "CANCELLATION_POLICY_TYPE" },
        { "text": "false", "type": "CANCEL_IF_BAD_WEATHER" },
        { "text": "false", "type": "CANCEL_IF_INSUFFICENT_TRAVELLERS" }
      ],
      "reference": "2abaa19fe58943b2",
      "title": "Entry with Cabin"
    },
    "holder": {
      "client_nationality": "FR",
      "email": "ankanna@grnconnect.com",
      "name": "Ankanna",
      "pan_number": "AAACA1368C",
      "phone_number": "+919494507287",
      "surname": "Malreddy",
      "title": "Mr."
    },
    "markup_breakdown": {
      "grn_markup": {
        "base_amount": 4145.7,
        "currency": "INR",
        "markup": 1.5,
        "markup_amount": 62.19,
        "markup_type": "percentage"
      },
      "supplier_markup": {
        "base_amount": 4145.7,
        "currency": "INR",
        "markup": 8.0,
        "markup_amount": 307.09,
        "markup_type": "percentage"
      }
    },
    "agents_pricing_commission": [
      {
        "agent_id": 1113,
        "agent_level": "L1",
        "base_price_for_commission": 5100,
        "billable_amount": 5100,
        "commission_amount": 408.0,
        "commission_percentage": 8.0,
        "commission_type": "gross",
        "currency": "INR"
      },
      {
        "agent_id": 1001,
        "agent_level": "L0",
        "base_price_for_commission": 4954.12,
        "billable_amount": 5100,
        "commission_amount": 495.41,
        "commission_percentage": 10.0,
        "commission_type": "net",
        "currency": "INR"
      }
    ],
    "activity": {
      "description": "Purchase your ticket ahead of time to one of Budapest’s most elegant baths...",
      "destination_code": "786",
      "name": "Budapest Roman style Gellert Thermal Spa Full Day Entrance Ticket",
      "travellers": [
        {
          "age": 30,
          "name": "Dinesh",
          "surname": "Rajagopal",
          "title": "Mr.",
          "type": "AD"
        }
      ]
    },
    "supplier_reference": "BR-597774277",
    "price": {
      "breakdown": {
        "GST": [
          { "name": "IGST", "currency": "INR", "amount": 145.52 },
          { "name": "Total", "currency": "INR", "amount": 145.52 }
        ],
        "net": [
          { "name": "SupplierPrice", "currency": "INR", "amount": 4145.7 },
          { "name": "ServiceFee", "currency": "INR", "amount": 808.42 },
          { "name": "Total", "currency": "INR", "amount": 5099.64 }
        ]
      },
      "total": 5100
    },
    "booking_status": "Cancellation_Confirmed",
    "booking_name": "test-booking-009",
    "no_of_adults": 1
  },
  "status": "success"
}