This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| Преобразование параметров php-style в корректные структуры данных, пример: | |
| data[items][0][id] = 45 | |
| data[items][0][name] = Мытьё головы | |
| data[items][0][qty] = 1 | |
| data[items][0][amount] = 10 | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Вакансия Fontend-разработчика - 60 000 - 75 000 руб. | |
| ==================================================== | |
| Опыт работы frontend разработчиком от 3-х лет. | |
| Плюсом будет опыт с React, Basis.js, WebSocket и WebRTC. | |
| **Требования:** | |
| --------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Groovy/Grails-разработчик | |
| ========================= | |
| **Обязанности:** | |
| - Участие в разработке архитектуры приложений. | |
| - Разработка веб-приложений на Groovy/Grails, Hibernate, MySQL. | |
| - Интеграция с различными CRM (AmoCRM, Bitrix24, RetailCRM). | |
| - Участие в технической поддержке клиентов. | |
| **Требования:** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function send_to_callmart($post_msg) { | |
| $ch = curl_init(); | |
| curl_setopt($ch, CURLOPT_FAILONERROR, 0); | |
| curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); | |
| curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 15); | |
| curl_setopt($ch, CURLOPT_COOKIE, 'httpapi=VibS9E19EblsI9bcfibq2M19EblsI9bc;'); | |
| curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 GTB6'); | |
| curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'POST'); | |
| curl_setopt($ch, CURLOPT_URL, 'http://callmart.ru/api/1.0/client/sync'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "status": "success", // success или error | |
| "code": 200, // Код ответа. 200 - выполнен успешно | |
| "response": "OK", // Расшифровка кода ответа | |
| "data": [ // Массив соответствующий массиву переданных заказов | |
| { | |
| "id": "ID_заказа", // ID который передали в запросе | |
| "result": "created" // Результат выполнения (created, updated, error) | |
| } | |
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { | |
| "id": "ID_заказа", // ID в базе 1C | |
| "name": "Имя Фамилия", // Имя контрагента (порядок важен) | |
| "phones": ["74952450275"], // Телефоны контрагента | |
| "email": "Email", // Email контрагента | |
| "notes": "Заметки о контрагенте", // Если есть | |
| "stage": "new", // Статус заказа |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "id": 561651, | |
| "id1C": null, | |
| "idCQ": null, | |
| "idSF": null, | |
| "idCMS": null, // тут будет ваш ID, если в /client/sync передадите type=CMS | |
| "idAmo": null, | |
| "idRetail": null, | |
| "idBitrix": null, |