POST api/HeatMap/AveragePointFromNeighborsInRange?Range={Range}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Range

integer

Default value is 10

Body Parameters

Collection of HeatMapPoint
NameDescriptionTypeAdditional information
X

decimal number

None.

Like

boolean

None.

Y

decimal number

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "X": 1.1,
    "Like": true,
    "Y": 3.1
  },
  {
    "X": 1.1,
    "Like": true,
    "Y": 3.1
  }
]

text/plain

Sample:
[{"X":1.1,"Like":true,"Y":3.1},{"X":1.1,"Like":true,"Y":3.1}]

application/xml, text/xml

Sample:
<ArrayOfHeatMapPoint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rtr.Api.Helper.HeatMap">
  <HeatMapPoint>
    <Like>true</Like>
    <X>1.1</X>
    <Y>3.1</Y>
  </HeatMapPoint>
  <HeatMapPoint>
    <Like>true</Like>
    <X>1.1</X>
    <Y>3.1</Y>
  </HeatMapPoint>
</ArrayOfHeatMapPoint>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of HeatMapPoint
NameDescriptionTypeAdditional information
X

decimal number

None.

Like

boolean

None.

Y

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "X": 1.1,
    "Like": true,
    "Y": 3.1
  },
  {
    "X": 1.1,
    "Like": true,
    "Y": 3.1
  }
]

text/plain

Sample:
[{"X":1.1,"Like":true,"Y":3.1},{"X":1.1,"Like":true,"Y":3.1}]

application/xml, text/xml

Sample:
<ArrayOfHeatMapPoint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rtr.Api.Helper.HeatMap">
  <HeatMapPoint>
    <Like>true</Like>
    <X>1.1</X>
    <Y>3.1</Y>
  </HeatMapPoint>
  <HeatMapPoint>
    <Like>true</Like>
    <X>1.1</X>
    <Y>3.1</Y>
  </HeatMapPoint>
</ArrayOfHeatMapPoint>