POST api/licenses/copy

Create license copy

Request Information

URI Parameters

None.

Body Parameters

LicenseCopyRequest
NameDescriptionTypeAdditional information
OwnerId

globally unique identifier

None.

TargetUserGroupId

globally unique identifier

None.

LicenseIds

Collection of globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "OwnerId": "e9cf7920-fb99-498a-ac98-c6295674537d",
  "TargetUserGroupId": "32ecd60d-7519-4f3e-baf6-efcc4aa5e1da",
  "LicenseIds": [
    "550eb663-030a-423f-a9ed-43d2a84d4b49",
    "cb93b276-747c-4cd2-80af-9b1f394b7484"
  ]
}

application/xml, text/xml

Sample:
<LicenseCopyRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Requests">
  <LicenseIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>550eb663-030a-423f-a9ed-43d2a84d4b49</d2p1:guid>
    <d2p1:guid>cb93b276-747c-4cd2-80af-9b1f394b7484</d2p1:guid>
  </LicenseIds>
  <OwnerId>e9cf7920-fb99-498a-ac98-c6295674537d</OwnerId>
  <TargetUserGroupId>32ecd60d-7519-4f3e-baf6-efcc4aa5e1da</TargetUserGroupId>
</LicenseCopyRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ValidationResult
NameDescriptionTypeAdditional information
IsValid

boolean

None.

Errors

Collection of ValidationFailure

None.

Response Formats

application/json, text/json

Sample:
{
  "errors": []
}

application/xml, text/xml

Sample:
<ValidationResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FluentValidation.Results">
  <errors />
</ValidationResult>