InviteAnonymousEndUser

This request will return to the user (calling application) an invitation to use an environment specified by the environment policy. The user can then send this invitation at a later time to any recipient.

If the specified policy contains multiple blueprints, the request InviteAnonymousEndUserToBlueprint should be used instead, with the specific blueprint to be used included in the request.

Request URL

GET https://use.cloudshare.com/Api/v2/Admin/InviteAnonymousEndUser?environmentPolicyId=<policy>&opportunity=<opportunity>&validForDays=<validdays>&owningProjectMemberId=<PM>&UserApiId=<id>&token=<token>&timestamp=<time>&HMAC=<signature>

Parameters

environmentPolicyId The id for the environment policy 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
owningProjectMemberId The id of the Project Member for the new environment.
Example: HRTXHOTFTOYB

Response example

{
    "data": {
        "acceptUrl": "https://use.cloudshare.com/Ent/AcceptInvitation.mvc?inv=eI02hKRG5qc", 
        "detailsUrl": "https://use.cloudshare.com/Ent/Vendor/InvitationDetails.aspx?inv=eI02hKRG5qc", 
        "message": "An invitation was created successfully"
    }, 
    "remaining_api_calls": 95, 
    "status_additional_data": null, 
    "status_code": "0x20000", 
    "status_text": "Success"
}

If the policy contained multiple Blueprints, an error status (Invalid Action) will be returned.