GET api/PetVitals/{userName}?petName={petName}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userName

string

Required

petName

string

Required

Body Parameters

None.

Response Information

Resource Description

PetVitalLastTwo
NameDescriptionTypeAdditional information
LastVitaldatetime

string

None.

PrevVitaldatetime

string

None.

LastPulse

integer

None.

PrevPulse

integer

None.

LastSPO2

integer

None.

PrevSPO2

integer

None.

LastResp

integer

None.

PrevResp

integer

None.

LastHrv

integer

None.

PrevHrv

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "LastVitaldatetime": "sample string 1",
  "PrevVitaldatetime": "sample string 2",
  "LastPulse": 3,
  "PrevPulse": 4,
  "LastSPO2": 5,
  "PrevSPO2": 6,
  "LastResp": 7,
  "PrevResp": 8,
  "LastHrv": 9,
  "PrevHrv": 10
}

application/xml, text/xml

Sample:
<PetVitalLastTwo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PhwareWebApi.Util">
  <LastHrv>9</LastHrv>
  <LastPulse>3</LastPulse>
  <LastResp>7</LastResp>
  <LastSPO2>5</LastSPO2>
  <LastVitaldatetime>sample string 1</LastVitaldatetime>
  <PrevHrv>10</PrevHrv>
  <PrevPulse>4</PrevPulse>
  <PrevResp>8</PrevResp>
  <PrevSPO2>6</PrevSPO2>
  <PrevVitaldatetime>sample string 2</PrevVitaldatetime>
</PetVitalLastTwo>