Create a Pet
1 min
POST
https://developer.digitail.io/api/v1/pets
acceptstringGenerated from available response content types
clinic_idintegerClinic id.
vet_idintegerVet id.
owner_idintegerOwner Id.
nicknamestringNickname
birthdaystring<p>Birthday (Y-m-d)</p>
avatarstring<binary>Profile picture.
species_idintegerSpecies Id.
breed_idintegerBreed ID.
crossbreedboolean<p>Set to true if crossbreed. Do not send empty value, omit the key completely</p>
crossbreed_detailsstring<p>Crossbreed id (see breeds endpoint) Do not send empty value, omit the key completely</p>
colorstringColor
color_maskarrayColor mask
distinctive_marksstringDistinctive marks
genderstring<male | female | unknown>Gender
observationsstring<p>Observations (Pet notes)</p>
chip_numberstringChip number
microchip_locationstringMicrochip Location
insurance_numberstringInsurance Number
insurance_providerstringInsurance Provider
policy_idstringPolicy ID
passportstringPassport
descriptionstringDescription
constitutionstringConstitution
conformationstringConformation
allergiesstringAllergies
blood_type_idinteger<p>Blood Type Id (see blood-types endpoint) Do not send empty value, omit the key completely</p>
hormonal_statusinteger<p>Hormonal Status (0=neutered,1=normal,2=unknown)</p>
201Successful operation
curl --request POST \
--url https://developer.digitail.io/api/v1/pets \
--header 'accept: application/json' \
--header 'content-type: multipart/form-data' \
--form 'clinic_id="1"' \
--form 'vet_id="1"' \
--form 'owner_id="1"' \
--form 'nickname="Fluffy"' \
--form 'birthday="2017-11-28"' \
--form 'species_id="1"' \
--form 'breed_id="1"' \
--form 'gender="male"' \
--form 'hormonal_status="0"'