EXCHANGE MESSAGES
This API retrieves exchange-level messages, alerts, and broadcast notifications for a specific market segment. Results can be filtered by the number of recent hours and are returned in a paginated format.
🔗 Path Parameters
| Parameter | Type | Required | Description | Example |
|---|
| tenantid | string | Yes | Unique id provided for the tenant by SIPL | "tenant001" |
| segmentId | string | Yes | Market Segment Identifier | "NSE_EQ" |
🔍 Query Parameters
| Parameter | Type | Required | Description | Example |
|---|
| userId | string | Yes | User ID (UCC) | "{{user_id}}" |
| noofhrs | integer | No | Fetch messages from the last specified number of hours | 1 |
| pageNo | integer | No | Page number for pagination | 1 |
| pageSize | integer | No | Number of records per page | 10 |
| Header | Type | Description | Example |
|---|
| Content-Type | string | Request payload format | application/json |
| Authorization | string | Access token for authenticated requests | {{access_token}} |
| x-api-key | string | API key used to authorize request | {{x-api-key}} |
🟢 Success Response - 200 OK
Content-Type: application/json
| Field | Type | Description |
|---|
| status | boolean | Status of API call |
| result | array | List of exchange messages |
📦 Exchange Message Fields
| Field | Type | Description | Example |
|---|
| SegmentId | integer | Market Segment ID | 1 |
| Time | string | Time of the exchange message | "10:30:15" |
| Messages | string | Exchange message text | "Market will remain closed on account of..." |