1
0
-1

Need to set the value of animalAllowExport in each animal record so that animals can be exported to Petfinder and Adoptapet. What value should I use. "Petfinder-[account]" is not working.

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      Mike,

      The animalAllowExport field is a string, with a value of Yes or No. It controls the overall export of the animal, which includes the export via the RescueGroups.org API.

      The default for the field is Yes, so if you don't provide the field when you create the animal it should automatically be set to Yes.

      If you want to set the export accounts (ie., Adopt-a-Pet.com and Petfinder.com accounts) you would provide animalExportAccounts, which can be an array of the account IDs.  You can get those IDs from a list or search on the animalExportAccounts object.

      Hope that helps,

      Richard

      1. mike@nokilllearning.com

        Setting animalExport Accounts is not working for me.

        I have var accounts set to be the array of accounts I would like it to be:

        var accounts = ["Petfinder-XXXXX""AdoptaPet-XXXXX"];

        I set animalExportAccounts to accounts. No luck. The account numbers are correct. Setting all other field values works. As soon as I try to set animalExportAccounts, it fails.

      CommentAdd your comment...