S-47665 Correct variable names for api calls