Перейти к публикации

pix3x

Пользователи
  • Публикации

    4
  • Зарегистрирован

  • Посещение

Репутация

0 Обычный

О pix3x

  • Звание
    Новичок
  1. pix3x

    Поиск клиентов API ZCRM

    Спасибо, побольше бы ещё реальных примеров для php здесь или на github.
  2. pix3x

    Поиск клиентов API ZCRM

    Спасибо, немного "подправил" ваш вариант и заработало! 😃 $zd = new Api(KEY, SECRET, USE_SANDBOX); $result = $zd->call('/v1/zcrm/customers', ['filter' => ['city'=>'Saint Petersburg']], 'get'); print_r($result); А документацию дополните здесь? https://zadarma.com/en/support/api/
  3. pix3x

    Поиск клиентов API ZCRM

    Может кто знает как можно использовать фильтр и поиск?
  4. pix3x

    Поиск клиентов API ZCRM

    Привет, как найти через API телефон клиента в городе Moscow? JSON после декодирования выглядит так: {"status":"success","data":{"customers":[{"id":"11014531","subdomain_id":"16086","name":"Gazprom","status":"company","type":"potential","responsible_user_id":null,"employees_count":"50","comment":null,"country":"RU","city":"Moscow","address":"","zip":"","website":"","email":"","skype":"","created_at":"2020-09-17 21:25:50","created_by":"75006","lead_status":"not_processed","lead_source":"manual","lead_created_at":null,"lead_created_by":null,"import_id":"6819","lead_called_to":"","phones":[{"id":"6489647","phone":"+74954551111","type":"work"}],"contacts":[],"labels":[{"id":"103731","label":"razamanaz"}]},{"id":"11014532","subdomain_id":"16086","name":"Gazprom Saint Petersburg ","status":"company","type":"potential","responsible_user_id":null,"employees_count":"50","comment":null,"country":"RU","city":"Saint Petersburg","address":"","zip":"","website":"","email":"","skype":"","created_at":"2020-09-17 21:25:50","created_by":"75006","lead_status":"not_processed","lead_source":"manual","lead_created_at":null,"lead_created_by":null,"import_id":"6819","lead_called_to":"","phones":[{"id":"6489648","phone":"+78124551111","type":"work"}],"contacts":[],"labels":[{"id":"103731","label":"razamanaz"}]}],"totalCount":2},"sandbox":true}
×
×
  • Создать...