watsonx Orchestrate

 View Only

Path parameter

  • 1.  Path parameter

    Posted Mon May 13, 2024 03:28 PM
    Edited by Werner Coetsee Mon May 13, 2024 03:28 PM
    I have been trying to connect Watson x Orchestrate to my TM1 Planning Analytics instance. 
    When using hardcoding variables in the path like in the example below it works perfectly:
    But when I try to use a path variable it does not want to work.
    "paths": {
        "/api/v1/Chores({choreID})/tm1.Activate": {
          "post": {
            "parameters": [          
            "name": "choreID",            
            "in": "path",            
            "required": true,            
            "schema": {              
                "type": "string",
                "example": ""
    The worst part is it does not even define the error it just returns Bad request.
    I can confirm that the rest of my code is fine because it runs when I hard code the parameter.

    Werner Coetsee