This commit is contained in:
2025-06-24 16:24:31 +03:00
parent 57c5e4b20b
commit a87d215e76

View File

@ -467,26 +467,36 @@ part_type - Перечисление (Enum)
"conclusion": "Прокладка изношена",
"product_instances": [
{
"line": 1,
"external_key": "pi-001"
},
{
"line": 2,
"external_key": "pi-002"
}
],
"parts": [
{
"external_key": "part-001"
"line": 1,
"external_key": "part-001",
"count": 10
},
{
"external_key": "part-002"
"line": 2,
"external_key": "part-002",
"count": 10
}
],
"jobs": [
{
"external_key": "job-001"
"line": 1,
"external_key": "job-001",
"count": 10
},
{
"external_key": "job-002"
"line": 2,
"external_key": "job-002",
"count": 10
}
]
}
@ -504,6 +514,7 @@ part_type - Перечисление (Enum)
"master_key": "master-001",
"parts": [
{
"line": 1,
"part_type": 1,
"count": 100,
"part_key": "material-1",
@ -512,6 +523,7 @@ part_type - Перечисление (Enum)
],
"jobs": [
{
"line": 1,
"code": "code-1",
"job_key": "job-1",
"name": "услуга 1",
@ -520,19 +532,15 @@ part_type - Перечисление (Enum)
],
"product_instances": [
{
"line": 1,
"product_instance_key": "product_instance_key_1",
"name": "оборудование-1",
"serial_number": "123",
"inventory_number": "1",
"warranty": true
"warranty": true
}
],
"files": [
{
"path": "\\Shared\\file.txt"
}
],
"files_path": "\\Shared\\",
"contact_person_name": "Петров Петр",
"number_in_client_database": "number_in_client_database_1",
"submission_date": "2025-04-07T08:30:00Z",
@ -559,28 +567,6 @@ part_type - Перечисление (Enum)
"warehouse_key": "warehouse-001",
"brand_key": "brand-001",
"master_key": "",
"product_instances": [
{
"name": "оборудование-1",
"serial_number": "123",
"inventory_number": "1",
"warranty": true
}
],
"parts": [
{
"part_type": 1,
"count": 100,
"part_name": "Деталь"
}
],
"jobs": [
{
"code": "code-1",
"name": "услуга 1",
"count": 1
}
],
"contact_person_name": "Петров Петр",
"number_in_client_database": "number_in_client_database_1",
"submission_date": "2025-04-07T08:30:00Z",
@ -592,7 +578,41 @@ part_type - Перечисление (Enum)
"status": 1,
"defect_key": "def-001",
"call_reason": "Капает из фильтра",
"conclusion": "Прокладка изношена"
"conclusion": "Прокладка изношена",
"product_instances": [
{
"line": 1,
"external_key": "pi-001"
},
{
"line": 2,
"external_key": "pi-002"
}
],
"parts": [
{
"line": 1,
"external_key": "part-001",
"count": 10
},
{
"line": 2,
"external_key": "part-002",
"count": 10
}
],
"jobs": [
{
"line": 1,
"external_key": "job-001",
"count": 10
},
{
"line": 2,
"external_key": "job-002",
"count": 10
}
]
}
```
@ -617,32 +637,10 @@ part_type - Перечисление (Enum)
```json
{
"customer_key": "cust-001",
"address_key": "UPDATED-addr-001",
"warehouse_key": "UPDATED-ware-001",
"address_key": "addr-001",
"warehouse_key": "warehouse-001",
"brand_key": "brand-001",
"master_key": "master-001",
"product_instances": [
{
"name": "оборудование-1",
"serial_number": "123",
"inventory_number": "1",
"warranty": true
}
],
"parts": [
{
"part_type": 1,
"count": 100,
"part_name": "Деталь"
}
],
"jobs": [
{
"code": "code-1",
"name": "услуга 1",
"count": 1
}
],
"contact_person_name": "Петров Петр",
"number_in_client_database": "number_in_client_database_1",
"submission_date": "2025-04-07T08:30:00Z",
@ -654,7 +652,41 @@ part_type - Перечисление (Enum)
"status": 1,
"defect_key": "def-001",
"call_reason": "Капает из фильтра",
"conclusion": "Прокладка изношена"
"conclusion": "Прокладка изношена",
"product_instances": [
{
"line": 1,
"external_key": "pi-001"
},
{
"line": 2,
"external_key": "pi-002"
}
],
"parts": [
{
"line": 1,
"external_key": "part-001",
"count": 10
},
{
"line": 2,
"external_key": "part-002",
"count": 10
}
],
"jobs": [
{
"line": 1,
"external_key": "job-001",
"count": 10
},
{
"line": 2,
"external_key": "job-002",
"count": 10
}
]
}
```
@ -670,6 +702,7 @@ part_type - Перечисление (Enum)
"master_key": "master-001",
"parts": [
{
"line": 1,
"part_type": 1,
"count": 100,
"part_key": "material-1",
@ -678,6 +711,7 @@ part_type - Перечисление (Enum)
],
"jobs": [
{
"line": 1,
"code": "code-1",
"job_key": "job-1",
"name": "услуга 1",
@ -686,6 +720,7 @@ part_type - Перечисление (Enum)
],
"product_instances": [
{
"line": 1,
"product_instance_key": "product_instance_key_1",
"name": "оборудование-1",
"serial_number": "123",
@ -693,11 +728,7 @@ part_type - Перечисление (Enum)
"warranty": true
}
],
"files": [
{
"path": "\\Shared\\file.txt"
}
],
"files_path": "\\Shared\\",
"contact_person_name": "Петров Петр",
"number_in_client_database": "number_in_client_database_1",
"submission_date": "2025-04-07T08:30:00Z",