POST api/Live/Order/PlaceOrder
Request Information
URI Parameters
None.
Body Parameters
OrderVM| Name | Description | Type | Additional information |
|---|---|---|---|
| UserName | string |
None. |
|
| StockName | string |
None. |
|
| StockCode | string |
None. |
|
| CurrentMarketPrice | decimal number |
None. |
|
| CMPDifference | decimal number |
None. |
|
| OrderID | integer |
None. |
|
| UserID | integer |
None. |
|
| StockID | integer |
None. |
|
| OrderType | string |
None. |
|
| TradeType | string |
None. |
|
| TransactionType | string |
None. |
|
| NoofShares | integer |
None. |
|
| SharesExecuted | integer |
None. |
|
| AvailableShares | integer |
None. |
|
| SharesExecutedDate | date |
None. |
|
| Price | decimal number |
None. |
|
| MarketPrice | decimal number |
None. |
|
| EnteredAmount | decimal number |
None. |
|
| PriceLimit | decimal number |
None. |
|
| ValidityType | string |
None. |
|
| ValidityDate | date |
None. |
|
| ValidityDateTxt | string |
None. |
|
| OrderedDate | date |
None. |
|
| CompletedDate | date |
None. |
|
| Status | string |
None. |
|
| ISXCommission | decimal number |
None. |
|
| BrokerCommission | decimal number |
None. |
|
| TotalAmount | decimal number |
None. |
|
| EquityValue | decimal number |
None. |
|
| FireBaseClientID | string |
None. |
|
| TradingAccountNumber | string |
None. |
|
| IsSetPrice | boolean |
None. |
|
| IsMarketPrice | boolean |
None. |
|
| IsDownloadable | boolean |
None. |
|
| CreatedDate | date |
None. |
|
| CreatedBy | integer |
None. |
|
| UpdatedDate | date |
None. |
|
| UpdatedBy | integer |
None. |
|
| RemainingShares | integer |
None. |
|
| AmountAvailableforTrading | decimal number |
None. |
|
| IsMerged | boolean |
None. |
|
| MarketType | string |
None. |
|
| companyStatus | string |
None. |
|
| IsImported | boolean |
None. |
|
| SharesExecutedPrice | decimal number |
None. |
|
| StartRange | decimal number |
None. |
|
| EndRange | decimal number |
None. |
|
| InBuyStockAvailable | integer |
None. |
|
| InSellStockAvailable | integer |
None. |
|
| IsSold | boolean |
None. |
|
| RSCommission | decimal number |
None. |
|
| CheckBox | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserName": "sample string 1",
"StockName": "sample string 2",
"StockCode": "sample string 3",
"CurrentMarketPrice": 1.0,
"CMPDifference": 1.0,
"OrderID": 4,
"UserID": 5,
"StockID": 6,
"OrderType": "sample string 7",
"TradeType": "sample string 8",
"TransactionType": "sample string 9",
"NoofShares": 1,
"SharesExecuted": 1,
"AvailableShares": 1,
"SharesExecutedDate": "2025-11-06T14:32:53.4022727+00:00",
"Price": 1.0,
"MarketPrice": 1.0,
"EnteredAmount": 1.0,
"PriceLimit": 1.0,
"ValidityType": "sample string 10",
"ValidityDate": "2025-11-06T14:32:53.4022727+00:00",
"ValidityDateTxt": "sample string 11",
"OrderedDate": "2025-11-06T14:32:53.4022727+00:00",
"CompletedDate": "2025-11-06T14:32:53.4022727+00:00",
"Status": "sample string 12",
"ISXCommission": 1.0,
"BrokerCommission": 1.0,
"TotalAmount": 1.0,
"EquityValue": 1.0,
"FireBaseClientID": "sample string 13",
"TradingAccountNumber": "sample string 14",
"IsSetPrice": true,
"IsMarketPrice": true,
"IsDownloadable": true,
"CreatedDate": "2025-11-06T14:32:53.4022727+00:00",
"CreatedBy": 1,
"UpdatedDate": "2025-11-06T14:32:53.4022727+00:00",
"UpdatedBy": 1,
"RemainingShares": 1,
"AmountAvailableforTrading": 1.0,
"IsMerged": true,
"MarketType": "sample string 20",
"companyStatus": "sample string 21",
"IsImported": true,
"SharesExecutedPrice": 1.0,
"StartRange": 1.0,
"EndRange": 1.0,
"InBuyStockAvailable": 23,
"InSellStockAvailable": 24,
"IsSold": true,
"RSCommission": 1.0,
"CheckBox": true
}
application/xml, text/xml
Sample:
<OrderVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StockTrading.Entities.Models"> <AmountAvailableforTrading>1</AmountAvailableforTrading> <AvailableShares>1</AvailableShares> <BrokerCommission>1</BrokerCommission> <CMPDifference>1</CMPDifference> <CheckBox>true</CheckBox> <CompletedDate>2025-11-06T14:32:53.4022727+00:00</CompletedDate> <CreatedBy>1</CreatedBy> <CreatedDate>2025-11-06T14:32:53.4022727+00:00</CreatedDate> <CurrentMarketPrice>1</CurrentMarketPrice> <EndRange>1</EndRange> <EnteredAmount>1</EnteredAmount> <EquityValue>1</EquityValue> <FireBaseClientID>sample string 13</FireBaseClientID> <ISXCommission>1</ISXCommission> <InBuyStockAvailable>23</InBuyStockAvailable> <InSellStockAvailable>24</InSellStockAvailable> <IsDownloadable>true</IsDownloadable> <IsImported>true</IsImported> <IsMarketPrice>true</IsMarketPrice> <IsMerged>true</IsMerged> <IsSetPrice>true</IsSetPrice> <IsSold>true</IsSold> <MarketPrice>1</MarketPrice> <MarketType>sample string 20</MarketType> <NoofShares>1</NoofShares> <OrderID>4</OrderID> <OrderType>sample string 7</OrderType> <OrderedDate>2025-11-06T14:32:53.4022727+00:00</OrderedDate> <Price>1</Price> <PriceLimit>1</PriceLimit> <RSCommission>1</RSCommission> <RemainingShares>1</RemainingShares> <SharesExecuted>1</SharesExecuted> <SharesExecutedDate>2025-11-06T14:32:53.4022727+00:00</SharesExecutedDate> <SharesExecutedPrice>1</SharesExecutedPrice> <StartRange>1</StartRange> <Status>sample string 12</Status> <StockCode>sample string 3</StockCode> <StockID>6</StockID> <StockName>sample string 2</StockName> <TotalAmount>1</TotalAmount> <TradeType>sample string 8</TradeType> <TradingAccountNumber>sample string 14</TradingAccountNumber> <TransactionType>sample string 9</TransactionType> <UpdatedBy>1</UpdatedBy> <UpdatedDate>2025-11-06T14:32:53.4022727+00:00</UpdatedDate> <UserID>5</UserID> <UserName>sample string 1</UserName> <ValidityDate>2025-11-06T14:32:53.4022727+00:00</ValidityDate> <ValidityDateTxt>sample string 11</ValidityDateTxt> <ValidityType>sample string 10</ValidityType> <companyStatus>sample string 21</companyStatus> </OrderVM>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |