PUT api/wfm-parameters/{id}

Save changes

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Parameter id

string

Required

Body Parameters

Parameter

WfmParameterDto
NameDescriptionTypeAdditional information
Id

Id

string

Required

Name

Name

string

Required

Uom

Unit of measurement

string

None.

DefaultColor

Default color (curve, legend on graphs)

string

None.

IsCumulative

Is parameter cumulative

boolean

Required

IsSystem

Is parameter system

boolean

Required

WfmParamSquadId

Parameter squad id

string

Required

Request Formats

application/json, text/json

Sample:
{
  "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:
<WfmParameterDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Reyvart.WellFileManager.Web.Models">
  <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>

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 'WfmParameterDto'.

Response Information

Resource Description

Parameter

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.