POST api/forms/simple
Creates a new simple form with the given information
Request Information
URI Parameters
None.
Body Parameters
Simple form data of new simple form
SimpleFormNewDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| MIME |
Simple Form file MIME-type |
string |
Required String length: inclusive between 0 and 50 |
| Data |
Simple Form file data |
Collection of byte |
Required |
| Extension |
Simple Form file extension |
string |
Required String length: inclusive between 0 and 10 |
| Prefix |
Short URL prefix |
string |
String length: inclusive between 0 and 4 |
| Name |
Simple Form Name |
string |
Required String length: inclusive between 0 and 50 |
| Category |
Simple Form Category, if any |
string |
String length: inclusive between 0 and 50 |
Request Formats
application/json, text/json
{
"MIME": "sample string 1",
"Data": "QEA=",
"Extension": "sample string 2",
"Prefix": "sample string 3",
"Name": "sample string 4",
"Category": "sample string 5"
}
Response Information
Resource Description
New simple form
SimpleFormDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| MIME |
Simple Form file MIME-type |
string |
None. |
| Extension |
Simple Form file extension |
string |
None. |
| URL |
Simple Form URL |
string |
None. |
| FileURL |
Simple Form file URL |
string |
None. |
| Created |
Timestamp when the simple form was created |
date |
None. |
| ID |
Simple Form ID |
integer |
Required |
| Name |
Simple Form Name |
string |
Required String length: inclusive between 0 and 50 |
| Category |
Simple Form Category, if any |
string |
String length: inclusive between 0 and 50 |
Response Formats
application/json, text/json
{
"MIME": "sample string 1",
"Extension": "sample string 2",
"URL": "sample string 3",
"FileURL": "sample string 4",
"Created": "2025-12-16T03:28:51.5841556+00:00",
"ID": 5,
"Name": "sample string 6",
"Category": "sample string 7"
}