aapi solution