PUT api/GeographicArea/EditGeographicArea
Request Information
URI Parameters
None.
Body Parameters
GeographicAreaDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | string |
None. |
|
| Name | string |
None. |
|
| Type | string |
None. |
|
| IstatCod | string |
None. |
|
| IsoCod | string |
None. |
|
| Cap | string |
None. |
|
| Geometry | string |
None. |
|
| InhabitantsNum | integer |
None. |
|
| AreaSurface | integer |
None. |
|
| OwnerId | integer |
None. |
|
| ValidStartDate | date |
None. |
|
| ValidEndDate | date |
None. |
|
| PoliceCod | string |
None. |
|
| IstatMovcCod | string |
None. |
|
| IstatMovcName | string |
None. |
|
| PoliceCountryCode | string |
None. |
|
| GeographicAreaType | GeographicAreaTypeDTO |
None. |
|
| Parent | Collection of GeographicAreaDTO |
None. |
|
| Children | Collection of GeographicAreaDTO |
None. |
Request Formats
application/json, text/json, text/html
Sample:
{
"Code": "sample string 1",
"Name": "sample string 2",
"Type": "sample string 3",
"IstatCod": "sample string 4",
"IsoCod": "sample string 5",
"Cap": "sample string 6",
"Geometry": "sample string 7",
"InhabitantsNum": 1,
"AreaSurface": 1,
"OwnerId": 1,
"ValidStartDate": "2026-05-31T09:51:20.4611308+02:00",
"ValidEndDate": "2026-05-31T09:51:20.4611308+02:00",
"PoliceCod": "sample string 8",
"IstatMovcCod": "sample string 9",
"IstatMovcName": "sample string 10",
"PoliceCountryCode": "sample string 11",
"GeographicAreaType": {
"Code": "sample string 1",
"Name": "sample string 2"
},
"Parent": [],
"Children": []
}
application/x-www-form-urlencoded
Sample:
Sample not available.
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |