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": "027053ae-d958-4f4f-8481-1a6528748745",
"TargetUserGroupId": "e77ce01b-1fd7-4b1d-ace5-240d0b981bb8",
"LicenseIds": [
"696ec87c-dc2e-4c2b-bfd4-14ea2c99a9c7",
"089553b9-a448-425c-96f0-da141bed88ea"
]
}
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>696ec87c-dc2e-4c2b-bfd4-14ea2c99a9c7</d2p1:guid>
<d2p1:guid>089553b9-a448-425c-96f0-da141bed88ea</d2p1:guid>
</LicenseIds>
<OwnerId>027053ae-d958-4f4f-8481-1a6528748745</OwnerId>
<TargetUserGroupId>e77ce01b-1fd7-4b1d-ace5-240d0b981bb8</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>