public AcApiResponse <SearchConsumerProfilesResponse, ApiData> SearchConsumerProfiles(SearchConsumerProfilesRequest req) { var resp = _agentConnectIntegration.SearchConsumerProfiles(req); var apiResp = new AcApiResponse <SearchConsumerProfilesResponse, ApiData> { BusinessMetadata = MapperHelper.SetResponseProperties(resp.Payload?.Flags, DataSource.AgentConnect), ResponseData = resp }; return(apiResp); }