This resource will issue an invitation to a specified user, to use the environment specified by the usage package. It will also assign this user to a specific Sales Engineer.
If the specified usage package contains multiple prototypes, the resource InviteCustomerAndAssignSEToPrototype should be used instead, with the specific prototype to be used included in the request.
Request URL
GET https://use.cloudshare.com/Api/v1/Admin/InviteCustomerAndAssignSE?usagePackageId=<usage>&opportunity=<opportunity>&validForDays=<valid>&sendToEmail=<sendto>&firstName=<firstname>&lastName=<lastname>&owningSEId=<ownSE>&UserApiId=<id>×tamp=<time_t>&HMAC=<signature>
Parameters
usagePackageId | The id for the usage package for the environment Example: PVSV2TWQQ2BA |
opportunity | The name of the (business) opportunity associated with this userExample: 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 |
owningSEId | The id of the Sales Engineer to whom the new user will be assigned.Example: HRTXHOTFTOYB |
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" }
If the Usage Package contained multiple prototypes, an error status (Invalid Action) will be returned.