Profile¶
Base_URL: https://protrade.jainam.in/
| Type | Apis | Details |
|---|---|---|
| GET | {{BASE_URL}}omt/api-order-rest/v1/profile// | To get a clientdetails |
Profile¶
While a successful token exchange returns the full user profile, it's possible to retrieve it any point of time with the /user/profile API. Do note that the profile API does not return any of the tokens.
Response Structure
{
"status": "Ok",
"message": "Success",
"result": {
"clientId": "DK2200295",
"clientName": "SUCHI JAINAM PARIKH",
"isTotpEnabled": "Y",
"isPoaProvided": "Y",
"accountStatus": "Activated",
"exchanges": [
"MCX",
"NSE",
"NFO",
"BSE",
"BFO"
],
"products": [
"LONGTERM",
"INTRADAY"
],
"orderComplexity": [
"REGULAR",
"AMO",
"BO",
"CO"
]
}
}
Parameters
| Field | Type | Description |
|---|---|---|
| clientId | String | Unique identifier assigned to the client. |
| clientName | String | Full name of the account holder. |
| isTotpEnabled | String | Indicates if TOTP (Time-based OTP) is enabled or not("Y" = Yes or "N" = No). |
| isPoaProvided | String | Indicates if Power of Attorney (POA) documents are submitted or not("Y" = Yes or "N" = No). |
| accountStatus | String | Current status of the trading account (e.g., Activated). |
| exchanges | String | Code representing the exchange where the trade is executed. |
| products | String | Types of products the client can trade in (e.g., LONGTERM, INTRADAY). |
| orderComplexity | String | Supported order types the client can place (e.g., REGULAR, AMO). |