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": "35e7411d-96bf-4e69-a15d-15f2bcb31ce1",
"TargetUserGroupId": "ef8048c8-5c9d-4b30-8c8e-4106debc52bd",
"LicenseIds": [
"4869a8dd-6c9f-4661-ad2b-64c87b9ee2f6",
"597a63b8-7a28-411c-8d9b-69b79593fcb2"
]
}
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>4869a8dd-6c9f-4661-ad2b-64c87b9ee2f6</d2p1:guid>
<d2p1:guid>597a63b8-7a28-411c-8d9b-69b79593fcb2</d2p1:guid>
</LicenseIds>
<OwnerId>35e7411d-96bf-4e69-a15d-15f2bcb31ce1</OwnerId>
<TargetUserGroupId>ef8048c8-5c9d-4b30-8c8e-4106debc52bd</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>