chore: initial import for test contour

This commit is contained in:
sova-bootstrap
2026-05-27 19:36:34 +03:00
commit 721afae5d5
19 changed files with 464 additions and 0 deletions
@@ -0,0 +1,17 @@
{
"request": {
"method": "POST",
"urlPath": "/lead-service/v1/api/request/create"
},
"response": {
"status": 200,
"headers": {
"Content-Type": "application/json"
},
"jsonBody": {
"data": {
"leadId": "mock-lead-456"
}
}
}
}
@@ -0,0 +1,16 @@
{
"request": {
"method": "POST",
"urlPath": "/validate"
},
"response": {
"status": 200,
"headers": {
"Content-Type": "application/json"
},
"jsonBody": {
"status": "ok",
"message": ""
}
}
}
@@ -0,0 +1,19 @@
{
"request": {
"method": "POST",
"urlPath": "/api/reservation/anonymous-reserve"
},
"response": {
"status": 200,
"headers": {
"Content-Type": "application/json"
},
"jsonBody": {
"status": "ok",
"data": {
"reservationId": "mock-reservation-123",
"message": "Mock reservation created"
}
}
}
}
@@ -0,0 +1,21 @@
{
"request": {
"method": "GET",
"urlPath": "/filials/list"
},
"response": {
"status": 200,
"headers": {
"Content-Type": "application/json"
},
"jsonBody": {
"data": [
{
"id": 1,
"name": "Test Filial",
"address": "г. Саратов, ул. Тестовая, д. 1"
}
]
}
}
}
+31
View File
@@ -0,0 +1,31 @@
{
"request": {
"method": "GET",
"urlPath": "/api/reservation/intervals"
},
"response": {
"status": 200,
"headers": {
"Content-Type": "application/json"
},
"jsonBody": {
"data": [
{
"workdates": [
{
"2026-05-28": [
{
"depnum": 10,
"intervals": [
{ "isFree": true, "time": "10:00", "duration": 30 },
{ "isFree": false, "time": "10:30", "duration": 30 }
]
}
]
}
]
}
]
}
}
}
@@ -0,0 +1,22 @@
{
"request": {
"method": "GET",
"urlPath": "/pricelist/departments"
},
"response": {
"status": 200,
"headers": {
"Content-Type": "application/json"
},
"jsonBody": {
"data": [
{
"id": 10,
"name": "Test Department",
"viewInWeb": 1,
"schCount": 5
}
]
}
}
}
@@ -0,0 +1,31 @@
{
"request": {
"method": "GET",
"urlPath": "/pricelist/list"
},
"response": {
"status": 200,
"headers": {
"Content-Type": "application/json"
},
"jsonBody": {
"data": [
{
"kodoper": "1001",
"schname": "Test service",
"specname": "Test specialist",
"speccode": 101,
"priceInfo": 1500,
"discpercent": 0,
"discprice": 1500,
"structname": "Test dept",
"fname": "Test Filial",
"filial": 1,
"comment": "",
"mediaId": null
}
],
"total": 1
}
}
}