Shouldn't be fetching codeValues by code Id etc. Should either have a template api which returns appropriate code/codevalues for a particular api or introduce a new API which fetches codeValues by code names (As a code name is unique)