Question about creating tenant

RESTful knowledge exchange

Question about creating tenant

Veeam Logoby fpmirabile » Fri Aug 14, 2015 2:37 pm

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.
fpmirabile
Lurker
 
Posts: 1
Liked: never
Joined: Fri Aug 14, 2015 2:29 pm

Re: Question about creating tenant

Veeam Logoby v.Eremin » Mon Aug 17, 2015 11:38 am

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?
v.Eremin
Veeam Software
 
Posts: 13281
Liked: 970 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin


Return to RESTful API



Who is online

Users browsing this forum: No registered users and 2 guests