GET api/WellFieldMapArea?wellfieldmap_id={wellfieldmap_id}
Get all field map areas from well field map
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| wellfieldmap_id |
Well field map id |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Well field map area list
Collection of 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. |
Response 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
},
{
"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:
<ArrayOfWellFieldMapAreaDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Reyvart.WellFileManager.Web.Models">
<WellFieldMapAreaDto>
<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>
<WellFieldMapAreaDto>
<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>
</ArrayOfWellFieldMapAreaDto>