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": "915154a3-ab99-4224-bfb3-5d657b70a90d",
"TargetUserGroupId": "310ad924-2a52-4497-be68-0b4c563e2888",
"LicenseIds": [
"d3cbf9dd-cee4-480c-9430-373a98474e38",
"63dec946-7ab3-47f3-9938-1e33548dd83e"
]
}
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>d3cbf9dd-cee4-480c-9430-373a98474e38</d2p1:guid>
<d2p1:guid>63dec946-7ab3-47f3-9938-1e33548dd83e</d2p1:guid>
</LicenseIds>
<OwnerId>915154a3-ab99-4224-bfb3-5d657b70a90d</OwnerId>
<TargetUserGroupId>310ad924-2a52-4497-be68-0b4c563e2888</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>