POST v1/insRegions
Request Information
URI Parameters
None.
Body Parameters
RegionsNew| Name | Description | Type | Additional information |
|---|---|---|---|
| regions |
Регіони |
Collection of RegionNew |
Required |
| groupID |
ID групи регіонів |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"regions": [
{
"name": "sample string 1",
"radius": 1,
"area": 1.1,
"verticles": [
{
"x": 1.1,
"y": 2.1
},
{
"x": 1.1,
"y": 2.1
}
],
"cadastralNumber": "sample string 2",
"contractNumber": "sample string 3",
"contractWithName": "sample string 4",
"contractDateFrom": "2026-06-10T07:16:34.3092628+03:00",
"contractDateTo": "2026-06-10T07:16:34.3092628+03:00",
"isOtherTenants": true,
"comment": "sample string 6",
"color": "sample string 7",
"groupIDs": [
1,
2
]
},
{
"name": "sample string 1",
"radius": 1,
"area": 1.1,
"verticles": [
{
"x": 1.1,
"y": 2.1
},
{
"x": 1.1,
"y": 2.1
}
],
"cadastralNumber": "sample string 2",
"contractNumber": "sample string 3",
"contractWithName": "sample string 4",
"contractDateFrom": "2026-06-10T07:16:34.3092628+03:00",
"contractDateTo": "2026-06-10T07:16:34.3092628+03:00",
"isOtherTenants": true,
"comment": "sample string 6",
"color": "sample string 7",
"groupIDs": [
1,
2
]
}
],
"groupID": 1
}
Response Information
Resource Description
ModelIns| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
ID новоствореного об'єкта |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": 1
}