Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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.


UpdatedSinceUtc must be in the Utc format.

Check out our dates page on how to format dates.


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.

...

How do I get a list of adopted animals?

To get a list of adopted animals you can use StatusHistoryV2 with the property DateRange for the dates you want new adoptions for.  You would then populate the Status property with an array of adopted statuses.  To get adopted status you use the StatusV2 endpoint and post with the IsAdoption property.

How do I get a list of in care animals?

This can be achieved by first getting a list of in care statuses, then using this list to query animals with that status:

  1. Using the endpoint api/v2/animal/status/list?page={page}&pageSize={pageSize} you can use the search model with the following to get a list of statusId's for in care statuses:
    1. "IsInCare": true
  2. Using the endpoint api/v2/animal/list?page={page}&pageSize={pageSize} you would setup a search model with the following:
    1. "StatusId": this accepts an array of id's so you can use the list of in care status Id's retrieved in step 1.
    2. UpdatedSinceUTC: This can be used to get new animals updated since you last queried.

How do I capture pre registrations for adoptions or events?

...