POST api/Pet/SavePetInfo

Request Information

URI Parameters

None.

Body Parameters

PetInfoModel
NameDescriptionTypeAdditional information
applicantPetId

integer

None.

applicantId

integer

None.

petName

string

None.

petLicenseNumber

string

None.

dBAPetTypeId

integer

None.

petSizeId

byte

None.

genderId

byte

None.

breed

string

None.

birthYear

integer

None.

birthMonth

byte

None.

weight

decimal number

None.

color

string

None.

liabilityCoverageCarrier

string

None.

policyNumber

string

None.

houseBrokenDate

date

None.

lastVaccinationDate

date

None.

lastUpdatedBy

integer

None.

uploadPicture

Collection of byte

None.

applicantName

string

None.

petname

string

None.

dBAPetType

string

None.

isESA

boolean

None.

uploadESADocumentContent

Collection of byte

None.

fileName

string

None.

fileExtension

string

None.

Request Formats

application/json, text/json

Sample:
{
  "applicantPetId": 1,
  "applicantId": 1,
  "petName": "sample string 1",
  "petLicenseNumber": "sample string 2",
  "dBAPetTypeId": 1,
  "petSizeId": 64,
  "genderId": 64,
  "breed": "sample string 5",
  "birthYear": 1,
  "birthMonth": 64,
  "weight": 7.1,
  "color": "sample string 8",
  "liabilityCoverageCarrier": "sample string 9",
  "policyNumber": "sample string 10",
  "houseBrokenDate": "2025-05-10T18:17:57.4359364-05:00",
  "lastVaccinationDate": "2025-05-10T18:17:57.4359364-05:00",
  "lastUpdatedBy": 1,
  "uploadPicture": "QEA=",
  "applicantName": "sample string 11",
  "petname": "sample string 12",
  "dBAPetType": "sample string 13",
  "isESA": true,
  "uploadESADocumentContent": "QEA=",
  "fileName": "sample string 14",
  "fileExtension": "sample string 15"
}

application/xml, text/xml

Sample:
<PetInfoModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <applicantPetId>1</applicantPetId>
  <applicantId>1</applicantId>
  <petName>sample string 1</petName>
  <petLicenseNumber>sample string 2</petLicenseNumber>
  <dBAPetTypeId>1</dBAPetTypeId>
  <petSizeId>64</petSizeId>
  <genderId>64</genderId>
  <breed>sample string 5</breed>
  <birthYear>1</birthYear>
  <birthMonth>64</birthMonth>
  <weight>7.1</weight>
  <color>sample string 8</color>
  <liabilityCoverageCarrier>sample string 9</liabilityCoverageCarrier>
  <policyNumber>sample string 10</policyNumber>
  <houseBrokenDate>2025-05-10T18:17:57.4359364-05:00</houseBrokenDate>
  <lastVaccinationDate>2025-05-10T18:17:57.4359364-05:00</lastVaccinationDate>
  <lastUpdatedBy>1</lastUpdatedBy>
  <uploadPicture>QEA=</uploadPicture>
  <applicantName>sample string 11</applicantName>
  <petname>sample string 12</petname>
  <dBAPetType>sample string 13</dBAPetType>
  <isESA>true</isESA>
  <uploadESADocumentContent>QEA=</uploadESADocumentContent>
  <fileName>sample string 14</fileName>
  <fileExtension>sample string 15</fileExtension>
</PetInfoModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'PetInfoModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.