Watch Lists
Get WatchList Names
POST
/NorenWClientAPI/MWListAuthorization token is required. Enter your access_token from GenAcsTok above.
jData fields
Values are sent as a JSON string in the jData form field.
Logged-in User ID
Authorization Token
Required for all API calls. Use the access_token from the GenAcsTok response as a Bearer token.
Request to be POSTedd to the API endpoint:
/NorenWClientAPI/MWList
Request Details
Form Parameters
| Parameter Name | Possible Value | Description |
|---|---|---|
jData* | JSON string with fields listed below | |
| Authorization* | Bearer <access_token> | access_token from GenAcsTok response. Required for all API calls. |
JSON Fields inside jData
| JSON Field | Possible Value | Description |
|---|---|---|
uid* | Logged-in User ID |
Response Details
The API responds with a JSON object containing the following fields:
| JSON Field | Possible Value | Description |
|---|---|---|
stat | Ok / Not_Ok | Indicates whether the request succeeded |
values | Array of Watch List names | |
request_time | Returned only in success response | |
emsg | Error description if request fails |
Sample Success Response
{
"request_time": "12:34:52 21-05-2020",
"values": [
"default",
"WL"
],
"stat": "Ok"
}curl --request POST \
--url 'https://api.infinn.in/NorenWClientAPI/MWList' \
--header 'Content-Type: text/plain' \
--data 'jData={}'Response will appear here after sending a request