Skip to main content

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​

TagField NameReq’dData Type (Max)Comment
63Message VersionYString (10)Fixed Value – FT1.0
64Message TypeYIntegerFixed Value – 340
67Reserved PG Dealer IdOString (15)Reserved PG Dealer Id
4Session IdYString (100)Must match session id received on logon response
201User IdYString (10)Web Retail User Id
202Group IdYString (10)Group Id of the user
331ScripDetailsYJSON ArrayMust contain objects with fields:
ISIN, Qty, Status
e.g.: [{"ISIN":"INE205A01025","Qty":9,"Status":"success"}]
Supports multi‑ISIN via comma‑separated objects
999Check Sum ValueYIntegerChecksum 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​

TagField NameReq’dComment
63Message VersionYFixed Value – FT1.0
64Message TypeYFixed Value – 341
18Response CodeYResponse Code:
0 – Failure
1 – Success
19Response MessageOResponse 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