Esempio n. 1
0
        public IActionResult GetByAppId(int appId, [FromQuery] string fieldIds = null, [FromQuery] DataFormat dataFormat = DataFormat.Raw, [FromQuery] PagingRequest pagingRequest = null)
        {
            var record      = TestDataFactory.GetFullyFilledOutRecord(appId, 1);
            var getResponse = new GetPagedRecordsResponse
            {
            };

            getResponse.Items.Add(record);

            return(Ok(getResponse));
        }
Esempio n. 2
0
        public IActionResult QueryRecords(QueryRecordsRequest request, [FromQuery] PagingRequest pagingRequest = null)
        {
            var apiResponse = new GetPagedRecordsResponse();

            return(Ok(apiResponse));
        }