ApiCall implementation. Not finished. Not compilable