Exchange Messages
Fetch exchange-specific messages filtered by tenant, segment, and recent hours. Supports pagination and delivers message content with timestamps.
🛣️Path Parameters
| Parameter | Type | Description | Example/ENUM |
|---|
| tenantid | string | Unique Identifier of the tenant | "TENANT001" |
| segmentId | string | Exchange segment Identifier | "NSE_EQ" |
🔍Query Parameters
| Parameter | Type | Description | Example/ENUM |
|---|
| noofhrs | integer | Number of recent hours to filter messages | 1 |
| pageNo | integer | Page number for paginated results | 1 |
| pageSize | integer | Number of records per page | 10 |
| Header | Type | Description | Example/ENUM |
|---|
| Authorization | string | Bearer token to authenticate the request | Bearer{{access_token}} |
| Content-Type | string | Specifies media type of request body | application/json |
| x-api-key | string | API key provided for access | {{x-api-key}} |
🟢Success Response - 200 Ok
| Field | Type | Description | Example/ENUM |
|---|
| status | boolean | Status of API call | true |
| result | array of object | List of exchange messages | See structure below |
📨Message Object Structure
| Field | Type | Description | Example/ENUM |
|---|
| SegmentId | integer | Exchange segment Identifier (numeric) | "1" |
| Time | string | Timestamp of message | "13:47:31" |
| Messages | string | Message content from the exchange | "CORPORATE ANNOUNCEMENTS\u0000\u000" |