Custom api ceation in openEMR 7.0.3

Hi ,

i am trying to create custom api Please guide me through how can i do , i have tried my best to understand from already module present but no luck.

@adunsulag Your attention is required here.