You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The SL API does not provide foster info in particular, but does provide an Animal Events endpoint. To gather foster events, we'd need to
Use the Animals feed to collect the IDs of all animals who have come though PAWS
Then use the Animal Events endpoint to get the Events associated with each animal
Filter the Events data to keep just the foster events
Populate a db table something like this
person_id
animal_id
date
event
12345
987654321
2020-09-17
Foster.Out
12345
987654321
2020-10-16
Foster.Return
Then we could get the foster events for the 360 view by going from match_id -> shelterluv.person_id and returning all the events associated with the person.
This might be something @urirot could add into his SL people scheduled data pull.
@c-simpson Looks like we are already gathering this data on each 360 request. don't think we have any records like foster or adoption in our permanent data set.
take a look here in the common_api endpoint. by what you're describing it looks like the foster data should already be available to us. @dcstlouis I know have already been looking into that. I wonder what was missing.
can one of you clarify?
@urirot My guess is that somebody expected it would be available in the SL API Person Details endpoint, but it only provides a list of adopted animals.
A continuation of closed issue #354 (#354)
We do not have access into the Foster records. It was decided to remove the foster records from the UI for now.
Open an issue for importing foster records in "some way" ...the api is not able to export
The text was updated successfully, but these errors were encountered: