Categories
Knowledge Support exacqVision Enterprise Support Categories Products

ESM API for getting camera may show incorrect last Connection

Description

In retrieving cameras in the API, a user can determine how long the camera has been connected by looking at lastConnection. However, for some cameras this value may be Null even though the camera connected state is connected.

<br>

Tested Version

4.0.0

<br>

Platform

[All]

<br>

Steps to reproduce

Make a request to http://webservice.exacq.org:8080/api/cameras/?slug=rootexacqvision-linux-server2556166

<br>

Expected result

lastConnection should not be null, as the camera is connected.

<br>

Actual result

lastConnection is null.

Categories
Knowledge Support Support exacqVision Server Categories Products

ESM API exacqVision Server License Filter by isCurrent does not work

Description

https://tyc100.exacq.net/api/servers/tyc100er1249023085/licenses/?isCurrent=True

When using the above API, the isCurrent filter does not properly filter out the old licenses. A similar filter works on the generic API for all servers.

https://tyc100.exacq.net/api/servers/licenses/?server=tyc100er1249023085&isCurrent=True

<br>

Version Introduced

4.1.7.95208
<br>

Platform

  • All Platforms

<br>

Steps to reproduce

Verify that the link:

https://tyc100.exacq.net/api/servers/tyc100er1249023085/licenses/?isCurrent=True

only returns licenses with isCurrent field set to true
<br>

Expected result

  • Only license with isCurrent field set to true are returned

<br>

Actual result

  • All licenses with isCurrent field set to either true/false

<br>

Work Around

https://tyc100.exacq.net/api/servers/licenses/?server=tyc100er1249023085&isCurrent=True

<br>

ESM-API-exacqVision-Server-License-Filter-by-isCurrent-does-not-work.pdf
Categories
Knowledge Support Support exacqVision Enterprise Categories Products

ESM API api/docs does not support file upload/download

Description

If using esm api docs at /docs/api, any file upload/download action will not work.

The documentation does not even provide the correct input to upload/download files.

<br>

Version Introduced

v3.8.0.89234

<br>

Platform

All.

<br>

Steps to reproduce

  • Navigate to http://esmhost/docs/api, once fully loaded,
  • Click on system
  • Click on [GET] /api/system/logs/bundle/
  • Click on [Try it out!]

<br>

Expected result

  • File is downloaded during file download
  • Upload button/handle is provided to upload file

<br>

Actual result

  • Documentation page will just try to display the contents of the file on download.
  • There is no upload button/handler

<br>

Work around

  • Get logs using browser at http://esmhost/api/system/logs/bundle, OR use command line tools to get logs from http://esmhost/api/system/logs/bundle
  • This is the same for any other file upload or download

<br>

Version fixed

19.09.0

<br>

ESM-API-api-docs-does-not-support-file-upload-download.pdf

Categories
exacqVision Enterprise Categories Products

ESM API cannot filter on NULL or dates

Even though you are able to attempt to filter on NULL or a date, it does not work on any endpoint that provides a date field attribute.

<br>

Categories
exacqVision Enterprise Categories Products

ESM API documentation is not always accurate

Issue

When viewing endpoints, the example response may not actually match the response when you use the ‘Try it Out’ button.

Also, some attributes may specify it returns a string but instead it returns an integer. It is recommended to utilize the ‘Try it Out’ button for the API you wish to use as how that API will actually behave.

<br>