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

NameDescriptionTypeAdditional information
form

Simple form ID

integer

Required

Body Parameters

Updated simple form data

SimpleFormUpdateDTO
NameDescriptionTypeAdditional 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
NameDescriptionTypeAdditional information
MIME

Simple Form file MIME-type

string

None.

Extension

Simple Form file extension

string

None.

URL

Simple Form 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",
  "Created": "2019-10-23T22:26:11.0328509+00:00",
  "ID": 4,
  "Name": "sample string 5",
  "Category": "sample string 6"
}