public SendLogsResponseDto SendLogs(SendLogsRequestDto request) { var coreRequest = GetCoreRequest <Zidium.Core.Api.SendLogsRequest>(request); coreRequest.Data = AdapterDataConverter.ConvertToCore(request.Data); var coreResponse = Dispatcher.SendLogs(coreRequest); var response = GetApiResponse <SendLogsResponseDto>(coreResponse); response.Data = coreResponse.InternalData; return(response); }
public SendLogsResponse SendLogs(SendLogData[] data) { var dataDto = DataConverter.GetSendLogDtoList(data); var request = new SendLogsRequestDto() { Data = dataDto, Token = GetAccessTokenDto() }; var responseDto = DtoService.SendLogs(request); var response = CreateResponse <SendLogsResponse>(responseDto); response.InternalData = responseDto.Data; return(response); }
public SendLogsResponseDto SendLogs(SendLogsRequestDto request) { return(ExecuteAction <SendLogsResponseDto>("SendLogs", request)); }