CRM-13252 exit nested api if getfields/getoptions action
Merge pull request #2319 from lcdservices/CRM-13252

CRM-13252 exit nested api if getfields/getoptions action