Hi Ziad
The APIC-REST API supports json and xml.
Here are two links to get started:
https://developer.cisco.com/site/aci/docs/guides/getting-started/
http://www.cisco.com/c/en/us/td/docs/switches/datacenter/aci/apic/sw/2-x/rest_cfg/2_1_x/b_Cisco_APIC_REST_API_Configuration_Guide.html
HTH
Marcel