PATCH api/v2/contact/{contactId}/pet

Request Information

URI Parameters

NameDescriptionTypeAdditional information
contactId

integer

Required

Body Parameters

Pet
NameDescriptionTypeAdditional information
PetID

integer

None.

ContactID

integer

None.

Name

string

None.

Type

string

None.

Breed

string

None.

LicenseNumber

string

None.

Size

string

None.

Notes

string

None.

IsDeleted

boolean

None.

DateCreated

date

None.

LastModified

date

None.

Links

Collection of Link

None.

Request Formats

application/json, text/json

Sample:
{
  "PetID": 1,
  "ContactID": 2,
  "Name": "sample string 3",
  "Type": "sample string 4",
  "Breed": "sample string 5",
  "LicenseNumber": "sample string 6",
  "Size": "sample string 7",
  "Notes": "sample string 8",
  "IsDeleted": true,
  "DateCreated": "2025-05-20T10:32:30.8282336-07:00",
  "LastModified": "2025-05-20T10:32:30.8282336-07:00",
  "Links": [
    {
      "rel": "sample string 1",
      "href": "sample string 2"
    },
    {
      "rel": "sample string 1",
      "href": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<Pet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CaliberAPI">
  <Breed>sample string 5</Breed>
  <ContactID>2</ContactID>
  <DateCreated>2025-05-20T10:32:30.8282336-07:00</DateCreated>
  <IsDeleted>true</IsDeleted>
  <LastModified>2025-05-20T10:32:30.8282336-07:00</LastModified>
  <LicenseNumber>sample string 6</LicenseNumber>
  <Links>
    <Link>
      <href>sample string 2</href>
      <rel>sample string 1</rel>
    </Link>
    <Link>
      <href>sample string 2</href>
      <rel>sample string 1</rel>
    </Link>
  </Links>
  <Name>sample string 3</Name>
  <Notes>sample string 8</Notes>
  <PetID>1</PetID>
  <Size>sample string 7</Size>
  <Type>sample string 4</Type>
</Pet>

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 'Pet'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.