GET api/PetVitals/AvgPetVitals/{userName}?petName={petName}&diff={diff}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userName

string

Required

petName

string

Required

diff

integer

Required

Body Parameters

None.

Response Information

Resource Description

PetVitalAvg
NameDescriptionTypeAdditional information
AvgPulse

integer

None.

AvgSPO2

integer

None.

AvgResp

integer

None.

AvgHRV

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "AvgPulse": 1,
  "AvgSPO2": 2,
  "AvgResp": 3,
  "AvgHRV": 4
}

application/xml, text/xml

Sample:
<PetVitalAvg xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PhwareWebApi.Util">
  <AvgHRV>4</AvgHRV>
  <AvgPulse>1</AvgPulse>
  <AvgResp>3</AvgResp>
  <AvgSPO2>2</AvgSPO2>
</PetVitalAvg>