POST /api/../inviteenduserandassignprojectmember

This request will issue an invitation to a specified user, to use the environment specified by the policy. It will also assign this user to a specific Project Member.

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

POST /api/v3/invitations/actions/inviteenduserandassignprojectmember

Request Payload

{
    "policyId": "POLs3J1NEAESn7ipYMwYq20Q2",
    "owningProjectMemberId": "VPvcJta67Wp3TuDw-j4PhAiQ2"
    "opportunity": "my company inc.",
    "validForDays": 7,
    "email": "HudsonKaiden@cloudshare.com",
    "firstName": "Hudson",
    "lastName": "Kaiden",
    "regionId": "REKolD1-ab84YIxODeMGob9A2"
}

Parameters

PolicyId The environment policy invitee will be assigned to
Opportunity The name of the (business) opportunity associated with this user
ValidForDays The number of days the invitation is valid
Email Email of the user to receive the invitation
FirstName Recipient user’s first name
LastName Recipient user’s last name
OwningProjectMemberId The id of the Project Member to whom the new user will be assigned
RegionId The Region the Invitation is to be created in. A list of available Regions can be obtained from here. Optional – default region is US East (Miami)

Response examples

{
    "invitationDetailsUrl": "https://use.cloudshare.com/Ent/Vendor/InvitationDetails.aspx?inv=ZEMeSj6RxMU",
    "acceptInvitationUrl": "https://use.cloudshare.com/Ent/AcceptInvitation.mvc?inv=ZEMeSj6RxMU",
    "message": "An invitation was sent successfully"
}