Add fingerprints to a pet
Add the fingerprint and appearance images of a registration capture session to a pet. The server processes them in a background job. Poll `GET /v2/fingerprint-addition-jobs/{jobId}` with the returned `jobId` until the job ends.
Authorization
VendorApiKeyAuth x-petnow-api-key<token>
An API key from the Petify Console. A server key can call every route. A client (app) key can only create capture sessions and upload images.
In: header
Path Parameters
petId*string
ID of the pet, as returned when the pet was created.
Format
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://api.petify.petnow.io/v2/pets/497f6eca-6276-4993-bfeb-53cbbbba6f08:addFingerprints" \ -H "Content-Type: application/json" \ -d '{ "sessionId": "f6567dd8-e069-418e-8893-7d22fcf12459" }'{
"success": true,
"data": {
"jobId": "9d222c6d-893e-4e79-8201-3c9ca16a0f39"
}
}{
"errors": [
{
"code": "PETNOWB2B10001"
}
]
}{
"errors": [
{
"code": "PETNOWB2B10000"
}
]
}{
"errors": [
{
"code": "PETNOWB2B10010"
}
]
}{
"errors": [
{
"code": "PETNOWB2B20000"
}
]
}