Post
/free-area/
Security
API Key
Header parameter nameAuthorization
Token issued for API consumer.
Body parameters
Free area to be created
object
FreeArea
area_size
string
color
string
Free area color
created_by
string
Created by user
location
string (ewkt) Required
Geographical location as EWKT representation
name
string
Name of plan
perimeter
string
plan
integer
id of plan
state
integer
id of free area state
type
integer
id of type free area type
Responses
204
A created free area
object
FreeArea
area_size
string
color
string
Free area color
created_by
string
Created by user
created_date
string (date-time)
Date of create
id
integer
Unique id of free area
location
string (ewkt)
Geographical location as EWKT representation
name
string
Name of plan
perimeter
string
plan
integer
id of plan
state
integer
id of free area state
type
integer
id of type free area type
updated_by
string
Updated by user
updated_date
string (date-time)
Date of update
400
There was an error in request. Usually field validation failed.
{
"plan_type": [
"This field is required."
],
"state": [
"This field is required."
]
}
Fields which failed validation
401
Authentication credentials are missing or invalid
{
"details": "Authentication credentials were not provided"
}
object
details
string
Detailed description of error