Constituent API changes?

Options

We use the Constituent API to retrieve account information for a member through a PHP script, parsing the results through the SimpleXMLElement function. As of last night, the data fed to this function is coming back as invalid. Has there been any changes to the Constituent API?

Tagged:

Comments

  • Well, as near as we can tell, the API is now adding

    <?xml version="1.0" encoding="UTF-8"?>

    at the start of the returned results. Previously, we had been adding this header (with ISO-8859-1 as Convio did not seem to properly support UTF-8) in order to have SimpleXMLElement parse the data. The Duplicate XML header threw things for a loop. Nice to see Convio now doing the right thing, including using UTF-8.

Categories