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