Docs home

Get Learner Event Details

Returns one event with its price, schedule and host, as a learner would see it before registering.

GET/public/event/details/{event_id}
Get Learner Event Details
curl --request GET \
  --url 'https://<your-api-host>/nuSource/api/v1/public/event/details/{event_id}' \
  --header 'APIKEY: <your-api-key>' \
  --header 'ORGID: <your-org-id>'
{
  "code": 200,
  "message": "Success",
  "organization_events": [
    {
      "event_id": 1,
      "title": "Stock Market Workshop 3",
      "description": "<p>Stock Market Workshop Description</p>",
      "is_published": 1,
      "event_manager": 1,
      "organization_id": 2,
      "file_name": "image.png",
      "file_path": "Institution(1)/Events/",
      "file_id": 125053,
      "amount": 0,
      "striked_amount": 0,
      "subscription_plan_ids": [
        "1",
        "2",
        "3"
      ],
      "pricing_currency_details": [
        {
          "currency_id": "1",
          "amount": "999.00000",
          "striked_amount": "2999.00000"
        },
        {
          "currency_id": "49",
          "amount": "999.00000",
          "striked_amount": "2999.00000"
        }
      ],
      "event_image_url": "https://d15g8b7hr8be7w.cloudfront.net/Institution(1)/Events/125053-image.png?Expires=1744013373&Signature=UyhK~-sFGWlNcJ9N-RNrT46BVtJvtuUqtbJexBeGkwXM9SnQm9QW83L-W8AP1HVdskf4qI77qQ-3TjvYO6DZlMYsVjQtkeAf9TboC8fTgdQMKyEVl3TAm-lUvtgNkw5OzHrcMOp9wwWixU66E5KDaWHBrUYFWidsi161wJv8XpUJ031Wr1sUPj1HqiQBiOxXKBBjqSOIkBknyswoTt6LD2hFNZYRJK1-XRua-ke49seA7T6U6xq88WpyrzsVLNkTAIArQHu~sFwrLdjUH0WVvFNxX8KaHKcJsRxvuwQe0MxC4I~B3sC~vWK0fNXh6YAtCogdCxaoim~AhiFmCPDqxw__&Key-Pair-Id=APKAIIFZDCEANAVU2VTA",
      "event_status": 1,
      "event_sessions": [
        {
          "attendance_id": 52958,
          "session_start_time": 1772339400,
          "session_end_time": 1772343000,
          "status": 1,
          "event_id": 1
        },
        {
          "attendance_id": 52959,
          "session_start_time": 1772425800,
          "session_end_time": 1772429400,
          "status": 0,
          "event_id": 1
        }
      ],
      "currency_id": 49,
      "currency_symbol": "₹"
    },
    {
      "event_id": 2,
      "title": "JAVA Market Wo2rkshop3",
      "description": "<p>Stock Market sadad Description asdsdasdadsa</p>",
      "is_published": 1,
      "event_manager": 1,
      "organization_id": 2,
      "file_name": "ss1.png",
      "file_path": "Institution(1)/Events/",
      "file_id": 125054,
      "amount": 0,
      "striked_amount": 0,
      "subscription_plan_ids": [
        "1",
        "2",
        "3"
      ],
      "pricing_currency_details": [
        {
          "currency_id": "1",
          "amount": "109.00000",
          "striked_amount": "2099.00000"
        },
        {
          "currency_id": "49",
          "amount": "1099.00000",
          "striked_amount": "20999.00000"
        }
      ],
      "event_image_url": "https://d15g8b7hr8be7w.cloudfront.net/Institution(1)/Events/125054-ss1.png?Expires=1744013373&Signature=KyAqoJtOp1raZj1vieo7c~MQI5c3jdM85~zbfJryeiR4Zs1NiqbgXFjHQeIcemAN1q2ucEjKAUkqypENZaNIz6-Rt5nOy3qYlSgSSmL-ptpBfuTVd-B4d4QErzqwDeyB3qreI6i00iQDGqw4~1x4Ra4tl3dT4F4UF~i2oYNHc532MWnW0iT0gNTTT1XhXAR2VyWzUmkA2tq7ZCoLVnXnU93V4JaaDhPDN3fi7XqD6kyYST5h5yRlNQyb9bFdnIhDD2yGGI1q4YsZq2dg-zXWoxIuKY1JldEz9hZ5V5Co7rYxavG9umu8msje93j44RMqgaFX62HG6D8Y3DG2jzwxng__&Key-Pair-Id=APKAIIFZDCEANAVU2VTA",
      "event_status": 3,
      "event_sessions": [
        {
          "attendance_id": 52960,
          "session_start_time": 1743760800,
          "session_end_time": 1743764400,
          "status": 0,
          "event_id": 2
        },
        {
          "attendance_id": 52961,
          "session_start_time": 1743860800,
          "session_end_time": 1743864400,
          "status": 0,
          "event_id": 2
        }
      ],
      "currency_id": 49,
      "currency_symbol": "₹"
    },
    {
      "event_id": 6,
      "title": "Stock Market Workshop 3",
      "description": "<p>Stock Market Workshop Description</p>",
      "is_published": 1,
      "event_manager": 0,
      "organization_id": 2,
      "file_name": "ss1.png",
      "file_path": "Institution(1)/Events/",
      "file_id": 125058,
      "amount": "101.00",
      "striked_amount": "1010.00",
      "subscription_plan_ids": [
        ""
      ],
      "pricing_currency_details": [
        {
          "currency_id": "1",
          "amount": "999.00000",
          "striked_amount": "2999.00000"
        },
        {
          "currency_id": "49",
          "amount": "101.00000",
          "striked_amount": "1010.00000"
        }
      ],
      "event_image_url": "https://d15g8b7hr8be7w.cloudfront.net/Institution(1)/Events/125058-ss1.png?Expires=1744013373&Signature=CsFwpadJo4WbmCXHX2Hg12IKHqa19XxDi1TioQyNSnMkL2JnU0CYZcwBwcOiu-RoYRXMXMWXJpZ-cs9MF9RhS6djEBhxAc~TLeUDOkUNMwjgUu5Uv0C8xLP5yOZp83~hqtY7oJgVJ9fwJsXL8-ZCHigP5Njh3Xm~3yvn78EQqGNdZroH0jX4PMg-R46wMk7yupc9wd1k-WXiDsZ4U3ibaUqv9dnT1mDwOKpuPAeUPy9wtAq1nRejBUSIPrLfG6AaxtPa3~8cPiK5UetTqwpijfwjYkm4gFDFf9KbTVJTcTIR2ZgXuctetiNxMaldUr7RBJxxop45rfXr88rTrFXgqA__&Key-Pair-Id=APKAIIFZDCEANAVU2VTA",
      "event_status": 0,
      "event_sessions": [
        {
          "attendance_id": 52968,
          "session_start_time": 1772339400,
          "session_end_time": 1772343000,
          "status": 0,
          "event_id": 6
        },
        {
          "attendance_id": 52969,
          "session_start_time": 1772425800,
          "session_end_time": 1772429400,
          "status": 0,
          "event_id": 6
        }
      ],
      "currency_id": 49,
      "currency_symbol": "₹"
    }
  ]
}

Access: Public, no API key. If you send a learner's APIKEY, the response also says whether that learner is already registered, and the price reflects their subscriptions.

Path parameters
event_idintegerrequired
The event ID, as the last URL segment.
Response200application/json
codeinteger
Example: 200
messagestring
Example: Success
Show child attributesHide child attributes
Example: Stock Market Workshop 3
HTML
Example: <p>Stock Market Workshop Description</p>
Example: image.png
Example: Institution(1)/Events/
Example: 125053
Display price
Example: 0
Signed, expiring link

Notes: Only events of the institute that owns the host name you call are returned; any other ID gives "Invalid event id provided.". Unpublished events are returned too, so check is_published. Price is 0 when the learner's subscription includes the event.

Updated yesterday

Ask AI