I've performed a PUT on a tenant and the response is a task that was created:
Code: Select all
stdClass Object
(
[TaskId] => task-6
[State] => Running
[Operation] => EditCloudTenant
[Result] =>
[Links] => Array
(
[0] => stdClass Object
(
[Rel] => Delete
[Href] => https://localhost:9398/api/tasks/task-6
[Name] =>
[Type] =>
)
)
[Href] => https://localhost:9398/api/tasks/task-6
[Type] => Task
)
But Querying
Code: Select all
https://localhost:9398/api/tasks
Code: Select all
{#315 ▼
+"Tasks": []
}
Code: Select all
https://localhost:9398/api/tasks/task-6
Code: Select all
{"FirstChanceExceptionMessage":null,"StackTrace":null,"Message":"There is no backup task with id [task-6] in current rest session","StatusCode":500,"Status":"InternalServerError"}
I have even tried using /query
Code: Select all
https://localhost:9398/api/query?type=Task
Code: Select all
{#315 ▼
+"Tasks": []
}
Thanks