POST v1/colorschemes/add

adds the color scheme to database

Request Information

URI Parameters

None.

Body Parameters

color scheme

ConfidenceApps.Interfaces.Designer.IColorSchema
NameDescriptionTypeAdditional information
ErrorColor

The font color used for displaying error messages within the UI..

System.Drawing.Color

None.

NavigationFontColor

The font color used within the navigation.

System.Drawing.Color

None.

SchemaColor1

The first color of the choosed color schema.Background of Header progressbar, color for "active" borders (and navigation buttons for/backwards).

System.Drawing.Color

None.

SchemaColor2

The second color of the choosed color schema. Background of Navigation and Buttons.

System.Drawing.Color

None.

SchemaColor3

The third color of the choosed color schema. Background of the working surface.

System.Drawing.Color

None.

SchemaFontColor1

The font color used for texts displayed with the first schema color as background.

System.Drawing.Color

None.

SchemaFontColor2

The font color used for texts displayed with the second schema color as background.

System.Drawing.Color

None.

SchemaFontColor3

The font color used for texts displayed with the third schema color as background.

System.Drawing.Color

None.

StandardColorVariation

The variation in percent (0.0 - 1.0) a color will be lighter or darker to make inputable s visible within the choosen colorschema. Default is 0.8.

decimal number

None.

Title

The name to identify a color schema.

string

None.

ValidationColorFail

The color used to highlight a non-valid input.

System.Drawing.Color

None.

ValidationColorSuccess

The color used to highlight successfull validated input.

System.Drawing.Color

None.

Request Formats

application/json, text/json

Sample:
{
  "errorColor": "",
  "id": "3d516409-40f0-4c97-83fc-71d451642009",
  "navigationFontColor": "",
  "schemaColor1": "",
  "schemaColor2": "",
  "schemaColor3": "",
  "schemaFontColor1": "",
  "schemaFontColor2": "",
  "schemaFontColor3": "",
  "standardColorVariation": 0.0,
  "title": "Sample Colorscheme",
  "validationColorFail": "",
  "validationColorSuccess": "",
  "createdAt": "0001-01-01T00:00:00",
  "modifiedAt": "0001-01-01T00:00:00",
  "referenceId": "00000000-0000-0000-0000-000000000000"
}

Response Information

Resource Description

colorscheme.id

string

Response Formats

application/json, text/json

Sample:
"sample string 1"