POST api/Settings/SetCustomColors
Setting system color labels
Request Information
URI Parameters
None.
Body Parameters
A list of system color lables
Collection of CustomColorLabelName | Description | Type | Additional information |
---|---|---|---|
Name |
Tag name |
string |
None. |
Color |
System color |
integer |
None. |
Request Formats
application/json, text/json
Sample:
[ { "name": "sample string 1", "color": 2 }, { "name": "sample string 1", "color": 2 } ]
Response Information
Resource Description
Result containing the flag of successful operation
ObjResultOfBooleanName | Description | Type | Additional information |
---|---|---|---|
Data | boolean |
None. |
|
Error |
Error description |
string |
None. |
Success |
Flag of successful operation |
boolean |
None. |
ErrorCode |
Error code |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": true, "error": "sample string 2", "success": true, "errorCode": 4 }
Parameter Information
value
Property | Description |
---|---|
Length (Int32) | |
LongLength (Int64) | |
Rank (Int32) | |
SyncRoot (Object) | |
IsReadOnly (Boolean) | |
IsFixedSize (Boolean) | |
IsSynchronized (Boolean) |