1
0
-1

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?

    CommentAdd your comment...

    2 answers

    1.  
      1
      0
      -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.

        CommentAdd your comment...
      1.  
        1
        0
        -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"
        ]
        }

         

         

        1. Rebecca Cronin-Dixon

          found the solution thanks!

        CommentAdd your comment...