PUT api/Vitals/update/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Vital
NameDescriptionTypeAdditional information
VitalId

integer

None.

Description

string

None.

RangeMin

integer

None.

RangeMax

integer

None.

HasComment

boolean

None.

HasBoolean

boolean

None.

HasFloat

boolean

None.

HasRange

boolean

None.

HasString

boolean

None.

IconImage

string

None.

Colour

string

None.

Suffix

string

None.

Mapping

string

None.

PracticeId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "VitalId": 1,
  "Description": "sample string 2",
  "RangeMin": 1,
  "RangeMax": 1,
  "HasComment": true,
  "HasBoolean": true,
  "HasFloat": true,
  "HasRange": true,
  "HasString": true,
  "IconImage": "sample string 7",
  "Colour": "sample string 8",
  "Suffix": "sample string 9",
  "Mapping": "sample string 10",
  "PracticeId": 11
}

text/html

Sample:
{"VitalId":1,"Description":"sample string 2","RangeMin":1,"RangeMax":1,"HasComment":true,"HasBoolean":true,"HasFloat":true,"HasRange":true,"HasString":true,"IconImage":"sample string 7","Colour":"sample string 8","Suffix":"sample string 9","Mapping":"sample string 10","PracticeId":11}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'VetAPI.DataModel.AspNetUser' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'VetAPI.DataModel.AspNetUser' contains cycles and cannot be serialized if reference tracking is disabled.

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

Response Information

Resource Description

None.