2 answers
- 10-1
Rebecca, I believe you want to use the foster* fields (ex., fosterEmail, fosterName, etc). If those fields are not populated with a value you should use the organization's contact information instead.
Add your comment... - 10-1
i'm creating an app that lists only dogs in shelters so i need the contact info for the organization. The org fields are all empty when i call them.
I am now trying to pull down the organization data by HTTP api to cross reference them but am receiving an error saying i need either a search field and/or filter. I would be so grateful if you could check my code below and let me know what i am doing wrong. I am using angular js.
var keys = {
"apikey": "*****",
"objectType": "orgs",
"objectAction": "publicView",
"search": {
"resultStart" : 0,
"resultLimit" : 10,
"resultSort": "orgID",
"resultOrder" : "asc",
"calcFoundRows": "Yes",
"fields": [
"orgID","orgLocation","orgName", "orgAddress", "orgCity","orgPhone","orgEmail","orgWebsiteUrl"
]
}- Rebecca Cronin-Dixon
found the solution thanks!
Add your comment...
I am using HTTP Api to get animal data - i have tried getting the contact by animalContactEmail and animalContactName but am getting an invalid property error - what am i doing wrong?