PUT api/Areas/PutArea/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
Area| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Description | string |
Required |
|
| Polygon | Collection of AreaShape |
None. |
|
| Circle | Collection of AreaShape |
None. |
|
| Location | DbGeography |
None. |
|
| CountryCode | string |
None. |
|
| GeoCodeParameters | Collection of GeoCodeParameter |
None. |
|
| InfoId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"description": "sample string 2",
"polygon": [
{
"$id": "2",
"id": 1,
"shapeType": "polygon",
"pairValue": "sample string 2",
"areaId": 1
},
{
"$ref": "2"
}
],
"circle": [
{
"$ref": "2"
},
{
"$ref": "2"
}
],
"location": null,
"countryCode": "sample string 3",
"geoCodeParameters": [
{
"$id": "3",
"id": 1,
"valueName": "sample string 2",
"value": "sample string 3",
"areaId": 1
},
{
"$ref": "3"
}
],
"infoId": 1
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.