Parameters are being used but filtering does not seem to be working
...
The parameter might be expecting an array instead of a single integer, try converting the integer to an array.
Is there an API that gives us the local time we are connecting to?
This is available in our location endpoint:
...
This has the locations of each shelter, and then a UtcOffset property you can use to find the UTC Time zone.
Why do I receive a credentials don't match a valid user when authenticating?
This can sometimes happen when the username and password is not URL encoded.
...
- Setup a search group using the ShelterBuddy application via administration > search group. You will select which statuses / sources you would like included in your search group
- Using the api/v2/animal/list?page={page}&pageSize={pageSize} endpoint you would setup a search model with the following:
- SearchGroupId: this would be from the new search group you set up. To get a list of search groups you can use the
api/v2/animal/searchgroup/list?page={page}&pageSize={pageSize} end point. - UpdatedSinceUTC: This would be to get new animals updated to the search group since you last queried this information.
- SearchGroupId: this would be from the new search group you set up. To get a list of search groups you can use the
- To check if an animal is no longer in the search group you can use the same endpoint but post with the parameter ExcludeSearchGroupId and UpdatedSinceUTC this will get the list of animals taken off the list since a specific date.
How do i get a list of animals in foster that have been microchipped?
Similar to the above adoptable animals, this can be achieved by search groups:
- Using the endpoint api/v2/animal/list?page={page}&pageSize={pageSize} you would setup a search model with the following:
- SearchGroupId: this would be from the new search group we set up called "Animals In Foster". To get a list of search groups you can use the api/v2/animal/searchgroup/list?page={page}&pageSize={pageSize} end point and get the ID from here.
- UpdatedSinceUTC: This would be to get new animals updated to the search group since you last queried this information.
- You would loop through all these pets and check if they have a microchip number, if they do you could enroll them into homesafe under the RSPCA QLD owner.
If the animal then gets adopted, or changes owner through the existing processes these will be picked up through your normal API methods.