api method execute