GET api/Identity?includeClosedStations={includeClosedStations}
Documentation for 'Get'.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
includeClosedStations | Documentation for 'includeClosedStations'. |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
{ "username": "sample string 1", "isObserver": true, "observerId": "88e4362a-b565-4102-a214-b2f5cc2d0e7c", "stations": [ { "id": 1, "stationNumber": "sample string 2", "stationName": "sample string 3", "defaultObsTime": "2024-12-04T02:49:46.7055992+00:00", "units": "english", "latitude": 1.0, "longitude": 1.0, "stationType": "sample string 5", "countryCode": "sample string 6", "admin1Code": "sample string 7", "admin2Code": "sample string 8", "dateTimeStamp": "2024-12-04T02:49:46.7055992+00:00", "statusName": "sample string 10" }, { "id": 1, "stationNumber": "sample string 2", "stationName": "sample string 3", "defaultObsTime": "2024-12-04T02:49:46.7055992+00:00", "units": "english", "latitude": 1.0, "longitude": 1.0, "stationType": "sample string 5", "countryCode": "sample string 6", "admin1Code": "sample string 7", "admin2Code": "sample string 8", "dateTimeStamp": "2024-12-04T02:49:46.7055992+00:00", "statusName": "sample string 10" }, { "id": 1, "stationNumber": "sample string 2", "stationName": "sample string 3", "defaultObsTime": "2024-12-04T02:49:46.7055992+00:00", "units": "english", "latitude": 1.0, "longitude": 1.0, "stationType": "sample string 5", "countryCode": "sample string 6", "admin1Code": "sample string 7", "admin2Code": "sample string 8", "dateTimeStamp": "2024-12-04T02:49:46.7055992+00:00", "statusName": "sample string 10" } ] }
application/xml, text/xml
Sample:
<AuthenticatedMemeberViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cocorahs.Models"> <IsObserver>true</IsObserver> <ObserverId>88e4362a-b565-4102-a214-b2f5cc2d0e7c</ObserverId> <Stations> <StationViewModel> <Admin1Code>sample string 7</Admin1Code> <Admin2Code>sample string 8</Admin2Code> <CountryCode>sample string 6</CountryCode> <DateTimeStamp>2024-12-04T02:49:46.7055992+00:00</DateTimeStamp> <DefaultObsTime>2024-12-04T02:49:46.7055992+00:00</DefaultObsTime> <Id>1</Id> <Latitude>1</Latitude> <Longitude>1</Longitude> <StationName>sample string 3</StationName> <StationNumber>sample string 2</StationNumber> <StationType>sample string 5</StationType> <StatusName>sample string 10</StatusName> <Units>English</Units> </StationViewModel> <StationViewModel> <Admin1Code>sample string 7</Admin1Code> <Admin2Code>sample string 8</Admin2Code> <CountryCode>sample string 6</CountryCode> <DateTimeStamp>2024-12-04T02:49:46.7055992+00:00</DateTimeStamp> <DefaultObsTime>2024-12-04T02:49:46.7055992+00:00</DefaultObsTime> <Id>1</Id> <Latitude>1</Latitude> <Longitude>1</Longitude> <StationName>sample string 3</StationName> <StationNumber>sample string 2</StationNumber> <StationType>sample string 5</StationType> <StatusName>sample string 10</StatusName> <Units>English</Units> </StationViewModel> <StationViewModel> <Admin1Code>sample string 7</Admin1Code> <Admin2Code>sample string 8</Admin2Code> <CountryCode>sample string 6</CountryCode> <DateTimeStamp>2024-12-04T02:49:46.7055992+00:00</DateTimeStamp> <DefaultObsTime>2024-12-04T02:49:46.7055992+00:00</DefaultObsTime> <Id>1</Id> <Latitude>1</Latitude> <Longitude>1</Longitude> <StationName>sample string 3</StationName> <StationNumber>sample string 2</StationNumber> <StationType>sample string 5</StationType> <StatusName>sample string 10</StatusName> <Units>English</Units> </StationViewModel> </Stations> <Username>sample string 1</Username> </AuthenticatedMemeberViewModel>