Infinn API Documentation
Watch Lists

Rename WatchList Names

POST/NorenWClientAPI/RenameMW

Authorization token is required. Enter your access_token from GenAcsTok above.

"Use proxy" sends this request through this website's server, which never logs request or response bodies. Infinn sees the docs server's IP, not yours. Turn it off to send directly from your browser instead.

jData fields

Values are sent as a JSON string in the jData form field.

Logged in User Id

  • Example: YOUR_USER_ID
  • Where to get it: The ID you log in with at trade.infinn.in (User ID = Client ID). Also returned as uid by GenAcsTok.

Name of the existing Watchlist

  • Example: MyWatchlist
  • Where to get it: Watchlist name from the GetWatchListNames reply.

New name for the Watchlist .

Authorization Token

Required for all API calls. Use the access_token from the GenAcsTok response as a Bearer token.

⚠ When "Use proxy" is on, this token is sent through this website's server on its way to Infinn. It is never logged here, but if you would rather it never leave your browser, turn off "Use proxy" above or use the ready code with your own client instead.

Request to be POSTed to url : /NorenWClientAPI/RenameMW

Request Details
Parameter NamePossible valueDescription
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 FieldsPossible valueDescription
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 FieldsPossible valueDescription
statOk or Not_OkWatch list update success or failure indication.
request_timeIt will state the response's date and time of arrival.
emsgThis 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 'Authorization: Bearer PASTE_ACCESS_TOKEN_HERE' \
  --header 'Content-Type: text/plain' \
  --data 'jData={"uid":"YOUR_USER_ID","wlname":"MyWatchlist","newwlname":""}'
Response will appear here after sending a request