POST api/PetProfile

Request Information

URI Parameters

None.

Body Parameters

Pet
NameDescriptionTypeAdditional information
PetName

string

None.

UserName

string

None.

Age

integer

None.

Gender

integer

None.

Type

integer

None.

Size

integer

None.

Updatedate

integer

None.

VetName

string

None.

VetClinic

string

None.

VetTitle

string

None.

VetEmail

string

None.

VetPhone

string

None.

VetFax

string

None.

CloudStorage

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "PetName": "sample string 1",
  "UserName": "sample string 2",
  "Age": 3,
  "Gender": 4,
  "Type": 5,
  "Size": 6,
  "Updatedate": 7,
  "VetName": "sample string 8",
  "VetClinic": "sample string 9",
  "VetTitle": "sample string 10",
  "VetEmail": "sample string 11",
  "VetPhone": "sample string 12",
  "VetFax": "sample string 13",
  "CloudStorage": 14
}

application/xml, text/xml

Sample:
<Pet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PhwareWebApi.Util">
  <Age>3</Age>
  <CloudStorage>14</CloudStorage>
  <Gender>4</Gender>
  <PetName>sample string 1</PetName>
  <Size>6</Size>
  <Type>5</Type>
  <Updatedate>7</Updatedate>
  <UserName>sample string 2</UserName>
  <VetClinic>sample string 9</VetClinic>
  <VetEmail>sample string 11</VetEmail>
  <VetFax>sample string 13</VetFax>
  <VetName>sample string 8</VetName>
  <VetPhone>sample string 12</VetPhone>
  <VetTitle>sample string 10</VetTitle>
</Pet>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>