POST api/license/category/add
Create new license category
Request Information
URI Parameters
None.
Body Parameters
AddLicenseCategoryRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
None. |
|
| IsDefault | boolean |
None. |
|
| LicenseCategoryType | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Name": "sample string 1",
"IsDefault": true,
"LicenseCategoryType": 3
}
application/xml, text/xml
Sample:
<AddLicenseCategoryRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Requests"> <IsDefault>true</IsDefault> <LicenseCategoryType>3</LicenseCategoryType> <Name>sample string 1</Name> </AddLicenseCategoryRequest>
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>