2023-10-23 14:15:48 +05:00
|
|
|
|
@baseUrl = http://127.0.0.1:5000
|
|
|
|
|
@contentType = application/json
|
|
|
|
|
@contentTypeForFiles = application/octet-stream
|
|
|
|
|
@auth = Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiZGV2IiwiaWRDb21wYW55IjoiMSIsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6InJvb3QiLCJuYmYiOjE2OTc0MzcwMzEsImV4cCI6MTcyODk5NDYzMSwiaXNzIjoiYSIsImF1ZCI6ImEifQ.vB7Qb3K9gG77iP8y25zB3RcZIQk9cHkq3I1SkcooYJs
|
|
|
|
|
|
|
|
|
|
@uid = 20210101_000000000
|
|
|
|
|
@id = 1
|
|
|
|
|
@idWell = 55
|
|
|
|
|
|
2024-07-04 11:02:45 +05:00
|
|
|
|
### получение данных drill test с панели и сохранение их в ЕЦП
|
2023-10-23 14:15:48 +05:00
|
|
|
|
POST {{baseUrl}}/api/telemetry/{{uid}}/DrillTest
|
|
|
|
|
Content-Type: {{contentType}}
|
|
|
|
|
accept: */*
|
|
|
|
|
|
|
|
|
|
{
|
2023-10-23 15:54:29 +05:00
|
|
|
|
"id": {{id}},
|
2023-10-23 14:15:48 +05:00
|
|
|
|
"timeStampStart": "2023-10-23T08:55:36.882Z",
|
|
|
|
|
"depthStart": 10,
|
|
|
|
|
"params": [
|
|
|
|
|
{
|
|
|
|
|
"step": 1,
|
|
|
|
|
"workload": 2,
|
|
|
|
|
"speed": 3,
|
|
|
|
|
"depthSpeed": 4,
|
|
|
|
|
"timeDrillStep": 5,
|
|
|
|
|
"depthDrillStep": 15
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2024-07-04 11:02:45 +05:00
|
|
|
|
### Получение списка файлов drill test отчётов
|
2023-10-23 14:15:48 +05:00
|
|
|
|
GET {{baseUrl}}/api/well/{{idWell}}/DrillTest/all
|
|
|
|
|
Content-Type: {{contentType}}
|
|
|
|
|
accept: */*
|
|
|
|
|
Authorization: {{auth}}
|
|
|
|
|
|
2024-07-04 11:02:45 +05:00
|
|
|
|
### Генерация файла с drill test отчётом
|
2023-10-23 14:15:48 +05:00
|
|
|
|
GET {{baseUrl}}/api/well/{{idWell}}/DrillTest?id={{id}}
|
|
|
|
|
Content-Type: {{contentTypeForFiles}}
|
|
|
|
|
accept: */*
|
|
|
|
|
Authorization: {{auth}}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|