Skip to main content

POSITION CONVERSION

This API allows you to convert an existing position from one product type to another (e.g., MIS → CNC, NRML → MIS).

🔍 Query Parameters

ParameterTypeRequiredDescriptionExample
userIdstringYesUser ID (UCC)"{{user_id}}"

🔑 Header Parameters

HeaderTypeDescriptionExample
Content-TypestringRequest payload formatapplication/json
AuthorizationstringAccess token for authenticated requests{{access_token}}
x-api-keystringAPI key used to authorize request{{x-api-key}}

📑 Request Body Parameters

FieldTypeRequiredDescriptionExample / Enum
exchangestringYesExchange segment"NSE_EQ", "NSE_FO"
scrip_tokenintegerYesScrip token12345
transaction_typestringYesTransaction type"BUY", "SELL"
quantityintegerYesQuantity to convert10
old_product_typestringYesExisting product type"MIS", "NRML"
new_product_typestringYesTarget product type"CNC", "NRML"
bo_order_idstringNoBracket order ID (if applicable)"BO12345"

🟢 Success Response - 200 OK

Content-Type: application/json

FieldTypeDescriptionExample
statusstringStatus of API call"success"
codestringResponse code"s-101"
messagestringSuccess message"Position conversion request placed successfully"
dataobjectOrder responseRefer Data Object Fields

📦 Data Object Fields

FieldTypeDescriptionExample
orderIdstringSystem-generated order identifier"NWSDJ00017"