POST restapi/administration/customlabels/v1
Create new custom label
Request Information
URI Parameters
None.
Body Parameters
The request containing the custom label information.
Itsolutions.Itslearning.Web.Areas.Administration.CustomLabels.Models.AddEditCustomLabelRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
Identifier, if is 0 that means it's add action |
integer |
None. |
| Name |
Custom label name |
string |
None. |
| Description |
Custom label description |
string |
None. |
| Color |
Custom label color name, chosen from the UI |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"name": "sample string 2",
"description": "sample string 3",
"color": "sample string 4"
}
application/xml, text/xml
Sample:
<AddEditCustomLabelRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Itsolutions.Itslearning.Web.Areas.Administration.CustomLabels.Models"> <Color>sample string 4</Color> <Description>sample string 3</Description> <Id>1</Id> <Name>sample string 2</Name> </AddEditCustomLabelRequest>
application/x-www-form-urlencoded
Sample:
No sample available
Response Information
Resource Description
None.