returning valid commandId for api actions when maker checker is enabled

Vishwas,

Returning the valid commandId for api actions when maker checker is enabled.