POST APIControllers/Wellness/SavePetWellnessAnnualInfo

Request Information

URI Parameters

None.

Body Parameters

PetWellnessAnnualInfo
NameDescriptionTypeAdditional information
PetId

integer

None.

FoodType

string

None.

Weight

decimal number

None.

TeethCondition

string

None.

SecurityKey

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PetId": 1,
  "FoodType": "sample string 2",
  "Weight": 3.0,
  "TeethCondition": "sample string 4",
  "SecurityKey": "sample string 5"
}

application/xml, text/xml

Sample:
<PetWellnessAnnualInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/mobile.oneplan.co.za.Models">
  <SecurityKey>sample string 5</SecurityKey>
  <FoodType>sample string 2</FoodType>
  <PetId>1</PetId>
  <TeethCondition>sample string 4</TeethCondition>
  <Weight>3</Weight>
</PetWellnessAnnualInfo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseOfInt32
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

Entity

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 2",
  "Entity": 3
}

application/xml, text/xml

Sample:
<ResponseOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OnePlan.Core">
  <Entity>3</Entity>
  <Message>sample string 2</Message>
  <Success>true</Success>
</ResponseOfint>