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": "e639305a-6565-4c1e-bb8a-892a3abfc8ed",
"TargetUserGroupId": "3561761d-77fb-4312-8478-8cd1301785ae",
"LicenseIds": [
"32eb7dbc-c094-4d8a-842c-7eaddbc99c5f",
"dce58e03-53ab-4356-9e75-46924419e25f"
]
}
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>32eb7dbc-c094-4d8a-842c-7eaddbc99c5f</d2p1:guid>
<d2p1:guid>dce58e03-53ab-4356-9e75-46924419e25f</d2p1:guid>
</LicenseIds>
<OwnerId>e639305a-6565-4c1e-bb8a-892a3abfc8ed</OwnerId>
<TargetUserGroupId>3561761d-77fb-4312-8478-8cd1301785ae</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>