InviteCustomerToPrototype

This resource will issue an invitation to a specific user, to use an environment specified by the usage package, specifying also which of the prototypes to use from those associated with the usage package.

Request URL

GET https://use.cloudshare.com/Api/v1/Admin/InviteCustomerToPrototype?usagePackageId=<usage>&opportunity=<opportunity>&validForDays=<validdays>&sendToEmail=<sendto>&firstName=<firstname>&lastName=<lastname>&prototypeId=<prototype>&UserApiId=<id>>&timestamp=<time_t>&HMAC=<signature>

Parameters

usagePackageId The id for the usage package to be used for the new environment.
Example: PVSV2TWQQ2BA
opportunity The name of the (business) opportunity associated with this user.
Example: Op
validForDays The number of days the invitation is valid
sendToEmail Email of the user to receive the invitation
firstName Recipient user’s first name
lastName Recipient user’s last name
prototypeId The id of the prototype which the new user will be invited to use.
Example: UGK0MB1B0VRB

Response example

{
    "acceptUrl": "https://use.cloudshare.com/Ent/AcceptInvitation.mvc?inv=om7S_CjOZls",
    "detailsUrl":  "https://use.cloudshare.com/Ent/Vendor/InvitationDetails.aspx?inv=om7S_CjOZls",
    "message": "An invitation was created successfully"
}

The response includes details for the environment, as well as details for each machine that is part of the environment.

Details for the environment include: name, expiration date, license status, prototypes, snapshots

Details for the machines include: name, IP address, running status, URL.


Code sample