POST api/WellFieldMapArea

Post well field map area

Request Information

URI Parameters

None.

Body Parameters

Well field map area

WellFieldMapAreaDto
NameDescriptionTypeAdditional 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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'WellFieldMapAreaDto'.

Response Information

Resource Description

Created well field map area

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.