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 using the end point:
MedicalHistoryV2
api/v2/animal/medicalhistory/{animalId}
How can we access these icon values from the API
This is a Icon property in the animal entity, its an array of the icons the animal has ticked.
How do I adopt an animal?
Use the following endpoint to adopt an animal:
AdoptionProcessV2 (/api/v2/animal/process/adoption)
See our Resources page for examples of the adoption insert model.
PersonId is the id of the person who is adopting the animal (i.e. the new owner).
StatusId is the id of an adoption status to create in the status history. StatusDateTimeUtc is the value used for the status date.
The Receipt model (for a new receipt) or a ReceiptId (for an existing receipt) is required. Any payments and allocations made for the adoption should be included in the Receipt model or added using the receipt endpoint (ReceiptV2 /api/v2/receipt).
AdoptionCounselorId is the id of a user who is listed as an adoption counselor.
AdoptionFeeId is required if the animal doesn't already have an adoption amount or adoption fee set.
SelectedOptInChoiceIds is an array of ids for each of the choices the person wants to be opted in to. If null then the person will not be opted in to any choice. You can get a list of available opt in choices from LookupListItemV2 /api/v2/person/optinchoice.
How do i select only people that have opted in to a service as part of an adoption?
...
Code Block |
---|
{ "FirstName": "test", "IsActive": true, "LastName": "person", "PhysicalAddress": { "CountryId": 1, "JurisdictionId":140, "StateId": 95, "StreetTypeId": 2, "SuburbId":90815, "Postcode": 84116 }, "MailingAddress": { "CountryId": 1, "StateId": 95, "StreetTypeId": 2, "SuburbId":90815, "Postcode": 84116 } } |
I’m being blocked by CORS policy. How do I fix?
By default we block all cross origin requests. To get your origin authorised you will need to contact ShelterBuddy support, please provide the ShelterBuddy site you are using and the origin you would like authorised.