Field name in source docsVendor documentation lists this field as ai_t under Cancel Alert, but that conflicts with ai_t meaning "alert type" everywhere else. This is almost certainly a documentation typo for al_id — verify against a live call before shipping.
Success/failure indication (a status string on success, not a plain Ok flag).
al_id
The cancelled Alert ID, echoed back on success.
emsg
Present only on failure.
Best Practices
Verify the al_id/ai_t field-name discrepancy above against a live sandbox call before shipping — send whichever field name actually works and note it in your own code comments, since the vendor docs disagree with themselves on this endpoint.
Confirm an alert is still pending (via a list/pending endpoint) before cancelling if it's been a while since you set it — cancelling an alert that already fired will fail.
API Endpoint
POSThttps://api.shoonya.com/NorenWClientAPI/CancelAlertapplication/x-www-form-urlencodedjData=<JSON payload>&jKey=<AccessToken>Parameters
ai_tunder Cancel Alert, but that conflicts withai_tmeaning "alert type" everywhere else. This is almost certainly a documentation typo foral_id— verify against a live call before shipping.Request Examples
Response
Okflag).Best Practices
al_id/ai_tfield-name discrepancy above against a live sandbox call before shipping — send whichever field name actually works and note it in your own code comments, since the vendor docs disagree with themselves on this endpoint.