/build/static/layout/Breadcrumb_cap_w.png
04/04/2019 788 views

I'm using Postman to hit the KACE API with a logon request, and I'm just getting connection errors.  Per the documentation, I'm using http://[APPLIANCENAME]/ams/shared/api/security/login  for my post, with a body of {

"password" : "AdminPW",

"userName" : "admin",

"organizationName" : "Default”

}

If I navigate to that URL in browser, I get a SQL error:

An exception occurred while executing 'SELECT o0_.ID AS ID_0, o0_.NAME AS NAME_1, o0_.IS_ENABLED AS IS_ENABLED_2, o0_.IS_SYSTEM AS IS_SYSTEM_3, o0_.IS_DELETED AS IS_DELETED_4, o0_.SYNC_LOCATIONS AS SYNC_LOCATIONS_5, o0_.LOCATION_ATTRIBUTE_NAME AS LOCATION_ATTRIBUTE_NAME_6, o0_.PRIMARY_LOCATION_ID AS PRIMARY_LOCATION_ID_7 FROM ORGANIZATION o0_ WHERE (o0_.IS_SYSTEM = 0) AND (o0_.IS_DELETED=false) ORDER BY o0_.NAME ASC': SQLSTATE[42S22]: Column not found: 1054 Unknown column 'o0_.IS_ENABLED' in 'field list'


Any ideas?


We're using version 9.  API document I'm referencing is here: https://support.quest.com/technical-documents/kace-systems-management-appliance/9.0%20common%20documents/api-reference-guide#TOPIC-986137


0 Comments   [ + ] Show comments

Comments


All Answers

0

Have you tried it from the Powershell module?

https://github.com/ArtisanByteCrafter/KaceSMA

Answered 04/04/2019 by: isudothings
Senior Purple Belt