| PST SDK 6.0.0.0-272350a

SetExposure

Set the exposure time in seconds.

Endpoint

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

POST Payload: Request body parameters example

      {"Exposure":9.9999997473787516e-05}

Response

Returns a status message.

Verification table

Status Code | Content Example | Meaning
--- | --- | ---
200 | {"message": "Exposure time set succesfully"} | Success message
400 | {"message":"JSON_ERROR: <...>"} | an error occurred when parsing a JSON object
400 | {"message":"TrackerException:MSG_OUT_OF_RANGE <...>"} | The supplied Exposure time is out of range.
400 | {"message":"TrackerException:MSG_NOT_SUPPORTED <...>"} | This endpoint is not supported by your tracker.
500 | {"message":"TrackerException: <...>"} | An other type of internal error