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