POST api/Visits/UpdateMeasurements?pCustNum={pCustNum}&pVisitCode={pVisitCode}&code={code}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pCustNum

integer

Required

pVisitCode

integer

Required

code

integer

Required

Body Parameters

MedicalMeasurement
NameDescriptionTypeAdditional information
code

integer

None.

cust_num

integer

Required

visit_code

integer

None.

measurement_date

date

Required

measurement_time

time interval

None.

weight

decimal number

None.

height

decimal number

None.

blood_pressure_sys

integer

None.

blood_pressure_dias

integer

None.

heart_rhythm

integer

None.

estimated_dateBirth

date

None.

last_menstrual_date

date

None.

saturation

integer

None.

blood_sugar

integer

None.

BMI

decimal number

Matching regular expression pattern: ^\d+(\.\d{1,3})?$

weight_p

decimal number

None.

height_p

decimal number

None.

BMI_p

decimal number

None.

height_zscore

decimal number

None.

weight_zscore

decimal number

None.

BMI_zscore

decimal number

None.

fever

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "code": 1,
  "cust_num": 2,
  "visit_code": 1,
  "measurement_date": "2026-04-17T13:21:50.8304221+03:00",
  "measurement_time": "00:00:00.1234567",
  "weight": 1.0,
  "height": 1.0,
  "blood_pressure_sys": 1,
  "blood_pressure_dias": 1,
  "heart_rhythm": 1,
  "estimated_dateBirth": "2026-04-17T13:21:50.831421+03:00",
  "last_menstrual_date": "2026-04-17T13:21:50.831421+03:00",
  "saturation": 1,
  "blood_sugar": 1,
  "BMI": 1.0,
  "weight_p": 1.0,
  "height_p": 1.0,
  "BMI_p": 1.0,
  "height_zscore": 1.0,
  "weight_zscore": 1.0,
  "BMI_zscore": 1.0,
  "fever": 1.0
}

application/xml, text/xml

Sample:
<MedicalMeasurement xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
  <BMI>1</BMI>
  <BMI_p>1</BMI_p>
  <BMI_zscore>1</BMI_zscore>
  <blood_pressure_dias>1</blood_pressure_dias>
  <blood_pressure_sys>1</blood_pressure_sys>
  <blood_sugar>1</blood_sugar>
  <code>1</code>
  <cust_num>2</cust_num>
  <estimated_dateBirth>2026-04-17T13:21:50.831421+03:00</estimated_dateBirth>
  <fever>1</fever>
  <heart_rhythm>1</heart_rhythm>
  <height>1</height>
  <height_p>1</height_p>
  <height_zscore>1</height_zscore>
  <last_menstrual_date>2026-04-17T13:21:50.831421+03:00</last_menstrual_date>
  <measurement_date>2026-04-17T13:21:50.8304221+03:00</measurement_date>
  <measurement_time>PT0.1234567S</measurement_time>
  <saturation>1</saturation>
  <visit_code>1</visit_code>
  <weight>1</weight>
  <weight_p>1</weight_p>
  <weight_zscore>1</weight_zscore>
</MedicalMeasurement>

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

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.