Advertisement
Guest User

Untitled

a guest
Jul 18th, 2019
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.51 KB | None | 0 0
  1. I, [2019-07-18T11:55:47.870615 #18561] INFO -- : Started PATCH "/orders/15959" for 87.229.232.50 at 2019-07-18 11:55:47 +0300
  2. I, [2019-07-18T11:55:47.877122 #18561] INFO -- : Processing by OrdersController#update as API_JSON
  3. I, [2019-07-18T11:55:47.880563 #18561] INFO -- : Parameters: {"data"=>{"id"=>"15959", "attributes"=>{"title"=>"Новый заказ #15959", "current_broker_id"=>178, "suggested_broker_id"=>6, "area"=>nil, "broker_name"=>nil, "order_type"=>"rent", "calculating_json"=>{"status"=>"finished", "total_blocks"=>2191, "done_blocks"=>2191, "found_blocks"=>192, "label"=>"поиск завершен, найдено 192 результатов"}, "created_at"=>nil, "client_id"=>18914, "comment"=>"В пределах ТТК, готовое помещение, смешанная планировка. Перевести на Смольнякову", "next_communication_time"=>nil, "status"=>2, "status_translate"=>"принят брокером", "price_string"=>nil, "is_read"=>false, "is_read_by_broker"=>false, "client_commission"=>nil, "search_params"=>{"one_floor_one_owner"=>false, "one_owner_several_floors"=>false, "max_floors_distance"=>2}}, "relationships"=>{"author"=>{"data"=>{"type"=>"users", "id"=>"178", "attributes"=>{"email"=>"o.smolnyakova@of.ru", "last_name"=>"Смольнякова", "name"=>"Оксана", "image_url"=>"/system/images/pictures/000/145/785/original/data?1560845392", "little_image_url"=>"/system/images/pictures/000/145/785/medium/data?1560845392", "position"=>"Консультант", "is_online"=>true, "signature"=>nil, "full_name"=>"Оксана Смольнякова", "is_active"=>true, "current_balance"=>nil, "global_balance"=>nil, "department_name"=>"Коммерческая недвижимость", "login"=>"o.smolnyakova", "department_id"=>20, "month_global_balance"=>1000, "day_average_load"=>200, "day_balance"=>0, "started_work_on"=>nil, "resigned_on"=>nil, "birthday"=>"1989-12-28T00:00:00.000Z", "salary"=>30000, "has_time"=>false}, "relationships"=>{"phone_numbers"=>{"data"=>[{"type"=>"phone-numbers", "id"=>"24371", "attributes"=>{"number"=>"+7 (964) 721-20-16", "unformated_number"=>"79647212016", "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"24738", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"24743", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"24744", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"24745", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"24746", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"25093", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"25094", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"25095", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"25226", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"25934", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"25935", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"25961", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"25962", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"25963", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"25965", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"25966", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"25967", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"25968", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"25969", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"25970", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"25971", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"25972", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"25973", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"25975", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"25977", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"26437", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"26438", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"26439", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"26440", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"26441", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"26442", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"26444", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"26446", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"26447", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"26449", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"рабочий"}}, {"type"=>"phone-numbers", "id"=>"26450", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"28903", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"29342", "attributes"=>{"number"=>"107", "unformated_number"=>nil, "label"=>"внутренний"}}, {"type"=>"phone-numbers", "id"=>"29797", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"29866", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"29868", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"29910", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"30136", "attributes"=>{"number"=>"210", "unformated_number"=>nil, "label"=>"внутренний"}}], "relationType"=>"hasMany"}, "followers"=>{"data"=>[], "relationType"=>"hasMany"}, "clients_for_call"=>{"data"=>[{"type"=>"clients", "id"=>"18900", "attributes"=>{"is_person"=>0, "is_buyer"=>0, "is_owner"=>0}}, {"type"=>"clients", "id"=>"18914", "attributes"=>{"name"=>"Рашид ", "site"=>nil, "source"=>"нетворкинг", "is_person"=>false, "is_buyer"=>true, "is_owner"=>false, "next_communication_time"=>"2001-01-19T22:00:00.000Z", "next_communication_time_in"=>-583498541.8672531, "status"=>nil, "broker_full_name"=>"Оксана Смольнякова", "broker_for_call_full_name"=>"Оксана Смольнякова", "created_at"=>"17.07.2019, 12:55:29", "updated_at"=>"17.07.2019, 12:59:36", "is_read"=>true, "folder_name"=>"Актуальные клиенты", "active_orders"=>"[{\"data\":\"900 - 1200\",\"active\":true}]", "last_activity"=>"17.07.2019", "previous_broker_name"=>nil, "last_order"=>"17.07.2019", "count_employees"=>nil, "contract_from"=>nil, "contract_to"=>nil, "current_calling_user"=>{"id"=>178, "provider"=>"email", "uid"=>"o.smolnyakova@of.ru", "name"=>"Оксана", "second_name"=>nil, "last_name"=>"Смольнякова", "email"=>"o.smolnyakova@of.ru", "created_at"=>"2017-12-13T18:13:29.000+03:00", "updated_at"=>"2019-07-16T10:58:54.000+03:00", "position"=>"Консультант", "department_id"=>20, "signature"=>nil, "old_id"=>nil, "is_active"=>true, "login"=>"o.smolnyakova", "roles"=>[{"id"=>39, "name"=>"broker", "translate"=>"Консультант", "department_id"=>20, "created_at"=>"2016-08-14T20:45:40.000+03:00", "updated_at"=>"2016-08-14T20:45:40.000+03:00"}], "current_balance"=>nil, "global_balance"=>nil, "is_retired"=>nil, "last_request_time"=>"2019-07-18T11:55:05.000+03:00", "has_time"=>0, "head_id"=>nil, "started_work_on"=>nil, "resigned_on"=>nil, "birthday"=>"1989-12-28", "salary"=>30000}, "current_calling_appointment"=>{"id"=>2370, "user_id"=>178, "client_id"=>18914, "status"=>nil, "created_at"=>"2019-07-17T15:54:44.000+03:00", "updated_at"=>"2019-07-17T15:54:44.000+03:00"}, "client_type"=>nil, "area"=>nil, "current_floors"=>nil, "rent_price"=>nil, "need_to_call"=>true}}, {"type"=>"clients", "id"=>"18616", "attributes"=>{"is_person"=>0, "is_buyer"=>0, "is_owner"=>0}}, {"type"=>"clients", "id"=>"16980", "attributes"=>{"is_person"=>0, "is_buyer"=>0, "is_owner"=>0}}, {"type"=>"clients", "id"=>"18922", "attributes"=>{"name"=>"el tempo", "site"=>"https://eltempo.ru/", "source"=>"другие сайты", "is_person"=>0, "is_buyer"=>true, "is_owner"=>false, "next_communication_time"=>"2001-01-19T22:00:00.000Z", "next_communication_time_in"=>-583498540.9953468, "status"=>nil, "broker_full_name"=>"Оксана Смольнякова", "broker_for_call_full_name"=>nil, "created_at"=>"17.07.2019, 16:50:05", "updated_at"=>"18.07.2019, 10:51:48", "is_read"=>true, "folder_name"=>"Актуальные клиенты", "active_orders"=>"[{\"data\":\"50 - 500\",\"active\":true}]", "last_activity"=>"18.07.2019", "previous_broker_name"=>nil, "last_order"=>"17.07.2019", "count_employees"=>nil, "contract_from"=>nil, "contract_to"=>nil, "need_to_call"=>true}}], "relationType"=>"hasMany"}, "roles"=>{"data"=>[{"type"=>"roles", "id"=>"39", "attributes"=>{"name"=>"broker", "translate"=>"Консультант"}}], "relationType"=>"hasMany"}, "working_budget_from"=>{"data"=>{"type"=>"prices", "id"=>"341243", "attributes"=>{"value"=>1100000, "currency_code"=>1, "rub_price"=>1100000, "usd_price"=>17536.56, "eur_price"=>15625.55}, "relationships"=>{"pricable"=>{"data"=>nil}}}, "relationType"=>"belongsTo"}, "working_budget_to"=>{"data"=>{"type"=>"prices", "id"=>"341244", "attributes"=>{"value"=>1300000, "currency_code"=>1, "rub_price"=>1300000, "usd_price"=>20725.03, "eur_price"=>18466.56}, "relationships"=>{"pricable"=>{"data"=>nil}}}, "relationType"=>"belongsTo"}, "absences"=>{"data"=>[], "relationType"=>"hasMany"}}}, "relationType"=>"belongsTo"}, "broker"=>{"data"=>{"type"=>"users", "id"=>"178", "attributes"=>{"email"=>"o.smolnyakova@of.ru", "last_name"=>"Смольнякова", "name"=>"Оксана", "image_url"=>"/system/images/pictures/000/145/785/original/data?1560845392", "little_image_url"=>"/system/images/pictures/000/145/785/medium/data?1560845392", "position"=>"Консультант", "is_online"=>true, "signature"=>nil, "full_name"=>"Оксана Смольнякова", "is_active"=>true, "current_balance"=>nil, "global_balance"=>nil, "department_name"=>"Коммерческая недвижимость", "login"=>"o.smolnyakova", "department_id"=>20, "month_global_balance"=>1000, "day_average_load"=>200, "day_balance"=>0, "started_work_on"=>nil, "resigned_on"=>nil, "birthday"=>"1989-12-28T00:00:00.000Z", "salary"=>30000, "has_time"=>false}, "relationships"=>{"phone_numbers"=>{"data"=>[{"type"=>"phone-numbers", "id"=>"24371", "attributes"=>{"number"=>"+7 (964) 721-20-16", "unformated_number"=>"79647212016", "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"24738", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"24743", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"24744", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"24745", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"24746", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"25093", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"25094", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"25095", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"25226", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"25934", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"25935", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"25961", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"25962", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"25963", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"25965", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"25966", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"25967", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"25968", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"25969", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"25970", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"25971", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"25972", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"25973", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"25975", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"25977", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"26437", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"26438", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"26439", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"26440", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"26441", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"26442", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"26444", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"26446", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"26447", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"26449", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"рабочий"}}, {"type"=>"phone-numbers", "id"=>"26450", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"28903", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"29342", "attributes"=>{"number"=>"107", "unformated_number"=>nil, "label"=>"внутренний"}}, {"type"=>"phone-numbers", "id"=>"29797", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"29866", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"29868", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"29910", "attributes"=>{"number"=>nil, "unformated_number"=>nil, "label"=>"личный"}}, {"type"=>"phone-numbers", "id"=>"30136", "attributes"=>{"number"=>"210", "unformated_number"=>nil, "label"=>"внутренний"}}], "relationType"=>"hasMany"}, "followers"=>{"data"=>[], "relationType"=>"hasMany"}, "clients_for_call"=>{"data"=>[{"type"=>"clients", "id"=>"18900", "attributes"=>{"is_person"=>0, "is_buyer"=>0, "is_owner"=>0}}, {"type"=>"clients", "id"=>"18914", "attributes"=>{"name"=>"Рашид ", "site"=>nil, "source"=>"нетворкинг", "is_person"=>false, "is_buyer"=>true, "is_owner"=>false, "next_communication_time"=>"2001-01-19T22:00:00.000Z", "next_communication_time_in"=>-583498541.8672531, "status"=>nil, "broker_full_name"=>"Оксана Смольнякова", "broker_for_call_full_name"=>"Оксана Смольнякова", "created_at"=>"17.07.2019, 12:55:29", "updated_at"=>"17.07.2019, 12:59:36", "is_read"=>true, "folder_name"=>"Актуальные клиенты", "active_orders"=>"[{\"data\":\"900 - 1200\",\"active\":true}]", "last_activity"=>"17.07.2019", "previous_broker_name"=>nil, "last_order"=>"17.07.2019", "count_employees"=>nil, "contract_from"=>nil, "contract_to"=>nil, "current_calling_user"=>{"id"=>178, "provider"=>"email", "uid"=>"o.smolnyakova@of.ru", "name"=>"Оксана", "second_name"=>nil, "last_name"=>"Смольнякова", "email"=>"o.smolnyakova@of.ru", "created_at"=>"2017-12-13T18:13:29.000+03:00", "updated_at"=>"2019-07-16T10:58:54.000+03:00", "position"=>"Консультант", "department_id"=>20, "signature"=>nil, "old_id"=>nil, "is_active"=>true, "login"=>"o.smolnyakova", "roles"=>[{"id"=>39, "name"=>"broker", "translate"=>"Консультант", "department_id"=>20, "created_at"=>"2016-08-14T20:45:40.000+03:00", "updated_at"=>"2016-08-14T20:45:40.000+03:00"}], "current_balance"=>nil, "global_balance"=>nil, "is_retired"=>nil, "last_request_time"=>"2019-07-18T11:55:05.000+03:00", "has_time"=>0, "head_id"=>nil, "started_work_on"=>nil, "resigned_on"=>nil, "birthday"=>"1989-12-28", "salary"=>30000}, "current_calling_appointment"=>{"id"=>2370, "user_id"=>178, "client_id"=>18914, "status"=>nil, "created_at"=>"2019-07-17T15:54:44.000+03:00", "updated_at"=>"2019-07-17T15:54:44.000+03:00"}, "client_type"=>nil, "area"=>nil, "current_floors"=>nil, "rent_price"=>nil, "need_to_call"=>true}}, {"type"=>"clients", "id"=>"18616", "attributes"=>{"is_person"=>0, "is_buyer"=>0, "is_owner"=>0}}, {"type"=>"clients", "id"=>"16980", "attributes"=>{"is_person"=>0, "is_buyer"=>0, "is_owner"=>0}}, {"type"=>"clients", "id"=>"18922", "attributes"=>{"name"=>"el tempo", "site"=>"https://eltempo.ru/", "source"=>"другие сайты", "is_person"=>0, "is_buyer"=>true, "is_owner"=>false, "next_communication_time"=>"2001-01-19T22:00:00.000Z", "next_communication_time_in"=>-583498540.9953468, "status"=>nil, "broker_full_name"=>"Оксана Смольнякова", "broker_for_call_full_name"=>nil, "created_at"=>"17.07.2019, 16:50:05", "updated_at"=>"18.07.2019, 10:51:48", "is_read"=>true, "folder_name"=>"Актуальные клиенты", "active_orders"=>"[{\"data\":\"50 - 500\",\"active\":true}]", "last_activity"=>"18.07.2019", "previous_broker_name"=>nil, "last_order"=>"17.07.2019", "count_employees"=>nil, "contract_from"=>nil, "contract_to"=>nil, "need_to_call"=>true}}], "relationType"=>"hasMany"}, "roles"=>{"data"=>[{"type"=>"roles", "id"=>"39", "attributes"=>{"name"=>"broker", "translate"=>"Консультант"}}], "relationType"=>"hasMany"}, "working_budget_from"=>{"data"=>{"type"=>"prices", "id"=>"341243", "attributes"=>{"value"=>1100000, "currency_code"=>1, "rub_price"=>1100000, "usd_price"=>17536.56, "eur_price"=>15625.55}, "relationships"=>{"pricable"=>{"data"=>nil}}}, "relationType"=>"belongsTo"}, "working_budget_to"=>{"data"=>{"type"=>"prices", "id"=>"341244", "attributes"=>{"value"=>1300000, "currency_code"=>1, "rub_price"=>1300000, "usd_price"=>20725.03, "eur_price"=>18466.56}, "relationships"=>{"pricable"=>{"data"=>nil}}}, "relationType"=>"belongsTo"}, "absences"=>{"data"=>[], "relationType"=>"hasMany"}}}, "relationType"=>"belongsTo"}, "suggested_broker"=>{"data"=>{"type"=>"users", "id"=>"6", "attributes"=>{"email"=>"m.berdichevsky@of.ru", "last_name"=>"Бердичевский", "name"=>"Михаил", "image_url"=>"/system/images/pictures/000/089/753/original/data?1560789443", "position"=>"Старший консультант по коммерческой недвижимости", "is_online"=>true, "full_name"=>"Михаил Бердичевский", "is_active"=>false, "current_balance"=>0, "global_balance"=>0, "department_name"=>"Коммерческая недвижимость", "login"=>"m.berdichevsky", "department_id"=>20, "month_global_balance"=>1000, "day_average_load"=>200, "day_balance"=>0}, "relationships"=>{"phone_numbers"=>{"data"=>[{"type"=>"phone-numbers", "id"=>"16824", "attributes"=>{"label"=>"рабочий"}}, {"type"=>"phone-numbers", "id"=>"16825", "attributes"=>{"label"=>"рабочий"}}, {"type"=>"phone-numbers", "id"=>"20635", "attributes"=>{"label"=>"рабочий"}}, {"type"=>"phone-numbers", "id"=>"26457", "attributes"=>{"label"=>"рабочий"}}, {"type"=>"phone-numbers", "id"=>"28176", "attributes"=>{"label"=>"рабочий"}}, {"type"=>"phone-numbers", "id"=>"28177", "attributes"=>{"label"=>"рабочий"}}, {"type"=>"phone-numbers", "id"=>"28230", "attributes"=>{"label"=>"рабочий"}}, {"type"=>"phone-numbers", "id"=>"28231", "attributes"=>{"label"=>"рабочий"}}, {"type"=>"phone-numbers", "id"=>"28242", "attributes"=>{"label"=>"рабочий"}}, {"type"=>"phone-numbers", "id"=>"28863", "attributes"=>{"label"=>"рабочий"}}], "relationType"=>"hasMany"}, "roles"=>{"data"=>[{"type"=>"roles", "id"=>"38", "attributes"=>{"name"=>"senior_broker", "translate"=>"Старший консультант"}}], "relationType"=>"hasMany"}}}, "relationType"=>"belongsTo"}, "folder"=>{"data"=>{"type"=>"client-folders", "id"=>"659", "attributes"=>{}, "relationships"=>{}}, "relationType"=>"belongsTo"}, "client"=>{"data"=>{"type"=>"clients", "id"=>"18914", "attributes"=>{"name"=>"Рашид ", "site"=>nil, "source"=>"нетворкинг", "is_person"=>false, "is_buyer"=>true, "is_owner"=>false, "next_communication_time"=>"2001-01-19T22:00:00.000Z", "next_communication_time_in"=>-583498541.8672531, "status"=>nil, "broker_full_name"=>"Оксана Смольнякова", "broker_for_call_full_name"=>"Оксана Смольнякова", "created_at"=>"17.07.2019, 12:55:29", "updated_at"=>"17.07.2019, 12:59:36", "is_read"=>true, "folder_name"=>"Актуальные клиенты", "active_orders"=>"[{\"data\":\"900 - 1200\",\"active\":true}]", "last_activity"=>"17.07.2019", "previous_broker_name"=>nil, "last_order"=>"17.07.2019", "count_employees"=>nil, "contract_from"=>nil, "contract_to"=>nil, "current_calling_user"=>{"id"=>178, "provider"=>"email", "uid"=>"o.smolnyakova@of.ru", "name"=>"Оксана", "second_name"=>nil, "last_name"=>"Смольнякова", "email"=>"o.smolnyakova@of.ru", "created_at"=>"2017-12-13T18:13:29.000+03:00", "updated_at"=>"2019-07-16T10:58:54.000+03:00", "position"=>"Консультант", "department_id"=>20, "signature"=>nil, "old_id"=>nil, "is_active"=>true, "login"=>"o.smolnyakova", "roles"=>[{"id"=>39, "name"=>"broker", "translate"=>"Консультант", "department_id"=>20, "created_at"=>"2016-08-14T20:45:40.000+03:00", "updated_at"=>"2016-08-14T20:45:40.000+03:00"}], "current_balance"=>nil, "global_balance"=>nil, "is_retired"=>nil, "last_request_time"=>"2019-07-18T11:55:05.000+03:00", "has_time"=>0, "head_id"=>nil, "started_work_on"=>nil, "resigned_on"=>nil, "birthday"=>"1989-12-28", "salary"=>30000}, "current_calling_appointment"=>{"id"=>2370, "user_id"=>178, "client_id"=>18914, "status"=>nil, "created_at"=>"2019-07-17T15:54:44.000+03:00", "updated_at"=>"2019-07-17T15:54:44.000+03:00"}, "client_type"=>nil, "area"=>nil, "current_floors"=>nil, "rent_price"=>nil, "need_to_call"=>true}, "relationships"=>{"orders"=>{"data"=>[{"type"=>"orders", "id"=>"15959"}]}, "related_clients"=>{"data"=>[]}, "sectors"=>{"data"=>[]}, "broker"=>{"data"=>{"type"=>"users", "id"=>"178"}}, "created_by"=>{"data"=>{"type"=>"users", "id"=>"178"}}, "assigned_to"=>{"data"=>{"type"=>"users", "id"=>"178"}}, "contacts"=>{"data"=>[{"type"=>"contacts", "id"=>"28035"}]}, "current_office"=>{"data"=>[]}, "owned_blocks"=>{"data"=>[]}, "buildings"=>{"data"=>[]}, "calling_users"=>{"data"=>[{"type"=>"users", "id"=>"178"}]}, "calling_appointments"=>{"data"=>[{"type"=>"calling-appointments", "id"=>"2370"}]}}}, "relationType"=>"belongsTo"}, "search_profile"=>{"data"=>{"type"=>"search-profiles", "id"=>"15958", "attributes"=>{"offer_type"=>"rent", "classes_codes"=>"", "classes_front"=>[], "layout_code"=>nil, "area_min"=>900, "area_max"=>1300, "order_id"=>15959, "price_in_rub_min"=>0, "polygon_coords"=>"55.747887674157745,37.52807827692091,55.76580715676194,37.53185333251952,55.78747953551893,37.559319152832025,55.7986979753952,37.59021820068359,55.79560355747382,37.65613616943358,55.7778058619569,37.68566192626952,55.760774337739576,37.69733489990234,55.74489732726275,37.70351470947264,55.722426080289544,37.71656097412108,55.700888643602106,37.66300561390043,55.70050087975779,37.60052087268949,55.71445794424367,37.53940942249418,55.747887674157745,37.52807827692091", "bld_assignments"=>nil, "taxes_department"=>nil, "price_in_rub_max"=>nil, "total_price_in_rub_min"=>0, "total_price_in_rub_max"=>0, "is_ready"=>nil, "appointments"=>nil, "search_options"=>{"maxBlocksCount"=>1, "oneOwnerOneFloor"=>false, "oneOwnerSeveralFloor"=>false, "severalOwners"=>false, "maxFloorsDistance"=>2}}, "relationships"=>{"price_min"=>{"data"=>{"type"=>"prices", "id"=>"344881", "attributes"=>{"currency_code"=>1}, "relationships"=>{"pricable"=>{"data"=>nil}}}, "relationType"=>"belongsTo"}, "price_max"=>{"data"=>{"type"=>"prices", "id"=>"344882", "attributes"=>{"currency_code"=>1}, "relationships"=>{"pricable"=>{"data"=>nil}}}, "relationType"=>"belongsTo"}, "metros"=>{"data"=>[], "relationType"=>"hasMany"}}}, "relationType"=>"belongsTo"}, "budget"=>{"data"=>{"type"=>"prices", "id"=>"344894", "attributes"=>{"value"=>28101, "currency_code"=>1, "rub_price"=>28101, "usd_price"=>448, "eur_price"=>399.18}, "relationships"=>{"pricable"=>{"data"=>nil}}}, "relationType"=>"belongsTo"}}, "type"=>"orders"}, :controller=>"orders", :action=>"update", :id=>"15959"}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement