Pledge Approved Quantity Update
π€β‘οΈπ Pledge Approved Quantity Update Request (Client β WCF REST Service)β
This method β GetPledgeApprovedQty β is used by the Client to request the approved Pledge Quantity.
The Service validates the request based on supplied parameters and returns the response in string format.
On validation failure, an error response is returned.
π Tags and Fieldsβ
| Tag | Field Name | Reqβd | Data Type (Max) | Comment |
|---|---|---|---|---|
| 63 | Message Version | Y | String (10) | Fixed Value β FT1.0 |
| 64 | Message Type | Y | Integer | Fixed Value β 340 |
| 67 | Reserved PG Dealer Id | O | String (15) | Reserved PG Dealer Id |
| 4 | Session Id | Y | String (100) | Must match session id received on logon response |
| 201 | User Id | Y | String (10) | Web Retail User Id |
| 202 | Group Id | Y | String (10) | Group Id of the user |
| 331 | ScripDetails | Y | JSON Array | Must contain objects with fields:ISIN, Qty, Statuse.g.: [{"ISIN":"INE205A01025","Qty":9,"Status":"success"}]Supports multiβISIN via commaβseparated objects |
| 999 | Check Sum Value | Y | Integer | Checksum generated using the entire request string. Must be last tag |
Format for ScripDetailsβ
[
{"ISIN":"INE467B01029","Qty":"","Status":"success"},
{"ISIN":"INE009A01021","Qty":"10","Status":""}
]
Examplesβ
β String to be passed for generating checksumβ
63=FT1.0|64=340|67=RESERVEDPG|4=dKTQbyCgCrPFXQgDVapcPF38H4DA7HqqjUZhTDs|201=NITWR22|202=HO|331=[{"ISIN":"INE467B01029","Qty":"","Status":"success"},{"ISIN":"INE009A01021","Qty":"10","Status":""}]
β String to be passed for Pledge approved quantity along with checksumβ
63=FT1.0|64=340|67=RESERVEDPG|4=dKTQbyCgCrPFXQgDVapcPF38H4DA7HqqjUZhTDs|201=NITWR22|202=HO|331=[{"ISIN":"INE467B01029","Qty":"","Status":"success"},{"ISIN":"INE009A01021","Qty":"10","Status":""}]|999=300
π‘π¨ Pledge Approved Quantity Update Response (WCF REST Service β Client)β
π Tags and Fieldsβ
| Tag | Field Name | Reqβd | Comment |
|---|---|---|---|
| 63 | Message Version | Y | Fixed Value β FT1.0 |
| 64 | Message Type | Y | Fixed Value β 341 |
| 18 | Response Code | Y | Response Code:0 β Failure1 β Success |
| 19 | Response Message | O | Response Message |
Examplesβ
β Success Caseβ
63=FT1.0|64=341|18=1|19=Quantity Updated successfully
β Failure Caseβ
63=FT1.0|64=341|18=0|19=Error occurred, kindly contact administrator