![]() |
PST SDK
6.0.0.0-272350a
|
Set the strength of the position filter.
POST /PSTapi/SetPositionFilter HTTP/1.1
Host: address:port
| Key | Value Type | Description |
|---|---|---|
| PositionFilter | double | Strength of the position filter in range [0, 0.99] |
{"PositionFilter": 0.2}
Returns a status message.
| Status Code | Content Example | Meaning |
|---|---|---|
| 200 | {"message": "Position Filter set successfully"} | Success message |
| 400 | {"message":"JSON_ERROR: <...>"} | An error occurred when parsing a JSON object |
| 400 | {"message":"TrackerException:MSG_OUT_OF_RANGE <...>"} | Supplied filter value out of range |
| 500 | {"message":"TrackerException: <...>"} | An other type of internal error |