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": "24ab0916-7cc1-4fc9-b5a6-c475e0f0e3a2",
"TargetUserGroupId": "b39f5209-8471-41f9-8f72-7d356afd33c7",
"LicenseIds": [
"c30519cd-7a67-4ec4-a6c0-d0f3d3de0635",
"0bb15d24-b75b-4dc4-8182-abbb5c95e87e"
]
}
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>c30519cd-7a67-4ec4-a6c0-d0f3d3de0635</d2p1:guid>
<d2p1:guid>0bb15d24-b75b-4dc4-8182-abbb5c95e87e</d2p1:guid>
</LicenseIds>
<OwnerId>24ab0916-7cc1-4fc9-b5a6-c475e0f0e3a2</OwnerId>
<TargetUserGroupId>b39f5209-8471-41f9-8f72-7d356afd33c7</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>