Put Method not supported on 'runtime/tasks/{taskId}/variables'
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-06-2015 11:36 AM
HI, i have a problem on update/insert variable of a task. On user guide there is a section that say if i want to insert new variables to task i have to use method Post, and if i wants to update variables that already exist i have to use Put.
But i get error 405 method put not supported.
Can someone help me please?
Thanks
But i get error 405 method put not supported.
Can someone help me please?
Thanks
Labels:
- Labels:
-
Archive
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-07-2015 09:19 AM
Can you post the full url you are hitting and the json you are using?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-08-2015 10:07 AM
PUT method with "runtime/tasks/{taskId}/variables"
request body is
[
{
"name" : "myTaskVariable",
"scope" : "local",
"type" : "string",
"value" : "Hello my friend"
},
{
}
]
this should insert new variable to a task or update already existing variable, not?
request body is
[
{
"name" : "myTaskVariable",
"scope" : "local",
"type" : "string",
"value" : "Hello my friend"
},
{
}
]
this should insert new variable to a task or update already existing variable, not?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-13-2015 08:47 AM
It should be runtime/tasks/{taskId}/variables/{variableName}
Best regards,
Best regards,
