Landscape RestAPI error – Invalid API version

When using Postman to try and access Landscape 19.10’s API, I receive an "Invalid API version" result:

Postman output:
Postman output

Steps to build the API request:
Steps to build the API request

Does anyone know how to find out the API version that 19.10 is using, as I am hoping that I can simply add the API version to step 1?

Asked By: SK49


Quoting from the documentation

The version of the API, 2011-08-01 being the current one

You might want to read that documentation carefully as your query seems to miss some parameters (signature method, version and timestamp). Also, your parameters need to be sorted.

Answered By: simpoir

We were able to resolve this issue by creating a URL-encoded value from the Base64 value.

We intend to use Powershell to perform all of these different types of encoding automatically, once we have identified which calls to make to gather all required data about devices and the hardware and software that is installed on them.

Answered By: SK49
Categories: Answers Tags: ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.