RESTful knowledge exchange
Post Reply
fpmirabile
Lurker
Posts: 1
Liked: never
Joined: Aug 14, 2015 2:29 pm
Contact:

Question about creating tenant

Post by fpmirabile »

Hi everyone.

I have a question about creating a tenant. The process is easy but, i has encountered a problem (or maybe it is my fault, for sure).
When i create a Tenant, usually the REST api sends me a task as return value. This task, has a link to the EntityRef of the tenant who it creates.
I had found sometimes this:

Code: Select all

<?xml version="1.0" encoding="utf-8"?><Task Type="Task" Href="http://192.168.100.23:9399/api/tasks/task-27" xmlns="http://www.veeam.com/ent/v1.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><Links><Link Href="http://192.168.100.23:9399/api/tasks/task-27" Type="Task" Rel="Delete"/></Links><TaskId>task-27</TaskId><State>Running</State><Operation>CreateCloudTenant</Operation></Task>
There is no href to the Tenant. So my question is: Is there a way to get the HREF to the tenant?format=Entity always ?

Thanks.
veremin
Product Manager
Posts: 20270
Liked: 2252 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Question about creating tenant

Post by veremin »

Not sure whether I got your question correctly. You're willing to get HREF to the newly-created tenant within creation task or something different?
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests