Skip to main content

Product Conversion

Request to be POSTed to uri : /NorenWClientTP/ProductConversion

Request Details :

Json FieldsPossible valueDescription
jData*Should send json object with fields in below list
jKey*Key Obtained on login success.
Json FieldsPossible valueDescription
exch*Exchange
tsym*Unique id of contract on which order was placed. Can’t be modified, must be the same as that of original order. (use url encoding to avoid special char error for symbols like M&M)
qty*Quantity to be converted.
uid*User id of the logged in user.
actid*Account id
prd*Product to which the user wants to convert position.
prevprd*Original product of the position.
trantype*Transaction type
postype*Day / CFConverting Day or Carry forward position
ordersourceMOBFor Logging

Response Details :

Response data will be in json format with below fields.

Json FieldsPossible valueDescription
statOk or Not_OkPosition conversion success or failure indication.
emsgThis will be present only if Position conversion fails.

Sample Success Response :

{
"request_time":"10:52:12 02-06-2020",
"stat":"Ok"
}

Sample Failure Response :

{
"stat":"Not_Ok",
"emsg":"Invalid Input : Invalid Position Type"
}