POST api/well-groups/{idOfWroup}/wfm-parameters
Post a wfm parameter of well group
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
idOfWroup |
Id of well group |
integer |
Required |
Body Parameters
Well group wfm parameter
WfmParameterOfWroupDtoName | Description | Type | Additional information |
---|---|---|---|
Color |
Parameter color in HEX format: '#FF123456' override of wfm-parameter color |
string |
Required |
SerialNumber |
Parameter serial number (order number) in group: for sorting |
byte |
Required |
WellGroupId |
Well group id |
integer |
Required |
WfmParameterId |
Wfm |
string |
Required |
IsMonitored |
Whether this parameter is monitored (Well, wroup monitoring section) |
boolean |
Required |
Uom |
Unit of measurement, override of wfm-parameter uom |
string |
Required |
WfmParameterDto |
Wfm parameter |
WfmParameterDto |
None. |
Request Formats
application/json, text/json
Sample:
{ "Color": "sample string 1", "SerialNumber": 64, "WellGroupId": 3, "WfmParameterId": "sample string 4", "IsMonitored": true, "Uom": "sample string 6", "WfmParameterDto": { "Id": "sample string 1", "Name": "sample string 2", "Uom": "sample string 3", "DefaultColor": "sample string 4", "IsCumulative": true, "IsSystem": true, "WfmParamSquadId": "sample string 7" } }
application/xml, text/xml
Sample:
<WfmParameterOfWroupDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Reyvart.WellFileManager.Web.Models"> <Color>sample string 1</Color> <IsMonitored>true</IsMonitored> <SerialNumber>64</SerialNumber> <Uom>sample string 6</Uom> <WellGroupId>3</WellGroupId> <WfmParameterDto> <DefaultColor>sample string 4</DefaultColor> <Id>sample string 1</Id> <IsCumulative>true</IsCumulative> <IsSystem>true</IsSystem> <Name>sample string 2</Name> <Uom>sample string 3</Uom> <WfmParamSquadId>sample string 7</WfmParamSquadId> </WfmParameterDto> <WfmParameterId>sample string 4</WfmParameterId> </WfmParameterOfWroupDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Created well group wfm parameter
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.