1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2024-11-28 09:08:38 +02:00

Test data update (Jenkins)

This commit is contained in:
Vitaly the Alpaca (bot) 2024-10-21 21:28:47 +03:00
parent ef7a00e163
commit bf0f63e49e
34 changed files with 3887 additions and 0 deletions

Binary file not shown.

View File

@ -0,0 +1,14 @@
 {
"entity": {
"uuid": "72753031-9cab-476e-b091-50d4c511afd2"
},
"requests": [
{
"request_uuid": "42c93f2b-bfe5-40eb-8927-04dcfb72457d",
"type": "CREATE",
"date_time": "2024-10-21T21:27:30+03:00",
"state": "ACCEPTED"
}
],
"related_entities": []
}

View File

@ -0,0 +1,14 @@
 {
"entity": {
"uuid": "72753031-e8e5-4454-b51a-643dbacc9e2d"
},
"requests": [
{
"request_uuid": "c034b699-b211-4c90-bfee-f8203cadb95b",
"type": "CREATE",
"date_time": "2024-10-21T21:28:16+03:00",
"state": "ACCEPTED"
}
],
"related_entities": []
}

View File

@ -0,0 +1,14 @@
 {
"entity": {
"uuid": "a93fd1b1-55b3-4033-a52a-d2df7bb6b469"
},
"requests": [
{
"request_uuid": "25763491-0de1-4290-bd12-13079abb6223",
"type": "CREATE_CLIENT_RETURN",
"date_time": "2024-10-21T21:27:52+03:00",
"state": "ACCEPTED"
}
],
"related_entities": []
}

View File

@ -0,0 +1,14 @@
 {
"entity": {
"uuid": "a93fd1b1-55b3-4033-a52a-d2df7bb6b469"
},
"requests": [
{
"request_uuid": "8c00117e-f6f9-462c-8479-b3ad0ec25bfa",
"type": "CREATE",
"date_time": "2024-10-21T21:27:08+03:00",
"state": "ACCEPTED"
}
],
"related_entities": []
}

View File

@ -0,0 +1,14 @@
 {
"entity": {
"uuid": "72753031-8222-4d75-9c04-8a14035cbe80"
},
"requests": [
{
"request_uuid": "d20f73ba-1277-4933-b559-241c4948e8d0",
"type": "CREATE",
"date_time": "2024-10-21T21:27:30+03:00",
"state": "ACCEPTED"
}
],
"related_entities": []
}

View File

@ -0,0 +1,14 @@
 {
"entity": {
"uuid": "72753031-318f-4249-ab65-4c7e08244c6d"
},
"requests": [
{
"request_uuid": "8f0331c9-6bbc-4ec9-9357-ecc9af47342b",
"type": "CREATE",
"date_time": "2024-10-21T21:27:30+03:00",
"state": "ACCEPTED"
}
],
"related_entities": []
}

View File

@ -0,0 +1,14 @@
 {
"entity": {
"uuid": "a93fd1b1-55b3-4033-a52a-d2df7bb6b469"
},
"requests": [
{
"request_uuid": "03eabc69-d543-4094-9fe5-dbff7e89ceb7",
"type": "CREATE_REFUSAL",
"date_time": "2024-10-21T21:27:53+03:00",
"state": "ACCEPTED"
}
],
"related_entities": []
}

View File

@ -0,0 +1,14 @@
 {
"entity": {
"uuid": "72753031-e8e5-4454-b51a-643dbacc9e2d"
},
"requests": [
{
"request_uuid": "2f041c20-6903-45a6-8543-81766ad2d051",
"type": "DELETE",
"date_time": "2024-10-21T21:28:16+03:00",
"state": "ACCEPTED"
}
],
"related_entities": []
}

View File

@ -0,0 +1,14 @@
 {
"entity": {
"uuid": "a93fd1b1-55b3-4033-a52a-d2df7bb6b469"
},
"requests": [
{
"request_uuid": "8450c6a5-900e-4f2c-96d0-92bc5cd64a89",
"type": "DELETE",
"date_time": "2024-10-21T21:27:53+03:00",
"state": "ACCEPTED"
}
],
"related_entities": []
}

View File

@ -0,0 +1,23 @@
 {
"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": ""
}
}

View File

@ -0,0 +1,23 @@
 {
"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 ISO_3166-1_alpha-2 format>",
"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>"
}
}

View File

@ -0,0 +1,130 @@
 {
"date_intervals": [
{
"date": "2024-10-23",
"time_intervals": [
{
"start_time": "09:00:00",
"end_time": "18:00:00"
},
{
"start_time": "09:00:00",
"end_time": "14:00:00"
},
{
"start_time": "14:00:00",
"end_time": "18:00:00"
},
{
"start_time": "18:00:00",
"end_time": "22:00:00"
}
]
},
{
"date": "2024-10-30",
"time_intervals": [
{
"start_time": "09:00:00",
"end_time": "18:00:00"
},
{
"start_time": "09:00:00",
"end_time": "14:00:00"
},
{
"start_time": "14:00:00",
"end_time": "18:00:00"
},
{
"start_time": "18:00:00",
"end_time": "22:00:00"
}
]
},
{
"date": "2024-11-06",
"time_intervals": [
{
"start_time": "09:00:00",
"end_time": "18:00:00"
},
{
"start_time": "09:00:00",
"end_time": "14:00:00"
},
{
"start_time": "14:00:00",
"end_time": "18:00:00"
},
{
"start_time": "18:00:00",
"end_time": "22:00:00"
}
]
},
{
"date": "2024-11-13",
"time_intervals": [
{
"start_time": "09:00:00",
"end_time": "18:00:00"
},
{
"start_time": "09:00:00",
"end_time": "14:00:00"
},
{
"start_time": "14:00:00",
"end_time": "18:00:00"
},
{
"start_time": "18:00:00",
"end_time": "22:00:00"
}
]
},
{
"date": "2024-11-20",
"time_intervals": [
{
"start_time": "09:00:00",
"end_time": "18:00:00"
},
{
"start_time": "09:00:00",
"end_time": "14:00:00"
},
{
"start_time": "14:00:00",
"end_time": "18:00:00"
},
{
"start_time": "18:00:00",
"end_time": "22:00:00"
}
]
},
{
"date": "2024-11-27",
"time_intervals": [
{
"start_time": "09:00:00",
"end_time": "18:00:00"
},
{
"start_time": "09:00:00",
"end_time": "14:00:00"
},
{
"start_time": "14:00:00",
"end_time": "18:00:00"
},
{
"start_time": "18:00:00",
"end_time": "22:00:00"
}
]
}
]
}

View File

@ -0,0 +1,40 @@
 {
"entity": {
"uuid": "72753031-9cab-476e-b091-50d4c511afd2",
"orders": [
{
"order_uuid": "a93fd1b1-55b3-4033-a52a-d2df7bb6b469"
}
],
"copy_count": 1,
"format": "A5",
"url": "https://api.edu.cdek.ru/v2/print/barcodes/72753031-9cab-476e-b091-50d4c511afd2.pdf",
"lang": "RUS",
"statuses": [
{
"code": "ACCEPTED",
"name": "Принят",
"date_time": "2024-10-21T21:27:30+03:00"
},
{
"code": "PROCESSING",
"name": "Формируется",
"date_time": "2024-10-21T21:27:30+03:00"
},
{
"code": "READY",
"name": "Сформирован",
"date_time": "2024-10-21T21:27:30+03:00"
}
]
},
"requests": [
{
"request_uuid": "42c93f2b-bfe5-40eb-8927-04dcfb72457d",
"type": "CREATE",
"date_time": "2024-10-21T21:27:30+03:00",
"state": "SUCCESSFUL"
}
],
"related_entities": []
}

View File

@ -0,0 +1 @@
 {}

View File

@ -0,0 +1 @@
 {}

View File

@ -0,0 +1,57 @@
 {
"entity": {
"uuid": "72753031-e8e5-4454-b51a-643dbacc9e2d",
"intake_date": "2024-10-22",
"intake_time_from": "10:00",
"intake_time_to": "17:00",
"name": "Consolidated cargo",
"weight": 1000,
"length": 10,
"width": 10,
"height": 10,
"comment": "Comment to courier",
"sender": {
"company": "Company",
"name": "Ivaniv Ivan",
"phones": [
{
"number": "+79589441654"
}
],
"passport_requirements_satisfied": false
},
"from_location": {
"code": 44,
"city_uuid": "7e8f36ba-d937-4ce4-8d53-e44177db6469",
"city": "Москва",
"fias_guid": "0c5b2444-70a0-4932-980c-b4dc0d3f02b5",
"kladr_code": "7700000000000",
"country_code": "RU",
"country": "Россия",
"region": "Москва",
"region_code": 81,
"sub_region": "Москва",
"longitude": 37.61556,
"latitude": 55.75222,
"address": "st. Bluchera, 32"
},
"need_call": false,
"statuses": [
{
"code": "ACCEPTED",
"name": "Принят",
"date_time": "2024-10-21T21:28:16+03:00"
}
],
"contragent_uuid": "ed75ecf4-30ed-4153-afe9-eb80bb512f22"
},
"requests": [
{
"request_uuid": "c034b699-b211-4c90-bfee-f8203cadb95b",
"type": "CREATE",
"date_time": "2024-10-21T21:28:16+03:00",
"state": "ACCEPTED"
}
],
"related_entities": []
}

View File

@ -0,0 +1,43 @@
 {
"intake_date": "<Courier waiting date>",
"intake_time_from": "<Start time of waiting for the courier>",
"intake_time_to": "<End time of waiting for the courier>",
"cdek_number": "<CDEK order number>",
"order_uuid": "<Order identifier in CDEK system>",
"lunch_time_from": "<Lunch start time>",
"lunch_time_to": "<Lunch finish time>",
"name": "<Goods description>",
"weight": "<Total weight (grams)>",
"length": "<Package Dimensions. Length (cm)>",
"width": "<Package Dimensions. Width (cm)>",
"height": "<Package Dimensions. Height (cm)>",
"comment": "<Comment to the request for courier>",
"need_call": "<Need to call the sender>",
"courier_power_of_attorney": "<The courier needs a letter of attorney>",
"courier_identity_card": "<The courier needs an identity document>",
"sender": {
"company": "<Name of senders company>",
"name": "<Full name of contact person>",
"contragent_type": "<Sender type: LEGAL_ENTITY, INDIVIDUAL>",
"phones": [
{
"number": "<Phone number>",
"additional": "<Additional information (extension number)>"
}
]
},
"from_location": {
"code": "<CDEC locality code>",
"fias_guid": "<Unique FIAS identifier>",
"postal_code": "<Postal code>",
"longitude": "<Longitude>",
"latitude": "<Latitude>",
"country_code": "<Country code>",
"region": "<Region name, specifying parameter for the city field>",
"region_code": "<CDEK region code, specifying parameter for the city field>",
"sub_region": "<Name of the region's district, specifying parameter for the region field>",
"city": "<City name, specifying parameter for postal_code>",
"kladr_code": "<CLADR code. Deprecated field>",
"address": "<Address string>"
}
}

View File

@ -0,0 +1,46 @@
 {
"entity": {
"cdek_number": "1106094898",
"order_uuid": "35597722-0c5e-4988-8e2b-57ea3ede7e5f",
"date": "2024-10-23",
"time_from": "10:00",
"time_to": "17:00",
"comment": "Group office",
"to_location": {
"code": 270,
"city_uuid": "4e938d63-e189-454d-bb5c-54bfb2f1e4e2",
"city": "Новосибирск",
"kladr_code": "5400000100000",
"country_code": "RU",
"country": "Россия",
"region": "Новосибирская область",
"region_code": 23,
"sub_region": "городской округ Новосибирск",
"longitude": 82.906928,
"latitude": 55.028739,
"address": "st. Bluchera, 33"
},
"uuid": "72753031-4031-40bd-88e4-8e0b920aa014",
"statuses": [
{
"code": "REGISTERED",
"name": "Зарегистрирована",
"date_time": "2024-10-21T21:28:29+03:00"
},
{
"code": "ACCEPTED",
"name": "Принята",
"date_time": "2024-10-21T21:28:17+03:00"
}
]
},
"requests": [
{
"request_uuid": "b250e29b-f5cb-4054-8f74-998ba95e11d6",
"type": "CREATE",
"date_time": "2024-10-21T21:28:17+03:00",
"state": "SUCCESSFUL"
}
],
"related_entities": []
}

View File

@ -0,0 +1 @@
 {}

View File

@ -0,0 +1 @@
 {}

View File

@ -0,0 +1,23 @@
 {
"postal_code": "",
"city_code": "",
"type": "",
"country_code": "",
"region_code": "",
"have_cashless": "",
"have_cash": "",
"allowed_cod": "",
"is_dressing_room": "",
"weight_max": "",
"weight_min": "",
"lang": "",
"take_only": "",
"is_handout": "",
"is_reception": "",
"fias_guid": "",
"code": "",
"is_ltl": "",
"fulfillment": "",
"size": "",
"page": ""
}

View File

@ -0,0 +1,23 @@
 {
"postal_code": "<Postal code of the city for which the list of offices is required>",
"city_code": "<CDEC locality code>",
"type": "<Office type: PVZ, POSTAMAT, ALL>",
"country_code": "<Country code in ISO_3166-1_alpha-2 format>",
"region_code": "<Region code according to CDEK database>",
"have_cashless": "<Availability of payment terminal>",
"have_cash": "<There is cash intake>",
"allowed_cod": "<Cash on delivery allowed>",
"is_dressing_room": "<Availability of fitting room>",
"weight_max": "<Maximum weight in kg that the office can accept>",
"weight_min": "<Minimum weight in kg that the office accepts>",
"lang": "<Localization of the office>",
"take_only": "<Is the office only a delivery point>",
"is_handout": "<Its a shipping point>",
"is_reception": "<Is there an office to take orders>",
"fias_guid": "<FIAS city code>",
"code": "<POZ code>",
"is_ltl": "<Does the office work with LTL>",
"fulfillment": "<Does the office work with Fullfilment.Arrival>",
"size": "<Limiting the result selection>",
"page": "<Result selection page number>"
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,162 @@
 {
"entity": {
"uuid": "a93fd1b1-55b3-4033-a52a-d2df7bb6b469",
"type": 1,
"is_return": false,
"is_reverse": false,
"cdek_number": "1106094897",
"number": "3d2378de-8718-4041-b89a-33e6058810c8",
"tariff_code": 139,
"comment": "New order",
"items_cost_currency": "RUB",
"recipient_currency": "RUB",
"delivery_recipient_cost": {
"value": 50,
"vat_sum": 0
},
"delivery_recipient_cost_adv": [
{
"threshold": 200,
"sum": 3000,
"vat_sum": 0
}
],
"sender": {
"company": "Тестирование Интеграции ИМ",
"name": "Petrov Petr",
"contragent_type": "LEGAL_ENTITY",
"passport_requirements_satisfied": false
},
"seller": {
"name": "Тестирование Интеграции ИМ"
},
"recipient": {
"company": "Ivaniv Ivan",
"name": "Ivaniv Ivan",
"phones": [
{
"number": "79134637228"
}
],
"passport_requirements_satisfied": false
},
"from_location": {
"code": 44,
"city_uuid": "7e8f36ba-d937-4ce4-8d53-e44177db6469",
"city": "Москва",
"fias_guid": "0c5b2444-70a0-4932-980c-b4dc0d3f02b5",
"kladr_code": "7700000000000",
"country_code": "RU",
"country": "Россия",
"region": "Москва",
"region_code": 81,
"sub_region": "Москва",
"longitude": 37.61556,
"latitude": 55.75222,
"address": "Ave. Leningradsky, 4"
},
"to_location": {
"code": 270,
"city_uuid": "4e938d63-e189-454d-bb5c-54bfb2f1e4e2",
"city": "Новосибирск",
"kladr_code": "5400000100000",
"country_code": "RU",
"country": "Россия",
"region": "Новосибирская область",
"region_code": 23,
"sub_region": "городской округ Новосибирск",
"longitude": 82.906928,
"latitude": 55.028739,
"address": "st. Bluchera, 32"
},
"services": [
{
"code": "INSURANCE",
"parameter": "600.00",
"sum": 4.5,
"total_sum": 5.4,
"discount_percent": 0,
"discount_sum": 0,
"vat_rate": 20,
"vat_sum": 0.9
},
{
"code": "SECURE_PACKAGE_A2",
"parameter": "10",
"sum": 500,
"total_sum": 600,
"discount_percent": 0,
"discount_sum": 0,
"vat_rate": 20,
"vat_sum": 100
}
],
"packages": [
{
"number": "bar-001",
"barcode": "000000536893",
"weight": 4000,
"length": 10,
"width": 10,
"weight_volume": 200,
"weight_calc": 4000,
"height": 10,
"comment": "приложена опись",
"items": [
{
"name": "Product",
"ware_key": "00055",
"payment": {
"value": 3000,
"vat_sum": 0
},
"weight": 700,
"weight_gross": 700,
"amount": 2,
"delivery_amount": 0,
"url": "www.item.ru",
"return_item_detail": {},
"excise": false,
"cost": 300
}
],
"package_id": "9c103199-2372-4807-9682-184e10288b38"
}
],
"statuses": [
{
"code": "ACCEPTED",
"name": "Принят",
"date_time": "2024-10-21T21:27:08+03:00",
"city": "Офис СДЭК"
},
{
"code": "CREATED",
"name": "Создан",
"date_time": "2024-10-21T21:26:59+03:00",
"city": "Офис СДЭК"
}
],
"is_client_return": false,
"delivery_mode": "1",
"delivery_detail": {
"delivery_sum": 1315,
"total_sum": 2183.4,
"payment_info": [],
"delivery_vat_rate": 20,
"delivery_vat_sum": 263,
"delivery_discount_percent": 0,
"delivery_discount_sum": 0
},
"calls": {}
},
"requests": [
{
"request_uuid": "8c00117e-f6f9-462c-8479-b3ad0ec25bfa",
"type": "CREATE",
"date_time": "2024-10-21T21:27:08+03:00",
"state": "SUCCESSFUL"
}
],
"related_entities": []
}

View File

@ -0,0 +1,162 @@
 {
"entity": {
"uuid": "a93fd1b1-55b3-4033-a52a-d2df7bb6b469",
"type": 1,
"is_return": false,
"is_reverse": false,
"cdek_number": "1106094897",
"number": "3d2378de-8718-4041-b89a-33e6058810c8",
"tariff_code": 139,
"comment": "New order",
"items_cost_currency": "RUB",
"recipient_currency": "RUB",
"delivery_recipient_cost": {
"value": 50,
"vat_sum": 0
},
"delivery_recipient_cost_adv": [
{
"threshold": 200,
"sum": 3000,
"vat_sum": 0
}
],
"sender": {
"company": "Тестирование Интеграции ИМ",
"name": "Petrov Petr",
"contragent_type": "LEGAL_ENTITY",
"passport_requirements_satisfied": false
},
"seller": {
"name": "Тестирование Интеграции ИМ"
},
"recipient": {
"company": "Ivaniv Ivan",
"name": "Ivaniv Ivan",
"phones": [
{
"number": "79134637228"
}
],
"passport_requirements_satisfied": false
},
"from_location": {
"code": 44,
"city_uuid": "7e8f36ba-d937-4ce4-8d53-e44177db6469",
"city": "Москва",
"fias_guid": "0c5b2444-70a0-4932-980c-b4dc0d3f02b5",
"kladr_code": "7700000000000",
"country_code": "RU",
"country": "Россия",
"region": "Москва",
"region_code": 81,
"sub_region": "Москва",
"longitude": 37.61556,
"latitude": 55.75222,
"address": "Ave. Leningradsky, 4"
},
"to_location": {
"code": 270,
"city_uuid": "4e938d63-e189-454d-bb5c-54bfb2f1e4e2",
"city": "Новосибирск",
"kladr_code": "5400000100000",
"country_code": "RU",
"country": "Россия",
"region": "Новосибирская область",
"region_code": 23,
"sub_region": "городской округ Новосибирск",
"longitude": 82.906928,
"latitude": 55.028739,
"address": "st. Bluchera, 32"
},
"services": [
{
"code": "INSURANCE",
"parameter": "600.00",
"sum": 4.5,
"total_sum": 5.4,
"discount_percent": 0,
"discount_sum": 0,
"vat_rate": 20,
"vat_sum": 0.9
},
{
"code": "SECURE_PACKAGE_A2",
"parameter": "10",
"sum": 500,
"total_sum": 600,
"discount_percent": 0,
"discount_sum": 0,
"vat_rate": 20,
"vat_sum": 100
}
],
"packages": [
{
"number": "bar-001",
"barcode": "000000536893",
"weight": 4000,
"length": 10,
"width": 10,
"weight_volume": 200,
"weight_calc": 4000,
"height": 10,
"comment": "приложена опись",
"items": [
{
"name": "Product",
"ware_key": "00055",
"payment": {
"value": 3000,
"vat_sum": 0
},
"weight": 700,
"weight_gross": 700,
"amount": 2,
"delivery_amount": 0,
"url": "www.item.ru",
"return_item_detail": {},
"excise": false,
"cost": 300
}
],
"package_id": "9c103199-2372-4807-9682-184e10288b38"
}
],
"statuses": [
{
"code": "ACCEPTED",
"name": "Принят",
"date_time": "2024-10-21T21:27:08+03:00",
"city": "Офис СДЭК"
},
{
"code": "CREATED",
"name": "Создан",
"date_time": "2024-10-21T21:26:59+03:00",
"city": "Офис СДЭК"
}
],
"is_client_return": false,
"delivery_mode": "1",
"delivery_detail": {
"delivery_sum": 1315,
"total_sum": 2183.4,
"payment_info": [],
"delivery_vat_rate": 20,
"delivery_vat_sum": 263,
"delivery_discount_percent": 0,
"delivery_discount_sum": 0
},
"calls": {}
},
"requests": [
{
"request_uuid": "8c00117e-f6f9-462c-8479-b3ad0ec25bfa",
"type": "CREATE",
"date_time": "2024-10-21T21:27:08+03:00",
"state": "SUCCESSFUL"
}
],
"related_entities": []
}

View File

@ -0,0 +1,115 @@
 {
"tariff_code": "",
"recipient": {
"company": "",
"name": "",
"passport_series": "",
"passport_number": "",
"passport_date_of_issue": "",
"passport_organization": "",
"tin": "",
"passport_date_of_birth": "",
"email": "",
"contragent_type": "",
"phones": [
{
"number": "",
"additional": ""
}
]
},
"packages": [
{
"number": "",
"weight": "",
"length": "",
"width": "",
"height": "",
"comment": "",
"items": [
{
"name": "",
"ware_key": "",
"marking": "",
"payment": {
"value": "",
"vat_sum": "",
"vat_rate": ""
},
"cost": "",
"weight": "",
"weight_gross": "",
"amount": "",
"name_i18n": "",
"brand": "",
"country_code": "",
"material": "",
"wifi_gsm": "",
"url": ""
}
]
}
],
"additional_order_types": "",
"comment": "",
"developer_key": "",
"shipment_point": "",
"delivery_point": "",
"date_invoice": "",
"shipper_name": "",
"shipper_address": "",
"sender": {
"company": "",
"name": "",
"email": "",
"passport_series": "",
"passport_number": "",
"passport_date_of_issue": "",
"passport_organization": "",
"tin": "",
"passport_date_of_birth": "",
"contragent_type": "",
"phones": [
{
"number": "",
"additional": ""
}
]
},
"from_location": {
"code": "",
"fias_guid": "",
"postal_code": "",
"longitude": "",
"latitude": "",
"country_code": "",
"region": "",
"region_code": "",
"sub_region": "",
"city": "",
"kladr_code": "",
"address": ""
},
"to_location": {
"code": "",
"fias_guid": "",
"postal_code": "",
"longitude": "",
"latitude": "",
"country_code": "",
"region": "",
"region_code": "",
"sub_region": "",
"city": "",
"kladr_code": "",
"address": ""
},
"services": {
"code": "",
"parameter": ""
},
"print": "",
"is_client_return": "",
"accompanying_number": "",
"widget_token": ""
}

View File

@ -0,0 +1,115 @@
 {
"tariff_code": "<Tariff code)>",
"recipient": {
"company": "<Company name>",
"name": "<Full name of contact person>",
"passport_series": "<Passport series>",
"passport_number": "<Passport number>",
"passport_date_of_issue": "<Date of issue of passport>",
"passport_organization": "<Passport issuing authority>",
"tin": "<TIN>",
"passport_date_of_birth": "<Birth date>",
"email": "<Email as RFC 2822>",
"contragent_type": "<Sender type: LEGAL_ENTITY, INDIVIDUAL >",
"phones": [
{
"number": "<Phone number>",
"additional": "<Additional information (extension number)>"
}
]
},
"packages": [
{
"number": "<Package number>",
"weight": "<Total weight (grams)>",
"length": "<Package Dimensions. Length (cm)>",
"width": "<Package Dimensions. Width (cm)>",
"height": "<Package Dimensions. Height (cm)>",
"comment": "<Package withommentary>",
"items": [
{
"name": "<Product name>",
"ware_key": "<Product ID/article>",
"marking": "<Product marking>",
"payment": {
"value": "<Amount of cash on delivery, including VAT>",
"vat_sum": "<VAT amount>",
"vat_rate": "<VAT rate (value - 0, 10, 12, 20, null - no VAT)>"
},
"cost": "<Declared product price>",
"weight": "<Weight (per unit, grams)>",
"weight_gross": "<Gross weight>",
"amount": "<Number of units (pcs)>",
"name_i18n": "<Foreign language name>",
"brand": "<Brand in a foreign language>",
"country_code": "<Country code of the product manufacturer as ISO_3166-1_alpha-2>",
"material": "<Material code>",
"wifi_gsm": "<Contains wifi or gsm>",
"url": "<Link to the website of the online store with the description of the product>"
}
]
}
],
"additional_order_types": "<Additional order type>",
"comment": "<Order comment>",
"developer_key": "<Developer key (for module developers)>",
"shipment_point": "<Code of CDEK POZ for self carriage by the customer>",
"delivery_point": "<Code of CDEK office to which the package will be delivered>",
"date_invoice": "<Invoice date>",
"shipper_name": "<Shipper>",
"shipper_address": "<Shippers address>",
"sender": {
"company": "<Company name>",
"name": "<Full name of contact person>",
"email": "<Email for alerts as RFC 2822>",
"passport_series": "<Passport series>",
"passport_number": "<Passport number>",
"passport_date_of_issue": "<Date of issue of passport>",
"passport_organization": "<Passport issuing authority>",
"tin": "<TIN>",
"passport_date_of_birth": "<Birth date>",
"contragent_type": "<Sender type: LEGAL_ENTITY, INDIVIDUAL>",
"phones": [
{
"number": "<Phone number>",
"additional": "<Additional information (extension number)>"
}
]
},
"from_location": {
"code": "<CDEC locality code>",
"fias_guid": "<Unique FIAS identifier>",
"postal_code": "<Postal code>",
"longitude": "<Longitude>",
"latitude": "<Latitude>",
"country_code": "<Country code in ISO_3166-1_alpha-2 format>",
"region": "<Region name, specifying parameter for the city field>",
"region_code": "<CDEK region code, specifying parameter for the city field>",
"sub_region": "<Name of the region's district, specifying parameter for the region field>",
"city": "<City name, specifying parameter for postal_code>",
"kladr_code": "<CLADR code>",
"address": "<Address string >"
},
"to_location": {
"code": "<CDEC locality code>",
"fias_guid": "<Unique FIAS identifier>",
"postal_code": "<Postal code>",
"longitude": "<Longitude>",
"latitude": "<Latitude>",
"country_code": "<Country code in ISO_3166-1_alpha-2 format>",
"region": "<Region name, specifying parameter for the city field>",
"region_code": "<CDEK region code, specifying parameter for the city field>",
"sub_region": "<Name of the region's district, specifying parameter for the region field>",
"city": "<City name, specifying parameter for postal_code>",
"kladr_code": "<CLADR code>",
"address": "<Address string >"
},
"services": {
"code": "<Type of additional service>",
"parameter": "<Additional service parameter>"
},
"print": "<Need to generate a document>",
"is_client_return": "<Customer refund>",
"accompanying_number": "<Number of the accompanying consignment note>",
"widget_token": "<Token received from widget.cdek.ru>"
}

View File

@ -0,0 +1,18 @@
 {
"orders": [
{
"order_uuid": "a93fd1b1-55b3-4033-a52a-d2df7bb6b469",
"cdek_number": 1106094897,
"passport": [
{
"client": "SENDER",
"passport_requirements_satisfied": false
},
{
"client": "RECEIVER",
"passport_requirements_satisfied": false
}
]
}
]
}

View File

@ -0,0 +1,24 @@
 {
"entity": {
"uuid": "72753031-8222-4d75-9c04-8a14035cbe80",
"prealert_number": "PA/1305/27",
"planned_date": "2024-10-23T00:27:30+03:00",
"shipment_point": "NSK27",
"orders": [
{
"order_uuid": "a93fd1b1-55b3-4033-a52a-d2df7bb6b469",
"cdek_number": 1106094897,
"im_number": "3d2378de-8718-4041-b89a-33e6058810c8"
}
]
},
"requests": [
{
"request_uuid": "d20f73ba-1277-4933-b559-241c4948e8d0",
"type": "CREATE",
"date_time": "2024-10-21T21:27:30+03:00",
"state": "SUCCESSFUL"
}
],
"related_entities": []
}

View File

@ -0,0 +1,39 @@
 {
"entity": {
"uuid": "72753031-318f-4249-ab65-4c7e08244c6d",
"orders": [
{
"order_uuid": "a93fd1b1-55b3-4033-a52a-d2df7bb6b469"
}
],
"copy_count": 1,
"type": "tpl_russia",
"url": "https://api.edu.cdek.ru/v2/print/orders/72753031-318f-4249-ab65-4c7e08244c6d.pdf",
"statuses": [
{
"code": "ACCEPTED",
"name": "Принят",
"date_time": "2024-10-21T21:27:30+03:00"
},
{
"code": "PROCESSING",
"name": "Формируется",
"date_time": "2024-10-21T21:27:30+03:00"
},
{
"code": "READY",
"name": "Сформирован",
"date_time": "2024-10-21T21:27:31+03:00"
}
]
},
"requests": [
{
"request_uuid": "8f0331c9-6bbc-4ec9-9357-ecc9af47342b",
"type": "CREATE",
"date_time": "2024-10-21T21:27:30+03:00",
"state": "SUCCESSFUL"
}
],
"related_entities": []
}

View File

@ -0,0 +1,7 @@
 {
"access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3Mjk1Mzg4MjQsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJhcGktdmVyc2lvbjoxLjEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZXNzOmZhbHNlIiwiY29udHJhZ2VudC11dWlkOmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImZ1bGwtbmFtZTrQotC10YHRgtC40YDQvtCy0LDQvdC40LUg0JjQvdGC0LXQs9GA0LDRhtC40Lgg0JjQnCJdLCJqdGkiOiI0TW9vNnF6TzlBY3VYR3pzVzgxaC1IbC1VM1UiLCJjbGllbnRfaWQiOiJ3cUd3aVF4MGdnOG1MdGlFS3NVaW5qVlNJQ0NqdFRFUCJ9.Cx_UeuBb-Pj-AcByzdVqaSMnsT97JX7KCxWUZUjIjntFqwGvGLkzvWq1MHfx8V3tn7RTSiy13xi6rHb_lTNQkUiETLJCE3ko2qusJKqX9STtAw5vkfaof2_2YfF3b1xz1AeR41NBr0PSCuBGgzRmHnLKJme2um6MY9tLVZHu7k8K_MHqmIH-E9BGe-Icu_Q46j4oHkuE2kHcwC7fUh-8tz71o3FW3yrD714NMuKUbPfplZ5_RmmH_qiBKrvDyq9l__Xv0KbR-xyjejndhfcYJD5tM2mBjPg5DQHHdWqVOKg7enoLArJyKJzFi7__uKubPnfSO8oKCgxqMzyHBtkZdw",
"token_type": "bearer",
"expires_in": 3599,
"scope": "location:all order:all payment:all",
"jti": "4Moo6qzO9AcuXGzsW81h-Hl-U3U"
}

View File

@ -0,0 +1,14 @@
 {
"entity": {
"uuid": "72753031-4031-40bd-88e4-8e0b920aa014"
},
"requests": [
{
"request_uuid": "b250e29b-f5cb-4054-8f74-998ba95e11d6",
"type": "CREATE",
"date_time": "2024-10-21T21:28:17+03:00",
"state": "ACCEPTED"
}
],
"related_entities": []
}

View File

@ -0,0 +1,14 @@
 {
"entity": {
"uuid": "a93fd1b1-55b3-4033-a52a-d2df7bb6b469"
},
"requests": [
{
"request_uuid": "7492bd86-fb08-4d14-95fe-64d51a823d66",
"type": "UPDATE",
"date_time": "2024-10-21T21:27:52+03:00",
"state": "ACCEPTED"
}
],
"related_entities": []
}