EDIS (Revoke) Page Redirect – NSDL
This API generates a browser pop-up URL for revoking EDIS approval on specified securities through NSDL. After the user completes the revoke request, the browser sends a response message back to the parent window for further processing.
📘Request Body Schema
| Field | Type | Description | Example/ENUM |
|---|---|---|---|
| userCode | string | User code received from Login response | "AAABBYY12" |
| depository | string | Despository name | "NSDL" |
| userId | string | Unique Client Code (UCC) | "UCC12345" |
| groupId | string | Group Identifier | HO |
| managerIP | string | Manager system IP address | 10.01.01.150 |
| sessionID | string | Unique session identifier | 0x01345Yu789 |
| dpID | integer | Depository Participant ID | "1258600012" |
| clientID | integer | Client ID | 1020000987 |
| productCode | string | Product source/application | "ODINAERO" , "WAVE" |
| ScripDetails | string | JSON string listing secruities to revoke | [{"ISIN":"INE012A01025","Quantity":90,"ISINName":"ACC LIMITED"},{"ISIN":"INE836A01035","Quantity":90,"ISINName":"BIRLASOFT LIMITED"}] |
| channel | string | Request channel | MOB, WEB |
| reqId | string | Unique Request Identifier | GER123 |
| theme | string | UI theme | "L" (default/light) |
🔁User Flow Summary
- Prepare all required parameters as per the schema above.
- Construct a query string concatenating these parameters.
- Base64 encode the entire query string.
- Open a browser pop-up with the URL containing the encoded query string.
- User approves or rejects the EDIS revoke request on the NSDL page.
- Browser sends the response back to the parent window.
- Process the response to trigger any further application logic.
🟢Success Response - 200 Ok
| Field | Type | Description | Example/ENUM |
|---|---|---|---|
| Despository | string | Name of depository | CDSL |
| dpId | string | Depository Participant ID | "092200" |
| clientID | string | Client ID | "52886666000" |
| isin | string | ISIN of the main security | "IEN87976500" |
| OriginalQty | string | Quantity requested | 10 |
| BlkQty | string | Quantity blocked | 10 |
| Channel | string | Channel used | MOB |
| Status | string | Approval status | "success" |
| Remark | string | Any additional message or reason | "Approved" |
RefNum | string | Reference number from depository | 0 |
| TransRefNum | string | Transaction reference number | 131025258077 |
| StatusCode | string | Status code for error handling | ERR035, "" |
| ScripDetails | string | JSON list of status for each ISIN | "[{\"ISIN\":\"INE263A01024\",\"Qty\":2,\"Status\":\"Success\",\"StatusCode\":\"\",\"RefNo\":\"NS301604L66\",\"ISINName\":\"BHARAT+ELECTRONICS+LTD\",\"ErrorDesc\":null}]", |
| BrokerOrdrNo | string | Internal broker order number | "AABBVVN123545OP" |
| ReqID | string | Request ID | GER123 |
| UserId | string | Unique Client code (UCC) | "UCC12345" |
| GroupId | string | Group ID | HO |
The final JSON response is posted to your webhook URL, which should be configured in web.config