GET api/SiteStock/CompareISX
Request Information
URI Parameters
None.
Body Parameters
StockVMName | Description | Type | Additional information |
---|---|---|---|
StockID | integer |
None. |
|
StockName | string |
None. |
|
StockName_Arabic | string |
None. |
|
StockNameEnglish | string |
None. |
|
Description | string |
None. |
|
StockCode | string |
None. |
|
StockCode_Arabic | string |
None. |
|
CurrencyType | string |
None. |
|
TotalVolume | decimal number |
None. |
|
TotalValue | decimal number |
None. |
|
CurrentMarketPrice | decimal number |
None. |
|
CreatedDate | date |
None. |
|
CreatedBy | integer |
None. |
|
UpdatedDate | date |
None. |
|
UpdatedBy | integer |
None. |
|
Sector | string |
None. |
|
Sector_Arabic | string |
None. |
|
ChangePercentage | decimal number |
None. |
|
Status | string |
None. |
|
MarketType | string |
None. |
|
UpperLimit | decimal number |
None. |
|
LowerLimit | decimal number |
None. |
|
IsinPortfolio | boolean |
None. |
|
InBuyStockAvailable | integer |
None. |
|
InSellStockAvailable | integer |
None. |
|
BuyOrderID | integer |
None. |
|
SellOrderID | integer |
None. |
|
BuyOrderStatus | string |
None. |
|
SellOrderStatus | string |
None. |
|
DTDPriceChange | decimal number |
None. |
|
YTDPriceChange | decimal number |
None. |
|
ClosingPrice | decimal number |
None. |
|
DDChange | decimal number |
None. |
|
YTDChange | decimal number |
None. |
|
TradingVolume | decimal number |
None. |
|
AverageDailyTradeVolume | decimal number |
None. |
|
UpdatedDateString | string |
None. |
|
SiteRsIndexList | Collection of RSIndexAPIFileVM |
None. |
|
SiteRsIndexListTwo | Collection of SiteRSIndexVM |
None. |
Request Formats
application/json, text/json
Sample:
{ "StockID": 1, "StockName": "sample string 1", "StockName_Arabic": "sample string 2", "StockNameEnglish": "sample string 3", "Description": "sample string 4", "StockCode": "sample string 5", "StockCode_Arabic": "sample string 6", "CurrencyType": "sample string 7", "TotalVolume": 1.0, "TotalValue": 1.0, "CurrentMarketPrice": 1.0, "CreatedDate": "2024-11-15T12:27:34.0158435+00:00", "CreatedBy": 9, "UpdatedDate": "2024-11-15T12:27:34.0158435+00:00", "UpdatedBy": 1, "Sector": "sample string 10", "Sector_Arabic": "sample string 11", "ChangePercentage": 1.0, "Status": "sample string 12", "MarketType": "sample string 13", "UpperLimit": 1.0, "LowerLimit": 1.0, "IsinPortfolio": true, "InBuyStockAvailable": 15, "InSellStockAvailable": 16, "BuyOrderID": 1, "SellOrderID": 1, "BuyOrderStatus": "sample string 17", "SellOrderStatus": "sample string 18", "DTDPriceChange": 1.0, "YTDPriceChange": 1.0, "ClosingPrice": 1.0, "DDChange": 1.0, "YTDChange": 1.0, "TradingVolume": 1.0, "AverageDailyTradeVolume": 1.0, "UpdatedDateString": "sample string 19", "SiteRsIndexList": [ { "Id": 1, "ISXCode": "sample string 2", "RSIndex": "sample string 3", "Date": "sample string 4", "ISXDate": "2024-11-15T12:27:34.0158435+00:00", "ClosingPrice": 1.0 }, { "Id": 1, "ISXCode": "sample string 2", "RSIndex": "sample string 3", "Date": "sample string 4", "ISXDate": "2024-11-15T12:27:34.0158435+00:00", "ClosingPrice": 1.0 } ], "SiteRsIndexListTwo": [ { "Id": 1, "ISXCode": "sample string 2", "RSIndex": 1.0, "Date": "2024-11-15T12:27:34.0158435+00:00", "ClosingPrice": 1.0, "IsActive": true, "CreatedDate": "2024-11-15T12:27:34.0158435+00:00", "CreatedBy": 4, "UpdatedDate": "2024-11-15T12:27:34.0158435+00:00", "UpdatedBy": 1 }, { "Id": 1, "ISXCode": "sample string 2", "RSIndex": 1.0, "Date": "2024-11-15T12:27:34.0158435+00:00", "ClosingPrice": 1.0, "IsActive": true, "CreatedDate": "2024-11-15T12:27:34.0158435+00:00", "CreatedBy": 4, "UpdatedDate": "2024-11-15T12:27:34.0158435+00:00", "UpdatedBy": 1 } ] }
application/xml, text/xml
Sample:
<StockVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StockTrading.Entities.Models.Demo"> <AverageDailyTradeVolume>1</AverageDailyTradeVolume> <BuyOrderID>1</BuyOrderID> <BuyOrderStatus>sample string 17</BuyOrderStatus> <ChangePercentage>1</ChangePercentage> <ClosingPrice>1</ClosingPrice> <CreatedBy>9</CreatedBy> <CreatedDate>2024-11-15T12:27:34.0158435+00:00</CreatedDate> <CurrencyType>sample string 7</CurrencyType> <CurrentMarketPrice>1</CurrentMarketPrice> <DDChange>1</DDChange> <DTDPriceChange>1</DTDPriceChange> <Description>sample string 4</Description> <InBuyStockAvailable>15</InBuyStockAvailable> <InSellStockAvailable>16</InSellStockAvailable> <IsinPortfolio>true</IsinPortfolio> <LowerLimit>1</LowerLimit> <MarketType>sample string 13</MarketType> <Sector>sample string 10</Sector> <Sector_Arabic>sample string 11</Sector_Arabic> <SellOrderID>1</SellOrderID> <SellOrderStatus>sample string 18</SellOrderStatus> <SiteRsIndexList xmlns:d2p1="http://schemas.datacontract.org/2004/07/StockTrading.Entities.Models"> <d2p1:RSIndexAPIFileVM> <d2p1:ClosingPrice>1</d2p1:ClosingPrice> <d2p1:Date>sample string 4</d2p1:Date> <d2p1:ISXCode>sample string 2</d2p1:ISXCode> <d2p1:ISXDate>2024-11-15T12:27:34.0158435+00:00</d2p1:ISXDate> <d2p1:Id>1</d2p1:Id> <d2p1:RSIndex>sample string 3</d2p1:RSIndex> </d2p1:RSIndexAPIFileVM> <d2p1:RSIndexAPIFileVM> <d2p1:ClosingPrice>1</d2p1:ClosingPrice> <d2p1:Date>sample string 4</d2p1:Date> <d2p1:ISXCode>sample string 2</d2p1:ISXCode> <d2p1:ISXDate>2024-11-15T12:27:34.0158435+00:00</d2p1:ISXDate> <d2p1:Id>1</d2p1:Id> <d2p1:RSIndex>sample string 3</d2p1:RSIndex> </d2p1:RSIndexAPIFileVM> </SiteRsIndexList> <SiteRsIndexListTwo xmlns:d2p1="http://schemas.datacontract.org/2004/07/StockTrading.Entities.Models"> <d2p1:SiteRSIndexVM> <d2p1:ClosingPrice>1</d2p1:ClosingPrice> <d2p1:CreatedBy>4</d2p1:CreatedBy> <d2p1:CreatedDate>2024-11-15T12:27:34.0158435+00:00</d2p1:CreatedDate> <d2p1:Date>2024-11-15T12:27:34.0158435+00:00</d2p1:Date> <d2p1:ISXCode>sample string 2</d2p1:ISXCode> <d2p1:Id>1</d2p1:Id> <d2p1:IsActive>true</d2p1:IsActive> <d2p1:RSIndex>1</d2p1:RSIndex> <d2p1:UpdatedBy>1</d2p1:UpdatedBy> <d2p1:UpdatedDate>2024-11-15T12:27:34.0158435+00:00</d2p1:UpdatedDate> </d2p1:SiteRSIndexVM> <d2p1:SiteRSIndexVM> <d2p1:ClosingPrice>1</d2p1:ClosingPrice> <d2p1:CreatedBy>4</d2p1:CreatedBy> <d2p1:CreatedDate>2024-11-15T12:27:34.0158435+00:00</d2p1:CreatedDate> <d2p1:Date>2024-11-15T12:27:34.0158435+00:00</d2p1:Date> <d2p1:ISXCode>sample string 2</d2p1:ISXCode> <d2p1:Id>1</d2p1:Id> <d2p1:IsActive>true</d2p1:IsActive> <d2p1:RSIndex>1</d2p1:RSIndex> <d2p1:UpdatedBy>1</d2p1:UpdatedBy> <d2p1:UpdatedDate>2024-11-15T12:27:34.0158435+00:00</d2p1:UpdatedDate> </d2p1:SiteRSIndexVM> </SiteRsIndexListTwo> <Status>sample string 12</Status> <StockCode>sample string 5</StockCode> <StockCode_Arabic>sample string 6</StockCode_Arabic> <StockID>1</StockID> <StockName>sample string 1</StockName> <StockNameEnglish>sample string 3</StockNameEnglish> <StockName_Arabic>sample string 2</StockName_Arabic> <TotalValue>1</TotalValue> <TotalVolume>1</TotalVolume> <TradingVolume>1</TradingVolume> <UpdatedBy>1</UpdatedBy> <UpdatedDate>2024-11-15T12:27:34.0158435+00:00</UpdatedDate> <UpdatedDateString>sample string 19</UpdatedDateString> <UpperLimit>1</UpperLimit> <YTDChange>1</YTDChange> <YTDPriceChange>1</YTDPriceChange> </StockVM>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | 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. |