Advertisement
Guest User

Untitled

a guest
Dec 9th, 2019
243
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 14.97 KB | None | 0 0
  1. {
  2.     "data": {
  3.         "linked_order_id": null,
  4.         "linked_order_type": null,
  5.         "order": {
  6.             "key": "9ef12060",
  7.             "id": 12573,
  8.             "request_id": 7513,
  9.             "client_order_id": "",
  10.             "created_at": 1575896430,
  11.             "created_by": {
  12.                 "name": "Александра",
  13.                 "surname": "Хохлова",
  14.                 "patronymic": null,
  15.                 "passport_serial": null,
  16.                 "passport_number": null,
  17.                 "passport_id": null,
  18.                 "contact_phone": null,
  19.                 "phone": "79700157642",
  20.                 "photo": null,
  21.                 "email": "hohlovaalexandra98@gmail.com"
  22.             },
  23.             "start_at": 1575901800,
  24.             "start_at_local": "2019-12-09 17:30:00",
  25.             "state": 8,
  26.             "assessed_cargo_value": 56453,
  27.             "client_comment": "",
  28.             "client": {
  29.                 "id": 3547,
  30.                 "type": 1,
  31.                 "status": 3,
  32.                 "phones": [],
  33.                 "emails": [],
  34.                 "logo": {
  35.                     "id": 76706,
  36.                     "original_name": "logotip-mir-tv.png",
  37.                     "download_url": "/v1/download-file/76706"
  38.                 },
  39.                 "company_full_name": "ОБЩЕСТВО С ОГРАНИЧЕННОЙ ОТВЕТСТВЕННОСТЬЮ \"ТЕХНОЛОГИИ ЦИФРОВОЙ БЕЗОПАСНОСТИ\"",
  40.                 "company_name": "ООО \"ТЕСТОВЫЙ ЗАКАЗЧИК\"",
  41.                 "kpp": "88888888",
  42.                 "inn": "0000000000",
  43.                 "type_of_ownership": null,
  44.                 "website": null,
  45.                 "address_legal": "191014,ГОРОД САНКТ-ПЕТЕРБУРГ,,,,ПЕРЕУЛОК БАСКОВ,ДОМ 10,ЛИТЕРА А,ПОМЕЩЕНИЕ 3-Н",
  46.                 "address_fact": "142052, ОБЛАСТЬ МОСКОВСКАЯ, ГОРОД ДОМОДЕДОВО,ДЕРЕВНЯ ШАХОВО, ДОМ 60, КОМ.  № 17",
  47.                 "address_post": "142052, ОБЛАСТЬ МОСКОВСКАЯ, ГОРОД ДОМОДЕДОВО,ДЕРЕВНЯ ШАХОВО, ДОМ 60, КОМ.  № 17",
  48.                 "client_requirements": null
  49.             },
  50.             "producer": {
  51.                 "id": 3549,
  52.                 "type": 1,
  53.                 "status": 3,
  54.                 "phones": [],
  55.                 "emails": [],
  56.                 "logo": {
  57.                     "id": 74911,
  58.                     "original_name": "Screen Shot 2019-05-22 at 11.20.07 AM.png",
  59.                     "download_url": "/v1/download-file/74911"
  60.                 },
  61.                 "company_full_name": "ОБЩЕСТВО С ОГРАНИЧЕННОЙ ОТВЕТСТВЕННОСТЬЮ \"ТЕХНОЛОГИИ ЦИФРОВОЙ БЕЗОПАСНОСТИ\"",
  62.                 "company_name": "ООО \"ТЕСТОВЫЙ ПОДРЯДЧИК ПЕРЕВОЗКИ 3549\"",
  63.                 "kpp": "88888888",
  64.                 "inn": "0000000000",
  65.                 "type_of_ownership": null,
  66.                 "website": null,
  67.                 "address_legal": null,
  68.                 "address_fact": "191015,ГОРОД САНКТ-ПЕТЕРБУРГ,ПЕРЕУЛОК БАСКОВ,ДОМ 10,ЛИТЕРА А,ПОМЕЩЕНИЕ 3-Н",
  69.                 "address_post": "191015,ГОРОД САНКТ-ПЕТЕРБУРГ,ПЕРЕУЛОК БАСКОВ,ДОМ 10,ЛИТЕРА А,ПОМЕЩЕНИЕ 3-Н",
  70.                 "is_delegated_order_selection_to_drivers": false,
  71.                 "self_employed": false
  72.             },
  73.             "problem": null,
  74.             "problems": [],
  75.             "required_contour_ids": [
  76.                 1
  77.             ],
  78.             "contour_id": 2,
  79.             "required_producer_ids": [],
  80.             "required_min_body_height_in_cm": 0,
  81.             "required_min_body_length_in_cm": 0,
  82.             "vehicleType": 3,
  83.             "bodyType": null,
  84.             "bodyTypes": {
  85.                 "1": 3,
  86.                 "2": 4,
  87.                 "3": 8
  88.             },
  89.             "hydroliftRequired": 0,
  90.             "rampCompatibilityRequired": 0,
  91.             "sanitaryPassportRequired": 0,
  92.             "sanitaryBookRequired": 0,
  93.             "palletJackIsRequired": 0,
  94.             "fasteningIsRequired": 0,
  95.             "conicsIsRequired": 0,
  96.             "maxHeightFromGroundInCm": 0,
  97.             "requiredPassesDetectionMode": 1,
  98.             "loadersTime": null,
  99.             "loadersRequiredOnAddress": null,
  100.             "cargoCategoryId": 19,
  101.             "isDriverLoaderRequired": 0,
  102.             "loadersCountRequired": 0,
  103.             "requiredPasses": [],
  104.             "addresses": {
  105.                 "1": {
  106.                     "comment": null,
  107.                     "email": "п@mail.ru",
  108.                     "phone": "+7 (000) 000-00-00",
  109.                     "secondPhone": null,
  110.                     "longitude": 37.625065,
  111.                     "latitude": 55.675667,
  112.                     "addressString": "Москва, Варшавское шоссе, 42",
  113.                     "contacts": "иь",
  114.                     "position": 1,
  115.                     "attachedFiles": []
  116.                 },
  117.                 "2": {
  118.                     "comment": null,
  119.                     "email": null,
  120.                     "phone": "+7 (911) 953-29-90",
  121.                     "secondPhone": null,
  122.                     "longitude": 37.623483,
  123.                     "latitude": 55.680311,
  124.                     "addressString": "Россия, Москва, Варшавское шоссе, 34",
  125.                     "contacts": "Иванов Иван",
  126.                     "position": 2,
  127.                     "attachedFiles": []
  128.                 }
  129.             },
  130.             "points": {
  131.                 "1": {
  132.                     "position": 1,
  133.                     "address": "Москва, Варшавское шоссе, 42",
  134.                     "contacts": "иь",
  135.                     "phone": "+7 (000) 000-00-00",
  136.                     "latitude": 55.675667,
  137.                     "longitude": 37.625065,
  138.                     "loadingType": 1,
  139.                     "comment": null,
  140.                     "email": "п@mail.ru",
  141.                     "secondPhone": null,
  142.                     "attachedFiles": []
  143.                 },
  144.                 "2": {
  145.                     "position": 2,
  146.                     "address": "Россия, Москва, Варшавское шоссе, 34",
  147.                     "contacts": "Иванов Иван",
  148.                     "phone": "+7 (911) 953-29-90",
  149.                     "latitude": 55.680311,
  150.                     "longitude": 37.623483,
  151.                     "loadingType": 1,
  152.                     "comment": null,
  153.                     "email": null,
  154.                     "secondPhone": null,
  155.                     "attachedFiles": []
  156.                 }
  157.             },
  158.             "driver": {
  159.                 "name": "Alexandra",
  160.                 "surname": "Khokhlova",
  161.                 "patronymic": "***",
  162.                 "passport_serial": null,
  163.                 "passport_number": null,
  164.                 "passport_id": "0000000000",
  165.                 "contact_phone": "79165684875",
  166.                 "phone": "79165684875",
  167.                 "photo": {
  168.                     "id": 5037,
  169.                     "original_name": "Screenshot_4.png",
  170.                     "download_url": "/v1/download-file/5037"
  171.                 },
  172.                 "id": 1510,
  173.                 "license_number": null,
  174.                 "license_serial": null,
  175.                 "license_id": "8888888888",
  176.                 "license_valid_till": 1773619200,
  177.                 "rating_by_clients": 5000,
  178.                 "can_work_as_loader": true,
  179.                 "is_on_sick_leave": false,
  180.                 "has_sanitary_book": true,
  181.                 "applicationPhone": "79165684875",
  182.                 "canWorkAsLoader": 1,
  183.                 "contactPhone": "79165684875",
  184.                 "dateOfBirth": "1998-03-16",
  185.                 "driverLicenseId": "8888888888",
  186.                 "driverLicenseDateOfBirth": "1998-03-16",
  187.                 "driverLicenseExpiresAtDate": "2026-03-16",
  188.                 "driverLicenseIssuedAtDate": "2016-03-16",
  189.                 "driverLicenseIssuedBy": "гибдд",
  190.                 "driverLicenseName": "Alexandra",
  191.                 "driverLicensePatronymic": "***",
  192.                 "driverLicensePlaceOfBirth": "2U",
  193.                 "driverLicenseSurname": "Khokhlova",
  194.                 "email": null,
  195.                 "emergencyContactName": null,
  196.                 "emergencyContactPhone": null,
  197.                 "factAddress": "Москва",
  198.                 "hasSanitaryBook": 1,
  199.                 "homePhone": null,
  200.                 "neverDelegate": 0,
  201.                 "passportIssuedAtDate": "2000-03-16",
  202.                 "passportIssuedBy": "xxxxx",
  203.                 "passportId": "0000000000",
  204.                 "passportUnitCode": "000-000",
  205.                 "placeOfBirth": "2U",
  206.                 "ratingByClients": 5000,
  207.                 "registrationAddress": "Москва",
  208.                 "sanitaryBookExpiresAtDate": "2022-03-16",
  209.                 "uiState": 2,
  210.                 "isOnSickLeave": false
  211.             },
  212.             "vehicle": {
  213.                 "id": 5582,
  214.                 "plate_number": "A000AA000",
  215.                 "plate_number_is_russian": true,
  216.                 "tractor_plate_number": null,
  217.                 "body_type": 8,
  218.                 "height_from_ground": 260,
  219.                 "lifting_capacity_in_kg": 1000,
  220.                 "has_fastening": false,
  221.                 "has_hydrolift": false,
  222.                 "has_sanitary_passport": false,
  223.                 "has_conics": false,
  224.                 "has_pallets_jack": false,
  225.                 "is_tent_demountable": null,
  226.                 "is_multiref": false,
  227.                 "is_rear_loading_available": true,
  228.                 "is_top_loading_available": false,
  229.                 "is_side_loading_available": false,
  230.                 "is_ramp_compatible": false,
  231.                 "last_gps_latitude": 55.6758219,
  232.                 "last_gps_longitude": 37.6250229,
  233.                 "last_gps_sent_at": 1575899649,
  234.                 "last_api_call_at": 1575899649,
  235.                 "photo": {
  236.                     "id": 5065,
  237.                     "original_name": "Screenshot_4.png",
  238.                     "download_url": "/v1/download-file/5065"
  239.                 },
  240.                 "mark_and_model": "Honda",
  241.                 "vehicle_type": {
  242.                     "id": 3,
  243.                     "name": "1т/ 7м3/ 3паллет"
  244.                 },
  245.                 "isOnline": true,
  246.                 "isFreeVehicle": 1,
  247.                 "passes": []
  248.             },
  249.             "vehicle_type": {
  250.                 "id": 3,
  251.                 "name": "1т/ 7м3/ 3паллет"
  252.             },
  253.             "by_routing_sheet": 0,
  254.             "frontend_status": {
  255.                 "state": 501,
  256.                 "state_entered_at": 1575898289
  257.             },
  258.             "insurance": null,
  259.             "type": 1
  260.         },
  261.         "map": {
  262.             "preliminaryPolyline": "_udeiBo_owfAvGgBhKSxRyCb^qDpRsBxU_Cxg@uAhTEdD{EtCcMx@kLkAiMuDeJmJmHyJOs`@|CwFlAcN|Ewa@jYyFzD_UlM_XlIgNdDwzDvbAuc@vJkjA`VcY|GoFlAs[nHgCj@oOlEaO|Dk_@hH_{@rNp@tPtbB_ZxBc@tIgCjNaFln@_Otq@aPb@xK^hJiRpE",
  263.             "preliminaryEncoder": "osrm",
  264.             "trackedPolyline": "qxdeiBwkmwfAH@{@?OAb@HL@",
  265.             "trackedEncoder": "osrm",
  266.             "polylines": [
  267.                 {
  268.                     "id": 1020998,
  269.                     "type": 1,
  270.                     "avgSpeed": 1,
  271.                     "distance": 8,
  272.                     "time_start": 1575896546,
  273.                     "time_end": 1575896574,
  274.                     "encoder": "osrm",
  275.                     "polyline": "qxdeiBwkmwfAH@{@?OAb@HL@"
  276.                 }
  277.             ]
  278.         },
  279.         "documents": [
  280.             {
  281.                 "file": null,
  282.                 "files": [
  283.                     {
  284.                         "id": 2388,
  285.                         "file": {
  286.                             "id": 79773,
  287.                             "original_name": "packing_list.jpg",
  288.                             "download_url": "/v1/download-file/79773?accessKey=db08dab3-5cdd-4342-95bc-fafb065894c9",
  289.                             "previews": {
  290.                                 "preview_84_url": "https://lorempixel.com/84/84/?72151"
  291.                             }
  292.                         },
  293.                         "createdAt": 1575896631,
  294.                         "isActual": 1
  295.                     }
  296.                 ],
  297.                 "category": 1,
  298.                 "comment": null
  299.             },
  300.             {
  301.                 "file": null,
  302.                 "files": [
  303.                     {
  304.                         "id": 2389,
  305.                         "file": {
  306.                             "id": 79774,
  307.                             "original_name": "packing_list.jpg",
  308.                             "download_url": "/v1/download-file/79774?accessKey=1e84688b-e5a0-4048-9520-7b49ec045249",
  309.                             "previews": {
  310.                                 "preview_84_url": "https://lorempixel.com/84/84/?58523"
  311.                             }
  312.                         },
  313.                         "createdAt": 1575896631,
  314.                         "isActual": 1
  315.                     }
  316.                 ],
  317.                 "category": 1,
  318.                 "comment": null
  319.             },
  320.             {
  321.                 "file": null,
  322.                 "files": [
  323.                     {
  324.                         "id": 2390,
  325.                         "file": {
  326.                             "id": 79775,
  327.                             "original_name": "expenses.jpg",
  328.                             "download_url": "/v1/download-file/79775?accessKey=d6a05aba-8aa1-499d-9b60-6ed8cf9986d1",
  329.                             "previews": {
  330.                                 "preview_84_url": "https://lorempixel.com/84/84/?29483"
  331.                             }
  332.                         },
  333.                         "createdAt": 1575896632,
  334.                         "isActual": 1
  335.                     }
  336.                 ],
  337.                 "category": 4,
  338.                 "comment": null
  339.             }
  340.         ],
  341.         "photos": [],
  342.         "history": {
  343.             "state": 302,
  344.             "state_entered_at": 1532939170,
  345.             "title": "История заказа на ревизии"
  346.         },
  347.         "calculations": {
  348.             "preliminary": null,
  349.             "final": null,
  350.             "effective": null
  351.         },
  352.         "tariffDynamicFinalCalculation": {
  353.             "id": 11804,
  354.             "cost": 90000,
  355.             "details": [
  356.                 {
  357.                     "article": "1400",
  358.                     "summary": 90000,
  359.                     "quantity": 2,
  360.                     "costPerItem": 45000
  361.                 }
  362.             ]
  363.         },
  364.         "orderCost": {
  365.             "totalCost": 108000,
  366.             "vatCost": 18000
  367.         }
  368.     },
  369.     "status": "ok"
  370. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement