Scripting Question

Question about using the Kace REST API to add License Asset records

08/26/2020 226 views

Hi - I'm trying to add (POST) License records into our Kace appliance using REST APIs.  I've setup a test using POSTMAN and I have everything working except when I try to add the reference to the Software Catalog Software Name.   The body for my REST call is shown below.  If you remove the section hi-lighted in yellow and the preceding comma my REST call works and it adds the License record. 

When I try to add the record with the reference to the software catalog ID APP1275833 for field 10000 it fails.  The error message I get is as follows:


    "errorCode": -1,

    "errorDescription": "Unexpected field field_10000"



Could this be a bug because field id 10000 is the ID for the field name Applies to Cataloged Software in License asset (Asset Type 7)

I’ve also looked at the Kace API reference and can’t find any examples related to making REST calls to POST License data.   

Can anyone provide some help?

    "Assets": [
            "name""Acrobat Pro DC",
            "field_4""Unit License",
            "field_18""Adobe Systems,Inc."
            "field_10206" : "912610822",
            "field_10426" : "30002257",
            "field_10427" : "FPP Business Strategy",
            "field_9998" :   {
                             "id"  : "174323"
            "field_9999"  :  {
                             "id"   : "174322"
            "field_8" :      {
                             "id" : "106990"
            "field_10000" : {
                             "id" : "APP1275833"


0 Comments   [ + ] Show comments


All Answers


Log a support ticket, it could be a glitch in the API for that version, what you are trying to do is not unreasonable or standard, so get supports view

Answered 08/28/2020 by: Hobbsy
Red Belt

  • Thanks I agree and I did open a support ticket. In addition I also ran into issues when using the Asset Import utility. If I remove the Software Catalog selection when mapping data for import it works, when I select it it fails. We're running Kace version 10.1.99 has anyone else experienced the same?
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ