POST api/wells/{idOfWell}/procent-borders
Create (or modify only the procent value) procent border
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
idOfWell |
Id of well |
integer |
Required |
Body Parameters
Procent border data transfer object
ProcentBorderDtoName | Description | Type | Additional information |
---|---|---|---|
IdOfWell |
Id of well |
integer |
Required |
IdOfWfmParameter |
Id of parameter (Varchar(16)) |
string |
Required |
Procent |
Procent value: DECIMAL(9,6) |
decimal number |
Required |
Request Formats
application/json, text/json
Sample:
{ "IdOfWell": 1, "IdOfWfmParameter": "sample string 2", "Procent": 3.0 }
application/xml, text/xml
Sample:
<ProcentBorderDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Reyvart.WellFileManager.Web.Models"> <IdOfWell>1</IdOfWell> <IdOfWfmParameter>sample string 2</IdOfWfmParameter> <Procent>3</Procent> </ProcentBorderDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Ok or Created status with the DTO model
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.