POST api/licenses/copy
Create license copy
Request Information
URI Parameters
None.
Body Parameters
LicenseCopyRequest| Name | Description | Type | Additional 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": "111793cc-d44c-467d-9043-4d3613e6a181",
"TargetUserGroupId": "dc62b435-1154-48b1-854f-895b21a64a73",
"LicenseIds": [
"37b6d1a2-e5e4-4ff7-aa7e-7c279ae1f7af",
"bfb8ffe0-d1ea-4a19-9d45-6f9aa05446dc"
]
}
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>37b6d1a2-e5e4-4ff7-aa7e-7c279ae1f7af</d2p1:guid>
<d2p1:guid>bfb8ffe0-d1ea-4a19-9d45-6f9aa05446dc</d2p1:guid>
</LicenseIds>
<OwnerId>111793cc-d44c-467d-9043-4d3613e6a181</OwnerId>
<TargetUserGroupId>dc62b435-1154-48b1-854f-895b21a64a73</TargetUserGroupId>
</LicenseCopyRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ValidationResult| Name | Description | Type | Additional 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>