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.
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,
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.
Powered by a free Atlassian Confluence Community License granted to RescueGroups.org. Evaluate Confluence today.