GET api/Values/GetMarketStatusAsync?countryCode={countryCode}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
countryCode

string

Required

Body Parameters

None.

Response Information

Resource Description

MarketStatus
NameDescriptionTypeAdditional information
CountryCode

string

None.

IsOpen

boolean

None.

CurrentTime

date

None.

PossibleStatusChangeTime

date

None.

PossibleStatusChangeLocalTime

date

None.

OpenTime

date

None.

CloseTime

date

None.

LastTradingDate

date

None.

Response Formats

application/json, text/json

Sample:
{
  "CountryCode": "sample string 1",
  "IsOpen": true,
  "CurrentTime": "2024-03-28T23:36:05.3618113+00:00",
  "PossibleStatusChangeTime": "2024-03-28T23:36:05.3618113+00:00",
  "PossibleStatusChangeLocalTime": "2024-03-28T23:36:05.3618113+00:00",
  "OpenTime": "2024-03-28T23:36:05.3618113+00:00",
  "CloseTime": "2024-03-28T23:36:05.3618113+00:00",
  "LastTradingDate": "2024-03-28T23:36:05.3618113+00:00"
}

application/xml, text/xml

Sample:
<MarketStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BUCKSTER.API.Models">
  <CloseTime>2024-03-28T23:36:05.3618113+00:00</CloseTime>
  <CountryCode>sample string 1</CountryCode>
  <CurrentTime>2024-03-28T23:36:05.3618113+00:00</CurrentTime>
  <IsOpen>true</IsOpen>
  <LastTradingDate>2024-03-28T23:36:05.3618113+00:00</LastTradingDate>
  <OpenTime>2024-03-28T23:36:05.3618113+00:00</OpenTime>
  <PossibleStatusChangeLocalTime>2024-03-28T23:36:05.3618113+00:00</PossibleStatusChangeLocalTime>
  <PossibleStatusChangeTime>2024-03-28T23:36:05.3618113+00:00</PossibleStatusChangeTime>
</MarketStatus>