PST SDK
5.2.0.0-0eac0f6
|
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 |