GET api/Weight

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of WeightEntryDto
NameDescriptionTypeAdditional information
Id

integer

None.

UserId

globally unique identifier

None.

ChildId

integer

None.

Weight

decimal number

None.

WeightFormatted

string

None.

DateRecorded

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "UserId": "0ebf9426-a229-4a90-90ac-e5916072644d",
    "ChildId": 3,
    "Weight": 4.0,
    "WeightFormatted": "4.00",
    "DateRecorded": "2019-05-26T03:35:35.213237-04:00"
  },
  {
    "Id": 1,
    "UserId": "0ebf9426-a229-4a90-90ac-e5916072644d",
    "ChildId": 3,
    "Weight": 4.0,
    "WeightFormatted": "4.00",
    "DateRecorded": "2019-05-26T03:35:35.213237-04:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfWeightEntryDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.DTO">
  <WeightEntryDto>
    <ChildId>3</ChildId>
    <DateRecorded>2019-05-26T03:35:35.213237-04:00</DateRecorded>
    <Id>1</Id>
    <UserId>0ebf9426-a229-4a90-90ac-e5916072644d</UserId>
    <Weight>4</Weight>
  </WeightEntryDto>
  <WeightEntryDto>
    <ChildId>3</ChildId>
    <DateRecorded>2019-05-26T03:35:35.213237-04:00</DateRecorded>
    <Id>1</Id>
    <UserId>0ebf9426-a229-4a90-90ac-e5916072644d</UserId>
    <Weight>4</Weight>
  </WeightEntryDto>
</ArrayOfWeightEntryDto>