PUT api/forms/simple/{form}
Updates a given simple form with the given information. NOTE! Existing information is replaced entirely with the new information set.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| form |
Simple form ID |
integer |
Required |
Body Parameters
Updated simple form data
SimpleFormUpdateDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| 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 |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"Name": "sample string 2",
"Category": "sample string 3"
}
Response Information
Resource Description
Updated 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
Sample:
{
"MIME": "sample string 1",
"Extension": "sample string 2",
"URL": "sample string 3",
"FileURL": "sample string 4",
"Created": "2025-12-16T03:28:04.3284772+00:00",
"ID": 5,
"Name": "sample string 6",
"Category": "sample string 7"
}