Watch Lists
Rename WatchList Names
POST
/NorenWClientAPI/RenameMWAuthorization 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
Name of the existing Watchlist
New name for the Watchlist .
Authorization Token
Required for all API calls. Use the access_token from the GenAcsTok response as a Bearer token.
Request to be POSTed to url : /NorenWClientAPI/RenameMW
Request Details
| Parameter Name | Possible value | Description |
|---|---|---|
| jData* | Should send json object with fields in below list | |
| Authorization* | Bearer <access_token> | access_token from GenAcsTok response. Required for all API calls. |
| Json Fields | Possible value | Description |
|---|---|---|
| uid* | Logged in User Id | |
| wlname* | Name of the existing Watchlist | |
| newwlname* | New name for the Watchlist . |
Response Details
Response data will be in json format with below fields:
| Json Fields | Possible value | Description |
|---|---|---|
| stat | Ok or Not_Ok | Watch list update success or failure indication. |
| request_time | It will state the response's date and time of arrival. | |
| emsg | This will be present only in case of errors. That is : Invalid Input, Session Expired |
Sample Success Response
{
"request_time": "17:30:49 24-06-2024",
"stat": "Ok"
}Sample Failure Response
{
"request_time": "17:30:17 24-06-2024",
"emsg": "Invalid Input : Watchlist name mentioned in newwlname already exists",
"stat": "Not_Ok"
}curl --request POST \
--url 'https://api.infinn.in/NorenWClientAPI/RenameMW' \
--header 'Content-Type: text/plain' \
--data 'jData={}'Response will appear here after sending a request