POST api/nkis
Creates a new empty NKI with the given information
Request Information
URI Parameters
None.
Body Parameters
NKI data of new NKI
NKINewDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Header |
NKI title |
string |
Required String length: inclusive between 0 and 150 |
| WelcomeText |
NKI introduction text |
string |
None. |
| ThankYouText |
NKI completed text |
string |
None. |
| TextColor |
Color of NKI text, hexadecimal (ex. #333333) |
string |
Matching regular expression pattern: ^#([A-Fa-f0-9]{6})$ |
| BackgroundColor |
Color of NKI background, hexadecimal (ex. #eeeeee) |
string |
Matching regular expression pattern: ^#([A-Fa-f0-9]{6})$ |
| ButtonColor |
Color of NKI buttons, hexadecimal (ex. #a1c775) |
string |
Matching regular expression pattern: ^#([A-Fa-f0-9]{6})$ |
| Name |
NKI name |
string |
Required String length: inclusive between 0 and 150 |
Request Formats
application/json, text/json
{
"Header": "sample string 1",
"WelcomeText": "sample string 2",
"ThankYouText": "sample string 3",
"TextColor": "sample string 4",
"BackgroundColor": "sample string 5",
"ButtonColor": "sample string 6",
"Name": "sample string 7"
}
Response Information
Resource Description
Summary of created NKI
NKIFullDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Logo |
Whether the NKI uses a logo |
boolean |
None. |
| Created |
Timestamp for NKI creation |
date |
None. |
| Modified |
Timestamp for last modification of NKI |
date |
None. |
| ID |
NKI ID |
integer |
Required |
| Header |
NKI title |
string |
Required String length: inclusive between 0 and 150 |
| WelcomeText |
NKI introduction text |
string |
None. |
| ThankYouText |
NKI completed text |
string |
None. |
| TextColor |
Color of NKI text, hexadecimal (ex. #333333) |
string |
Matching regular expression pattern: ^#([A-Fa-f0-9]{6})$ |
| BackgroundColor |
Color of NKI background, hexadecimal (ex. #eeeeee) |
string |
Matching regular expression pattern: ^#([A-Fa-f0-9]{6})$ |
| ButtonColor |
Color of NKI buttons, hexadecimal (ex. #a1c775) |
string |
Matching regular expression pattern: ^#([A-Fa-f0-9]{6})$ |
| Name |
NKI name |
string |
Required String length: inclusive between 0 and 150 |
Response Formats
application/json, text/json
{
"Logo": true,
"Created": "2025-12-16T03:27:46.7591643+00:00",
"Modified": "2025-12-16T03:27:46.7591643+00:00",
"ID": 2,
"Header": "sample string 3",
"WelcomeText": "sample string 4",
"ThankYouText": "sample string 5",
"TextColor": "sample string 6",
"BackgroundColor": "sample string 7",
"ButtonColor": "sample string 8",
"Name": "sample string 9"
}