2024-05-13 16:48:47 +05:00
|
|
|
using AsbCloudApp.Data;
|
|
|
|
using AsbCloudApp.Data.DrillTestReport;
|
|
|
|
using AsbCloudApp.Data.SAUB;
|
|
|
|
using AsbCloudApp.Requests;
|
|
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
using Refit;
|
|
|
|
|
|
|
|
namespace AsbCloudWebApi.IntegrationTests.Clients;
|
|
|
|
|
|
|
|
public interface IDrillTestControllerClient
|
|
|
|
{
|
|
|
|
[Post("/api/telemetry/{uid}/DrillTest")]
|
|
|
|
Task<IApiResponse> PostDataAsync(
|
|
|
|
string uid,
|
|
|
|
IEnumerable<DrillTestBaseDto> dtos,
|
|
|
|
CancellationToken token);
|
|
|
|
|
|
|
|
[Get("/api/well/{idWell}/DrillTest")]
|
|
|
|
Task<IApiResponse<PhysicalFileResult>> GenerateReportAsync(
|
|
|
|
int idWell,
|
|
|
|
int id,
|
|
|
|
CancellationToken cancellationToken);
|
|
|
|
|
2024-05-23 14:07:40 +05:00
|
|
|
[Get("/api/well/{idWell}/DrillTest/all")]
|
2024-05-13 16:48:47 +05:00
|
|
|
Task<IApiResponse<PaginationContainer<DrillTestReportInfoDto>>> GetListAsync(
|
|
|
|
int idWell,
|
|
|
|
FileReportRequest request,
|
|
|
|
CancellationToken cancellationToken);
|
|
|
|
}
|