Industries

industry

Description

The Industries allow you to classify CRM-accounts by their field of activity.

Fields

Field Type Description
id Integer Entry id
name String Industry name
ordering Integer Sorting index. Sort will appliy by asc
active Boolean (Integer 0 or 1) If = 0, entry will hide from UI.
Deafult value = 1.

Examples

create:

curl -H "Content-Type: application/json" -X POST -d {"name":"String","ordering":1} https://company.flowlu.ru/api/v1/module/crm/industry/create/?api_key=<api_key>

update:

curl -H "Content-Type: application/json" -X POST -d {"name":"String","ordering":1} https://company.flowlu.ru/api/v1/module/crm/industry/update/1?api_key=<api_key>

get:

curl -X GET https://company.flowlu.ru/api/v1/module/crm/industry/get/1?api_key=<api_key>

delete:

curl -X GET https://company.flowlu.ru/api/v1/module/crm/industry/delete/1?api_key=<api_key>

list:

curl -X GET https://company.flowlu.ru/api/v1/module/crm/industry/list?search=flowlu&page=1&api_key=<api_key>