Genesys Cloud - Developer Community!

 View Only

Sign Up

Issue with /api/v2/businessrules/decisiontables/{tableId}/execute on the API Developer Tool

  • 1.  Issue with /api/v2/businessrules/decisiontables/{tableId}/execute on the API Developer Tool

    Posted 02-25-2026 17:53

    If you're trying to use this API, the non-PRO (assist) mode won't work at all!

    I'm attempting to use the API developer tool to create the correct JSON for this API (api/v2/businessrules/decisiontables/{tableId}/execute).  The developer tool in non-PRO mode won't build a valid JSON request object.  I used PRO mode and was able to finally create the JSON object correctly.  

    Non-PRO mode builds the JSON object as:

    {
      "inputs": {
        "extrakeyaddedhere": {
          "contacttype": "M",
          "group": "086",
          "task": "025"
        }
      }
    }

    Where the correct object is this:

    {
      "inputs": {
        "contacttype": "m",
    "group":"086",
    "task":"025"
      }
    }

    The API developer tool also doesn't allow for integer, boolean and other data types to be created in non-PRO mode.


    #PlatformAPI

    ------------------------------
    Ross Hartford
    Sr Solutions Architect
    ------------------------------