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": "a9cfa717-adc5-4230-be8f-25a64da930f1",
"TargetUserGroupId": "0b0dcab2-f2d1-4a51-a8ca-10ba43d4fb48",
"LicenseIds": [
"981e6ffb-9e5a-47d5-8640-755548f50b99",
"0bfd06ad-64f6-44d3-adc6-eaed2d01d4bd"
]
}
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>981e6ffb-9e5a-47d5-8640-755548f50b99</d2p1:guid>
<d2p1:guid>0bfd06ad-64f6-44d3-adc6-eaed2d01d4bd</d2p1:guid>
</LicenseIds>
<OwnerId>a9cfa717-adc5-4230-be8f-25a64da930f1</OwnerId>
<TargetUserGroupId>0b0dcab2-f2d1-4a51-a8ca-10ba43d4fb48</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>