POST api/Users/PostToUserMeasurements

Request Information

URI Parameters

None.

Body Parameters

USERS_MEASUREMENTS
NameDescriptionTypeAdditional information
MeasurementID

integer

None.

UserID

string

None.

UserHeight

integer

None.

UserHead

integer

None.

UserNeck

integer

None.

UserShoulder

integer

None.

UserArm

integer

None.

UserBust

integer

None.

UserBicep

integer

None.

UserWrist

integer

None.

UserWaist

integer

None.

UserHips

integer

None.

UserInseam

integer

None.

UserCalf

integer

None.

UserWeight

integer

None.

UserAge

integer

None.

UserEthnicity

string

None.

MeasurementsCreateDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "MeasurementID": 1,
  "UserID": "sample string 2",
  "UserHeight": 3,
  "UserHead": 1,
  "UserNeck": 1,
  "UserShoulder": 1,
  "UserArm": 1,
  "UserBust": 1,
  "UserBicep": 1,
  "UserWrist": 1,
  "UserWaist": 1,
  "UserHips": 1,
  "UserInseam": 1,
  "UserCalf": 1,
  "UserWeight": 4,
  "UserAge": 5,
  "UserEthnicity": "sample string 6",
  "MeasurementsCreateDate": "2025-06-16T23:59:24.2500204-05:00"
}

application/xml, text/xml

Sample:
<USERS_MEASUREMENTS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JDataAccess">
  <MeasurementID>1</MeasurementID>
  <MeasurementsCreateDate>2025-06-16T23:59:24.2500204-05:00</MeasurementsCreateDate>
  <UserAge>5</UserAge>
  <UserArm>1</UserArm>
  <UserBicep>1</UserBicep>
  <UserBust>1</UserBust>
  <UserCalf>1</UserCalf>
  <UserEthnicity>sample string 6</UserEthnicity>
  <UserHead>1</UserHead>
  <UserHeight>3</UserHeight>
  <UserHips>1</UserHips>
  <UserID>sample string 2</UserID>
  <UserInseam>1</UserInseam>
  <UserNeck>1</UserNeck>
  <UserShoulder>1</UserShoulder>
  <UserWaist>1</UserWaist>
  <UserWeight>4</UserWeight>
  <UserWrist>1</UserWrist>
</USERS_MEASUREMENTS>

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.