XBEE24Pro DIO Sampling not working in API

I am using an XBEE24 802.15.4 PRO local module and want to sample the DIO pins.

This works fine in AT mode, but when trying it in API mode, it just replies with an OK response, but no data. I am running 10e8 firmware.

Please help. I can not see how a device can say it has DIO pins but you have no idea what is on the pins.

Never mind, it seems I had a bug in my parsing of the received data. Sorry about that