Esempio n. 1
0
        public AcApiResponse <GetAllFieldsResponse, ApiData> GetAllFields(GetAllFieldsRequest req)
        {
            var resp = _agentConnectIntegration.GetAllFields(req);

            var apiResp = new AcApiResponse <GetAllFieldsResponse, ApiData>
            {
                BusinessMetadata = MapperHelper.SetResponseProperties(resp.Payload?.Flags, DataSource.AgentConnect),
                ResponseData     = resp
            };

            return(apiResp);
        }