INSERT EDIS RESPONSE API
This API is used to store the EDIS authorization response received from the depository system against a user's sell transaction.
🔍 Query Parameters
| Parameter | Type | Required | Description | Example |
|---|
| userId | string | Yes | User ID (UCC) | "{{user_id}}" |
| Header | Type | Description | Example |
|---|
| Content-Type | string | Request payload format | application/json |
| Authorization | string | Access token for authenticated requests | {{access_token}} |
| x-api-key | string | API key used to authorize request | {{x-api-key}} |
📑 Request Body Parameters
| Field | Type | Required | Description | Example |
|---|
| sDepository | string | Yes | Depository type | "NSDL" |
| eDISReqId | string | Yes | EDIS request ID | "EDIS12345" |
| nClientOrderNo | string | Yes | Client order number | "100001" |
| sUserCode | string | Yes | User code | "CLIENT01" |
| sRequestType | string | Yes | Request type | "SELL" |
| sISINCode | string | Yes | ISIN code | "INE123A01016" |
| sDPId | string | Yes | Depository Participant ID | "IN300XXX" |
| sMktsegId | string | Yes | Market segment ID | "NSE_EQ" |
| sToken | string | Yes | Scrip token | "12345" |
| nTotalAvailableQty | string | Yes | Total available quantity | "100" |
| nApprovedFreeQty | string | Yes | Approved free quantity | "80" |
| nOrderQty | string | Yes | Order quantity | "50" |
| sProductCode | string | Yes | Product code | "D" |
| sProductType | string | Yes | Product type | "DELIVERY" |
🟢 Success Response - 200 OK
Content-Type: application/json
| Field | Type | Description | Example |
|---|
| status | string | Status of API call | "success" |
| code | string | Response code | "s-101" |
| message | string | Success message | "EDIS response inserted successfully" |
| data | array | Response details | Refer Data Object Fields |
📦 Data Object Fields
| Field | Type | Description | Example |
|---|
| Success | integer | Operation status | 1 |
📝 Notes
- This API is used after successful EDIS authorization.
- Stores depository approval details against the user order.