API invocation method

Return result and code

3 min