GET api/WirelessAudioTransmission/CheckLocation?q={q}&indoor={indoor}&lang={lang}&freq={freq}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
q

string

Required

indoor

boolean

Default value is False

lang

string

Default value is sv

freq

string

None.

Body Parameters

None.

Response Information

Resource Description

FrequencyResult
NameDescriptionTypeAdditional information
Success

boolean

None.

ErrorMessage

string

None.

ResultGeneratedAt

date

None.

Frequencies

Collection of FrequencyInfo

None.

FrequencyBundles

Collection of FrequencyBundleInfo

None.

CoordinatesQueried

string

None.

Wgs84Lat

decimal number

None.

Wgs84Lng

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "ErrorMessage": "sample string 2",
  "ResultGeneratedAt": "2024-03-28T16:36:40.9192341+01:00",
  "Frequencies": [
    {
      "IsFree": true,
      "BlockCode": 2,
      "BlockDate": "2024-03-28T16:36:40.9192341+01:00",
      "CenterFrequency": 3,
      "LowFrequency": 4,
      "HighFrequency": 5,
      "Band": "sample string 6",
      "Channel": 7
    },
    {
      "IsFree": true,
      "BlockCode": 2,
      "BlockDate": "2024-03-28T16:36:40.9192341+01:00",
      "CenterFrequency": 3,
      "LowFrequency": 4,
      "HighFrequency": 5,
      "Band": "sample string 6",
      "Channel": 7
    }
  ],
  "FrequencyBundles": [
    {
      "IsFree": true,
      "BlockCode": 2,
      "BlockDate": "2024-03-28T16:36:40.9192341+01:00",
      "LowFrequency": 3,
      "HighFrequency": 4,
      "Band": "sample string 5",
      "FirstChannel": 6,
      "LastChannel": 7
    },
    {
      "IsFree": true,
      "BlockCode": 2,
      "BlockDate": "2024-03-28T16:36:40.9192341+01:00",
      "LowFrequency": 3,
      "HighFrequency": 4,
      "Band": "sample string 5",
      "FirstChannel": 6,
      "LastChannel": 7
    }
  ],
  "CoordinatesQueried": "sample string 4",
  "Wgs84Lat": 5.1,
  "Wgs84Lng": 6.1
}

application/xml, text/xml

Sample:
<FrequencyResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PTS.WirelessMicrophone.Data.Api">
  <CoordinatesQueried>sample string 4</CoordinatesQueried>
  <ErrorMessage>sample string 2</ErrorMessage>
  <Frequencies>
    <FrequencyInfo>
      <Band>sample string 6</Band>
      <BlockCode>2</BlockCode>
      <BlockDate>2024-03-28T16:36:40.9192341+01:00</BlockDate>
      <CenterFrequency>3</CenterFrequency>
      <Channel>7</Channel>
      <HighFrequency>5</HighFrequency>
      <IsFree>true</IsFree>
      <LowFrequency>4</LowFrequency>
    </FrequencyInfo>
    <FrequencyInfo>
      <Band>sample string 6</Band>
      <BlockCode>2</BlockCode>
      <BlockDate>2024-03-28T16:36:40.9192341+01:00</BlockDate>
      <CenterFrequency>3</CenterFrequency>
      <Channel>7</Channel>
      <HighFrequency>5</HighFrequency>
      <IsFree>true</IsFree>
      <LowFrequency>4</LowFrequency>
    </FrequencyInfo>
  </Frequencies>
  <FrequencyBundles>
    <FrequencyBundleInfo>
      <Band>sample string 5</Band>
      <BlockCode>2</BlockCode>
      <BlockDate>2024-03-28T16:36:40.9192341+01:00</BlockDate>
      <FirstChannel>6</FirstChannel>
      <HighFrequency>4</HighFrequency>
      <IsFree>true</IsFree>
      <LastChannel>7</LastChannel>
      <LowFrequency>3</LowFrequency>
    </FrequencyBundleInfo>
    <FrequencyBundleInfo>
      <Band>sample string 5</Band>
      <BlockCode>2</BlockCode>
      <BlockDate>2024-03-28T16:36:40.9192341+01:00</BlockDate>
      <FirstChannel>6</FirstChannel>
      <HighFrequency>4</HighFrequency>
      <IsFree>true</IsFree>
      <LastChannel>7</LastChannel>
      <LowFrequency>3</LowFrequency>
    </FrequencyBundleInfo>
  </FrequencyBundles>
  <ResultGeneratedAt>2024-03-28T16:36:40.9192341+01:00</ResultGeneratedAt>
  <Success>true</Success>
  <Wgs84Lat>5.1</Wgs84Lat>
  <Wgs84Lng>6.1</Wgs84Lng>
</FrequencyResult>