Is it possible to connect Xbee configure router and Xbee-wifi and Xbee-cordinator to make a network? If yes then how?

If any one has more detail about this then please share…
I want to connect my Xbee network (mesh) to the inter-net.
In that network I have End devices, Routers and a co-ordinater.
And the complete data will comes at cordinator and send to internet. I’m using arduino as controller.
In API mode.

Thank you…

What is the exact part number and firmware version you have on each of the XBee modules you are working with?