PUT api/license/category/{id}
Update license category
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
UpdateLicenseCategoryRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
None. |
|
| LicenseCategoryType | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Name": "sample string 1",
"LicenseCategoryType": 2
}
application/xml, text/xml
Sample:
<UpdateLicenseCategoryRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Requests"> <LicenseCategoryType>2</LicenseCategoryType> <Name>sample string 1</Name> </UpdateLicenseCategoryRequest>
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>