PUT api/WellFieldMapArea?id={id}
Put well field map area
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Well field map area id |
integer |
Required |
Body Parameters
Well field map area
WellFieldMapAreaDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
Required |
|
| Description | string |
None. |
|
| Opacity | decimal number |
None. |
|
| StrokeWidth | decimal number |
None. |
|
| FillColor | string |
None. |
|
| Coords | string |
None. |
|
| WellFieldMapId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Name": "sample string 2",
"Description": "sample string 3",
"Opacity": 4.1,
"StrokeWidth": 5.1,
"FillColor": "sample string 6",
"Coords": "sample string 7",
"WellFieldMapId": 8
}
application/xml, text/xml
Sample:
<WellFieldMapAreaDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Reyvart.WellFileManager.Web.Models"> <Coords>sample string 7</Coords> <Description>sample string 3</Description> <FillColor>sample string 6</FillColor> <Id>1</Id> <Name>sample string 2</Name> <Opacity>4.1</Opacity> <StrokeWidth>5.1</StrokeWidth> <WellFieldMapId>8</WellFieldMapId> </WellFieldMapAreaDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Changed well field map area
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. |