We have modified the sethistfcn which is used to receive result XML from the IMO by adding a second parameter to the function when it is called. The second parameter is an object. Currently, the object has only one field, but we expect to add more in the future. The single field is pctcomplt, which provides a number between 0.0 and 100.0 and indicates the calculated percent complete of the IMO.
Integrations can use this variable in a variety of ways, and avoid having to parse the Result XML just to retrieve it.
Existing implementations that do not accept two parameters should be fine and continue to function, as javascript will ignore the second parameter in this cases.
The revised API document is available at:
http://cfmedia.clicflic.com/web/misc/api/ClicFlic_API_current.pdf
No comments:
Post a Comment