We have updated our API Terms of Service. Please review the entire terms before continuing to use the API. Your use of the API means you accept and agree to the updated API Terms of Service found here: https://rescuegroups.org/api-terms-of-service/
Examples
Action add
$data = array( "token" => $token, "tokenHash" => $tokenHash, "objectType" => "eventanimalattendance", "objectAction" => "add", "values" => array( array( "attendanceEventID" => $validEvent, "attendanceAnimalID" => $validAnimal, "attendanceStatus" => "Not Attending", ), ), );
Action edit
$data = array( "token" => $token, "tokenHash" => $tokenHash, "objectType" => "eventanimalattendance", "objectAction" => "edit", "values" => array( array( "attendanceID" => $validPK, "attendanceEventID" => $validEvent, "attendanceAnimalID" => $validAnimal, "attendanceStatus" => "Attending", ), ), );
Action publicSearch
Search for animal attendance information. In this example, we use the event's eventID to find animal attendance information.
$data = array( "apikey" => "1XxJFhSB", "objectType" => "eventanimalattendance", "objectAction" => "publicSearch", "search" => array ( "resultStart" => 0, "resultLimit" => 20, "resultSort" => "attendanceID", "resultOrder" => "asc", "filters" => array( array( "fieldName" => "attendanceEventID", "operation" => "equals", "criteria" => "7", ), ), "fields" => array("attendanceEventID","attendanceAnimalID","attendanceStatus") ), );
Action publicView
Retrieve attendance information for a specific attendanceID.
$data = array( "apikey" => $publicApiKey, "objectType" => "eventanimalattendance", "objectAction" => "publicView", "values" => array ( array("attendanceID" => "166054"), ), "fields" => array("attendanceEventID","attendanceAnimalID","attendanceStatus", "animalName", "animalNotes") );
Overview
Content Tools