POST api/studyareas
Insert a new StudyArea.
Request Information
URI Parameters
None.
Body Parameters
StudyAreaDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
The primary key of the record in the Hobsons database. |
integer |
None. |
| Name |
The name of the study area Ignored for PUT requests sent to the API. |
string |
Required String length: inclusive between 0 and 100 |
| Position |
Can be used for ordering a collection of records if configured. |
integer |
Range: inclusive between 1 and 99999999 |
| Inactive | boolean |
Required |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Name": "sample string 2",
"Position": 1,
"Inactive": true
}
Response Information
Resource Description
The primary key (id) of the StudyArea record inserted in the Hobsons database.
integerResponse Formats
application/json, text/json
Sample:
1