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:
/api/v1/Chores('Test_API')/tm1.Activate
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
------------------------------