| PST SDK 6.0.0.0-272350a

SetOrientationFilter

Set the strength of the orientation filter.

Endpoint

      POST /PSTapi/SetOrientationFilter  HTTP/1.1
      Host: address:port

OrientationFilter Object

Key | Value Type | Description
--- | --- | ---
OrientationFilter | double | Strength of the orientation filter in range [0, 0.99]

POST Payload: Request body parameters example

      {"OrientationFilter": 0.2}

Response

Returns a status message.

Verification table

Status Code | Content Example | Meaning
--- | --- | ---
200 | {"message": "Orientation 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