You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2026-05-22 10:05:29 +02:00
Фикс тестов
This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
{
|
||||
"entity": {
|
||||
"uuid": "72753031-af23-4f71-bfc4-f75acb1b4b88"
|
||||
},
|
||||
"requests": [
|
||||
{
|
||||
"request_uuid": "857dabc5-cc11-463c-8ebf-f27f289c1c28",
|
||||
"type": "CREATE",
|
||||
"date_time": "2024-10-21T17:10:45+03:00",
|
||||
"state": "ACCEPTED"
|
||||
}
|
||||
],
|
||||
"related_entities": []
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
{
|
||||
"date": "",
|
||||
"cdek_number": "",
|
||||
"order_uuid": "",
|
||||
"time_from": "",
|
||||
"time_to": "",
|
||||
"comment": "",
|
||||
"delivery_point": "",
|
||||
"to_location": {
|
||||
"code": "",
|
||||
"fias_guid": "",
|
||||
"postal_code": "",
|
||||
"longitude": "",
|
||||
"latitude": "",
|
||||
"country_code": "",
|
||||
"region": "",
|
||||
"region_code": "",
|
||||
"sub_region": "",
|
||||
"city": "",
|
||||
"kladr_code": "",
|
||||
"address": ""
|
||||
}
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
{
|
||||
"date": "<Delivery date agreed with the recipient>",
|
||||
"cdek_number": "<CDEK order number>",
|
||||
"order_uuid": "<Order identifier in CDEK system>",
|
||||
"time_from": "<Delivery time FROM agreed with the recipient>",
|
||||
"time_to": "<Delivery time TO agreed with the recipient>",
|
||||
"comment": "<Comment>",
|
||||
"delivery_point": "<Alphanumeric code of CDEK POZ>",
|
||||
"to_location": {
|
||||
"code": "<CDEC locality code>",
|
||||
"fias_guid": "<Unique FIAS identifier>",
|
||||
"postal_code": "<Postal code>",
|
||||
"longitude": "<Longitude>",
|
||||
"latitude": "<Latitude>",
|
||||
"country_code": "<Country code in format ISO_3166-1_alpha-2>",
|
||||
"region": "<Region name>",
|
||||
"region_code": "<Region code>",
|
||||
"sub_region": "<Name of the area of the region>",
|
||||
"city": "<City name>",
|
||||
"kladr_code": "<CLADR code>",
|
||||
"address": "<Address string>"
|
||||
}
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
NOT JSON:
|
||||
@@ -1 +0,0 @@
|
||||
NOT JSON:
|
||||
@@ -1,52 +0,0 @@
|
||||
{
|
||||
"entity": {
|
||||
"cdek_number": "1106207236",
|
||||
"order_uuid": "72753031-df04-44a4-bc60-11e8b5253b1d",
|
||||
"date": "2024-10-22",
|
||||
"time_from": "10:00",
|
||||
"time_to": "15:00",
|
||||
"comment": "Group office",
|
||||
"to_location": {
|
||||
"code": 137,
|
||||
"city": "St. Petersburg",
|
||||
"fias_guid": "c2deb16a-0330-4f05-821f-1d09c93331e6",
|
||||
"kladr_code": "78",
|
||||
"country_code": "RU",
|
||||
"region": "St. Petersburg",
|
||||
"region_code": 82,
|
||||
"sub_region": "St. Petersburg",
|
||||
"longitude": 30.3159,
|
||||
"latitude": 59.9391,
|
||||
"address": "Berdsk Lenina street 16",
|
||||
"postal_code": "190000"
|
||||
},
|
||||
"uuid": "72753031-7acc-464e-ba0d-ad2da625006a",
|
||||
"statuses": [
|
||||
{
|
||||
"code": "INVALID",
|
||||
"name": "Некорректна",
|
||||
"date_time": "2024-10-21T17:11:28+03:00"
|
||||
},
|
||||
{
|
||||
"code": "ACCEPTED",
|
||||
"name": "Принята",
|
||||
"date_time": "2024-10-21T17:11:27+03:00"
|
||||
}
|
||||
]
|
||||
},
|
||||
"requests": [
|
||||
{
|
||||
"request_uuid": "595d5c2b-4c42-48e3-b00e-99ae6257ca70",
|
||||
"type": "CREATE",
|
||||
"date_time": "2024-10-21T17:11:27+03:00",
|
||||
"state": "INVALID",
|
||||
"errors": [
|
||||
{
|
||||
"code": "v2_entity_not_found",
|
||||
"message": "Entity is not found by uuid 72753031-df04-44a4-bc60-11e8b5253b1d"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"related_entities": []
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
{
|
||||
"orders": [
|
||||
{
|
||||
"order_uuid": "9fb9d4c4-92c7-486b-a29d-278c4a247f83",
|
||||
"cdek_number": 1106094800,
|
||||
"passport": [
|
||||
{
|
||||
"client": "SENDER",
|
||||
"passport_requirements_satisfied": false
|
||||
},
|
||||
{
|
||||
"client": "RECEIVER",
|
||||
"passport_requirements_satisfied": false
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,24 +0,0 @@
|
||||
{
|
||||
"entity": {
|
||||
"uuid": "72753031-af23-4f71-bfc4-f75acb1b4b88",
|
||||
"prealert_number": "PA/1305/16",
|
||||
"planned_date": "2024-10-22T20:10:43+03:00",
|
||||
"shipment_point": "NSK27",
|
||||
"orders": [
|
||||
{
|
||||
"order_uuid": "9fb9d4c4-92c7-486b-a29d-278c4a247f83",
|
||||
"cdek_number": 1106094800,
|
||||
"im_number": "5b8be6bd-51ce-4b60-bf09-400a51957d3a"
|
||||
}
|
||||
]
|
||||
},
|
||||
"requests": [
|
||||
{
|
||||
"request_uuid": "857dabc5-cc11-463c-8ebf-f27f289c1c28",
|
||||
"type": "CREATE",
|
||||
"date_time": "2024-10-21T17:10:45+03:00",
|
||||
"state": "SUCCESSFUL"
|
||||
}
|
||||
],
|
||||
"related_entities": []
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
{
|
||||
"entity": {
|
||||
"uuid": "72753031-7acc-464e-ba0d-ad2da625006a"
|
||||
},
|
||||
"requests": [
|
||||
{
|
||||
"request_uuid": "595d5c2b-4c42-48e3-b00e-99ae6257ca70",
|
||||
"type": "CREATE",
|
||||
"date_time": "2024-10-21T17:11:27+03:00",
|
||||
"state": "ACCEPTED"
|
||||
}
|
||||
],
|
||||
"related_entities": []
|
||||
}
|
||||
Reference in New Issue
Block a user