API call adjustments for VARCODE