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": "2021-10-21T23:33:58.44901-07:00",
  "PossibleStatusChangeTime": "2021-10-21T23:33:58.44901-07:00",
  "PossibleStatusChangeLocalTime": "2021-10-21T23:33:58.4500073-07:00",
  "OpenTime": "2021-10-21T23:33:58.4500073-07:00",
  "CloseTime": "2021-10-21T23:33:58.4500073-07:00",
  "LastTradingDate": "2021-10-21T23:33:58.4500073-07: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>2021-10-21T23:33:58.4500073-07:00</CloseTime>
  <CountryCode>sample string 1</CountryCode>
  <CurrentTime>2021-10-21T23:33:58.44901-07:00</CurrentTime>
  <IsOpen>true</IsOpen>
  <LastTradingDate>2021-10-21T23:33:58.4500073-07:00</LastTradingDate>
  <OpenTime>2021-10-21T23:33:58.4500073-07:00</OpenTime>
  <PossibleStatusChangeLocalTime>2021-10-21T23:33:58.4500073-07:00</PossibleStatusChangeLocalTime>
  <PossibleStatusChangeTime>2021-10-21T23:33:58.44901-07:00</PossibleStatusChangeTime>
</MarketStatus>