How I expose AX 2012 data to external system for data exchange.

Dear All,

Someone guide me how I can share my AX 2012 R3 table data with other system (like websites, console applications etc.)

Also guide me or share with me any sample code how I use AX shared data in external systems.

Thanks in advance.