![]() |
PST SDK
5.1.0.0-e242fa9
|
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 <...>"} | |
| 500 | {"message":"TrackerException: <...>"} | an other type of internal error |