Download OpenAPI specification:Download
Welcome to the Karlia API documentation !
Karlia is a powerful CRM platform that brings together everything you need to better optimize your productivity in one easy-to-use tool.
The Karlia API is built around a RESTful architecture and allows you to customize, modify and integrate your Karlia organization and external services.
A limit on the number of requests per minute (100 requests / minutes) and month (depend of your subscription) is applied to each account.
A 429 error will be sent if at least one of the quotas has reached zero.
The quotas are counted on each request, even for errors.
Get a list of all customers.
quick_search | string <= 127 characters Quick search field |
name | integer <= 127 characters Search by name |
prospect | integer Search by status
|
individual | integer Search by type
|
client_number | string <= 30 characters Search by client number |
phone | string <= 30 characters Search by phone number |
mobile | string <= 30 characters Search by mobile number |
string <email> <= 127 characters Search by email | |
id_client_manager | string Search by user with group Id associated with the customer |
langId | integer Search by language
|
siret | string <= 30 characters Search by SIRET |
siren | string <= 30 characters Search by SIREN |
vat_number | string <= 30 characters Search by VAT number |
archived | integer Search by status
|
creation_date_min | string <date-time> Search by creation date |
creation_date_max | string <date-time> Search by creation date |
update_date_min | string <date-time> Search by update date |
update_date_max | string <date-time> Search by update date |
fields | string List of fields to be returned. By default, all fields are returned. |
order | string <= 64 characters Name of the field to sort on |
direction | string <= 4 characters Direction for sorting
|
limit | integer Default: 100 Number of objects to be returned for paging |
offset | integer Default: 0 Offset for paging |
{- "status": "success",
- "pagination": {
- "total": 14,
- "limit": 100,
- "offset": 0
}, - "data": [
- {
- "id": "28496",
- "title": "Society X",
- "individual": "0",
- "prospect": "0",
- "id_client_manager": [
- "u213"
], - "phone": "+33512345678",
- "mobile": "07 98 76 54 32",
- "email": "contact@example.com",
- "langId": "1",
- "siret": "123 568 941 00056",
- "siren": "123 568 941",
- "legal_form": "SARL",
- "main_activity": "4616C",
- "vat_number": "FR 32 123456789",
- "id_parent": "0",
- "id_products_prices_category": "0",
- "id_payment_condition": "0",
- "id_vat": "-1",
- "description": "A description or note about this customer",
- "client_number": "123",
- "address_list": [
- {
- "id": "17894",
- "type": "main",
- "title": "",
- "address": "55 Av. Louis Breguet",
- "zip_code": "31400",
- "city": "Toulouse",
- "country": "France",
- "latitude": "43.57711972081131",
- "longitude": "1.4767491490358602",
- "is_default": true
}, - {
- "id": "17895",
- "type": "delivery",
- "title": "My delivery address",
- "address": "1 place du Capitole",
- "zip_code": "31000",
- "city": "Toulouse",
- "country": "France",
- "latitude": "43.60394807541591",
- "longitude": "1.4442377834043243",
- "is_default": false
}, - {
- "id": "17896",
- "type": "invoice",
- "title": "My invoice address",
- "address": "55 Rue du Faubourg Saint-Honoré",
- "zip_code": "75000",
- "city": "Paris",
- "country": "France",
- "latitude": "48.87018658507098",
- "longitude": "2.3165783971275635",
- "is_default": false
}
], - "contacts_list": [
- {
- "id": "4700",
- "civility": "Mr",
- "lastname": "Dupont",
- "firstname": "Jean",
- "position_title": "CEO",
- "email": "jeandupont@example.com",
- "phone": "02 45 68 37 98",
- "mobile": "06 94 31 81 31",
- "description": "A description or note about this contact"
}
], - "custom_fields_list": [
- {
- "id": "3345",
- "title": "Source d'acquisition",
- "value": "5900",
- "value_text": "Facebook"
}
], - "opportunities_list": [
- {
- "id": "1947",
- "pipeline": "1924",
- "title": "Opportunity #1",
- "archived": "0"
}
], - "archived": "0",
- "creation_source": "3",
- "creation_source_title": "API",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
]
}
Create a customer.
name required | string <= 127 characters Name for professional customer or lastname for individual customer |
individual | integer Customer type
|
id_civility | integer Customer civility - Only for individual customer
|
firstname | string <= 127 characters Customer firstname - Only for individual customer |
prospect | integer Customer status
|
phone | string <= 30 characters Customer phone number |
mobile | string <= 30 characters Customer mobile number |
string <email> <= 127 characters Customer email address | |
id_client_manager | string Users with group Id associated with the customer |
langId | integer Customer language
|
siret | string <= 30 characters Customer SIRET |
siren | integer <= 30 characters Customer SIREN |
legal_form | string <= 255 characters Customer status |
main_activity | string <= 255 characters APE/NAF code |
vat_number | string <= 30 characters VAT number |
default_discount_percent | number <double> Default discount |
id_document_template | integer |
id_payment_condition | integer Id of payment condition
|
id_vat | integer VAT Id
|
description | string <= 255 characters Customer description |
client_number | string <= 30 characters Internal number |
Array of objects Custom fields | |
main_address | string <= 255 characters Main address |
main_zip_code | string <= 64 characters ZIP code of main address |
main_city | string <= 127 characters City of main address |
main_country | string <= 64 characters Country of main address |
delivery_title | string <= 127 characters Name or company name of delivery address |
delivery_address | string <= 255 characters Delivery address |
delivery_zip_code | string <= 64 characters ZIP code of delivery address |
delivery_city | string <= 127 characters City of delivery address |
delivery_country | string <= 64 characters Country of delivery address |
invoice_title | string <= 127 characters Name or company name of invoice address |
invoice_address | string <= 255 characters Invoice address |
invoice_zip_code | string <= 64 characters ZIP code of invoice address |
invoice_city | string <= 127 characters City of invoice address |
invoice_country | string <= 64 characters Country of invoice address |
sepa_debit_mandat_id | string SEPA mandat ID (only if SEPA is activated) |
sepa_debit_mandat_date | date SEPA mandat date (only if SEPA is activated) |
sepa_debit_mandat_title | string SEPA mandat title (only if SEPA is activated) |
sepa_debit_mandat_iban | string SEPA mandat IBAN (only if SEPA is activated) |
sepa_debit_mandat_bic | string SEPA mandat BIC (only if SEPA is activated) |
archived | integer Customer status
|
{- "name": "Society X",
- "individual": 0,
- "id_civility": "",
- "firstname": "",
- "prospect": 0,
- "phone": "+33512345678",
- "mobile": "07 98 76 54 32",
- "email": "contact@example.com",
- "id_client_manager": "u213",
- "langId": 1,
- "siret": "123 568 941 00056",
- "siren": "123 568 941",
- "legal_form": "SARL",
- "main_activity": "4616C",
- "vat_number": "FR 32 123456789",
- "default_discount_percent": 10.5,
- "id_document_template": "",
- "id_payment_condition": "0",
- "id_vat": "-1",
- "description": "A description or note about this customer",
- "client_number": 123,
- "custom_fields": [
- {
- "id": 3345,
- "value": 5900
}
], - "main_address": "55 Av. Louis Breguet",
- "main_zip_code": 31400,
- "main_city": "Toulouse",
- "main_country": "France",
- "delivery_title": "My delivery address",
- "delivery_address": "1 place du Capitole",
- "delivery_zip_code": 31000,
- "delivery_city": "Toulouse",
- "delivery_country": "France",
- "invoice_title": "My invoice address",
- "invoice_address": "55 Rue du Faubourg Saint-Honoré",
- "invoice_zip_code": 75000,
- "invoice_city": "Paris",
- "invoice_country": "France",
- "sepa_debit_mandat_id": "MANDAT_ID",
- "sepa_debit_mandat_date": "15/01/2022",
- "sepa_debit_mandat_title": "MANDAT_TITLE",
- "sepa_debit_mandat_iban": "IBAN",
- "sepa_debit_mandat_bic": "BIC",
- "archived": 0
}
{- "id": "28496",
- "title": "Society X",
- "individual": "0",
- "prospect": "0",
- "id_client_manager": [
- "u213"
], - "phone": "+33512345678",
- "mobile": "07 98 76 54 32",
- "email": "contact@example.com",
- "langId": "1",
- "siret": "123 568 941 00056",
- "siren": "123 568 941",
- "legal_form": "SARL",
- "main_activity": "4616C",
- "vat_number": "FR 32 123456789",
- "id_parent": "0",
- "id_products_prices_category": "0",
- "id_payment_condition": "0",
- "id_vat": "-1",
- "description": "A description or note about this customer",
- "client_number": "123",
- "address_list": [
- {
- "id": "17894",
- "type": "main",
- "title": "",
- "address": "55 Av. Louis Breguet",
- "zip_code": "31400",
- "city": "Toulouse",
- "country": "France",
- "latitude": "43.57711972081131",
- "longitude": "1.4767491490358602",
- "is_default": true
}, - {
- "id": "17895",
- "type": "delivery",
- "title": "My delivery address",
- "address": "1 place du Capitole",
- "zip_code": "31000",
- "city": "Toulouse",
- "country": "France",
- "latitude": "43.60394807541591",
- "longitude": "1.4442377834043243",
- "is_default": false
}, - {
- "id": "17896",
- "type": "invoice",
- "title": "My invoice address",
- "address": "55 Rue du Faubourg Saint-Honoré",
- "zip_code": "75000",
- "city": "Paris",
- "country": "France",
- "latitude": "48.87018658507098",
- "longitude": "2.3165783971275635",
- "is_default": false
}
], - "contacts_list": [ ],
- "custom_fields_list": [
- {
- "id": "3345",
- "title": "Source d'acquisition",
- "value": "5900",
- "value_text": "Facebook"
}
], - "opportunities_list": [ ],
- "sepa_debit_mandat_id": "MANDAT_ID",
- "sepa_debit_mandat_date": "15/01/2022",
- "sepa_debit_mandat_title": "MANDAT_TITLE",
- "sepa_debit_mandat_iban": "IBAN",
- "sepa_debit_mandat_bic": "BIC",
- "files_list": [
- {
- "id": "149",
- "name": "FileName",
- "extension": "pdf",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
], - "archived": "0",
- "creation_source": "3",
- "creation_source_title": "API",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
Get one customer.
id required | integer Customer Id |
{- "id": "28496",
- "title": "Society X",
- "individual": "0",
- "prospect": "0",
- "id_client_manager": [
- "u213"
], - "phone": "+33512345678",
- "mobile": "07 98 76 54 32",
- "email": "contact@example.com",
- "langId": "1",
- "siret": "123 568 941 00056",
- "siren": "123 568 941",
- "legal_form": "SARL",
- "main_activity": "4616C",
- "vat_number": "FR 32 123456789",
- "id_parent": "0",
- "id_products_prices_category": "0",
- "id_payment_condition": "0",
- "id_vat": "-1",
- "description": "A description or note about this customer",
- "client_number": "123",
- "address_list": [
- {
- "id": "17894",
- "type": "main",
- "title": "",
- "address": "55 Av. Louis Breguet",
- "zip_code": "31400",
- "city": "Toulouse",
- "country": "France",
- "latitude": "43.57711972081131",
- "longitude": "1.4767491490358602",
- "is_default": true
}, - {
- "id": "17895",
- "type": "delivery",
- "title": "My delivery address",
- "address": "1 place du Capitole",
- "zip_code": "31000",
- "city": "Toulouse",
- "country": "France",
- "latitude": "43.60394807541591",
- "longitude": "1.4442377834043243",
- "is_default": false
}, - {
- "id": "17896",
- "type": "invoice",
- "title": "My invoice address",
- "address": "55 Rue du Faubourg Saint-Honoré",
- "zip_code": "75000",
- "city": "Paris",
- "country": "France",
- "latitude": "48.87018658507098",
- "longitude": "2.3165783971275635",
- "is_default": false
}
], - "contacts_list": [
- {
- "id": "4700",
- "civility": "Mr",
- "lastname": "Dupont",
- "firstname": "Jean",
- "position_title": "CEO",
- "email": "jeandupont@example.com",
- "phone": "02 45 68 37 98",
- "mobile": "06 94 31 81 31",
- "description": "A description or note about this contact"
}
], - "custom_fields_list": [
- {
- "id": "3345",
- "title": "Source d'acquisition",
- "value": "5900",
- "value_text": "Facebook"
}
], - "opportunities_list": [
- {
- "id": "1947",
- "pipeline": "1924",
- "title": "Opportunity #1",
- "archived": "0"
}
], - "sepa_debit_mandat_id": "MANDAT_ID",
- "sepa_debit_mandat_date": "15/01/2022",
- "sepa_debit_mandat_title": "MANDAT_TITLE",
- "sepa_debit_mandat_iban": "IBAN",
- "sepa_debit_mandat_bic": "BIC",
- "files_list": [
- {
- "id": "149",
- "name": "FileName",
- "extension": "pdf",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
], - "archived": "0",
- "creation_source": "3",
- "creation_source_title": "API",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
Update a customer.
id required | integer Customer Id |
name | string <= 127 characters Name for professional customer or lastname for individual customer |
individual | integer Customer type
|
id_civility | integer Customer civility - Only for individual customer
|
firstname | string <= 127 characters Customer firstname - Only for individual customer |
prospect | integer Customer status
|
phone | string <= 30 characters Customer phone number |
mobile | string <= 30 characters Customer mobile number |
string <email> <= 127 characters Customer email address | |
id_client_manager | string Users with group Id associated with the customer |
langId | integer Customer language
|
siret | string <= 30 characters Customer SIRET |
siren | integer <= 30 characters Customer SIREN |
legal_form | string <= 255 characters Customer status |
main_activity | string <= 255 characters APE/NAF code |
vat_number | string <= 30 characters VAT number |
default_discount_percent | number <double> Default discount |
id_document_template | integer |
id_payment_condition | integer Id of payment condition
|
id_vat | integer VAT Id
|
description | string <= 255 characters Customer description |
client_number | string <= 30 characters Internal number |
Array of objects Custom fields | |
main_address | string <= 255 characters Main address |
main_zip_code | string <= 64 characters ZIP code of main address |
main_city | string <= 127 characters City of main address |
main_country | string <= 64 characters Country of main address |
delivery_title | string <= 127 characters Name or company name of delivery address |
delivery_address | string <= 255 characters Delivery address |
delivery_zip_code | string <= 64 characters ZIP code of delivery address |
delivery_city | string <= 127 characters City of delivery address |
delivery_country | string <= 64 characters Country of delivery address |
invoice_title | string <= 127 characters Name or company name of invoice address |
invoice_address | string <= 255 characters Invoice address |
invoice_zip_code | string <= 64 characters ZIP code of invoice address |
invoice_city | string <= 127 characters City of invoice address |
invoice_country | string <= 64 characters Country of invoice address |
sepa_debit_mandat_id | string SEPA mandat ID (only if SEPA is activated) |
sepa_debit_mandat_date | date SEPA mandat date (only if SEPA is activated) |
sepa_debit_mandat_title | string SEPA mandat title (only if SEPA is activated) |
sepa_debit_mandat_iban | string SEPA mandat IBAN (only if SEPA is activated) |
sepa_debit_mandat_bic | string SEPA mandat BIC (only if SEPA is activated) |
archived | integer Customer status
|
{- "name": "Society X",
- "individual": 0,
- "id_civility": "",
- "firstname": "",
- "prospect": 0,
- "phone": "+33512345678",
- "mobile": "07 98 76 54 32",
- "email": "contact@example.com",
- "id_client_manager": "u213",
- "langId": 1,
- "siret": "123 568 941 00056",
- "siren": "123 568 941",
- "legal_form": "SARL",
- "main_activity": "4616C",
- "vat_number": "FR 32 123456789",
- "default_discount_percent": 10.5,
- "id_document_template": "",
- "id_payment_condition": "0",
- "id_vat": "-1",
- "description": "A description or note about this customer",
- "client_number": 123,
- "custom_fields": [
- {
- "id": 3345,
- "value": 5900
}
], - "main_address": "55 Av. Louis Breguet",
- "main_zip_code": 31400,
- "main_city": "Toulouse",
- "main_country": "France",
- "delivery_title": "My delivery address",
- "delivery_address": "1 place du Capitole",
- "delivery_zip_code": 31000,
- "delivery_city": "Toulouse",
- "delivery_country": "France",
- "invoice_title": "My invoice address",
- "invoice_address": "55 Rue du Faubourg Saint-Honoré",
- "invoice_zip_code": 75000,
- "invoice_city": "Paris",
- "invoice_country": "France",
- "sepa_debit_mandat_id": "MANDAT_ID",
- "sepa_debit_mandat_date": "15/01/2022",
- "sepa_debit_mandat_title": "MANDAT_TITLE",
- "sepa_debit_mandat_iban": "IBAN",
- "sepa_debit_mandat_bic": "BIC",
- "archived": 0
}
{- "id": "28496",
- "title": "Society X",
- "individual": "0",
- "prospect": "0",
- "id_client_manager": [
- "u213"
], - "phone": "+33512345678",
- "mobile": "07 98 76 54 32",
- "email": "contact@example.com",
- "langId": "1",
- "siret": "123 568 941 00056",
- "siren": "123 568 941",
- "legal_form": "SARL",
- "main_activity": "4616C",
- "vat_number": "FR 32 123456789",
- "id_parent": "0",
- "id_products_prices_category": "0",
- "id_payment_condition": "0",
- "id_vat": "-1",
- "description": "A description or note about this customer",
- "client_number": "123",
- "address_list": [
- {
- "id": "17894",
- "type": "main",
- "title": "",
- "address": "55 Av. Louis Breguet",
- "zip_code": "31400",
- "city": "Toulouse",
- "country": "France",
- "latitude": "43.57711972081131",
- "longitude": "1.4767491490358602",
- "is_default": true
}, - {
- "id": "17895",
- "type": "delivery",
- "title": "My delivery address",
- "address": "1 place du Capitole",
- "zip_code": "31000",
- "city": "Toulouse",
- "country": "France",
- "latitude": "43.60394807541591",
- "longitude": "1.4442377834043243",
- "is_default": false
}, - {
- "id": "17896",
- "type": "invoice",
- "title": "My invoice address",
- "address": "55 Rue du Faubourg Saint-Honoré",
- "zip_code": "75000",
- "city": "Paris",
- "country": "France",
- "latitude": "48.87018658507098",
- "longitude": "2.3165783971275635",
- "is_default": false
}
], - "contacts_list": [
- {
- "id": "4700",
- "civility": "Mr",
- "lastname": "Dupont",
- "firstname": "Jean",
- "position_title": "CEO",
- "email": "jeandupont@example.com",
- "phone": "02 45 68 37 98",
- "mobile": "06 94 31 81 31",
- "description": "A description or note about this contact"
}
], - "custom_fields_list": [
- {
- "id": "3345",
- "title": "Source d'acquisition",
- "value": "5900",
- "value_text": "Facebook"
}
], - "opportunities_list": [
- {
- "id": "1947",
- "pipeline": "1924",
- "title": "Opportunity #1",
- "archived": "0"
}
], - "sepa_debit_mandat_id": "MANDAT_ID",
- "sepa_debit_mandat_date": "15/01/2022",
- "sepa_debit_mandat_title": "MANDAT_TITLE",
- "sepa_debit_mandat_iban": "IBAN",
- "sepa_debit_mandat_bic": "BIC",
- "files_list": [
- {
- "id": "149",
- "name": "FileName",
- "extension": "pdf",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
], - "archived": "0",
- "creation_source": "3",
- "creation_source_title": "API",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
Get values of customers custom field.
field_id required | integer Customer custom field Id |
{- "status": "success",
- "data": [
- {
- "id": "5899",
- "title": "Facebook"
}, - {
- "id"": "5900",
- "title": "Google AdWords"
}, - {
- "id": "5901",
- "title": "Website"
}
]
}
Add or update a customer custom field.
id required | integer Customer Id |
field_id required | integer Customer custom field Id |
field_value required | integer |
{- "field_value": 5900
}
{- "id": "28496",
- "title": "Society X",
- "individual": "0",
- "prospect": "0",
- "id_client_manager": [
- "u213"
], - "phone": "+33512345678",
- "mobile": "07 98 76 54 32",
- "email": "contact@example.com",
- "langId": "1",
- "siret": "123 568 941 00056",
- "siren": "123 568 941",
- "legal_form": "SARL",
- "main_activity": "4616C",
- "vat_number": "FR 32 123456789",
- "id_parent": "0",
- "id_products_prices_category": "0",
- "id_payment_condition": "0",
- "id_vat": "-1",
- "description": "A description or note about this customer",
- "client_number": "123",
- "address_list": [
- {
- "id": "17894",
- "type": "main",
- "title": "",
- "address": "55 Av. Louis Breguet",
- "zip_code": "31400",
- "city": "Toulouse",
- "country": "France",
- "latitude": "43.57711972081131",
- "longitude": "1.4767491490358602",
- "is_default": true
}, - {
- "id": "17895",
- "type": "delivery",
- "title": "My delivery address",
- "address": "1 place du Capitole",
- "zip_code": "31000",
- "city": "Toulouse",
- "country": "France",
- "latitude": "43.60394807541591",
- "longitude": "1.4442377834043243",
- "is_default": false
}, - {
- "id": "17896",
- "type": "invoice",
- "title": "My invoice address",
- "address": "55 Rue du Faubourg Saint-Honoré",
- "zip_code": "75000",
- "city": "Paris",
- "country": "France",
- "latitude": "48.87018658507098",
- "longitude": "2.3165783971275635",
- "is_default": false
}
], - "contacts_list": [
- {
- "id": "4700",
- "civility": "Mr",
- "lastname": "Dupont",
- "firstname": "Jean",
- "position_title": "CEO",
- "email": "jeandupont@example.com",
- "phone": "02 45 68 37 98",
- "mobile": "06 94 31 81 31",
- "description": "A description or note about this contact"
}
], - "custom_fields_list": [
- {
- "id": "3345",
- "title": "Source d'acquisition",
- "value": "5900",
- "value_text": "Facebook"
}
], - "opportunities_list": [
- {
- "id": "1947",
- "pipeline": "1924",
- "title": "Opportunity #1",
- "archived": "0"
}
], - "sepa_debit_mandat_id": "MANDAT_ID",
- "sepa_debit_mandat_date": "15/01/2022",
- "sepa_debit_mandat_title": "MANDAT_TITLE",
- "sepa_debit_mandat_iban": "IBAN",
- "sepa_debit_mandat_bic": "BIC",
- "files_list": [
- {
- "id": "149",
- "name": "FileName",
- "extension": "pdf",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
], - "archived": "0",
- "creation_source": "3",
- "creation_source_title": "API",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
Add a new file for a customer.
id required | integer Customer Id |
upload_file_content | string Content of the file to upload (base64) |
upload_file_url | string URL of the file to upload |
upload_file_name | string Name of the file |
{- "upload_file_content": "",
- "upload_file_url": "",
- "upload_file_name": ""
}
{- "id": "28496",
- "title": "Society X",
- "individual": "0",
- "prospect": "0",
- "id_client_manager": [
- "u213"
], - "phone": "+33512345678",
- "mobile": "07 98 76 54 32",
- "email": "contact@example.com",
- "langId": "1",
- "siret": "123 568 941 00056",
- "siren": "123 568 941",
- "legal_form": "SARL",
- "main_activity": "4616C",
- "vat_number": "FR 32 123456789",
- "id_parent": "0",
- "id_products_prices_category": "0",
- "id_payment_condition": "0",
- "id_vat": "-1",
- "description": "A description or note about this customer",
- "client_number": "123",
- "address_list": [
- {
- "id": "17894",
- "type": "main",
- "title": "",
- "address": "55 Av. Louis Breguet",
- "zip_code": "31400",
- "city": "Toulouse",
- "country": "France",
- "latitude": "43.57711972081131",
- "longitude": "1.4767491490358602",
- "is_default": true
}, - {
- "id": "17895",
- "type": "delivery",
- "title": "My delivery address",
- "address": "1 place du Capitole",
- "zip_code": "31000",
- "city": "Toulouse",
- "country": "France",
- "latitude": "43.60394807541591",
- "longitude": "1.4442377834043243",
- "is_default": false
}, - {
- "id": "17896",
- "type": "invoice",
- "title": "My invoice address",
- "address": "55 Rue du Faubourg Saint-Honoré",
- "zip_code": "75000",
- "city": "Paris",
- "country": "France",
- "latitude": "48.87018658507098",
- "longitude": "2.3165783971275635",
- "is_default": false
}
], - "contacts_list": [
- {
- "id": "4700",
- "civility": "Mr",
- "lastname": "Dupont",
- "firstname": "Jean",
- "position_title": "CEO",
- "email": "jeandupont@example.com",
- "phone": "02 45 68 37 98",
- "mobile": "06 94 31 81 31",
- "description": "A description or note about this contact"
}
], - "custom_fields_list": [
- {
- "id": "3345",
- "title": "Source d'acquisition",
- "value": "5900",
- "value_text": "Facebook"
}
], - "opportunities_list": [
- {
- "id": "1947",
- "pipeline": "1924",
- "title": "Opportunity #1",
- "archived": "0"
}
], - "sepa_debit_mandat_id": "MANDAT_ID",
- "sepa_debit_mandat_date": "15/01/2022",
- "sepa_debit_mandat_title": "MANDAT_TITLE",
- "sepa_debit_mandat_iban": "IBAN",
- "sepa_debit_mandat_bic": "BIC",
- "files_list": [
- {
- "id": "149",
- "name": "FileName",
- "extension": "pdf",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
], - "archived": "0",
- "creation_source": "3",
- "creation_source_title": "API",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
Delete a file for a customer.
id required | integer Customer Id |
file_id required | integer File Id |
null
Get customer history.
id required | integer Customer Id |
from | string <date-time> Search by start date |
to | string <date-time> Search by end date |
id_user | integer User Id of the user updater |
fields | string Updated fields list (separated by a comma) |
order | string <= 64 characters Name of the field to sort on |
direction | string <= 4 characters Direction for sorting
|
limit | integer Default: 100 Number of objects to be returned for paging |
offset | integer Default: 0 Offset for paging |
{- "status": "success",
- "pagination": {
- "total": 14,
- "limit": 100,
- "offset": 0
}, - "data": [
- {
- "field": "title",
- "old_value": "Value 1",
- "new_value": "Value 2",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
]
}
Get a list of all suppliers.
quick_search | string <= 127 characters Quick search field |
name | integer <= 127 characters Search by name |
client_number | string <= 30 characters Search by client number |
phone | string <= 30 characters Search by phone number |
mobile | string <= 30 characters Search by mobile number |
string <email> <= 127 characters Search by email | |
id_client_manager | string Search by user with group associated with the supplier |
langId | integer Search by language
|
siret | string <= 30 characters Search by SIRET |
siren | string <= 30 characters Search by SIREN |
vat_number | string <= 30 characters Search by VAT number |
archived | integer Search by status
|
creation_date_min | string <date-time> Search by creation date |
creation_date_max | string <date-time> Search by creation date |
update_date_min | string <date-time> Search by update date |
update_date_max | string <date-time> Search by update date |
fields | string List of fields to be returned. By default, all fields are returned. |
order | string <= 64 characters Name of the field to sort on |
direction | string <= 4 characters Direction for sorting
|
limit | integer Default: 100 Number of objects to be returned for paging |
offset | integer Default: 0 Offset for paging |
{- "status": "success",
- "pagination": {
- "total": 5,
- "limit": 100,
- "offset": 0
}, - "data": [
- {
- "id": "48560",
- "title": "Society Y",
- "id_client_manager": [
- "u213"
], - "phone": "+33512345678",
- "mobile": "07 98 76 54 32",
- "email": "contact@example.com",
- "langId": "1",
- "siret": "123 568 941 00056",
- "siren": "123 568 941",
- "legal_form": "SARL",
- "main_activity": "4616C",
- "vat_number": "FR 32 123456789",
- "id_parent": "0",
- "id_products_prices_category": "0",
- "id_payment_condition": "0",
- "id_vat": "-1",
- "description": "A description or note about this supplier",
- "client_number": "123",
- "address_list": [
- {
- "id": "17894",
- "type": "main",
- "title": "",
- "address": "55 Av. Louis Breguet",
- "zip_code": "31400",
- "city": "Toulouse",
- "country": "France",
- "latitude": "43.57711972081131",
- "longitude": "1.4767491490358602",
- "is_default": true
}, - {
- "id": "17895",
- "type": "delivery",
- "title": "My delivery address",
- "address": "1 place du Capitole",
- "zip_code": "31000",
- "city": "Toulouse",
- "country": "France",
- "latitude": "43.60394807541591",
- "longitude": "1.4442377834043243",
- "is_default": false
}, - {
- "id": "17896",
- "type": "invoice",
- "title": "My invoice address",
- "address": "55 Rue du Faubourg Saint-Honoré",
- "zip_code": "75000",
- "city": "Paris",
- "country": "France",
- "latitude": "48.87018658507098",
- "longitude": "2.3165783971275635",
- "is_default": false
}
], - "contacts_list": [
- {
- "id": "4700",
- "civility": "Mr",
- "lastname": "Dupont",
- "firstname": "Jean",
- "position_title": "CEO",
- "email": "jeandupont@example.com",
- "phone": "02 45 68 37 98",
- "mobile": "06 94 31 81 31",
- "description": "A description or note about this contact"
}
], - "custom_fields_list": [
- {
- "id": "3352",
- "title": "Payment condition",
- "value": "5911",
- "value_text": "30 days"
}
], - "archived": "0",
- "creation_source": "3",
- "creation_source_title": "API",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
]
}
Create a supplier.
name required | string <= 127 characters Supplier name |
phone | string <= 30 characters Supplier phone number |
mobile | string <= 30 characters Supplier mobile number |
string <email> <= 127 characters Supplier email address | |
id_client_manager | string Users with group Id associated with the supplier |
langId | integer Supplier language
|
siret | string <= 30 characters Supplier SIRET |
siren | integer <= 30 characters Supplier SIREN |
legal_form | string <= 255 characters Supplier status |
main_activity | string <= 255 characters APE/NAF code |
vat_number | string <= 30 characters VAT number |
id_document_template | integer |
id_payment_condition | integer Id of payment condition
|
id_vat | integer VAT Id
|
description | string <= 255 characters Supplier description |
client_number | string <= 30 characters Internal number |
Array of objects Custom fields | |
main_address | string <= 255 characters Main address |
main_zip_code | string <= 64 characters ZIP code of main address |
main_city | string <= 127 characters City of main address |
main_country | string <= 64 characters Country of main address |
delivery_title | string <= 127 characters Name or company name of delivery address |
delivery_address | string <= 255 characters Delivery address |
delivery_zip_code | string <= 64 characters ZIP code of delivery address |
delivery_city | string <= 127 characters City of delivery address |
delivery_country | string <= 64 characters Country of delivery address |
invoice_title | string <= 127 characters Name or company name of invoice address |
invoice_address | string <= 255 characters Invoice address |
invoice_zip_code | string <= 64 characters ZIP code of invoice address |
invoice_city | string <= 127 characters City of invoice address |
invoice_country | string <= 64 characters Country of invoice address |
archived | integer Supplier status
|
{- "name": "Society Y",
- "phone": "+33512345678",
- "mobile": "07 98 76 54 32",
- "email": "contact@example.com",
- "id_client_manager": "u213",
- "langId": 1,
- "siret": "123 568 941 00056",
- "siren": "123 568 941",
- "legal_form": "SARL",
- "main_activity": "4616C",
- "vat_number": "FR 32 123456789",
- "id_document_template": "",
- "id_payment_condition": "0",
- "id_vat": "-1",
- "description": "A description or note about this supplier",
- "client_number": 123,
- "custom_fields": [
- {
- "id": 3352,
- "value": 5911
}
], - "main_address": "55 Av. Louis Breguet",
- "main_zip_code": 31400,
- "main_city": "Toulouse",
- "main_country": "France",
- "delivery_title": "My delivery address",
- "delivery_address": "1 place du Capitole",
- "delivery_zip_code": 31000,
- "delivery_city": "Toulouse",
- "delivery_country": "France",
- "invoice_title": "My invoice address",
- "invoice_address": "55 Rue du Faubourg Saint-Honoré",
- "invoice_zip_code": 75000,
- "invoice_city": "Paris",
- "invoice_country": "France",
- "archived": 0
}
{- "id": "48560",
- "title": "Society Y",
- "id_client_manager": [
- "u213"
], - "phone": "+33512345678",
- "mobile": "07 98 76 54 32",
- "email": "contact@example.com",
- "langId": "1",
- "siret": "123 568 941 00056",
- "siren": "123 568 941",
- "legal_form": "SARL",
- "main_activity": "4616C",
- "vat_number": "FR 32 123456789",
- "id_parent": "0",
- "id_products_prices_category": "0",
- "id_payment_condition": "0",
- "id_vat": "-1",
- "description": "A description or note about this supplier",
- "client_number": "123",
- "address_list": [
- {
- "id": "17894",
- "type": "main",
- "title": "",
- "address": "55 Av. Louis Breguet",
- "zip_code": "31400",
- "city": "Toulouse",
- "country": "France",
- "latitude": "43.57711972081131",
- "longitude": "1.4767491490358602",
- "is_default": true
}, - {
- "id": "17895",
- "type": "delivery",
- "title": "My delivery address",
- "address": "1 place du Capitole",
- "zip_code": "31000",
- "city": "Toulouse",
- "country": "France",
- "latitude": "43.60394807541591",
- "longitude": "1.4442377834043243",
- "is_default": false
}, - {
- "id": "17896",
- "type": "invoice",
- "title": "My invoice address",
- "address": "55 Rue du Faubourg Saint-Honoré",
- "zip_code": "75000",
- "city": "Paris",
- "country": "France",
- "latitude": "48.87018658507098",
- "longitude": "2.3165783971275635",
- "is_default": false
}
], - "contacts_list": [ ],
- "custom_fields_list": [
- {
- "id": "3352",
- "title": "Payment condition",
- "value": "5911",
- "value_text": "30 days"
}
], - "files_list": [
- {
- "id": "149",
- "name": "FileName",
- "extension": "pdf",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
], - "archived": "0",
- "creation_source": "3",
- "creation_source_title": "API",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
Get one supplier.
id required | integer Supplier Id |
{- "id": "48560",
- "title": "Society Y",
- "id_client_manager": [
- "u213"
], - "phone": "+33512345678",
- "mobile": "07 98 76 54 32",
- "email": "contact@example.com",
- "langId": "1",
- "siret": "123 568 941 00056",
- "siren": "123 568 941",
- "legal_form": "SARL",
- "main_activity": "4616C",
- "vat_number": "FR 32 123456789",
- "id_parent": "0",
- "id_products_prices_category": "0",
- "id_payment_condition": "0",
- "id_vat": "-1",
- "description": "A description or note about this supplier",
- "client_number": "123",
- "address_list": [
- {
- "id": "17894",
- "type": "main",
- "title": "",
- "address": "55 Av. Louis Breguet",
- "zip_code": "31400",
- "city": "Toulouse",
- "country": "France",
- "latitude": "43.57711972081131",
- "longitude": "1.4767491490358602",
- "is_default": true
}, - {
- "id": "17895",
- "type": "delivery",
- "title": "My delivery address",
- "address": "1 place du Capitole",
- "zip_code": "31000",
- "city": "Toulouse",
- "country": "France",
- "latitude": "43.60394807541591",
- "longitude": "1.4442377834043243",
- "is_default": false
}, - {
- "id": "17896",
- "type": "invoice",
- "title": "My invoice address",
- "address": "55 Rue du Faubourg Saint-Honoré",
- "zip_code": "75000",
- "city": "Paris",
- "country": "France",
- "latitude": "48.87018658507098",
- "longitude": "2.3165783971275635",
- "is_default": false
}
], - "contacts_list": [
- {
- "id": "4700",
- "civility": "Mr",
- "lastname": "Dupont",
- "firstname": "Jean",
- "position_title": "CEO",
- "email": "jeandupont@example.com",
- "phone": "02 45 68 37 98",
- "mobile": "06 94 31 81 31",
- "description": "A description or note about this contact"
}
], - "custom_fields_list": [
- {
- "id": "3352",
- "title": "Payment condition",
- "value": "5911",
- "value_text": "30 days"
}
], - "files_list": [
- {
- "id": "149",
- "name": "FileName",
- "extension": "pdf",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
], - "archived": "0",
- "creation_source": "3",
- "creation_source_title": "API",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
Update a supplier.
id required | integer Supplier Id |
name | string <= 127 characters Supplier name |
phone | string <= 30 characters Supplier phone number |
mobile | string <= 30 characters Supplier mobile number |
string <email> <= 127 characters Supplier email address | |
id_client_manager | string Users with group Id associated with the supplier |
langId | integer Supplier language
|
siret | string <= 30 characters Supplier SIRET |
siren | integer <= 30 characters Supplier SIREN |
legal_form | string <= 255 characters Supplier status |
main_activity | string <= 255 characters APE/NAF code |
vat_number | string <= 30 characters VAT number |
id_document_template | integer |
id_payment_condition | integer Id of payment condition
|
id_vat | integer VAT Id
|
description | string <= 255 characters Supplier description |
client_number | string <= 30 characters Internal number |
Array of objects Custom fields | |
main_address | string <= 255 characters Main address |
main_zip_code | string <= 64 characters ZIP code of main address |
main_city | string <= 127 characters City of main address |
main_country | string <= 64 characters Country of main address |
delivery_title | string <= 127 characters Name or company name of delivery address |
delivery_address | string <= 255 characters Delivery address |
delivery_zip_code | string <= 64 characters ZIP code of delivery address |
delivery_city | string <= 127 characters City of delivery address |
delivery_country | string <= 64 characters Country of delivery address |
invoice_title | string <= 127 characters Name or company name of invoice address |
invoice_address | string <= 255 characters Invoice address |
invoice_zip_code | string <= 64 characters ZIP code of invoice address |
invoice_city | string <= 127 characters City of invoice address |
invoice_country | string <= 64 characters Country of invoice address |
archived | integer Supplier status
|
{- "name": "Society Y",
- "phone": "+33512345678",
- "mobile": "07 98 76 54 32",
- "email": "contact@example.com",
- "id_client_manager": "u213",
- "langId": 1,
- "siret": "123 568 941 00056",
- "siren": "123 568 941",
- "legal_form": "SARL",
- "main_activity": "4616C",
- "vat_number": "FR 32 123456789",
- "id_document_template": "",
- "id_payment_condition": "0",
- "id_vat": "-1",
- "description": "A description or note about this supplier",
- "client_number": 123,
- "custom_fields": [
- {
- "id": 3352,
- "value": 5911
}
], - "main_address": "55 Av. Louis Breguet",
- "main_zip_code": 31400,
- "main_city": "Toulouse",
- "main_country": "France",
- "delivery_title": "My delivery address",
- "delivery_address": "1 place du Capitole",
- "delivery_zip_code": 31000,
- "delivery_city": "Toulouse",
- "delivery_country": "France",
- "invoice_title": "My invoice address",
- "invoice_address": "55 Rue du Faubourg Saint-Honoré",
- "invoice_zip_code": 75000,
- "invoice_city": "Paris",
- "invoice_country": "France",
- "archived": 0
}
{- "id": "48560",
- "title": "Society Y",
- "id_client_manager": [
- "u213"
], - "phone": "+33512345678",
- "mobile": "07 98 76 54 32",
- "email": "contact@example.com",
- "langId": "1",
- "siret": "123 568 941 00056",
- "siren": "123 568 941",
- "legal_form": "SARL",
- "main_activity": "4616C",
- "vat_number": "FR 32 123456789",
- "id_parent": "0",
- "id_products_prices_category": "0",
- "id_payment_condition": "0",
- "id_vat": "-1",
- "description": "A description or note about this supplier",
- "client_number": "123",
- "address_list": [
- {
- "id": "17894",
- "type": "main",
- "title": "",
- "address": "55 Av. Louis Breguet",
- "zip_code": "31400",
- "city": "Toulouse",
- "country": "France",
- "latitude": "43.57711972081131",
- "longitude": "1.4767491490358602",
- "is_default": true
}, - {
- "id": "17895",
- "type": "delivery",
- "title": "My delivery address",
- "address": "1 place du Capitole",
- "zip_code": "31000",
- "city": "Toulouse",
- "country": "France",
- "latitude": "43.60394807541591",
- "longitude": "1.4442377834043243",
- "is_default": false
}, - {
- "id": "17896",
- "type": "invoice",
- "title": "My invoice address",
- "address": "55 Rue du Faubourg Saint-Honoré",
- "zip_code": "75000",
- "city": "Paris",
- "country": "France",
- "latitude": "48.87018658507098",
- "longitude": "2.3165783971275635",
- "is_default": false
}
], - "contacts_list": [
- {
- "id": "4700",
- "civility": "Mr",
- "lastname": "Dupont",
- "firstname": "Jean",
- "position_title": "CEO",
- "email": "jeandupont@example.com",
- "phone": "02 45 68 37 98",
- "mobile": "06 94 31 81 31",
- "description": "A description or note about this contact"
}
], - "custom_fields_list": [
- {
- "id": "3352",
- "title": "Payment condition",
- "value": "5911",
- "value_text": "30 days"
}
], - "files_list": [
- {
- "id": "149",
- "name": "FileName",
- "extension": "pdf",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
], - "archived": "0",
- "creation_source": "3",
- "creation_source_title": "API",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
Get values of suppliers custom field.
field_id required | integer Supplier custom field Id |
{- "status": "success",
- "data": [
- {
- "id": "5911",
- "title": "30 days"
}, - {
- "id"": "5912",
- "title": "45 days end of month"
}
]
}
Add or update a supplier custom field.
id required | integer Supplier Id |
field_id required | integer Supplier custom field Id |
field_value required | integer |
{- "field_value": 5911
}
{- "id": "48560",
- "title": "Society Y",
- "id_client_manager": [
- "u213"
], - "phone": "+33512345678",
- "mobile": "07 98 76 54 32",
- "email": "contact@example.com",
- "langId": "1",
- "siret": "123 568 941 00056",
- "siren": "123 568 941",
- "legal_form": "SARL",
- "main_activity": "4616C",
- "vat_number": "FR 32 123456789",
- "id_parent": "0",
- "id_products_prices_category": "0",
- "id_payment_condition": "0",
- "id_vat": "-1",
- "description": "A description or note about this supplier",
- "client_number": "123",
- "address_list": [
- {
- "id": "17894",
- "type": "main",
- "title": "",
- "address": "55 Av. Louis Breguet",
- "zip_code": "31400",
- "city": "Toulouse",
- "country": "France",
- "latitude": "43.57711972081131",
- "longitude": "1.4767491490358602",
- "is_default": true
}, - {
- "id": "17895",
- "type": "delivery",
- "title": "My delivery address",
- "address": "1 place du Capitole",
- "zip_code": "31000",
- "city": "Toulouse",
- "country": "France",
- "latitude": "43.60394807541591",
- "longitude": "1.4442377834043243",
- "is_default": false
}, - {
- "id": "17896",
- "type": "invoice",
- "title": "My invoice address",
- "address": "55 Rue du Faubourg Saint-Honoré",
- "zip_code": "75000",
- "city": "Paris",
- "country": "France",
- "latitude": "48.87018658507098",
- "longitude": "2.3165783971275635",
- "is_default": false
}
], - "contacts_list": [
- {
- "id": "4700",
- "civility": "Mr",
- "lastname": "Dupont",
- "firstname": "Jean",
- "position_title": "CEO",
- "email": "jeandupont@example.com",
- "phone": "02 45 68 37 98",
- "mobile": "06 94 31 81 31",
- "description": "A description or note about this contact"
}
], - "custom_fields_list": [
- {
- "id": "3352",
- "title": "Payment condition",
- "value": "5911",
- "value_text": "30 days"
}
], - "files_list": [
- {
- "id": "149",
- "name": "FileName",
- "extension": "pdf",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
], - "archived": "0",
- "creation_source": "3",
- "creation_source_title": "API",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
Add a new file for a supplier.
id required | integer Supplier Id |
upload_file_content | string Content of the file to upload (base64) |
upload_file_url | string URL of the file to upload |
upload_file_name | string Name of the file |
{- "upload_file_content": "",
- "upload_file_url": "",
- "upload_file_name": ""
}
{- "id": "48560",
- "title": "Society Y",
- "id_client_manager": [
- "u213"
], - "phone": "+33512345678",
- "mobile": "07 98 76 54 32",
- "email": "contact@example.com",
- "langId": "1",
- "siret": "123 568 941 00056",
- "siren": "123 568 941",
- "legal_form": "SARL",
- "main_activity": "4616C",
- "vat_number": "FR 32 123456789",
- "id_parent": "0",
- "id_products_prices_category": "0",
- "id_payment_condition": "0",
- "id_vat": "-1",
- "description": "A description or note about this supplier",
- "client_number": "123",
- "address_list": [
- {
- "id": "17894",
- "type": "main",
- "title": "",
- "address": "55 Av. Louis Breguet",
- "zip_code": "31400",
- "city": "Toulouse",
- "country": "France",
- "latitude": "43.57711972081131",
- "longitude": "1.4767491490358602",
- "is_default": true
}, - {
- "id": "17895",
- "type": "delivery",
- "title": "My delivery address",
- "address": "1 place du Capitole",
- "zip_code": "31000",
- "city": "Toulouse",
- "country": "France",
- "latitude": "43.60394807541591",
- "longitude": "1.4442377834043243",
- "is_default": false
}, - {
- "id": "17896",
- "type": "invoice",
- "title": "My invoice address",
- "address": "55 Rue du Faubourg Saint-Honoré",
- "zip_code": "75000",
- "city": "Paris",
- "country": "France",
- "latitude": "48.87018658507098",
- "longitude": "2.3165783971275635",
- "is_default": false
}
], - "contacts_list": [
- {
- "id": "4700",
- "civility": "Mr",
- "lastname": "Dupont",
- "firstname": "Jean",
- "position_title": "CEO",
- "email": "jeandupont@example.com",
- "phone": "02 45 68 37 98",
- "mobile": "06 94 31 81 31",
- "description": "A description or note about this contact"
}
], - "custom_fields_list": [
- {
- "id": "3352",
- "title": "Payment condition",
- "value": "5911",
- "value_text": "30 days"
}
], - "files_list": [
- {
- "id": "149",
- "name": "FileName",
- "extension": "pdf",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
], - "archived": "0",
- "creation_source": "3",
- "creation_source_title": "API",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
Delete a file for a supplier.
id required | integer Supplier Id |
file_id required | integer File Id |
null
Get supplier history.
id required | integer Supplier Id |
from | string <date-time> Search by start date |
to | string <date-time> Search by end date |
id_user | integer User Id of the user updater |
fields | string Updated fields list (separated by a comma) |
order | string <= 64 characters Name of the field to sort on |
direction | string <= 4 characters Direction for sorting
|
limit | integer Default: 100 Number of objects to be returned for paging |
offset | integer Default: 0 Offset for paging |
{- "status": "success",
- "pagination": {
- "total": 14,
- "limit": 100,
- "offset": 0
}, - "data": [
- {
- "field": "title",
- "old_value": "Value 1",
- "new_value": "Value 2",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
]
}
Get a list of all contacts.
quick_search | string <= 127 characters Quick search field |
id_customer_supplier | |
id_civility | integer Search by status
|
lastname | string <= 127 characters Search by lastname |
firstname | string <= 127 characters Search by firstname |
position_title | string <= 127 characters Search by position title |
string <email> <= 127 characters Search by email | |
phone | string <= 30 characters Search by phone number |
mobile | string <= 30 characters Search by mobile number |
is_accounting_contact | integer Search by accounting contact
|
client_number | string <= 30 characters Search by client number |
fields | string List of fields to be returned. By default, all fields are returned. |
order | string <= 64 characters Name of the field to sort on |
direction | string <= 4 characters Direction for sorting
|
limit | integer Default: 100 Number of objects to be returned for paging |
offset | integer Default: 0 Offset for paging |
{- "status": "success",
- "pagination": {
- "total": 3,
- "limit": 100,
- "offset": 0
}, - "data": [
- {
- "id": "48560",
- "id_customer_supplier": "28496",
- "supplier": "0",
- "title": "Mr Jean Dupont",
- "id_civility": "1",
- "lastname": "Dupont",
- "firstname": "Jean",
- "position_title": "CEO",
- "email": "jeandupont@example.com",
- "phone": "02 45 68 37 98",
- "mobile": "06 94 31 81 31",
- "is_accounting_contact": "0",
- "description": "A description or note about this contact",
- "client_number": "123",
- "custom_fields_list": [
- {
- "id": "3407",
- "title": "Contact type",
- "value": "5994",
- "value_text": "Decision-maker contact"
}
], - "client_portal": {
- "status": "1",
- "id_right": "5",
- "last_connexion": "2023-01-15 15:42:35",
- "password_last_update": "2022-12-10 10:14:12"
}, - "creation_source": "3",
- "creation_source_title": "API",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
]
}
Create a contact.
id_customer_supplier required | |
id_civility | integer Contact civility
|
lastname required | string <= 127 characters Contact lastname |
firstname | string <= 127 characters Contact firstname |
position_title | string <= 127 characters Contact position title |
string <email> <= 127 characters Contact email address | |
phone | string <= 30 characters Contact phone number |
mobile | string <= 30 characters Contact mobile number |
is_accounting_contact | integer Is accounting contact
|
description | string <= 255 characters Contact description |
client_number | string <= 30 characters Internal number |
Array of objects Custom fields |
{- "id_customer_supplier": 28496,
- "id_civility": "",
- "lastname": "Dupont",
- "firstname": "Jean",
- "position_title": "CEO",
- "email": "contact@example.com",
- "phone": "+33512345678",
- "mobile": "07 98 76 54 32",
- "is_accounting_contact": 0,
- "description": "A description or note about this contact",
- "client_number": 123,
- "custom_fields": [
- {
- "id": 3704,
- "value": 5994
}
]
}
{- "id": "48560",
- "id_customer_supplier": "28496",
- "supplier": "0",
- "title": "Mr Jean Dupont",
- "id_civility": "1",
- "lastname": "Dupont",
- "firstname": "Jean",
- "position_title": "CEO",
- "email": "jeandupont@example.com",
- "phone": "02 45 68 37 98",
- "mobile": "06 94 31 81 31",
- "is_accounting_contact": "0",
- "description": "A description or note about this contact",
- "client_number": "123",
- "creation_source": "3",
- "creation_source_title": "API",
- "custom_fields_list": [
- {
- "id": "3407",
- "title": "Contact type",
- "value": "5994",
- "value_text": "Decision-maker contact"
}
], - "client_portal": {
- "status": "1",
- "id_right": "5",
- "last_connexion": "2023-01-15 15:42:35",
- "password_last_update": "2022-12-10 10:14:12"
}, - "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
Get one contact.
id required | integer Contact Id |
{- "id": "48560",
- "id_customer_supplier": "28496",
- "supplier": "0",
- "title": "Mr Jean Dupont",
- "id_civility": "1",
- "lastname": "Dupont",
- "firstname": "Jean",
- "position_title": "CEO",
- "email": "jeandupont@example.com",
- "phone": "02 45 68 37 98",
- "mobile": "06 94 31 81 31",
- "is_accounting_contact": "0",
- "description": "A description or note about this contact",
- "client_number": "123",
- "creation_source": "3",
- "creation_source_title": "API",
- "custom_fields_list": [
- {
- "id": "3407",
- "title": "Contact type",
- "value": "5994",
- "value_text": "Decision-maker contact"
}
], - "client_portal": {
- "status": "1",
- "id_right": "5",
- "last_connexion": "2023-01-15 15:42:35",
- "password_last_update": "2022-12-10 10:14:12"
}, - "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
Update a contact.
id required | integer Contact Id |
id_customer_supplier | |
id_civility | integer Contact civility
|
lastname | string <= 127 characters Contact lastname |
firstname | string <= 127 characters Contact firstname |
position_title | string <= 127 characters Contact position title |
string <email> <= 127 characters Contact email address | |
phone | string <= 30 characters Contact phone number |
mobile | string <= 30 characters Contact mobile number |
is_accounting_contact | integer Is accounting contact
|
description | string <= 255 characters Contact description |
client_number | string <= 30 characters Internal number |
Array of objects Custom fields |
{- "id_customer_supplier": 28496,
- "id_civility": "",
- "lastname": "Dupont",
- "firstname": "Jean",
- "position_title": "CEO",
- "email": "contact@example.com",
- "phone": "+33512345678",
- "mobile": "07 98 76 54 32",
- "is_accounting_contact": 0,
- "description": "A description or note about this contact",
- "client_number": 123,
- "custom_fields": [
- {
- "id": 3704,
- "value": 5994
}
]
}
{- "id": "48560",
- "id_customer_supplier": "28496",
- "supplier": "0",
- "title": "Mr Jean Dupont",
- "id_civility": "1",
- "lastname": "Dupont",
- "firstname": "Jean",
- "position_title": "CEO",
- "email": "jeandupont@example.com",
- "phone": "02 45 68 37 98",
- "mobile": "06 94 31 81 31",
- "is_accounting_contact": "0",
- "description": "A description or note about this contact",
- "client_number": "123",
- "creation_source": "3",
- "creation_source_title": "API",
- "custom_fields_list": [
- {
- "id": "3407",
- "title": "Contact type",
- "value": "5994",
- "value_text": "Decision-maker contact"
}
], - "client_portal": {
- "status": "1",
- "id_right": "5",
- "last_connexion": "2023-01-15 15:42:35",
- "password_last_update": "2022-12-10 10:14:12"
}, - "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
Get values of contacts custom field.
field_id required | integer Contact custom field Id |
{- "status": "success",
- "data": [
- {
- "id": "5991",
- "title": "Commercial contact"
}, - {
- "id": "5992",
- "title": "Accounting contact"
}, - {
- "id": "5993",
- "title": "Decision-maker contact"
}, - {
- "id": "5994",
- "title": "Delivery contact"
}
]
}
Add or update a contact custom field.
id required | integer Contact Id |
field_id required | integer Contact custom field Id |
field_value required | integer |
{- "field_value": 5994
}
{- "id": "48560",
- "id_customer_supplier": "28496",
- "supplier": "0",
- "title": "Mr Jean Dupont",
- "id_civility": "1",
- "lastname": "Dupont",
- "firstname": "Jean",
- "position_title": "CEO",
- "email": "jeandupont@example.com",
- "phone": "02 45 68 37 98",
- "mobile": "06 94 31 81 31",
- "is_accounting_contact": "0",
- "description": "A description or note about this contact",
- "client_number": "123",
- "creation_source": "3",
- "creation_source_title": "API",
- "custom_fields_list": [
- {
- "id": "3407",
- "title": "Contact type",
- "value": "5994",
- "value_text": "Decision-maker contact"
}
], - "client_portal": {
- "status": "1",
- "id_right": "5",
- "last_connexion": "2023-01-15 15:42:35",
- "password_last_update": "2022-12-10 10:14:12"
}, - "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
Get a list of all opportunities.
pipeline | integer Search by pipeline Id |
id_customer | integer Search by customer Id |
title | string <= 127 characters Search by title |
column_number | integer Search by pipeline column Id |
id_user_assigned | string <= 30 characters Search by user with group Id associated with the opportunity |
id_status | integer Search by opportunity status Id |
id_status_lost | integer Search by reason Id for status loss |
id_status_canceled | integer Search by reason Id for status cancellation |
archived | integer Search by opportunity condition
|
creation_date_min | string <date-time> Search by creation date |
creation_date_max | string <date-time> Search by creation date |
update_date_min | string <date-time> Search by update date |
update_date_max | string <date-time> Search by update date |
fields | string List of fields to be returned. By default, all fields are returned. |
order | string <= 64 characters Name of the field to sort on |
direction | string <= 4 characters Direction for sorting
|
limit | integer Default: 100 Number of objects to be returned for paging |
offset | integer Default: 0 Offset for paging |
{- "status": "success",
- "pagination": {
- "total": 3,
- "limit": 100,
- "offset": 0
}, - "data": [
- {
- "id": "1985",
- "pipeline": "1934",
- "column_number": "1",
- "column_number_last_update": "2022-04-04 09:44:49",
- "position": "1",
- "id_customer": "28496",
- "title": "Opportunity #1",
- "id_status": "0",
- "opportunity_status": "Open",
- "id_status_lost": "0",
- "opportunity_status_lost": "",
- "id_status_canceled": "0",
- "opportunity_status_canceled": "",
- "id_user_assigned": [
- "u213"
], - "id_user_assigned_text": [
- "Jean Dupont"
], - "color": "#ff0000",
- "archived": "0",
- "custom_fields_list": [
- {
- "id": "3413",
- "title": "Source",
- "value": "5995",
- "value_text": "Website"
}
], - "proposals": [
- {
- "id": "3413",
- "number": "1",
- "description": "",
- "files_list": [ ]
}
], - "creation_source": "3",
- "creation_source_title": "API",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
]
}
Create an opportunity.
pipeline required | integer Pipeline Id |
id_customer required | integer Customer Id |
title | string <= 127 characters Opportunity title |
column_number | integer |
id_user_assigned | string User with group Id associated with the opportunity |
id_status | integer Opportunity status Id |
id_status_lost | integer <email> Reason Id for status loss. Only if status is lost |
id_status_canceled | integer Reason Id for status cancellation. Only if status is cancelled |
color | string Opportunity color
|
archived | integer Opportunity status
|
Array of objects Custom fields |
{- "pipeline": 1934,
- "id_customer": 48560,
- "title": "Opportunity #1",
- "column_number": 1,
- "id_user_assigned": "u213",
- "id_status": 0,
- "id_status_lost": "",
- "id_status_canceled": "",
- "color": "ff0000",
- "archived": 0,
- "custom_fields": [
- {
- "id": 3413,
- "value": 5995
}
]
}
{- "id": "1985",
- "pipeline": "1934",
- "column_number": "1",
- "column_number_last_update": "2022-04-04 09:44:49",
- "position": "1",
- "id_customer": "28496",
- "title": "Opportunity #1",
- "id_status": "0",
- "id_status_lost": "0",
- "id_status_canceled": "0",
- "id_user_assigned": [
- "u213"
], - "id_user_assigned_text": [
- "Jean Dupont"
], - "color": "#ff0000",
- "archived": "0",
- "custom_fields_list": [
- {
- "id": "3413",
- "title": "Source",
- "value": "5995",
- "value_text": "Website"
}
], - "creation_source": "3",
- "creation_source_title": "API",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
Get one opportunity.
id required | integer Opportunity Id |
{- "id": "1985",
- "pipeline": "1934",
- "column_number": "1",
- "column_number_last_update": "2022-04-04 09:44:49",
- "position": "1",
- "id_customer": "28496",
- "title": "Opportunity #1",
- "id_status": "0",
- "opportunity_status": "Open",
- "id_status_lost": "0",
- "opportunity_status_lost": "",
- "id_status_canceled": "0",
- "opportunity_status_canceled": "",
- "id_user_assigned": [
- "u213"
], - "id_user_assigned_text": [
- "Jean Dupont"
], - "color": "#ff0000",
- "archived": "0",
- "custom_fields_list": [
- {
- "id": "3413",
- "title": "Source",
- "value": "5995",
- "value_text": "Website"
}
], - "proposals": [
- {
- "id": "3413",
- "number": "1",
- "description": "",
- "files_list": [ ]
}
], - "creation_source": "3",
- "creation_source_title": "API",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
Update an opportunity.
id required | integer Opportunity Id |
pipeline | integer Pipeline Id |
id_customer | integer Customer Id |
title | string <= 127 characters Opportunity title |
column_number | integer |
id_user_assigned | string User with group Id associated with the opportunity |
id_status | integer Opportunity status Id |
id_status_lost | integer <email> Reason Id for status loss. Only if status is lost |
id_status_canceled | integer Reason Id for status cancellation. Only if status is cancelled |
color | string Opportunity color
|
archived | integer Opportunity status
|
Array of objects Custom fields |
{- "pipeline": 1934,
- "id_customer": 48560,
- "title": "Opportunity #1",
- "column_number": 1,
- "id_user_assigned": "u213",
- "id_status": 0,
- "id_status_lost": "",
- "id_status_canceled": "",
- "color": "ff0000",
- "archived": 0,
- "custom_fields": [
- {
- "id": 3413,
- "value": 5995
}
]
}
{- "id": "1985",
- "pipeline": "1934",
- "column_number": "1",
- "column_number_last_update": "2022-04-04 09:44:49",
- "position": "1",
- "id_customer": "28496",
- "title": "Opportunity #1",
- "id_status": "0",
- "opportunity_status": "Open",
- "id_status_lost": "0",
- "opportunity_status_lost": "",
- "id_status_canceled": "0",
- "opportunity_status_canceled": "",
- "id_user_assigned": [
- "u213"
], - "id_user_assigned_text": [
- "Jean Dupont"
], - "color": "#ff0000",
- "archived": "0",
- "custom_fields_list": [
- {
- "id": "3413",
- "title": "Source",
- "value": "5995",
- "value_text": "Website"
}
], - "proposals": [
- {
- "id": "3413",
- "number": "1",
- "description": "",
- "files_list": [ ]
}
], - "creation_source": "3",
- "creation_source_title": "API",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
Delete an opportunity.
id required | integer Opportunity Id |
null
Get values of opportunities custom field.
field_id required | integer Opportunity custom field Id |
{- "status": "success",
- "data": [
- {
- "id": "5995",
- "title": "Phone"
}, - {
- "id": "5996",
- "title": "Website"
}
]
}
Add or update a opportunity custom field.
id required | integer Opportunity Id |
field_id required | integer Opportunity custom field Id |
field_value required | integer |
{- "field_value": 5995
}
{- "id": "1985",
- "pipeline": "1934",
- "column_number": "1",
- "column_number_last_update": "2022-04-04 09:44:49",
- "position": "1",
- "id_customer": "28496",
- "title": "Opportunity #1",
- "id_status": "0",
- "opportunity_status": "Open",
- "id_status_lost": "0",
- "opportunity_status_lost": "",
- "id_status_canceled": "0",
- "opportunity_status_canceled": "",
- "id_user_assigned": [
- "u213"
], - "id_user_assigned_text": [
- "Jean Dupont"
], - "color": "#ff0000",
- "archived": "0",
- "custom_fields_list": [
- {
- "id": "3413",
- "title": "Source",
- "value": "5995",
- "value_text": "Website"
}
], - "proposals": [
- {
- "id": "3413",
- "number": "1",
- "description": "",
- "files_list": [ ]
}
], - "creation_source": "3",
- "creation_source_title": "API",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
Add a new file for an opportunity.
id required | integer Opportunity Id |
id_proposal | integer Id of the proposition in the opportunity
|
upload_file_content | string Content of the file to upload (base64) |
upload_file_url | string URL of the file to upload |
upload_file_name | string Name of the file |
{- "id_proposal": "0",
- "upload_file_content": "",
- "upload_file_url": "",
- "upload_file_name": ""
}
{- "id": "1985",
- "pipeline": "1934",
- "column_number": "1",
- "column_number_last_update": "2022-04-04 09:44:49",
- "position": "1",
- "id_customer": "28496",
- "title": "Opportunity #1",
- "id_status": "0",
- "opportunity_status": "Open",
- "id_status_lost": "0",
- "opportunity_status_lost": "",
- "id_status_canceled": "0",
- "opportunity_status_canceled": "",
- "id_user_assigned": [
- "u213"
], - "id_user_assigned_text": [
- "Jean Dupont"
], - "color": "#ff0000",
- "archived": "0",
- "custom_fields_list": [
- {
- "id": "3413",
- "title": "Source",
- "value": "5995",
- "value_text": "Website"
}
], - "proposals": [
- {
- "id": "3413",
- "number": "1",
- "description": "",
- "files_list": [ ]
}
], - "creation_source": "3",
- "creation_source_title": "API",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
Delete a file for an opportunity.
id required | integer Opportunity Id |
file_id required | integer File Id |
null
Get opportunities pipeline columns.
pipeline_id required | integer Pipeline Id |
{- "status": "success",
- "data": [
- {
- "id": "1",
- "title": "Prospecting",
- "probability": "0.00"
}, - {
- "id": "2",
- "title": "Proposal",
- "probability": "25.00"
}, - {
- "id": "3",
- "title": "Negotiation",
- "probability": "50.00"
}, - {
- "id": "4",
- "title": "Sales",
- "probability": "75.00"
}
]
}
{- "status": "success",
- "data": [
- {
- "id": "1090",
- "title": "Concurrence",
- "title_en": "Competition",
- "title_es": "Competencia"
}, - {
- "id": "1091",
- "title": "Non qualifié",
- "title_en": "Unqualified",
- "title_es": "No calificado"
}, - {
- "id": "1092",
- "title": "Pas adapté",
- "title_en": "Not suitable",
- "title_es": "No apto"
}, - {
- "id": "1093",
- "title": "Trop cher",
- "title_en": "Too expensive",
- "title_es": "Demasiado caro"
}
]
}
Get opportunity history.
id required | integer Opportunity Id |
from | string <date-time> Search by start date |
to | string <date-time> Search by end date |
id_user | integer User Id of the user updater |
fields | string Updated fields list (separated by a comma) |
order | string <= 64 characters Name of the field to sort on |
direction | string <= 4 characters Direction for sorting
|
limit | integer Default: 100 Number of objects to be returned for paging |
offset | integer Default: 0 Offset for paging |
{- "status": "success",
- "pagination": {
- "total": 14,
- "limit": 100,
- "offset": 0
}, - "data": [
- {
- "field": "title",
- "old_value": "Value 1",
- "new_value": "Value 2",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
]
}
Get a list of all documents.
from | string <date-time> Search by document date |
to | string <date-time> Search by expiration date |
type | integer Document type
|
status_not_draft | integer List all the documents not in draft status
|
id_status | Array of arrays Search by status
|
id_customer | integer Search by customer Id |
id_user_assigned | string Users with group Id associated with the oportunity |
document_number | string <= 30 characters Document number |
pipeline | integer Pipeline Id |
creation_date_min | string <date-time> Search by creation date |
creation_date_max | string <date-time> Search by creation date |
update_date_min | string <date-time> Search by update date |
update_date_max | string <date-time> Search by update date |
fields | string List of fields to be returned. By default, all fields are returned. |
order | string <= 64 characters Name of the field to sort on |
direction | string <= 4 characters Direction for sorting
|
limit | integer Default: 100 Number of objects to be returned for paging |
offset | integer Default: 0 Offset for paging |
{- "status": "success",
- "pagination": {
- "total": 14,
- "limit": 100,
- "offset": 0
}, - "data": [
- {
- "id": "2758",
- "id_customer_supplier": "48560",
- "customer_supplier_title": "Society X",
- "pipeline": "1934",
- "id_opportunity": "1985",
- "id_type": "1",
- "type_text": "Quotes",
- "number": "",
- "date": "2022-05-16",
- "date_end": "2022-05-30",
- "id_user_assigned": [
- "u213"
], - "id_user_assigned_text": [
- "Jean Dupont"
], - "discount_type": "percent",
- "discount_value": "0",
- "discount_percent": "0",
- "total_without_tax": "125.00",
- "total_with_tax": "150.00",
- "currency_code": "EUR",
- "currency_exchange_rate": "1.000000",
- "total_already_paid": "0.00",
- "payment_date": "2022-06-16",
- "id_document_previous": "2757",
- "id_document_next": "2759",
- "id_status": "0",
- "status_text": "Draft",
- "canceled": "0",
- "update_date": "2022-06-16 10:15:47",
- "products_list": [ ]
}
]
}
Create a document.
id_type | integer Document type Id
|
pipeline | integer If added in a new opportunity: Pipeline Id |
id_customer required | integer If added in a new opportunity: Customer Id |
id_opportunity required | string If adding in an existing opportunity: Opportunity Id |
proposal_description | string Proposal description |
id_status | integer Status Id
|
title | string <= 127 characters Document title |
date | string <date-time> Document date |
date_end | string <date-time> Expiration date - Not editable for invoices |
id_payment_condition | integer Payment condition Id - Only for invoices |
customer_reference | string Customer reference |
description | string Document description |
use_stripe_to_pay | integer Stripe use
|
id_document_template | integer Document template Id |
Array of Product (object) or Section (object) Articles list |
{- "id_type": "1",
- "pipeline": 1934,
- "id_customer": 48560,
- "id_opportunity": "1985",
- "proposal_description": "A description or note about this proposal",
- "id_status": 0,
- "title": "Document #1",
- "date": "2022-05-16",
- "date_end": "2022-05-30",
- "id_payment_condition": "1",
- "customer_reference": "C1234",
- "description": "A description or note about this document",
- "use_stripe_to_pay": "0",
- "id_document_template": "0",
- "products_list": [
- {
- "section": "0",
- "id_product": "4739",
- "reference": "Ref_product_1",
- "description": "A description or note about this product",
- "price_without_tax": "125.00",
- "quantity": "2.50",
- "quantity_delivered": "0",
- "id_vat": "1"
}, - {
- "section": "1",
- "title": "Section #1",
- "description": "A description or note about this section"
}
]
}
{- "id": "2758",
- "id_document_previous": "2757",
- "id_document_next": "2759",
- "id_customer_supplier": "28496",
- "id_opportunity": "1985",
- "id_opportunity_proposal": "1835",
- "id_type": "1",
- "type_text": "Quotes",
- "number": "",
- "id_status": "0",
- "status_text": "Draft",
- "title": "Document #1",
- "date": "2022-05-16",
- "date_end": "2022-05-30",
- "id_payment_condition": "1",
- "id_document_reference": "0",
- "customer_reference": "C1234",
- "id_customer_supplier_contact": "48560",
- "description": "A description or note about this document",
- "discount_type": "percent",
- "discount_value": 0,
- "final_invoice": "0",
- "deposit_type": "percent",
- "deposit_value": 0,
- "total_without_tax": "125.00",
- "total_with_tax": "150.00",
- "id_currency": "43",
- "currency_code": "EUR",
- "currency_exchange_rate": "1.000000",
- "total_already_paid": "0.00",
- "payment_date": "2022-06-16 00:00:00",
- "use_stripe_to_pay": "0",
- "canceled": "0",
- "id_document_template": "0",
- "download_url": "",
- "products_list": [
- {
- "section": "0",
- "id_product": "4739",
- "title": "Product #1",
- "reference": "Ref_product_1",
- "description": "A description or note about this product",
- "price_without_tax": "50.000000",
- "id_vat": "1",
- "vat": "20.00",
- "vat_text": "TVA 20%",
- "quantity": "2.50",
- "quantity_delivered": "0",
- "id_unit": "2",
- "unit": "unité",
- "discount_type": "percent",
- "discount_value": 0,
- "progress_type": "percent",
- "progress_value": 0,
- "total_without_tax": "125.00",
- "total_cost": "150.00",
- "hide_in_pdf": "0",
- "optional": "0",
- "creation_date": "2022-04-19 14:45:28",
- "created_by": "213",
- "update_date": "2022-04-19 14:45:28",
- "updated_by": "213"
}, - {
- "section": "1",
- "id_product": "0",
- "title": "Section #1",
- "reference": "",
- "description": "A description or note about this section",
- "price_without_tax": "0.000000",
- "id_vat": "0",
- "quantity": "1.00",
- "quantity_delivered": "1.00",
- "id_unit": "0",
- "discount_type": "percent",
- "discount_value": 0,
- "progress_type": "percent",
- "progress_value": 0,
- "total_without_tax": "0.000",
- "total_cost": "0.00",
- "hide_in_pdf": "0",
- "optional": "0",
- "creation_date": "2022-04-19 14:45:28",
- "created_by": "213",
- "update_date": "2022-04-19 14:45:28",
- "updated_by": "213"
}
], - "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
Get one document.
id required | integer Document Id |
{- "id": "2758",
- "id_document_previous": "2757",
- "id_document_next": "2759",
- "id_customer_supplier": "28496",
- "id_opportunity": "1985",
- "id_opportunity_proposal": "1835",
- "id_type": "1",
- "type_text": "Quotes",
- "number": "",
- "id_status": "0",
- "status_text": "Draft",
- "title": "Document #1",
- "date": "2022-05-16 16:15:00",
- "date_end": "2022-05-30 14:00:00",
- "id_payment_condition": "1",
- "id_document_reference": "0",
- "customer_reference": "C1234",
- "id_customer_supplier_contact": "48560",
- "description": "A description or note about this document",
- "discount_type": "percent",
- "discount_value": 0,
- "final_invoice": "0",
- "deposit_type": "percent",
- "deposit_value": 0,
- "total_without_tax": "125.00",
- "total_with_tax": "150.00",
- "id_currency": "43",
- "currency_code": "EUR",
- "currency_exchange_rate": "1.000000",
- "total_already_paid": "0.00",
- "payment_date": "2022-06-16",
- "use_stripe_to_pay": "0",
- "canceled": "0",
- "id_document_template": "0",
- "download_url": "",
- "products_list": [
- {
- "section": "0",
- "id_product": "4739",
- "title": "Product #1",
- "reference": "Ref_product_1",
- "description": "A description or note about this product",
- "price_without_tax": "50.000000",
- "id_vat": "1",
- "vat": "20.00",
- "vat_text": "TVA 20%",
- "quantity": "2.50",
- "quantity_delivered": "0",
- "id_unit": "2",
- "unit": "unité",
- "discount_type": "percent",
- "discount_value": 0,
- "progress_type": "percent",
- "progress_value": 0,
- "total_without_tax": "125.00",
- "total_cost": "150.00",
- "hide_in_pdf": "0",
- "optional": "0",
- "creation_date": "2022-04-19 14:45:28",
- "created_by": "213",
- "update_date": "2022-04-19 14:45:28",
- "updated_by": "213"
}, - {
- "section": "1",
- "id_product": "0",
- "title": "Section #1",
- "reference": "",
- "description": "A description or note about this section",
- "price_without_tax": "0.000000",
- "id_vat": "0",
- "quantity": "1.00",
- "quantity_delivered": "1.00",
- "id_unit": "0",
- "discount_type": "percent",
- "discount_value": 0,
- "progress_type": "percent",
- "progress_value": 0,
- "total_without_tax": "0.000",
- "total_cost": "0.00",
- "hide_in_pdf": "0",
- "optional": "0",
- "creation_date": "2022-04-19 14:45:28",
- "created_by": "213",
- "update_date": "2022-04-19 14:45:28",
- "updated_by": "213"
}
], - "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
Update a document.
id required | integer Document Id |
id_status | integer Status Id
|
title | string <= 127 characters Document title |
date | string <date-time> Document date |
date_end | string <date-time> Expiration date - Not editable for invoices |
id_payment_condition | integer Payment condition Id - Only for invoices |
customer_reference | string Customer reference |
description | string Document description |
use_stripe_to_pay | integer Stripe use
|
id_document_template | integer Document template Id |
Array of Product (object) or Section (object) Articles list |
{- "id_status": 0,
- "title": "Document #1",
- "date": "2022-05-16",
- "date_end": "2022-05-30",
- "id_payment_condition": "1",
- "customer_reference": "C1234",
- "description": "A description or note about this document",
- "use_stripe_to_pay": "0",
- "id_document_template": "0",
- "products_list": [
- {
- "section": "0",
- "id_product": "4739",
- "reference": "Ref_product_1",
- "description": "A description or note about this product",
- "price_without_tax": "125.00",
- "quantity": "2.50",
- "quantity_delivered": "0",
- "id_vat": "1"
}, - {
- "section": "1",
- "title": "Section #1",
- "description": "A description or note about this section"
}
]
}
{- "id": "2758",
- "id_document_previous": "2757",
- "id_document_next": "2759",
- "id_customer_supplier": "28496",
- "id_opportunity": "1985",
- "id_opportunity_proposal": "1835",
- "id_type": "1",
- "type_text": "Quotes",
- "number": "",
- "id_status": "0",
- "status_text": "Draft",
- "title": "Document #1",
- "date": "2022-05-16 16:15:00",
- "date_end": "2022-05-30 14:00:00",
- "id_payment_condition": "1",
- "id_document_reference": "0",
- "customer_reference": "C1234",
- "id_customer_supplier_contact": "48560",
- "description": "A description or note about this document",
- "discount_type": "percent",
- "discount_value": 0,
- "final_invoice": "0",
- "deposit_type": "percent",
- "deposit_value": 0,
- "total_without_tax": "125.00",
- "total_with_tax": "150.00",
- "id_currency": "43",
- "currency_code": "EUR",
- "currency_exchange_rate": "1.000000",
- "total_already_paid": "0.00",
- "payment_date": "2022-06-16",
- "use_stripe_to_pay": "0",
- "canceled": "0",
- "id_document_template": "0",
- "download_url": "",
- "products_list": [
- {
- "section": "0",
- "id_product": "4739",
- "title": "Product #1",
- "reference": "Ref_product_1",
- "description": "A description or note about this product",
- "price_without_tax": "50.000000",
- "id_vat": "1",
- "vat": "20.00",
- "vat_text": "TVA 20%",
- "quantity": "2.50",
- "quantity_delivered": "0",
- "id_unit": "2",
- "unit": "unité",
- "discount_type": "percent",
- "discount_value": 0,
- "progress_type": "percent",
- "progress_value": 0,
- "total_without_tax": "125.00",
- "total_cost": "150.00",
- "hide_in_pdf": "0",
- "optional": "0",
- "creation_date": "2022-04-19 14:45:28",
- "created_by": "213",
- "update_date": "2022-04-19 14:45:28",
- "updated_by": "213"
}, - {
- "section": "1",
- "id_product": "0",
- "title": "Section #1",
- "reference": "",
- "description": "A description or note about this section",
- "price_without_tax": "0.000000",
- "id_vat": "0",
- "quantity": "1.00",
- "quantity_delivered": "1.00",
- "id_unit": "0",
- "discount_type": "percent",
- "discount_value": 0,
- "progress_type": "percent",
- "progress_value": 0,
- "total_without_tax": "0.000",
- "total_cost": "0.00",
- "hide_in_pdf": "0",
- "optional": "0",
- "creation_date": "2022-04-19 14:45:28",
- "created_by": "213",
- "update_date": "2022-04-19 14:45:28",
- "updated_by": "213"
}
], - "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
Update the status of the document.
id required | integer Document Id |
id_status | integer Status Id
|
{- "id_status": 0
}
{- "id": "2758",
- "id_document_previous": "2757",
- "id_document_next": "2759",
- "id_customer_supplier": "28496",
- "id_opportunity": "1985",
- "id_opportunity_proposal": "1835",
- "id_type": "1",
- "type_text": "Quotes",
- "number": "",
- "id_status": "0",
- "status_text": "Draft",
- "title": "Document #1",
- "date": "2022-05-16 16:15:00",
- "date_end": "2022-05-30 14:00:00",
- "id_payment_condition": "1",
- "id_document_reference": "0",
- "customer_reference": "C1234",
- "id_customer_supplier_contact": "48560",
- "description": "A description or note about this document",
- "discount_type": "percent",
- "discount_value": 0,
- "final_invoice": "0",
- "deposit_type": "percent",
- "deposit_value": 0,
- "total_without_tax": "125.00",
- "total_with_tax": "150.00",
- "id_currency": "43",
- "currency_code": "EUR",
- "currency_exchange_rate": "1.000000",
- "total_already_paid": "0.00",
- "payment_date": "2022-06-16",
- "use_stripe_to_pay": "0",
- "canceled": "0",
- "id_document_template": "0",
- "download_url": "",
- "products_list": [
- {
- "section": "0",
- "id_product": "4739",
- "title": "Product #1",
- "reference": "Ref_product_1",
- "description": "A description or note about this product",
- "price_without_tax": "50.000000",
- "id_vat": "1",
- "vat": "20.00",
- "vat_text": "TVA 20%",
- "quantity": "2.50",
- "quantity_delivered": "0",
- "id_unit": "2",
- "unit": "unité",
- "discount_type": "percent",
- "discount_value": 0,
- "progress_type": "percent",
- "progress_value": 0,
- "total_without_tax": "125.00",
- "total_cost": "150.00",
- "hide_in_pdf": "0",
- "optional": "0",
- "creation_date": "2022-04-19 14:45:28",
- "created_by": "213",
- "update_date": "2022-04-19 14:45:28",
- "updated_by": "213"
}, - {
- "section": "1",
- "id_product": "0",
- "title": "Section #1",
- "reference": "",
- "description": "A description or note about this section",
- "price_without_tax": "0.000000",
- "id_vat": "0",
- "quantity": "1.00",
- "quantity_delivered": "1.00",
- "id_unit": "0",
- "discount_type": "percent",
- "discount_value": 0,
- "progress_type": "percent",
- "progress_value": 0,
- "total_without_tax": "0.000",
- "total_cost": "0.00",
- "hide_in_pdf": "0",
- "optional": "0",
- "creation_date": "2022-04-19 14:45:28",
- "created_by": "213",
- "update_date": "2022-04-19 14:45:28",
- "updated_by": "213"
}
], - "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
Get a list of all products.
fields | string List of fields to be returned. By default, all fields are returned. |
order | string <= 64 characters Name of the field to sort on |
direction | string <= 4 characters Direction for sorting
|
limit | integer Default: 100 Number of objects to be returned for paging |
offset | integer Default: 0 Offset for paging |
{- "status": "success",
- "pagination": {
- "total": 14,
- "limit": 100,
- "offset": 0
}, - "data": [
- {
- "id": "4739",
- "title": "Product #1",
- "reference": "Ref_product_1",
- "id_product_category": "0",
- "description": "A description or note about this product",
- "price_without_tax": "50.000000",
- "business_price_per_quantity": "0",
- "expense_price_per_quantity": "0",
- "id_vat": "1",
- "id_unit": "17",
- "use_stock": "1",
- "stock": "50.00",
- "stock_min_alert": "10.00",
- "stock_max_alert": "100.00",
- "weighted_average_cost": "0.00",
- "cost_without_tax": "0.00",
- "id_supplier": "28549",
- "reference_supplier": "Ref_supllier_1",
- "compound_product": "0",
- "compound_product_links": [
- {
- "id_product": "3430",
- "quantity": "3",
- "display_on_document": "1",
- "title": "Product #2",
- "id_unit": "3",
- "use_stock": "1",
- "stock": "58"
}
], - "linked_to_compound_product": "0",
- "sold_only_in_compound_product": "0",
- "custom_fields_list": [
- {
- "id": "3430",
- "title": "Conditioning",
- "value": "6019",
- "value_text": "Box"
}
], - "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
]
}
Create a product.
title required | string <= 127 characters Product title |
reference | string <= 30 characters Product reference |
id_product_category | integer Product category Id |
description | string Product decription |
price_without_tax | number <float> Sell price HT |
id_vat | integer Vat Id |
id_unit | integer Unit Id |
Array of objects Custom fields |
{- "title": "Product #1",
- "reference": "Ref_product_1",
- "id_product_category": 0,
- "description": "A description or note about this product",
- "price_without_tax": 50,
- "id_vat": 0,
- "id_unit": 0,
- "custom_fields": [
- {
- "id": 3430,
- "value": 6019
}
]
}
{- "id": "4739",
- "title": "Product #1",
- "reference": "Ref_product_1",
- "id_product_category": "0",
- "description": "A description or note about this product",
- "price_without_tax": "50.000000",
- "business_price_per_quantity": "0",
- "expense_price_per_quantity": "0",
- "id_vat": "1",
- "id_unit": "17",
- "use_stock": "1",
- "stock": "50.00",
- "stock_min_alert": "10.00",
- "stock_max_alert": "100.00",
- "weighted_average_cost": "0.00",
- "cost_without_tax": "0.00",
- "id_supplier": "28549",
- "reference_supplier": "Ref_supllier_1",
- "compound_product": "0",
- "compound_product_links": [
- {
- "id_product": "3430",
- "quantity": "3",
- "display_on_document": "1",
- "title": "Product #2",
- "id_unit": "3",
- "use_stock": "1",
- "stock": "58"
}
], - "linked_to_compound_product": "0",
- "sold_only_in_compound_product": "0",
- "custom_fields_list": [
- {
- "id": "3430",
- "title": "Conditioning",
- "value": "6019",
- "value_text": "Box"
}
], - "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
Get one product.
id required | integer Product Id |
{- "id": "4739",
- "title": "Product #1",
- "reference": "Ref_product_1",
- "id_product_category": "0",
- "description": "A description or note about this product",
- "price_without_tax": "50.000000",
- "business_price_per_quantity": "0",
- "expense_price_per_quantity": "0",
- "id_vat": "1",
- "id_unit": "17",
- "use_stock": "1",
- "stock": "50.00",
- "stock_min_alert": "10.00",
- "stock_max_alert": "100.00",
- "weighted_average_cost": "0.00",
- "cost_without_tax": "0.00",
- "id_supplier": "28549",
- "reference_supplier": "Ref_supllier_1",
- "compound_product": "0",
- "compound_product_links": [
- {
- "id_product": "3430",
- "quantity": "3",
- "display_on_document": "1",
- "title": "Product #2",
- "id_unit": "3",
- "use_stock": "1",
- "stock": "58"
}
], - "linked_to_compound_product": "0",
- "sold_only_in_compound_product": "0",
- "custom_fields_list": [
- {
- "id": "3430",
- "title": "Conditioning",
- "value": "6019",
- "value_text": "Box"
}
], - "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
Update a product.
id required | integer Product Id |
title | string <= 127 characters Product title |
reference | string <= 30 characters Product reference |
id_product_category | integer Product category Id |
description | string Product decription |
price_without_tax | number <float> Sell price HT |
id_vat | integer Vat Id |
id_unit | integer Unit Id |
Array of objects Custom fields |
{- "title": "Product #1",
- "reference": "Ref_product_1",
- "id_product_category": 0,
- "description": "A description or note about this product",
- "price_without_tax": 50,
- "id_vat": 0,
- "id_unit": 0,
- "custom_fields": [
- {
- "id": 3430,
- "value": 6019
}
]
}
{- "id": "4739",
- "title": "Product #1",
- "reference": "Ref_product_1",
- "id_product_category": "0",
- "description": "A description or note about this product",
- "price_without_tax": "50.000000",
- "business_price_per_quantity": "0",
- "expense_price_per_quantity": "0",
- "id_vat": "1",
- "id_unit": "17",
- "use_stock": "1",
- "stock": "50.00",
- "stock_min_alert": "10.00",
- "stock_max_alert": "100.00",
- "weighted_average_cost": "0.00",
- "cost_without_tax": "0.00",
- "id_supplier": "28549",
- "reference_supplier": "Ref_supllier_1",
- "compound_product": "0",
- "compound_product_links": [
- {
- "id_product": "3430",
- "quantity": "3",
- "display_on_document": "1",
- "title": "Product #2",
- "id_unit": "3",
- "use_stock": "1",
- "stock": "58"
}
], - "linked_to_compound_product": "0",
- "sold_only_in_compound_product": "0",
- "custom_fields_list": [
- {
- "id": "3430",
- "title": "Conditioning",
- "value": "6019",
- "value_text": "Box"
}
], - "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
Delete a product.
id required | integer Product Id |
null
Get values of products custom field.
field_id required | integer Product custom field Id |
{- "status": "success",
- "data": [
- {
- "id": "6019",
- "title": "Box "
}, - {
- "id"": "6021",
- "title": "Cardboard"
}, - {
- "id": "6020",
- "title": "Pallet"
}
]
}
Add or update a product custom field.
id required | integer Product Id |
field_id required | integer Products custom field Id |
field_value required | integer |
{- "field_value": 6019
}
{- "id": "4739",
- "title": "Product #1",
- "reference": "Ref_product_1",
- "id_product_category": "0",
- "description": "A description or note about this product",
- "price_without_tax": "50.000000",
- "business_price_per_quantity": "0",
- "expense_price_per_quantity": "0",
- "id_vat": "1",
- "id_unit": "17",
- "use_stock": "1",
- "stock": "50.00",
- "stock_min_alert": "10.00",
- "stock_max_alert": "100.00",
- "weighted_average_cost": "0.00",
- "cost_without_tax": "0.00",
- "id_supplier": "28549",
- "reference_supplier": "Ref_supllier_1",
- "compound_product": "0",
- "compound_product_links": [
- {
- "id_product": "3430",
- "quantity": "3",
- "display_on_document": "1",
- "title": "Product #2",
- "id_unit": "3",
- "use_stock": "1",
- "stock": "58"
}
], - "linked_to_compound_product": "0",
- "sold_only_in_compound_product": "0",
- "custom_fields_list": [
- {
- "id": "3430",
- "title": "Conditioning",
- "value": "6019",
- "value_text": "Box"
}
], - "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
Get the unit purchase cost of a product.
id required | integer Product Id |
quantity | number <float> Quantity |
{- "quantity": "1",
- "price_without_tax": "20",
- "discount_percent": "0"
}
Get the unit sell cost of a product.
id required | integer Product Id |
quantity | number <float> Quantity |
id_products_prices_category | integer |
{- "quantity": "1",
- "price_without_tax": "50.000000",
- "discount_percent": "0"
}
Get the stock follow of a product.
id required | integer Product Id |
from | string <date-time> Search by start date |
to | string <date-time> Search by end date |
{- "status": "success",
- "pagination": {
- "total": 14,
- "limit": 100,
- "offset": 0
}, - "data": [
- {
- "date": "2022-08-15",
- "document_number": "F22-155",
- "quantity": "6",
- "update_date": "2022-08-15 12:04:24"
}
]
}
Get a list of all sells prices categories of products.
fields | string List of fields to be returned. By default, all fields are returned. |
order | string <= 64 characters Name of the field to sort on |
direction | string <= 4 characters Direction for sorting
|
limit | integer Default: 100 Number of objects to be returned for paging |
offset | integer Default: 0 Offset for paging |
{- "status": "success",
- "pagination": {
- "total": 2,
- "limit": 100,
- "offset": 0
}, - "data": [
- {
- "id": "16",
- "title": "Individuals",
- "creation_date": "2022-04-13 09:45:42",
- "created_by": "213",
- "update_date": "2022-04-13 09:45:51",
- "updated_by": "213"
}, - {
- "id": "17",
- "title": "Professionals",
- "creation_date": "2022-04-13 09:46:08",
- "created_by": "213",
- "update_date": "2022-04-13 09:46:14",
- "updated_by": "213"
}
]
}
Get a list of all categories.
fields | string List of fields to be returned. By default, all fields are returned. |
order | string <= 64 characters Name of the field to sort on |
direction | string <= 4 characters Direction for sorting
|
limit | integer Default: 100 Number of objects to be returned for paging |
offset | integer Default: 0 Offset for paging |
{- "status": "success",
- "pagination": {
- "total": 14,
- "limit": 100,
- "offset": 0
}, - "data": [
- {
- "id": "510",
- "title": "Category #1",
- "creation_date": "2022-04-13 12:09:06",
- "created_by": "213",
- "update_date": "2022-04-13 12:09:13",
- "updated_by": "213"
}
]
}
Create a product category
title required | string <= 127 characters Product category title |
{- "title": "Category #1"
}
{- "id": "510",
- "title": "Category #1",
- "creation_date": "2022-04-13 12:09:06",
- "created_by": "213",
- "update_date": "2022-04-13 12:09:13",
- "updated_by": "213"
}
Get one product category.
category_id required | integer Category Id |
{- "id": "510",
- "title": "Category #1",
- "creation_date": "2022-04-13 12:09:06",
- "created_by": "213",
- "update_date": "2022-04-13 12:09:13",
- "updated_by": "213"
}
Update a product category.
category_id required | integer Category Id |
title | string <= 127 characters Product category title |
{- "title": "Category #1"
}
{- "id": "510",
- "title": "Category #1",
- "creation_date": "2022-04-13 12:09:06",
- "created_by": "213",
- "update_date": "2022-04-13 12:09:13",
- "updated_by": "213"
}
Get inventories list.
from | string <date-time> Search by start date |
to | string <date-time> Search by end date |
id_product | integer Search by product Id |
id | integer Search by Inventory Id |
fields | string List of fields to be returned. By default, all fields are returned. |
order | string <= 64 characters Name of the field to sort on |
direction | string <= 4 characters Direction for sorting
|
limit | integer Default: 100 Number of objects to be returned for paging |
offset | integer Default: 0 Offset for paging |
{- "status": "success",
- "pagination": {
- "total": 14,
- "limit": 100,
- "offset": 0
}, - "data": [
- {
- "id": "15",
- "date": "2022-08-15",
- "title": "Inventory 15/08/2022",
- "list_products": [
- {
- "id_product": "3430",
- "title": "Product #2",
- "old_stock": "5",
- "new_stock": "40",
- "difference": "35"
}
]
}
]
}
Get a list of all equipments.
title | string <= 127 characters Search by title |
reference | string <= 30 characters Search by reference |
serial_number | string <= 127 characters Search by serial number |
id_customer_supplier | integer Search by customer Id |
fields | string List of fields to be returned. By default, all fields are returned. |
order | string <= 64 characters Name of the field to sort on |
direction | string <= 4 characters Direction for sorting
|
limit | integer Default: 100 Number of objects to be returned for paging |
offset | integer Default: 0 Offset for paging |
{- "status": "success",
- "pagination": {
- "total": 14,
- "limit": 100,
- "offset": 0
}, - "data": [
- {
- "id": "1",
- "title": "Equipment #1",
- "reference": "Ref_equipment_1",
- "description": "A description or note about this equipment",
- "serial_number": "SN1234",
- "id_customer_supplier": "28496",
- "custom_fields_list": [
- {
- "id": "3671",
- "title": "tag",
- "value": "6338",
- "value_text": "tag1"
}
], - "creation_date": "2022-07-20 12:38:28",
- "created_by": "213",
- "update_date": "2022-07-20 12:38:28",
- "updated_by": "213"
}
]
}
Create an equipment.
title required | string <= 127 characters Equipment title |
reference | string <= 30 characters Equipment reference |
description | string Equipment description |
serial_number | integer <= 127 characters Equipment serial number |
id_customer_supplier | integer Customer Id |
Array of objects Custom fields |
{- "title": "Equipment #1",
- "reference": "Ref_equipment_1",
- "description": "A description or note about this equipment",
- "serial_number": "SN1234",
- "id_customer_supplier": 28496,
- "custom_fields": [
- {
- "id": 3671,
- "value": 6338
}
]
}
{- "id": "1",
- "title": "Equipment #1",
- "reference": "Ref_equipment_1",
- "description": "A description or note about this equipment",
- "serial_number": "SN1234",
- "id_customer_supplier": "28496",
- "custom_fields_list": [
- {
- "id": "3671",
- "title": "tag",
- "value": "6338",
- "value_text": "tag1"
}
], - "creation_date": "2022-07-20 12:38:28",
- "created_by": "213",
- "update_date": "2022-07-20 12:38:28",
- "updated_by": "213"
}
Get one equipment.
id required | integer Equipment Id |
{- "id": "1",
- "title": "Equipment #1",
- "reference": "Ref_equipment_1",
- "description": "A description or note about this equipment",
- "serial_number": "SN1234",
- "id_customer_supplier": "28496",
- "custom_fields_list": [
- {
- "id": "3671",
- "title": "tag",
- "value": "6338",
- "value_text": "tag1"
}
], - "creation_date": "2022-07-20 12:38:28",
- "created_by": "213",
- "update_date": "2022-07-20 12:38:28",
- "updated_by": "213"
}
Update an equipment.
id required | integer Equipment Id |
title | string <= 127 characters Equipment title |
reference | string <= 30 characters Equipment reference |
description | string Equipment description |
serial_number | integer <= 127 characters Equipment serial number |
id_customer_supplier | integer Customer Id |
Array of objects Custom fields |
{- "title": "Equipment #1",
- "reference": "Ref_equipment_1",
- "description": "A description or note about this equipment",
- "serial_number": "SN1234",
- "id_customer_supplier": 28496,
- "custom_fields": [
- {
- "id": 3671,
- "value": 6338
}
]
}
{- "id": "1",
- "title": "Equipment #1",
- "reference": "Ref_equipment_1",
- "description": "A description or note about this equipment",
- "serial_number": "SN1234",
- "id_customer_supplier": "28496",
- "custom_fields_list": [
- {
- "id": "3671",
- "title": "tag",
- "value": "6338",
- "value_text": "tag1"
}
], - "creation_date": "2022-07-20 12:38:28",
- "created_by": "213",
- "update_date": "2022-07-20 12:38:28",
- "updated_by": "213"
}
Delete an equipment.
id required | integer Equipment Id |
null
Get values of equipments custom field.
field_id required | integer Equipment custom field Id |
{- "status": "success",
- "data": [
- {
- "id": "3671",
- "title": "tag "
}, - {
- "id"": "6338",
- "title": "tag1"
}
]
}
Add or update an equipment custom field.
id required | integer Equipment Id |
field_id required | integer Equipment custom field Id |
field_value required | integer |
{- "field_value": 6338
}
{- "id": "1",
- "title": "Equipment #1",
- "reference": "Ref_equipment_1",
- "description": "A description or note about this equipment",
- "serial_number": "SN1234",
- "id_customer_supplier": "28496",
- "custom_fields_list": [
- {
- "id": "3671",
- "title": "tag",
- "value": "6338",
- "value_text": "tag1"
}
], - "creation_date": "2022-07-20 12:38:28",
- "created_by": "213",
- "update_date": "2022-07-20 12:38:28",
- "updated_by": "213"
}
Get a list of all purchases.
from | string <date-time> Search by purchase date |
to | string <date-time> Search by due date |
id_supplier | integer Search by supplier Id |
status_not_draft | integer List all the purchases not in draft status
|
include_deleted | integer Include all deleted purchases (only last 30 days deleted purchases are available)
|
creation_date_min | string <date-time> Search by creation date |
creation_date_max | string <date-time> Search by creation date |
update_date_min | string <date-time> Search by update date |
update_date_max | string <date-time> Search by update date |
fields | string List of fields to be returned. By default, all fields are returned. |
order | string <= 64 characters Name of the field to sort on |
direction | string <= 4 characters Direction for sorting
|
limit | integer Default: 100 Number of objects to be returned for paging |
offset | integer Default: 0 Offset for paging |
{- "status": "success",
- "pagination": {
- "total": 3,
- "limit": 100,
- "offset": 0
}, - "data": [
- {
- "id": "961",
- "id_supplier": "48560",
- "supplier_title": "Society X",
- "title": "Purchase #1",
- "id_status": "0",
- "status_text": "Draft",
- "date": "2022-04-01",
- "date_end": "2022-05-01",
- "id_chart_of_account_expenses": "596",
- "total_without_tax": "40.00",
- "total_with_tax": "48.00",
- "currency_code": "EUR",
- "currency_exchange_rate": "1.000000",
- "total_already_paid": "0.00",
- "payment_date": "2022-06-16",
- "update_date": "2022-06-16 10:15:47",
- "active": "1",
- "allocate_list": [ ]
}
]
}
Create a purchase.
id_supplier | integer Supplier Id |
id_status | integer Purchase status Id
|
title | string <= 127 characters Reference of the purchase |
date | string <date-time> Purchase date |
date_end | string <date-time> Due date |
description | string <= 255 characters Purchase description |
id_chart_of_account_expenses | string <= 30 characters |
total_without_tax | number Total HT |
id_vat | integer Vat number Id |
upload_file_content | string Content of the file to upload (base64) |
upload_file_url | string URL of the file to upload |
upload_file_name | string Name of the file |
{- "id_supplier": 48560,
- "id_status": 0,
- "title": "Purchase #1",
- "date": "2022-04-01",
- "date_end": "2022-05-01",
- "description": "A description or note about this purchase",
- "id_chart_of_account_expenses": 596,
- "total_without_tax": 40,
- "id_vat": 0,
- "upload_file_content": "",
- "upload_file_url": "",
- "upload_file_name": ""
}
{- "id": "961",
- "id_supplier": "48560",
- "id_status": "0",
- "status_text": "Draft",
- "title": "Purchase #1",
- "date": "2022-04-01",
- "date_end": "2022-05-01",
- "description": "A description or note about this purchase",
- "id_chart_of_account_expenses": [
- "596"
], - "total_without_tax": "40.00",
- "total_with_tax": "48.00",
- "id_vat": "2",
- "currency_code": "EUR",
- "currency_exchange_rate": "1.000000",
- "total_already_paid": "0.00",
- "payment_date": "2022-05-01",
- "download_url": "",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
Get one purchase.
id required | integer Purchase Id |
{- "id": "961",
- "id_supplier": "48560",
- "id_status": "0",
- "status_text": "Draft",
- "title": "Purchase #1",
- "date": "2022-04-01",
- "date_end": "2022-05-01",
- "description": "A description or note about this purchase",
- "id_chart_of_account_expenses": [
- "596"
], - "total_without_tax": "40.00",
- "total_with_tax": "48.00",
- "id_vat": "2",
- "currency_code": "EUR",
- "currency_exchange_rate": "1.000000",
- "total_already_paid": "0.00",
- "payment_date": "2022-05-01",
- "download_url": "",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
Update a purchase.
id required | integer Expense Id |
id_supplier | integer Supplier Id |
id_status | integer Purchase status
|
title | string <= 127 characters Reference of the purchase |
date | string <date-time> Purchase date |
date_end | string <date-time> Due date |
description | string <= 255 characters Purchase description |
id_chart_of_account_expenses | string <= 30 characters |
total_without_tax | number Total HT |
id_vat | integer Vat number Id |
upload_file_content | string Content of the file to upload (base64) |
upload_file_url | string URL of the file to upload |
upload_file_name | string Name of the file |
{- "id_supplier": 48560,
- "id_status": 0,
- "title": "Purchase #1",
- "date": "2022-04-01",
- "date_end": "2022-05-01",
- "description": "A description or note about this purchase",
- "id_chart_of_account_expenses": 596,
- "total_without_tax": 40,
- "id_vat": 0,
- "upload_file_content": "",
- "upload_file_url": "",
- "upload_file_name": ""
}
{- "id": "961",
- "id_supplier": "48560",
- "id_status": "0",
- "status_text": "Draft",
- "title": "Purchase #1",
- "date": "2022-04-01",
- "date_end": "2022-05-01",
- "description": "A description or note about this purchase",
- "id_chart_of_account_expenses": [
- "596"
], - "total_without_tax": "40.00",
- "total_with_tax": "48.00",
- "id_vat": "2",
- "currency_code": "EUR",
- "currency_exchange_rate": "1.000000",
- "total_already_paid": "0.00",
- "payment_date": "2022-05-01",
- "download_url": "",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
{- "status": "success",
- "data": [
- {
- "id": "596",
- "code": "607",
- "title": "Purchases of goods",
- "description": "Purchases of raw materials that are to be processed for resale.",
- "id_family": "1",
- "family_title": "Purchases and subcontracting"
}, - {
- "id": "597",
- "code": "601",
- "title": "Purchases of raw materials",
- "description": "Purchases of goods for resale in the same condition as received",
- "id_family": "1",
- "family_title": "Purchases and subcontracting"
}
]
}
Get a list of all families of chart of accounts .
{- "status": "success",
- "data": [
- {
- "id": "1",
- "title": "Purchasing and subcontracting"
}, - {
- "id": "2",
- "title": "Running costs"
}, - {
- "id": "3",
- "title": "Communication and marketing"
}
]
}
Get a list of all suppliers documents.
type | integer Document type
|
id_supplier | integer Search by supplier Id |
id_user_assigned | string Users with group Id associated with the oportunity |
document_number | string <= 30 characters Document number |
status_not_draft | integer List all the documents not in draft status
|
include_deleted | integer Include all deleted documents (only last 30 days deleted purchases are available)
|
creation_date_min | string <date-time> Search by creation date |
creation_date_max | string <date-time> Search by creation date |
update_date_min | string <date-time> Search by update date |
update_date_max | string <date-time> Search by update date |
fields | string List of fields to be returned. By default, all fields are returned. |
order | string <= 64 characters Name of the field to sort on |
direction | string <= 4 characters Direction for sorting
|
limit | integer Default: 100 Number of objects to be returned for paging |
offset | integer Default: 0 Offset for paging |
{- "status": "success",
- "pagination": {
- "total": 14,
- "limit": 100,
- "offset": 0
}, - "data": [
- {
- "id": "85",
- "id_customer_supplier": "48560",
- "customer_supplier_title": "Society X",
- "id_opportunity": "1985",
- "id_type": "2",
- "type_text": "Orders",
- "number": "",
- "date": "2022-05-16",
- "date_end": "2022-05-30",
- "id_user_assigned": [
- "u213"
], - "id_user_assigned_text": [
- "Jean Dupont"
], - "total_without_tax": "125.00",
- "total_with_tax": "150.00",
- "currency_code": "EUR",
- "currency_exchange_rate": "1.000000",
- "total_already_paid": "0.00",
- "payment_date": "2022-06-16",
- "id_document_previous": "2757",
- "id_document_next": "2759",
- "id_status": "0",
- "status_text": "Draft",
- "update_date": "2022-06-16 10:15:47",
- "active": "1"
}
]
}
Get one supplier document.
id required | integer |
{- "id": "85",
- "id_document_previous": "2757",
- "id_document_next": "2759",
- "id_customer_supplier": "48560",
- "id_opportunity": "1985",
- "id_opportunity_proposal": "1835",
- "id_type": "2",
- "type_text": "Order",
- "number": "",
- "id_status": "0",
- "status_text": "Draft",
- "title": "Document #1",
- "date": "2022-05-16 16:15:00",
- "date_end": "2022-05-30 14:00:00",
- "id_payment_condition": "1",
- "id_document_reference": "0",
- "customer_reference": "",
- "id_customer_supplier_contact": "48560",
- "description": "A description or note about this document",
- "discount_type": "percent",
- "discount_value": 0,
- "total_without_tax": "125.00",
- "total_with_tax": "150.00",
- "id_currency": "43",
- "currency_code": "EUR",
- "currency_exchange_rate": "1.000000",
- "total_already_paid": "0.00",
- "payment_date": "2022-06-16",
- "id_document_template": "0",
- "products_list": [
- {
- "section": "0",
- "id_product": "4739",
- "title": "Product #1",
- "reference": "Ref_product_1",
- "description": "A description or note about this product",
- "price_without_tax": "50.000000",
- "id_vat": "1",
- "quantity": "2.50",
- "quantity_delivered": "0",
- "id_unit": "2",
- "discount_type": "percent",
- "discount_value": 0,
- "progress_type": "percent",
- "progress_value": 0,
- "total_without_tax": "125.00",
- "total_cost": "150.00",
- "hide_in_pdf": "0",
- "optional": "0",
- "creation_date": "2022-04-19 14:45:28",
- "created_by": "213",
- "update_date": "2022-04-19 14:45:28",
- "updated_by": "213"
}, - {
- "section": "1",
- "id_product": "0",
- "title": "Section #1",
- "reference": "",
- "description": "A description or note about this section",
- "price_without_tax": "0.000000",
- "id_vat": "0",
- "quantity": "1.00",
- "quantity_delivered": "1.00",
- "id_unit": "0",
- "discount_type": "percent",
- "discount_value": 0,
- "progress_type": "percent",
- "progress_value": 0,
- "total_without_tax": "0.000",
- "total_cost": "0.00",
- "hide_in_pdf": "0",
- "optional": "0",
- "creation_date": "2022-04-19 14:45:28",
- "created_by": "213",
- "update_date": "2022-04-19 14:45:28",
- "updated_by": "213"
}
], - "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
Get a list of all events.
id_user_assigned required | integer User Id associated with the event |
from | string <date-time> Search by start date |
to | string <date-time> Search by end date |
id_customer_supplier | |
id_opportunity | integer Search by opportunity Id |
id_event_type | integer Search by event type Id |
id_project | integer Search by project Id |
id_project_task | integer Search by project task Id |
title | string <= 127 characters Search by title |
private | integer Search by private status
|
visible_in_agenda | integer Search by visibility
|
synchronized | integer Search by synchronization
|
use_time | integer Search by event used for time
|
time_id_type | integer Search by time type Id |
time_billable | integer Search by time billable
|
fields | string List of fields to be returned. By default, all fields are returned. |
order | string <= 64 characters Name of the field to sort on |
direction | string <= 4 characters Direction for sorting
|
limit | integer Default: 100 Number of objects to be returned for paging |
offset | integer Default: 0 Offset for paging |
{- "status": "success",
- "pagination": {
- "total": 14,
- "limit": 100,
- "offset": 0
}, - "data": [
- {
- "id": "10722",
- "id_customer_supplier": "28496",
- "id_opportunity": "1985",
- "id_event_type": "3021",
- "id_project": "0",
- "id_project_task": "0",
- "id_ticketing_pipeline": "0",
- "id_ticketing_ticket": "0",
- "start_date": "2022-03-15 19:45:00",
- "end_date": "2022-03-15 20:45:00",
- "title": "Event #1",
- "description": "A description or note about this event",
- "private": "0",
- "visible_in_agenda": "1",
- "synchronized": "0",
- "use_time": "1",
- "time_duration": "01:00:00",
- "time_id_type": "0",
- "time_billable": "0",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
]
}
Create an event.
id_user_assigned required | string User Id associated with the event |
id_customer_supplier | |
id_opportunity | integer Opportunity Id |
id_event_type | integer Event type Id |
id_project | integer Project Id |
id_project_task | integer Project task Id |
id_ticketing_ticket | integer Ticket Id |
start_date | string <date-time> Start date |
end_date | string <date-time> End date |
title | string <= 255 characters Event title |
description | string Event descritpion |
private | integer Event private status
|
visible_in_agenda | integer Visibility in the agenda
|
use_time | integer Event used for time
|
time_id_type | integer Time type Id |
time_billable | integer Billable time
|
{- "id_user_assigned": 213,
- "id_customer_supplier": 28496,
- "id_opportunity": 1985,
- "id_event_type": 3021,
- "id_project": "",
- "id_project_task": "",
- "id_ticketing_ticket": "",
- "start_date": "2022-03-15 19:45:00",
- "end_date": "2022-03-15 20:45:00",
- "title": "Event #1",
- "description": "A description or note about this event",
- "private": 0,
- "visible_in_agenda": 1,
- "use_time": 1,
- "time_id_type": 0,
- "time_billable": 0
}
{- "id": "10722",
- "id_customer_supplier": "28496",
- "id_opportunity": "1985",
- "id_event_type": "3021",
- "id_project": "0",
- "id_project_task": "0",
- "id_ticketing_pipeline": "0",
- "id_ticketing_ticket": "0",
- "start_date": "2022-03-15 19:45:00",
- "end_date": "2022-03-15 20:45:00",
- "title": "Event #1",
- "description": "A description or note about this event",
- "private": "0",
- "visible_in_agenda": "1",
- "synchronized": "0",
- "use_time": "1",
- "time_duration": "01:00:00",
- "time_id_type": "0",
- "time_billable": "0",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
{- "id": "10722",
- "id_customer_supplier": "28496",
- "id_opportunity": "1985",
- "id_event_type": "3021",
- "id_project": "0",
- "id_project_task": "0",
- "id_ticketing_pipeline": "0",
- "id_ticketing_ticket": "0",
- "start_date": "2022-03-15 19:45:00",
- "end_date": "2022-03-15 20:45:00",
- "title": "Event #1",
- "description": "A description or note about this event",
- "private": "0",
- "visible_in_agenda": "1",
- "synchronized": "0",
- "use_time": "1",
- "time_duration": "01:00:00",
- "time_id_type": "0",
- "time_billable": "0",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
Update an event.
id required | integer Event Id |
id_user_assigned | string User Id associated with the event |
id_customer_supplier | |
id_opportunity | integer Opportunity Id |
id_event_type | integer Event type Id |
id_project | integer Project Id |
id_project_task | integer Project task Id |
id_ticketing_ticket | integer Ticket Id |
start_date | string <date-time> Start date |
end_date | string <date-time> End date |
title | string <= 255 characters Event title |
description | string Event descritpion |
private | integer Event private status
|
visible_in_agenda | integer Visibility in the agenda
|
use_time | integer Event used for time
|
time_id_type | integer Time type Id |
time_billable | integer Billable time
|
{- "id_user_assigned": 213,
- "id_customer_supplier": 28496,
- "id_opportunity": 1985,
- "id_event_type": 3021,
- "id_project": "",
- "id_project_task": "",
- "id_ticketing_ticket": "",
- "start_date": "2022-03-15 19:45:00",
- "end_date": "2022-03-15 20:45:00",
- "title": "Event #1",
- "description": "A description or note about this event",
- "private": 0,
- "visible_in_agenda": 1,
- "use_time": 1,
- "time_id_type": 0,
- "time_billable": 0
}
{- "id": "10722",
- "id_customer_supplier": "28496",
- "id_opportunity": "1985",
- "id_event_type": "3021",
- "id_project": "0",
- "id_project_task": "0",
- "id_ticketing_pipeline": "0",
- "id_ticketing_ticket": "0",
- "start_date": "2022-03-15 19:45:00",
- "end_date": "2022-03-15 20:45:00",
- "title": "Event #1",
- "description": "A description or note about this event",
- "private": "0",
- "visible_in_agenda": "1",
- "synchronized": "0",
- "use_time": "1",
- "time_duration": "01:00:00",
- "time_id_type": "0",
- "time_billable": "0",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
Delete an event.
id required | integer Event Id |
null
{- "status": "success",
- "data": [
- {
- "id": "3019",
- "title": "Appel téléphonique",
- "title_en": "Phone call",
- "title_es": "Llamada telefónica"
}, - {
- "id": "3020",
- "title": "Echange de mail",
- "title_en": "Mail exchange",
- "title_es": "Intercambio de correo electrónico"
}, - {
- "id": "3021",
- "title": "Rendez-vous",
- "title_en": "Appointment",
- "title_es": "Cita"
}, - {
- "id": "3022",
- "title": "Echange de courrier",
- "title_en": "Letter exchange",
- "title_es": "Intercambio de correo"
}
]
}
Get a list of all notes.
id_user_assigned required | integer User Id associated with the note |
from | string <date-time> Search by start date |
to | string <date-time> Search by end date |
id_customer_supplier | |
id_opportunity | integer Search by opportunity Id |
id_project | integer Search by project Id |
id_project_task | integer Search by project task Id |
title | string <= 127 characters Search by title |
fields | string List of fields to be returned. By default, all fields are returned. |
order | string <= 64 characters Name of the field to sort on |
direction | string <= 4 characters Direction for sorting
|
limit | integer Default: 100 Number of objects to be returned for paging |
offset | integer Default: 0 Offset for paging |
{- "status": "success",
- "pagination": {
- "total": 14,
- "limit": 100,
- "offset": 0
}, - "data": [
- {
- "id": "10730",
- "id_customer_supplier": "28496",
- "id_opportunity": "1985",
- "id_project": "0",
- "id_project_task": "0",
- "id_ticketing_pipeline": "0",
- "id_ticketing_ticket": "0",
- "date": "2022-04-06 16:15:00",
- "title": "Note #1",
- "description": "A description or note about this note",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
]
}
Create a note.
id_user_assigned required | string User Id associated with the note |
id_customer_supplier | |
id_opportunity | integer Opportunity Id |
id_project | integer Project Id |
id_project_task | integer Project task Id |
id_ticketing_ticket | integer Ticket Id |
date | string <date-time> Start date |
title | string <= 255 characters Note title |
description | string Note descritpion |
{- "id_user_assigned": 213,
- "id_customer_supplier": 28496,
- "id_opportunity": 1985,
- "id_project": "",
- "id_project_task": "",
- "id_ticketing_ticket": "",
- "date": "2022-03-15 19:45:00",
- "title": "Event #1",
- "description": "A description or note about this note"
}
{- "id": "10730",
- "id_customer_supplier": "28496",
- "id_opportunity": "1985",
- "id_project": "0",
- "id_project_task": "0",
- "id_ticketing_pipeline": "0",
- "id_ticketing_ticket": "0",
- "date": "2022-04-06 16:15:00",
- "title": "Note #1",
- "description": "A description or note about this note",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
{- "id": "10730",
- "id_customer_supplier": "28496",
- "id_opportunity": "1985",
- "id_project": "0",
- "id_project_task": "0",
- "id_ticketing_pipeline": "0",
- "id_ticketing_ticket": "0",
- "date": "2022-04-06 16:15:00",
- "title": "Note #1",
- "description": "A description or note about this note",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
Update a note.
id required | integer Note Id |
id_user_assigned | string User Id associated with the note |
id_customer_supplier | |
id_opportunity | integer Opportunity Id |
id_project | integer Project Id |
id_project_task | integer Project task Id |
id_ticketing_ticket | integer Ticket Id |
date | string <date-time> Start date |
title | string <= 255 characters Note title |
description | string Note descritpion |
{- "id_user_assigned": 213,
- "id_customer_supplier": 28496,
- "id_opportunity": 1985,
- "id_project": "",
- "id_project_task": "",
- "id_ticketing_ticket": "",
- "date": "2022-03-15 19:45:00",
- "title": "Event #1",
- "description": "A description or note about this note"
}
{- "id": "10730",
- "id_customer_supplier": "28496",
- "id_opportunity": "1985",
- "id_project": "0",
- "id_project_task": "0",
- "id_ticketing_pipeline": "0",
- "id_ticketing_ticket": "0",
- "date": "2022-04-06 16:15:00",
- "title": "Note #1",
- "description": "A description or note about this note",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
null
Get a list of all tasks.
id_user_assigned required | integer User Id associated with the task |
status | integer Search by task status
|
from | string <date-time> Search by start date |
to | string <date-time> Search by end date |
id_customer_supplier | |
id_opportunity | integer Search by opportunity Id |
id_event_type | integer Search by task type Id |
id_project | integer Search by project Id |
id_project_task | integer Search by project task Id |
title | string <= 127 characters Search by title |
private | integer Search by private status
|
visible_in_agenda | integer Search by visibility
|
synchronized | integer Search by synchronization
|
use_time | integer Search by task used for time
|
time_id_type | integer Search by time type Id |
time_billable | integer Search by time billable
|
fields | string List of fields to be returned. By default, all fields are returned. |
order | string <= 64 characters Name of the field to sort on |
direction | string <= 4 characters Direction for sorting
|
limit | integer Default: 100 Number of objects to be returned for paging |
offset | integer Default: 0 Offset for paging |
{- "status": "success",
- "pagination": {
- "total": 14,
- "limit": 100,
- "offset": 0
}, - "data": [
- {
- "id": "10722",
- "id_customer_supplier": "28496",
- "id_opportunity": "1985",
- "id_event_type": "3021",
- "id_project": "0",
- "id_project_task": "0",
- "id_ticketing_pipeline": "0",
- "id_ticketing_ticket": "0",
- "start_date": "2022-03-15 19:45:00",
- "end_date": "2022-03-15 20:45:00",
- "title": "Task #1",
- "description": "A description or note about this task",
- "private": "0",
- "visible_in_agenda": "1",
- "synchronized": "0",
- "use_time": "1",
- "time_duration": "01:00:00",
- "time_id_type": "0",
- "time_billable": "0",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
]
}
Create a task.
id_user_assigned required | string User Id associated with the task |
status | integer Task status
|
id_customer_supplier | |
id_opportunity | integer Opportunity Id |
id_event_type | integer Task type Id |
id_project | integer Project Id |
id_project_task | integer Project task Id |
id_ticketing_ticket | integer Ticket Id |
start_date | string <date-time> Start date |
end_date | string <date-time> End date |
title | string <= 255 characters Task title |
description | string Task descritpion |
private | integer Task private status
|
visible_in_agenda | integer Visibility in the agenda
|
use_time | integer Task used for time
|
time_id_type | integer Time type Id Id |
time_billable | integer Billable time
|
{- "id_user_assigned": 213,
- "status": 0,
- "id_customer_supplier": 28496,
- "id_opportunity": 1985,
- "id_event_type": 3021,
- "id_project": "",
- "id_project_task": "",
- "id_ticketing_ticket": "",
- "start_date": "2022-03-15 19:45:00",
- "end_date": "2022-03-15 20:45:00",
- "title": "Task #1",
- "description": "A description or note about this task",
- "private": 0,
- "visible_in_agenda": 1,
- "use_time": 1,
- "time_id_type": 0,
- "time_billable": 0
}
{- "id": "10722",
- "id_customer_supplier": "28496",
- "id_opportunity": "1985",
- "id_event_type": "3021",
- "id_project": "0",
- "id_project_task": "0",
- "id_ticketing_pipeline": "0",
- "id_ticketing_ticket": "0",
- "start_date": "2022-03-15 19:45:00",
- "end_date": "2022-03-15 20:45:00",
- "title": "Task #1",
- "description": "A description or note about this task",
- "private": "0",
- "visible_in_agenda": "1",
- "synchronized": "0",
- "use_time": "1",
- "time_duration": "01:00:00",
- "time_id_type": "0",
- "time_billable": "0",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
{- "id": "10722",
- "id_customer_supplier": "28496",
- "id_opportunity": "1985",
- "id_event_type": "3021",
- "id_project": "0",
- "id_project_task": "0",
- "id_ticketing_pipeline": "0",
- "id_ticketing_ticket": "0",
- "start_date": "2022-03-15 19:45:00",
- "end_date": "2022-03-15 20:45:00",
- "title": "Task #1",
- "description": "A description or note about this task",
- "private": "0",
- "visible_in_agenda": "1",
- "synchronized": "0",
- "use_time": "1",
- "time_duration": "01:00:00",
- "time_id_type": "0",
- "time_billable": "0",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
Update a task.
id required | integer Task Id |
id_user_assigned | string User Id associated with the task |
status | integer Task status
|
id_customer_supplier | |
id_opportunity | integer Opportunity Id |
id_event_type | integer Task type Id |
id_project | integer Project Id |
id_project_task | integer Project task Id |
id_ticketing_ticket | integer Ticket Id |
start_date | string <date-time> Start date |
end_date | string <date-time> End date |
title | string <= 255 characters Task title |
description | string Task descritpion |
private | integer Task private status
|
visible_in_agenda | integer Visibility in the agenda
|
use_time | integer Task used for time
|
time_id_type | integer Time type Id Id |
time_billable | integer Billable time
|
{- "id_user_assigned": 213,
- "status": 0,
- "id_customer_supplier": 28496,
- "id_opportunity": 1985,
- "id_event_type": 3021,
- "id_project": "",
- "id_project_task": "",
- "id_ticketing_ticket": "",
- "start_date": "2022-03-15 19:45:00",
- "end_date": "2022-03-15 20:45:00",
- "title": "Task #1",
- "description": "A description or note about this task",
- "private": 0,
- "visible_in_agenda": 1,
- "use_time": 1,
- "time_id_type": 0,
- "time_billable": 0
}
{- "id": "10722",
- "id_customer_supplier": "28496",
- "id_opportunity": "1985",
- "id_event_type": "3021",
- "id_project": "0",
- "id_project_task": "0",
- "id_ticketing_pipeline": "0",
- "id_ticketing_ticket": "0",
- "start_date": "2022-03-15 19:45:00",
- "end_date": "2022-03-15 20:45:00",
- "title": "Task #1",
- "description": "A description or note about this task",
- "private": "0",
- "visible_in_agenda": "1",
- "synchronized": "0",
- "use_time": "1",
- "time_duration": "01:00:00",
- "time_id_type": "0",
- "time_billable": "0",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
null
{- "status": "success",
- "data": [
- {
- "id": "3019",
- "title": "Appel téléphonique",
- "title_en": "Phone call",
- "title_es": "Llamada telefónica"
}, - {
- "id": "3020",
- "title": "Echange de mail",
- "title_en": "Mail exchange",
- "title_es": "Intercambio de correo electrónico"
}, - {
- "id": "3021",
- "title": "Rendez-vous",
- "title_en": "Appointment",
- "title_es": "Cita"
}, - {
- "id": "3022",
- "title": "Echange de courrier",
- "title_en": "Letter exchange",
- "title_es": "Intercambio de correo"
}
]
}
Get a list of all calls.
from | string <date-time> Search by start date |
to | string <date-time> Search by end date |
call_system | integer Call system
|
id_user_assigned | integer User Id associated with the call |
id_customer_supplier | |
id_opportunity | integer Search by opportunity Id |
id_call_type | integer Search by call type Id |
id_call_follow | integer Search by call follow Id |
number | string Search by phone number |
fields | string List of fields to be returned. By default, all fields are returned. |
order | string <= 64 characters Name of the field to sort on |
direction | string <= 4 characters Direction for sorting
|
limit | integer Default: 100 Number of objects to be returned for paging |
offset | integer Default: 0 Offset for paging |
{- "status": "success",
- "pagination": {
- "total": 14,
- "limit": 100,
- "offset": 0
}, - "data": [
- {
- "id": "10722",
- "call_system": "0",
- "call_system_text": "Karlia",
- "id_customer_supplier": "0",
- "id_customer_supplier_contact": "0",
- "id_opportunity": "0",
- "start_date": "2022-03-15 19:45:00",
- "duration_seconds": "120",
- "from_number": "+33 1 23 45 67 89",
- "to_number": "+33 9 87 65 43 21",
- "id_call_type": "1",
- "call_type_text": "Appel entrant",
- "id_user_assigned": "0",
- "id_call_follow": "2",
- "call_follow_text": "Sans intérêt",
- "description": "A description or note about this call",
- "creation_date": "2022-03-25 12:04:24",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
]
}
Create a call.
call_system_text | string Call system (text)
|
id_user_assigned | string User Id associated with the call |
id_customer_supplier | |
id_customer_supplier_contact | integer Contact Id |
id_opportunity | integer Opportunity Id |
start_date | string <date-time> Start date |
duration_seconds | integer Call duration in seconds |
from_number | string From number phone |
to_number | string To number phone |
id_call_type | integer Call type Id |
id_call_follow | integer Call follow Id |
description | string Call descritpion |
{- "call_system_text": "Karlia",
- "id_user_assigned": 213,
- "id_customer_supplier": 28496,
- "id_customer_supplier_contact": 0,
- "id_opportunity": 1985,
- "start_date": "2022-03-15 19:45:00",
- "duration_seconds": 120,
- "from_number": "+33 1 23 45 67 89",
- "to_number": "+33 9 87 65 43 21",
- "id_call_type": 3,
- "id_call_follow": 0,
- "description": "A description or note about this call"
}
{- "id": "10722",
- "call_system": "0",
- "call_system_text": "Karlia",
- "id_customer_supplier": "0",
- "id_customer_supplier_contact": "0",
- "id_opportunity": "0",
- "start_date": "2022-03-15 19:45:00",
- "duration_seconds": "120",
- "from_number": "+33 1 23 45 67 89",
- "to_number": "+33 9 87 65 43 21",
- "id_call_type": "1",
- "call_type_text": "Appel entrant",
- "id_user_assigned": "0",
- "id_call_follow": "2",
- "call_follow_text": "Sans intérêt",
- "description": "A description or note about this call",
- "creation_date": "2022-03-25 12:04:24",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
{- "id": "10722",
- "call_system": "0",
- "call_system_text": "Karlia",
- "id_customer_supplier": "0",
- "id_customer_supplier_contact": "0",
- "id_opportunity": "0",
- "start_date": "2022-03-15 19:45:00",
- "duration_seconds": "120",
- "from_number": "+33 1 23 45 67 89",
- "to_number": "+33 9 87 65 43 21",
- "id_call_type": "1",
- "call_type_text": "Appel entrant",
- "id_user_assigned": "0",
- "id_call_follow": "2",
- "call_follow_text": "Sans intérêt",
- "description": "A description or note about this call",
- "creation_date": "2022-03-25 12:04:24",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
Update a call.
id required | integer Call Id |
id_user_assigned | string User Id associated with the call |
id_customer_supplier | |
id_customer_supplier_contact | integer Contact Id |
id_opportunity | integer Opportunity Id |
start_date | string <date-time> Start date |
duration_seconds | integer Call duration in seconds |
from_number | string From number phone |
to_number | string To number phone |
id_call_type | integer Call type Id |
id_call_follow | integer Call follow Id |
description | string Call descritpion |
{- "id_user_assigned": 213,
- "id_customer_supplier": 28496,
- "id_customer_supplier_contact": 0,
- "id_opportunity": 1985,
- "start_date": "2022-03-15 19:45:00",
- "duration_seconds": 120,
- "from_number": "+33 1 23 45 67 89",
- "to_number": "+33 9 87 65 43 21",
- "id_call_type": 3,
- "id_call_follow": 0,
- "description": "A description or note about this call"
}
{- "id": "10722",
- "call_system": "0",
- "call_system_text": "Karlia",
- "id_customer_supplier": "0",
- "id_customer_supplier_contact": "0",
- "id_opportunity": "0",
- "start_date": "2022-03-15 19:45:00",
- "duration_seconds": "120",
- "from_number": "+33 1 23 45 67 89",
- "to_number": "+33 9 87 65 43 21",
- "id_call_type": "1",
- "call_type_text": "Appel entrant",
- "id_user_assigned": "0",
- "id_call_follow": "2",
- "call_follow_text": "Sans intérêt",
- "description": "A description or note about this call",
- "creation_date": "2022-03-25 12:04:24",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
null
Get object (customer, supplier, contact) for a phone number.
number | string Search by phone number |
{- "type": "contact",
- "id_customer_supplier": "50",
- "id_customer_supplier_contact": "28",
- "supplier": "0",
- "customer_supplier_title": "Karlia",
- "firstname": "Jean",
- "lastname": "DUPONT",
- "phone": "+33 1 23 45 67 89",
- "mobile": "+33 6 87 65 43 21",
- "email": "contact@example.com"
}
{- "status": "success",
- "data": [
- {
- "id": "1",
- "title": "Appel entrant"
}, - {
- "id": "2",
- "title": "Appel sortant"
}, - {
- "id": "3",
- "title": "Appel manqué"
}, - {
- "id": "4",
- "title": "Message téléphonique"
}, - {
- "id": "5",
- "title": "SMS reçu"
}, - {
- "id": "6",
- "title": "SMS envoyé"
}
]
}
{- "status": "success",
- "data": [
- {
- "id": "1",
- "title": "Appel réussi",
- "title_en": "Successful call",
- "title_es": "llamada exitosa"
}, - {
- "id": "2",
- "title": "Sans intérêt",
- "title_en": "No interest",
- "title_es": "Sin interés"
}
]
}
Get a list of all times.
id_user | integer User Id |
id_project | integer Search by project Id |
id_project_task | integer Search by project task Id |
id_customer_supplier | |
id_type | integer Search by time type Id |
billable | integer Search by time billable
|
from | string <date-time> Search by min date |
to | string <date-time> Search by max date |
fields | string List of fields to be returned. By default, all fields are returned. |
order | string <= 64 characters Name of the field to sort on |
direction | string <= 4 characters Direction for sorting
|
limit | integer Default: 100 Number of objects to be returned for paging |
offset | integer Default: 0 Offset for paging |
{- "status": "success",
- "pagination": {
- "total": 2,
- "limit": 100,
- "offset": 0
}, - "data": [
- {
- "id": "735",
- "id_user": "213",
- "id_project": "435",
- "id_project_task": "89",
- "id_project_task_subtask": "",
- "id_customer_supplier": "28496",
- "id_opportunity": "1985",
- "id_ticketing_pipeline": "0",
- "id_ticketing_ticket": "0",
- "id_type": "8",
- "billable": "0",
- "billed_date": null,
- "time_date": "2022-07-15",
- "time_done": "01:30:00",
- "time_planified": "02:00:00",
- "description": "A description or note about this time",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
]
}
Create a time.
id_user required | string User Id |
id_project | integer Project Id |
id_project_task | integer Project task Id |
id_project_task_subtask | integer |
id_customer_supplier | |
id_opportunity | integer Opportunity Id |
id_ticketing_ticket | integer Ticket Id |
id_type | integer Time type Id |
billable | integer Billable time
|
time_date | string <date-time> Time date |
time_done | string Time done |
time_planified | string Time planned |
description | string Time descritpion |
{- "id_user": 213,
- "id_project": 435,
- "id_project_task": 89,
- "id_project_task_subtask": "",
- "id_customer_supplier": 28496,
- "id_opportunity": 1985,
- "id_ticketing_ticket": "",
- "id_type": 8,
- "billable": 0,
- "time_date": "2022-07-15",
- "time_done": "01:30",
- "time_planified": "02:00",
- "description": "A description or note about this time"
}
{- "id": "735",
- "id_user": "213",
- "id_project": "435",
- "id_project_task": "89",
- "id_project_task_subtask": "",
- "id_customer_supplier": "28496",
- "id_opportunity": "1985",
- "id_ticketing_pipeline": "0",
- "id_ticketing_ticket": "0",
- "id_type": "8",
- "billable": "0",
- "billed_date": null,
- "time_date": "2022-07-15",
- "time_done": "01:30:00",
- "time_planified": "02:00:00",
- "description": "A description or note about this time",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
{- "id": "735",
- "id_user": "213",
- "id_project": "435",
- "id_project_task": "89",
- "id_project_task_subtask": "",
- "id_customer_supplier": "28496",
- "id_opportunity": "1985",
- "id_ticketing_pipeline": "0",
- "id_ticketing_ticket": "0",
- "id_type": "8",
- "billable": "0",
- "billed_date": null,
- "time_date": "2022-07-15",
- "time_done": "01:30:00",
- "time_planified": "02:00:00",
- "description": "A description or note about this time",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
Update a time.
id required | integer Time Id |
id_user | string User Id |
id_project | integer Project Id |
id_project_task | integer Project task Id |
id_project_task_subtask | integer |
id_customer_supplier | |
id_opportunity | integer Opportunity Id |
id_ticketing_ticket | integer Ticket Id |
id_type | integer Time type Id |
billable | integer Billable time
|
time_date | string <date-time> Time date |
time_done | string Time done |
time_planified | string Time planned |
description | string Time descritpion |
{- "id_user": 213,
- "id_project": 435,
- "id_project_task": 89,
- "id_project_task_subtask": "",
- "id_customer_supplier": 28496,
- "id_opportunity": 1985,
- "id_ticketing_ticket": "",
- "id_type": 8,
- "billable": 0,
- "time_date": "2022-07-15",
- "time_done": "01:30",
- "time_planified": "02:00",
- "description": "A description or note about this time"
}
{- "id": "735",
- "id_user": "213",
- "id_project": "435",
- "id_project_task": "89",
- "id_project_task_subtask": "",
- "id_customer_supplier": "28496",
- "id_opportunity": "1985",
- "id_ticketing_pipeline": "0",
- "id_ticketing_ticket": "0",
- "id_type": "8",
- "billable": "0",
- "billed_date": null,
- "time_date": "2022-07-15",
- "time_done": "01:30:00",
- "time_planified": "02:00:00",
- "description": "A description or note about this time",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
null
{- "status": "success",
- "data": [
- {
- "id": "7",
- "title": "Commercial",
- "title_en": "Commercial",
- "title_es": "Comercial"
}, - {
- "id": "8",
- "title": "Support",
- "title_en": "Support",
- "title_es": "Soporte"
}
]
}
Get a list of all projects.
title | string Search by project title |
id_customer_supplier | |
id_opportunity | integer Search by opportunity Id |
id_status | integer Search by status Id |
id_user_assigned | integer Search by user associated with the project |
archived | integer Search by project condition
|
fields | string List of fields to be returned. By default, all fields are returned. |
order | string <= 64 characters Name of the field to sort on |
direction | string <= 4 characters Direction for sorting
|
limit | integer Default: 100 Number of objects to be returned for paging |
offset | integer Default: 0 Offset for paging |
{- "status": "success",
- "pagination": {
- "total": 14,
- "limit": 100,
- "offset": 0
}, - "data": [
- {
- "id": "435",
- "title": "Project #1",
- "columns": [
- {
- "id": "1",
- "title": "To do"
}, - {
- "id": "2",
- "title": "Pending"
}, - {
- "id": "3",
- "title": "In progress"
}, - {
- "id": "4",
- "title": "A tester"
}, - {
- "id": "5",
- "title": "Completed"
}
], - "id_customer_supplier": "28496",
- "id_opportunity": "1985",
- "starting_date": "2022-03-15 19:45:00",
- "due_date": null,
- "id_status": "1",
- "id_user_assigned": [
- "213"
], - "archived": "0",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
]
}
Create a project.
title required | string Project title |
columns | Array of strings[ items >= 2 ] List of columns |
id_customer_supplier | |
id_opportunity | integer Opportunity Id |
starting_date | string <date-time> Start date |
due_date | string <date-time> Due date |
id_status | integer |
id_user_assigned | string User Id associated with the project |
create_access_all_users | integer Create access to this project for all the users
|
archived | integer Project condition
|
{- "title": "Project #1",
- "columns": [
- "Column #1",
- "Column #2",
- "Column #3"
], - "id_customer_supplier": 28496,
- "id_opportunity": 1985,
- "starting_date": "2022-07-01 12:00:00",
- "due_date": "2022-09-31 00:00:00",
- "id_status": 1,
- "id_user_assigned": 213,
- "create_access_all_users": 0,
- "archived": 0
}
{- "id": "435",
- "title": "Project #1",
- "columns": [
- {
- "id": "1",
- "title": "To do"
}, - {
- "id": "2",
- "title": "Pending"
}, - {
- "id": "3",
- "title": "In progress"
}, - {
- "id": "4",
- "title": "To test"
}, - {
- "id": "5",
- "title": "Completed"
}
], - "id_customer_supplier": "28496",
- "id_opportunity": "1985",
- "starting_date": "2022-03-15 19:45:00",
- "due_date": null,
- "id_status": "1",
- "id_user_assigned": [
- "213"
], - "archived": "0",
- "access_list": [
- {
- "id_user": "213",
- "is_admin": "1",
- "read_only": "0",
- "access_only_if_assigned": "0",
- "update_for_other": "1"
}
], - "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
Get one project.
id required | integer Project Id |
{- "id": "435",
- "title": "Project #1",
- "columns": [
- {
- "id": "1",
- "title": "To do"
}, - {
- "id": "2",
- "title": "Pending"
}, - {
- "id": "3",
- "title": "In progress"
}, - {
- "id": "4",
- "title": "To test"
}, - {
- "id": "5",
- "title": "Completed"
}
], - "id_customer_supplier": "28496",
- "id_opportunity": "1985",
- "starting_date": "2022-03-15 19:45:00",
- "due_date": null,
- "id_status": "1",
- "id_user_assigned": [
- "213"
], - "access_list": [
- {
- "id_user": "213",
- "is_admin": "1",
- "read_only": "0",
- "access_only_if_assigned": "0",
- "update_for_other": "1"
}
], - "archived": "0",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
Update a project.
id required | integer Project Id |
title | string Project title |
columns | Array of strings[ items >= 2 ] List of columns |
id_customer_supplier | |
id_opportunity | integer Opportunity Id |
starting_date | string <date-time> Start date |
due_date | string <date-time> Due date |
id_status | integer |
id_user_assigned | string User Id associated with the task |
archived | integer Project condition
|
{- "title": "Project #1",
- "columns": [
- "Column #1, Column #2, Column #3"
], - "id_customer_supplier": 28496,
- "id_opportunity": 1985,
- "starting_date": "2022-07-01 12:00:00",
- "due_date": "2022-09-31 00:00:00",
- "id_status": 1,
- "id_user_assigned": 213,
- "archived": 0
}
{- "id": "435",
- "title": "Project #1",
- "columns": [
- {
- "id": "1",
- "title": "To do"
}, - {
- "id": "2",
- "title": "Pending"
}, - {
- "id": "3",
- "title": "In progress"
}, - {
- "id": "4",
- "title": "To test"
}, - {
- "id": "5",
- "title": "Completed"
}
], - "id_customer_supplier": "28496",
- "id_opportunity": "1985",
- "starting_date": "2022-03-15 19:45:00",
- "due_date": null,
- "id_status": "1",
- "id_user_assigned": [
- "213"
], - "access_list": [
- {
- "id_user": "213",
- "is_admin": "1",
- "read_only": "0",
- "access_only_if_assigned": "0",
- "update_for_other": "1"
}
], - "archived": "0",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
Delete a project.
id required | integer Project Id |
null
Create or Update project access.
is_admin | integer Admin of the project
|
read_only | integer Read only
|
access_only_if_assigned | integer Access to tasks only if assigned
|
update_for_other | integer Can update for other
|
{- "is_admin": 0,
- "read_only": 0,
- "access_only_if_assigned": 0,
- "update_for_other": 1
}
{- "id": "435",
- "title": "Project #1",
- "columns": [
- {
- "id": "1",
- "title": "To do"
}, - {
- "id": "2",
- "title": "Pending"
}, - {
- "id": "3",
- "title": "In progress"
}, - {
- "id": "4",
- "title": "To test"
}, - {
- "id": "5",
- "title": "Completed"
}
], - "id_customer_supplier": "28496",
- "id_opportunity": "1985",
- "starting_date": "2022-03-15 19:45:00",
- "due_date": null,
- "id_status": "1",
- "id_user_assigned": [
- "213"
], - "access_list": [
- {
- "id_user": "213",
- "is_admin": "1",
- "read_only": "0",
- "access_only_if_assigned": "0",
- "update_for_other": "1"
}
], - "archived": "0",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
{- "id": "435",
- "title": "Project #1",
- "columns": [
- {
- "id": "1",
- "title": "To do"
}, - {
- "id": "2",
- "title": "Pending"
}, - {
- "id": "3",
- "title": "In progress"
}, - {
- "id": "4",
- "title": "To test"
}, - {
- "id": "5",
- "title": "Completed"
}
], - "id_customer_supplier": "28496",
- "id_opportunity": "1985",
- "starting_date": "2022-03-15 19:45:00",
- "due_date": null,
- "id_status": "1",
- "id_user_assigned": [
- "213"
], - "access_list": [
- {
- "id_user": "213",
- "is_admin": "1",
- "read_only": "0",
- "access_only_if_assigned": "0",
- "update_for_other": "1"
}
], - "archived": "0",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
Get values of projects custom field.
field_id required | integer Project custom field Id |
{- "status": "success",
- "data": [
- {
- "id": "6089",
- "title": "Low"
}, - {
- "id": "6090",
- "title": "Medium"
}, - {
- "id": "6091",
- "title": "High"
}
]
}
Get a list of all project tasks.
id required | integer Project Id |
{- "status": "success",
- "pagination": {
- "total": "14",
- "limit": "100",
- "offset": "0"
}, - "data": [
- {
- "id": "486",
- "number": "1",
- "column_number": "5",
- "column_number_last_update": "2022-04-04 09:44:49",
- "position": "1",
- "milestone": "0",
- "status": "91",
- "title": "Project task #1",
- "description": "A description or note about this project task",
- "priority": "0",
- "color": "95a5a6",
- "starting_date": "2022-03-15 19:45:00",
- "due_date": null,
- "working_time": "0.00",
- "estimation_time": "5.00",
- "id_user_assigned": [
- "u213"
], - "id_customer_supplier": "28496",
- "id_opportunity": "1985",
- "id_phase": "0",
- "skills": [ ],
- "custom_fields_list": [ ],
- "nb_subtask": "0",
- "nb_subtask_complete": "0",
- "nb_comments": "0",
- "nb_files": "0",
- "nb_events": "0",
- "nb_events_notes": "0",
- "nb_events_tasks": "0",
- "nb_conversations_emails": "0",
- "archived": "0",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
]
}
Create a project task.
id required | integer Project Id |
title required | string Task title |
column_number | integer Column number in the project |
status | integer Task status Id |
description | string Task descritpion |
priority | integer |
starting_date | string <date-time> Start date |
due_date | string <date-time> Due date Working_time is not editable, this field is linked to times. |
estimation_time | string Time estimated |
id_user_assigned | string User with group Id associated with the task |
id_customer_supplier | |
id_opportunity | integer Opportunity Id |
id_phase | integer Task phase Id |
archived | integer Project condition
|
Array of objects Custom fields |
{- "title": "Task #1",
- "column_number": "1",
- "status": 89,
- "description": "A description or note about this task",
- "priority": "0",
- "starting_date": "2022-07-01 12:00:00",
- "due_date": "2022-09-31 00:00:00",
- "estimation_time": "2:00",
- "id_user_assigned": "u213",
- "id_customer_supplier": 28496,
- "id_opportunity": 1985,
- "id_phase": 10,
- "archived": 0,
- "custom_fields": [
- {
- "id": 3383,
- "value": 6089
}
]
}
{- "id": "486",
- "number": "1",
- "column_number": "5",
- "column_number_last_update": "2022-04-04 09:44:49",
- "position": "1",
- "milestone": "0",
- "status": "91",
- "title": "Project task #1",
- "description": "A description or note about this project task",
- "priority": "0",
- "color": "95a5a6",
- "starting_date": "2022-03-15 19:45:00",
- "due_date": null,
- "working_time": "0.00",
- "estimation_time": "5.00",
- "id_user_assigned": [
- "u213"
], - "id_customer_supplier": "28496",
- "id_opportunity": "1985",
- "id_phase": "0",
- "skills": [ ],
- "nb_subtask": "0",
- "nb_subtask_complete": "0",
- "nb_comments": "0",
- "nb_files": "0",
- "nb_events": "0",
- "nb_events_notes": "0",
- "nb_events_tasks": "0",
- "nb_conversations_emails": "0",
- "archived": "0",
- "custom_fields_list": [
- {
- "id": "3483",
- "title": "Priority",
- "value": "6089",
- "value_text": "Low"
}
], - "subtasks_list": [ ],
- "comments_list": [ ],
- "files_list": [ ],
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
Get one project task.
id required | integer Project Id |
task_id required | integer Project task Id |
{- "id": "486",
- "number": "1",
- "column_number": "5",
- "column_number_last_update": "2022-04-04 09:44:49",
- "position": "1",
- "milestone": "0",
- "status": "91",
- "title": "Project task #1",
- "description": "A description or note about this project task",
- "priority": "0",
- "color": "95a5a6",
- "starting_date": "2022-03-15 19:45:00",
- "due_date": null,
- "working_time": "0.00",
- "estimation_time": "5.00",
- "id_user_assigned": [
- "u213"
], - "id_customer_supplier": "28496",
- "id_opportunity": "1985",
- "id_phase": "0",
- "skills": [ ],
- "nb_subtask": "0",
- "nb_subtask_complete": "0",
- "nb_comments": "0",
- "nb_files": "0",
- "nb_events": "0",
- "nb_events_notes": "0",
- "nb_events_tasks": "0",
- "nb_conversations_emails": "0",
- "archived": "0",
- "custom_fields_list": [
- {
- "id": "3483",
- "title": "Priority",
- "value": "6089",
- "value_text": "Low"
}
], - "subtasks_list": [
- {
- "id": "1375",
- "status": "89",
- "section": "0",
- "title": "Subtask #1",
- "starting_date": "2022-04-23",
- "due_date": null,
- "working_date": "1:50",
- "estimation_time": "3:00",
- "skills": [ ],
- "creation_date": "2022-04-23 16:22:58",
- "created_by": "213",
- "update_date": "2022-04-23 16:22:58",
- "updated_by": "213"
}
], - "comments_list": [
- {
- "id": "56",
- "comment": "<p>Comment #1</p>",
- "creation_date": "2022-04-23 16:23:27",
- "created_by": "213",
- "update_date": "2022-04-23 16:25:38",
- "updated_by": "213"
}
], - "files_list": [
- {
- "id": "21",
- "name": "ticket.pdf",
- "size": "64",
- "creation_date": "2022-04-23 16:20:24",
- "created_by": "213",
- "update_date": "2022-04-23 16:29:31",
- "updated_by": "213"
}
], - "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
Update a project task.
id required | integer Project Id |
task_id required | integer Project task Id |
title | string Task title |
column_number | integer Column number in the project |
status | integer Tasks status Id |
description | string Task descritpion |
priority | integer |
starting_date | string <date-time> Start date |
due_date | string <date-time> Due date Working_time is not editable, this field is linked to times. |
estimation_time | string Time estimated |
id_user_assigned | string User with group Id associated with the task |
id_customer_supplier | |
id_opportunity | integer Opportunity Id |
id_phase | integer Task phase Id |
archived | integer Project condition
|
Array of objects Custom fields |
{- "title": "Project #1",
- "column_number": "1",
- "status": 89,
- "description": "A description or note about this task",
- "priority": "0",
- "starting_date": "2022-07-01 12:00:00",
- "due_date": "2022-09-31 00:00:00",
- "estimation_time": "2:00",
- "id_user_assigned": "u213",
- "id_customer_supplier": 28496,
- "id_opportunity": 1985,
- "id_phase": 10,
- "archived": 0,
- "custom_fields": [
- {
- "id": 3383,
- "value": 6089
}
]
}
{- "id": "486",
- "number": "1",
- "column_number": "5",
- "column_number_last_update": "2022-04-04 09:44:49",
- "position": "1",
- "milestone": "0",
- "status": "91",
- "title": "Project task #1",
- "description": "A description or note about this project task",
- "priority": "0",
- "color": "95a5a6",
- "starting_date": "2022-03-15 19:45:00",
- "due_date": null,
- "working_time": "0.00",
- "estimation_time": "5.00",
- "id_user_assigned": [
- "u213"
], - "id_customer_supplier": "28496",
- "id_opportunity": "1985",
- "id_phase": "0",
- "skills": [ ],
- "nb_subtask": "0",
- "nb_subtask_complete": "0",
- "nb_comments": "0",
- "nb_files": "0",
- "nb_events": "0",
- "nb_events_notes": "0",
- "nb_events_tasks": "0",
- "nb_conversations_emails": "0",
- "archived": "0",
- "custom_fields_list": [
- {
- "id": "3483",
- "title": "Priority",
- "value": "6089",
- "value_text": "Low"
}
], - "subtasks_list": [
- {
- "id": "1375",
- "status": "89",
- "section": "0",
- "title": "Subtask #1",
- "starting_date": "2022-04-23",
- "due_date": null,
- "working_date": "1:50",
- "estimation_time": "3:00",
- "skills": [ ],
- "creation_date": "2022-04-23 16:22:58",
- "created_by": "213",
- "update_date": "2022-04-23 16:22:58",
- "updated_by": "213"
}
], - "comments_list": [
- {
- "id": "56",
- "comment": "<p>Comment #1</p>",
- "creation_date": "2022-04-23 16:23:27",
- "created_by": "213",
- "update_date": "2022-04-23 16:25:38",
- "updated_by": "213"
}
], - "files_list": [
- {
- "id": "21",
- "name": "ticket.pdf",
- "size": "64",
- "creation_date": "2022-04-23 16:20:24",
- "created_by": "213",
- "update_date": "2022-04-23 16:29:31",
- "updated_by": "213"
}
], - "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
Delete a project task.
id required | integer Project Id |
task_id required | integer Project task Id |
null
Values of projects custom field.
id required | integer Project Id |
task_id required | integer Project task Id |
field_id required | integer Project custom field Id |
field_value required | integer |
{- "field_value": 6089
}
{- "id": "435",
- "title": "Project #1",
- "columns": [
- {
- "id": "1",
- "title": "To do"
}, - {
- "id": "2",
- "title": "Pending"
}, - {
- "id": "3",
- "title": "In progress"
}, - {
- "id": "4",
- "title": "To test"
}, - {
- "id": "5",
- "title": "Completed"
}
], - "id_customer_supplier": "28496",
- "id_opportunity": "1985",
- "starting_date": "2022-03-15 19:45:00",
- "due_date": null,
- "id_status": "1",
- "id_user_assigned": [
- "213"
], - "access_list": [
- {
- "id_user": "213",
- "is_admin": "1",
- "read_only": "0",
- "access_only_if_assigned": "0",
- "update_for_other": "1"
}
], - "archived": "0",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
Create a project task comment.
id required | integer Project Id |
task_id required | integer Project task Id |
id_user required | integer User Id |
comment required | string Comment |
{- "id_user": 213,
- "comment": "Comment #1"
}
{- "id": "486",
- "number": "1",
- "column_number": "5",
- "column_number_last_update": "2022-04-04 09:44:49",
- "position": "1",
- "milestone": "0",
- "status": "91",
- "title": "Project task #1",
- "description": "A description or note about this project task",
- "priority": "0",
- "color": "95a5a6",
- "starting_date": "2022-03-15 19:45:00",
- "due_date": null,
- "working_time": "0.00",
- "estimation_time": "5.00",
- "id_user_assigned": [
- "u213"
], - "id_customer_supplier": "28496",
- "id_opportunity": "1985",
- "id_phase": "0",
- "skills": [ ],
- "nb_subtask": "0",
- "nb_subtask_complete": "0",
- "nb_comments": "0",
- "nb_files": "0",
- "nb_events": "0",
- "nb_events_notes": "0",
- "nb_events_tasks": "0",
- "nb_conversations_emails": "0",
- "archived": "0",
- "custom_fields_list": [
- {
- "id": "3483",
- "title": "Priority",
- "value": "6089",
- "value_text": "Low"
}
], - "subtasks_list": [
- {
- "id": "1375",
- "status": "89",
- "section": "0",
- "title": "Subtask #1",
- "starting_date": "2022-04-23",
- "due_date": null,
- "working_date": "1:50",
- "estimation_time": "3:00",
- "skills": [ ],
- "creation_date": "2022-04-23 16:22:58",
- "created_by": "213",
- "update_date": "2022-04-23 16:22:58",
- "updated_by": "213"
}
], - "comments_list": [
- {
- "id": "56",
- "comment": "<p>Comment #1</p>",
- "creation_date": "2022-04-23 16:23:27",
- "created_by": "213",
- "update_date": "2022-04-23 16:25:38",
- "updated_by": "213"
}
], - "files_list": [
- {
- "id": "21",
- "name": "ticket.pdf",
- "size": "64",
- "creation_date": "2022-04-23 16:20:24",
- "created_by": "213",
- "update_date": "2022-04-23 16:29:31",
- "updated_by": "213"
}
], - "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
Get a list of all status of all projects tasks.
{- "status": "success",
- "data": [
- {
- "id": "89",
- "title": "En attente",
- "title_en": "Pending",
- "title_es": "Pendiente",
- "status_type": "1",
- "status_type_title": "En attente"
}, - {
- "id": "90",
- "title": "En cours",
- "title_en": "In progress",
- "title_es": "En curso",
- "status_type": "2",
- "status_type_title": "En cours"
}, - {
- "id": "91",
- "title": "Terminé",
- "title_en": "Completed",
- "title_es": "Completado",
- "status_type": "3",
- "status_type_title": "Terminé"
}
]
}
Get a list of all status of one project task.
id required | integer Project Id |
{- "status": "success",
- "data": [
- {
- "id": "89",
- "title": "En attente",
- "title_en": "Pending",
- "title_es": "Pendiente",
- "status_type": "1",
- "status_type_title": "En attente"
}, - {
- "id": "90",
- "title": "En cours",
- "title_en": "In progress",
- "title_es": "En curso",
- "status_type": "2",
- "status_type_title": "En cours"
}, - {
- "id": "91",
- "title": "Terminé",
- "title_en": "Completed",
- "title_es": "Completado",
- "status_type": "3",
- "status_type_title": "Terminé"
}
]
}
Get a list of all phases of project tasks.
id required | integer Project Id |
{- "status": "success",
- "data": [
- {
- "id": "10",
- "title": "Phase #1",
- "title_en": "Phase #1",
- "title_es": "Fase #1",
- "starting_date": "2022-04-11",
- "due_date": "2022-04-15"
}, - {
- "id": "11",
- "title": "Phase #2",
- "title_en": "Phase #2",
- "title_es": "Fase #2",
- "starting_date": "2022-04-18",
- "due_date": "2022-04-22"
}, - {
- "id": "12",
- "title": "Phase #3",
- "title_en": "Phase #3",
- "title_es": "Fase #3",
- "starting_date": "2022-04-25",
- "due_date": "2022-04-29"
}
]
}
Get a list of all subtasks of a project task.
id required | integer Project Id |
task_id required | integer Project task Id |
{- "status": "success",
- "pagination": {
- "total": "14",
- "limit": "100",
- "offset": "0"
}, - "data": [
- {
- "id": "1375",
- "status": "89",
- "section": "0",
- "title": "Subtask #1",
- "starting_date": "2022-04-23",
- "due_date": null,
- "working_time": "1:50",
- "estimation_time": "3:00",
- "id_user_assigned": [
- "u213"
], - "skills": [ ],
- "creation_date": "2022-04-23 16:22:58",
- "created_by": "213",
- "update_date": "2022-04-23 16:22:58",
- "updated_by": "213"
}
]
}
Create a subtask of a project task.
id required | integer Project Id |
task_id required | integer Project task Id |
title required | string Project title |
status | integer |
section | integer Nature of the subtask
|
starting_date | string <date-time> Start date |
due_date | string <date-time> Due date Working_time is not editable, this field is linked to times. |
estimation_time | string Time estimated |
id_user_assigned | string User with group Id associated with the task |
{- "title": "Subtask #1",
- "status": 89,
- "section": 0,
- "starting_date": "2022-07-01 12:00:00",
- "due_date": "2022-09-31 00:00:00",
- "estimation_time": "2:00",
- "id_user_assigned": "u213"
}
{- "id": "1375",
- "status": "89",
- "section": "0",
- "title": "Subtask #1",
- "starting_date": "2022-04-23",
- "due_date": null,
- "working_time": "1:50",
- "estimation_time": "3:00",
- "id_user_assigned": [
- "u213"
], - "skills": [ ],
- "creation_date": "2022-04-23 16:22:58",
- "created_by": "213",
- "update_date": "2022-04-23 16:22:58",
- "updated_by": "213"
}
Get one subtask of a project task.
id required | integer Project Id |
task_id required | integer Project task Id |
subtask_id required | integer |
{- "id": "1375",
- "status": "89",
- "section": "0",
- "title": "Subtask #1",
- "starting_date": "2022-04-23",
- "due_date": null,
- "working_time": "1:50",
- "estimation_time": "3:00",
- "id_user_assigned": [
- "u213"
], - "skills": [ ],
- "creation_date": "2022-04-23 16:22:58",
- "created_by": "213",
- "update_date": "2022-04-23 16:22:58",
- "updated_by": "213"
}
Update a subtask of a project task.
id required | integer Project Id |
task_id required | integer Project task Id |
subtask_id required | integer |
title | string Project title |
status | integer Tasks status Id |
section | integer Nature of the subtask
|
starting_date | string <date-time> Start date |
due_date | string <date-time> Due date Working_time is not editable, this field is linked to times. |
estimation_time | string Time estimated |
id_user_assigned | string User with group Id associated with the task |
{- "title": "Project #1",
- "status": 89,
- "section": 0,
- "starting_date": "2022-07-01 12:00:00",
- "due_date": "2022-09-31 00:00:00",
- "estimation_time": "2:00",
- "id_user_assigned": "u213"
}
{- "id": "1375",
- "status": "89",
- "section": "0",
- "title": "Subtask #1",
- "starting_date": "2022-04-23",
- "due_date": null,
- "working_time": "1:50",
- "estimation_time": "3:00",
- "id_user_assigned": [
- "u213"
], - "skills": [ ],
- "creation_date": "2022-04-23 16:22:58",
- "created_by": "213",
- "update_date": "2022-04-23 16:22:58",
- "updated_by": "213"
}
Delete a subtask of a project task.
id required | integer Project Id |
task_id required | integer Project task Id |
subtask_id required | integer |
null
Get a list of all tickets.
pipeline | integer Search by pipeline Id |
title | string Search by title |
id_type | integer Search by type Id |
id_status | integer Search by status Id |
id_priority | integer Search by priority Id |
id_group | integer Search by group Id |
id_user_assigned | integer Search by user Id |
skills | integer Search by skill Id |
id_customer_supplier | |
id_customer_supplier_contact | integer Search by contact Id |
id_opportunity | integer Search by opportunity Id |
id_project | integer Search by project Id |
id_project_task | integer Search by project task Id |
id_equipment | integer Search by Equipment Id |
archived | integer Search by status
|
fields | string List of fields to be returned. By default, all fields are returned. |
order | string <= 64 characters Name of the field to sort on |
direction | string <= 4 characters Direction for sorting
|
limit | integer Default: 100 Number of objects to be returned for paging |
offset | integer Default: 0 Offset for paging |
{- "status": "success",
- "pagination": {
- "total": 3,
- "limit": 100,
- "offset": 0
}, - "data": [
- {
- "id": "42",
- "pipeline": "8",
- "number": "1",
- "id_type": "31",
- "id_status": "1",
- "id_status_last_update": "2022-05-23 09:37:49",
- "position": "1",
- "title": "Ticket #1",
- "id_priority": "1",
- "id_group": "18",
- "id_user_assigned": "213",
- "list_id_user_shared": [ ],
- "description": "A description or note about this ticket",
- "id_customer_supplier": "28496",
- "id_customer_supplier_contact": "48560",
- "id_opportunity": "1985",
- "id_project": "435",
- "id_project_task": "486",
- "id_equipment": "1",
- "skills": [
- "52"
], - "date_first_answer_expected": null,
- "date_first_answer_real": null,
- "date_resolve_answer_expected": null,
- "date_resolve_answer_real": null,
- "creation_source": "3",
- "creation_source_title": "API",
- "custom_fields_list": [
- {
- "id": "3526",
- "title": "Client satisfaction",
- "value": "6144",
- "value_text": "Low"
}
], - "archived": "0",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
]
}
Create a ticket.
pipeline | integer pipeline Id |
title | string Ticket title |
id_type | integer Ticket type Id |
id_status | integer Ticket status Id |
id_priority | integer Priority Id |
id_group | integer Group Id |
id_user_assigned | integer User Id |
skills | integer Skill Id |
id_customer_supplier | |
id_customer_supplier_contact | integer Contact Id |
id_opportunity | integer Opportunity Id |
id_project | integer Project Id |
id_project_task | integer Project task Id |
id_equipment | integer Equipment Id |
list_id_user_shared | integer User shared Id |
Array of objects Custom fields | |
archived | integer Ticket status
|
{- "pipeline": 42,
- "title": "Ticket #1",
- "id_type": 31,
- "id_status": 1,
- "id_priority": 1,
- "id_group": 18,
- "id_user_assigned": 213,
- "skills": 52,
- "id_customer_supplier": 28496,
- "id_customer_supplier_contact": 48560,
- "id_opportunity": 1985,
- "id_project": 435,
- "id_project_task": 486,
- "id_equipment": "1",
- "list_id_user_shared": null,
- "custom_fields": [
- {
- "id": 3526,
- "value": 6144
}
], - "archived": 0
}
{- "id": "42",
- "pipeline": "8",
- "number": "1",
- "id_type": "31",
- "id_status": "1",
- "id_status_last_update": "2022-05-23 09:37:49",
- "position": "1",
- "title": "Ticket #1",
- "id_priority": "1",
- "id_group": "18",
- "id_user_assigned": "213",
- "list_id_user_shared": [ ],
- "description": "A description or note about this ticket",
- "id_customer_supplier": "28496",
- "id_customer_supplier_contact": "48560",
- "id_opportunity": "1985",
- "id_project": "435",
- "id_project_task": "486",
- "id_equipment": "1",
- "skills": [
- "52"
], - "date_first_answer_expected": null,
- "date_first_answer_real": null,
- "date_resolve_answer_expected": null,
- "date_resolve_answer_real": null,
- "creation_source": "3",
- "creation_source_title": "API",
- "custom_fields_list": [
- {
- "id": "3526",
- "title": "Client satisfaction",
- "value": "6144",
- "value_text": "Low"
}
], - "archived": "0",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
Get one ticket.
id required | integer Ticket Id |
{- "id": "42",
- "pipeline": "8",
- "number": "1",
- "id_type": "31",
- "id_status": "1",
- "id_status_last_update": "2022-05-23 09:37:49",
- "position": "1",
- "title": "Ticket #1",
- "id_priority": "1",
- "id_group": "18",
- "id_user_assigned": "213",
- "list_id_user_shared": [ ],
- "description": "A description or note about this ticket",
- "id_customer_supplier": "28496",
- "id_customer_supplier_contact": "48560",
- "id_opportunity": "1985",
- "id_project": "435",
- "id_project_task": "486",
- "id_equipment": "1",
- "skills": [
- "52"
], - "date_first_answer_expected": null,
- "date_first_answer_real": null,
- "date_resolve_answer_expected": null,
- "date_resolve_answer_real": null,
- "creation_source": "3",
- "creation_source_title": "API",
- "custom_fields_list": [
- {
- "id": "3526",
- "title": "Client satisfaction",
- "value": "6144",
- "value_text": "Low"
}
], - "archived": "0",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
Update a ticket.
id required | integer Ticket Id |
title | string Ticket title |
id_type | integer Ticket type Id |
id_status | integer Ticket status Id |
id_priority | integer Priority Id |
id_group | integer Group Id |
id_user_assigned | integer User Id |
skills | integer Skill Id |
id_customer_supplier | |
id_customer_supplier_contact | integer Contact Id |
id_opportunity | integer Opportunity Id |
id_project | integer Project Id |
id_project_task | integer Project task Id |
id_equipment | integer Equipment Id |
list_id_user_shared | integer User shared Id |
Array of objects Custom fields | |
archived | integer Ticket status
|
{- "title": "Ticket #1",
- "id_type": 31,
- "id_status": 1,
- "id_priority": 1,
- "id_group": 18,
- "id_user_assigned": 213,
- "skills": 52,
- "id_customer_supplier": 28496,
- "id_customer_supplier_contact": 48560,
- "id_opportunity": 1985,
- "id_project": 435,
- "id_project_task": 486,
- "id_equipment": "1",
- "list_id_user_shared": null,
- "custom_fields": [
- {
- "id": 3526,
- "value": 6144
}
], - "archived": 0
}
{- "id": "42",
- "pipeline": "8",
- "number": "1",
- "id_type": "31",
- "id_status": "1",
- "id_status_last_update": "2022-05-23 09:37:49",
- "position": "1",
- "title": "Ticket #1",
- "id_priority": "1",
- "id_group": "18",
- "id_user_assigned": "213",
- "list_id_user_shared": [ ],
- "description": "A description or note about this ticket",
- "id_customer_supplier": "28496",
- "id_customer_supplier_contact": "48560",
- "id_opportunity": "1985",
- "id_project": "435",
- "id_project_task": "486",
- "id_equipment": "1",
- "skills": [
- "52"
], - "date_first_answer_expected": null,
- "date_first_answer_real": null,
- "date_resolve_answer_expected": null,
- "date_resolve_answer_real": null,
- "creation_source": "3",
- "creation_source_title": "API",
- "custom_fields_list": [
- {
- "id": "3526",
- "title": "Client satisfaction",
- "value": "6144",
- "value_text": "Low"
}
], - "archived": "0",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
Delete a ticket.
id required | integer Ticket Id |
null
Get types of a pipeline.
pipeline_id required | integer Pipeline Id |
{- "status": "success",
- "data": [
- {
- "id": "30",
- "title": "Incident",
- "title_en": "Incident",
- "title_es": "Incidente",
- "customer_title": "Incident",
- "customer_title_en": "Incident",
- "customer_title_es": "Incidente"
}, - {
- "id": "31",
- "title": "Bug",
- "title_en": "Bug",
- "title_es": "Bug",
- "customer_title": "Bug",
- "customer_title_en": "Bug",
- "customer_title_es": "Bug"
}, - {
- "id": "32",
- "title": "Demande d'amélioration",
- "title_en": "Request for improvement",
- "title_es": "Solicitud de mejora",
- "customer_title": "Demande d'amélioration",
- "customer_title_en": "Request for improvement",
- "customer_title_es": "Solicitud de mejora"
}
]
}
Get status of a pipeline.
pipeline_id required | integer Pipeline Id |
{- "status": "success",
- "data": [
- {
- "id": "1",
- "title": "En attente",
- "title_en": "Pending",
- "title_es": "En espera",
- "customer_title": "En attente",
- "customer_title_en": "Pending",
- "customer_title_es": "En espera"
}, - {
- "id": "2",
- "title": "En cours",
- "title_en": "In progress",
- "title_es": "En progreso",
- "customer_title": "En cours",
- "customer_title_en": "In progress",
- "customer_title_es": "En progreso"
}, - {
- "id": "3",
- "title": "Cloturé",
- "title_en": "Closed",
- "title_es": "Cerrado",
- "customer_title": "Cloturé",
- "customer_title_en": "Closed",
- "customer_title_es": "Cerrado"
}
]
}
Get values of ticketing custom field.
field_id required | integer Ticketing custom field Id |
{- "status": "success",
- "data": [
- {
- "id": "6144",
- "title": "Low"
}, - {
- "id": "6145",
- "title": "Medium"
}, - {
- "id": "6146",
- "title": "High"
}
]
}
Values of ticketing custom field.
id required | integer Ticket Id |
field_id required | integer Ticket custom field Id |
field_value required | integer |
{- "field_value": 3526
}
{- "id": "42",
- "pipeline": "8",
- "number": "1",
- "id_type": "31",
- "id_status": "1",
- "id_status_last_update": "2022-05-23 09:37:49",
- "position": "1",
- "title": "Ticket #1",
- "id_priority": "1",
- "id_group": "18",
- "id_user_assigned": "213",
- "list_id_user_shared": [ ],
- "description": "A description or note about this ticket",
- "id_customer_supplier": "28496",
- "id_customer_supplier_contact": "48560",
- "id_opportunity": "1985",
- "id_project": "435",
- "id_project_task": "486",
- "id_equipment": "1",
- "skills": [
- "52"
], - "date_first_answer_expected": null,
- "date_first_answer_real": null,
- "date_resolve_answer_expected": null,
- "date_resolve_answer_real": null,
- "creation_source": "3",
- "creation_source_title": "API",
- "custom_fields_list": [
- {
- "id": "3526",
- "title": "Client satisfaction",
- "value": "6144",
- "value_text": "Low"
}
], - "archived": "0",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
Get ticket history.
id required | integer Ticket Id |
from | string <date-time> Search by start date |
to | string <date-time> Search by end date |
id_user | integer User Id of the user updater |
fields | string Updated fields list (separated by a comma) |
order | string <= 64 characters Name of the field to sort on |
direction | string <= 4 characters Direction for sorting
|
limit | integer Default: 100 Number of objects to be returned for paging |
offset | integer Default: 0 Offset for paging |
{- "status": "success",
- "pagination": {
- "total": 14,
- "limit": 100,
- "offset": 0
}, - "data": [
- {
- "field": "title",
- "old_value": "Value 1",
- "new_value": "Value 2",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
]
}
{- "id": "42",
- "published": "1",
- "title": "My Form #1",
- "description": "",
- "header_img": "",
- "submissions_allowed": "1",
- "submissions_canceled_after_nb": "0",
- "submissions_open_date": "NULL",
- "submissions_cancel_date": "NULL",
- "submissions_canceled_page": "",
- "submissions_nb": "5",
- "google_recaptcha": "1",
- "notifications_internal": "1",
- "notifications_external": "1",
- "one_question_per_page": "1",
- "page_background_color": "ff0000",
- "fields_add_background": "1",
- "fields_mandatory_with_asterix": "1",
- "button_1": {
- "background_color": "ffffff",
- "border_color": "ffffff",
- "font_family": "Arial",
- "font_weight": "400",
- "font_size": "14",
- "font_color": "011010",
- "radius_type": "1"
}, - "button_2": {
- "background_color": "ffffff",
- "border_color": "ffffff",
- "font_family": "Arial",
- "font_weight": "600",
- "font_size": "14",
- "font_color": "969696",
- "radius_type": "1"
}, - "button_submit": {
- "text": "Envoyer",
- "design_button": "1"
}, - "progress_bar": {
- "display": "1",
- "color": "2377F3",
- "background_color": "d2d2d2"
}, - "button_previous_next": {
- "display": "1",
- "previous_text": "Précédent",
- "next_text": "Suivant",
- "previous_design_button": "1",
- "next_design_button": "2"
}, - "field_title": {
- "font_family": "Arial",
- "font_weight": "400",
- "font_size": "14",
- "font_color": "011010"
}, - "field_description": {
- "font_family": "Arial",
- "font_weight": "400",
- "font_size": "14",
- "font_color": "011010"
}, - "field_value": {
- "font_family": "Arial",
- "font_weight": "400",
- "font_size": "14",
- "font_color": "011010",
- "radius_type": "1"
}, - "h1": {
- "font_family": "Arial",
- "font_weight": "400",
- "font_size": "14",
- "font_color": "011010"
}, - "h2": {
- "font_family": "Arial",
- "font_weight": "400",
- "font_size": "14",
- "font_color": "011010"
}, - "p": {
- "font_family": "Arial",
- "font_weight": "400",
- "font_size": "14",
- "font_color": "011010"
}, - "google_analytics": "",
- "facebook_pixel": "",
- "page_head_code": "",
- "page_body_code": "",
- "list_fields": {
- "id": "5789",
- "field_type": "ticketing",
- "field_name": "title",
- "title": "Objet",
- "description": "",
- "mandatory": "1",
- "hidden": "0",
- "placeholder": "",
- "default_value": "",
- "default_value_text": "",
- "field_width": "12",
- "field_new_line": "0",
- "display_conditions": "0",
- "format": "text",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}, - "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
Get list of submissions.
id required | integer Form Id |
from | string <date-time> Search by start date |
to | string <date-time> Search by end date |
fields | string List of fields to be returned. By default, all fields are returned. |
order | string <= 64 characters Name of the field to sort on |
direction | string <= 4 characters Direction for sorting
|
limit | integer Default: 100 Number of objects to be returned for paging |
offset | integer Default: 0 Offset for paging |
{- "status": "success",
- "pagination": {
- "total": 3,
- "limit": 100,
- "offset": 0
}, - "data": [
- {
- "id": "42",
- "customer_supplier_created": "1",
- "id_customer_supplier": "28914",
- "contact_created": "0",
- "id_contact": "0",
- "opportunity_created": "0",
- "id_opportunity": "0",
- "ticket_created": "0",
- "id_ticket": "0",
- "duration_seconds": "48",
- "submission_date": "2022-03-25 12:04:24"
}
]
}
Get submission detail.
id required | integer Form Id |
id_submission required | integer Submission Id |
{- "id": "42",
- "customer_supplier_created": "1",
- "id_customer_supplier": "28914",
- "contact_created": "0",
- "id_contact": "0",
- "opportunity_created": "0",
- "id_opportunity": "0",
- "ticket_created": "0",
- "id_ticket": "0",
- "duration_seconds": "48",
- "list_fields": {
- "id": "89",
- "field_type": "ticketing",
- "field_name": "title",
- "title": "Objet",
- "value": "Bug affichage"
}, - "submission_date": "2022-03-25 12:04:24"
}
Get a list of all Doc generator.
from | string <date-time> Search by start date |
to | string <date-time> Search by end date |
id_status | integer Search by status Id
|
id_model | integer Search by model |
id_customer_supplier | integer Search by customer Id |
id_opportunity | integer Search by opportunity Id |
id_document | integer Search by document Id |
id_project | integer Search by project Id |
id_project_task | integer Search by project task Id |
id_ticketing_ticket | integer Search by ticket Id |
id_product | integer Search by Product Id |
id_equipment | integer Search by Equipment Id |
id_user | integer Search by user Id |
title | string Search by title |
fields | string List of fields to be returned. By default, all fields are returned. |
order | string <= 64 characters Name of the field to sort on |
direction | string <= 4 characters Direction for sorting
|
limit | integer Default: 100 Number of objects to be returned for paging |
offset | integer Default: 0 Offset for paging |
{- "status": "success",
- "pagination": {
- "total": 3,
- "limit": 100,
- "offset": 0
}, - "data": [
- {
- "id": "42",
- "id_status": "1",
- "title": "My Document",
- "number": "5",
- "id_model": "0",
- "list_other_id_models": [ ],
- "id_customer_supplier": "28496",
- "id_customer_supplier_contact": "48560",
- "id_opportunity": "1985",
- "id_document": "0",
- "id_project": "435",
- "id_project_task": "486",
- "id_ticketing_ticket": "0",
- "id_product": "0",
- "id_equipment": "0",
- "id_user": "213",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
]
}
{- "id": "42",
- "id_status": "1",
- "title": "My Document",
- "number": "5",
- "id_model": "0",
- "list_other_id_models": [ ],
- "id_customer_supplier": "28496",
- "id_customer_supplier_contact": "48560",
- "id_opportunity": "1985",
- "id_document": "0",
- "id_project": "435",
- "id_project_task": "486",
- "id_ticketing_ticket": "0",
- "id_product": "0",
- "id_equipment": "0",
- "id_user": "213",
- "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
{- "id": "349",
- "name": "Karlia",
- "legal_form": "SAS",
- "share_capital": "10000",
- "siret": "123 456 789 00016",
- "siren": "123 456 789",
- "ape": "5829C",
- "vat_number": "FR09 123 456 789",
- "email": "contact@example.com",
- "phone": "02 45 68 37 98",
- "fax": "",
- "address": {
- "address": "55 avenue Louis Breguet",
- "zip_code": "31400",
- "city": "Toulouse",
- "country": "France"
}, - "expiration_date": "2030-12-31",
- "creation_date": "2022-03-25 12:04:24",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
{- "status": "success",
- "data": [
- {
- "id": "213",
- "firstname": "Jean",
- "lastname": "Dupont",
- "title": "Jean Dupont",
- "email": "jean@dupont.fr",
- "external_number": "myuserId1"
}, - {
- "id": "214",
- "firstname": "Sandra",
- "lastname": "Nicouette",
- "title": "Sandra Nicouette",
- "email": "sandra@nicouette.fr",
- "external_number": ""
}
]
}
{- "status": "success",
- "data": [
- {
- "id": "u213",
- "title": "Jean Dupont"
}, - {
- "id": "u214",
- "title": "Sandra Nicouette"
}, - {
- "id": "g18",
- "title": "Business"
}, - {
- "id": "g19",
- "title": "Support"
}
]
}
{- "status": "success",
- "data": [
- {
- "id": "52",
- "title": "Commercial",
- "title_en": "Commercial",
- "title_es": "Comercial"
}, - {
- "id": "53",
- "title": "Support",
- "title_en": "Support",
- "title_es": "Soporte"
}, - {
- "id": "54",
- "title": "Design",
- "title_en": "Design",
- "title_es": "Diseño"
}
]
}
{- "status": "success",
- "data": [
- {
- "id": "1",
- "object": "customer",
- "event": "customer.created",
- "title": "Customer created"
}, - {
- "id": "2",
- "object": "customer",
- "event": "customer.updated",
- "title": "Customer updated"
}
]
}
Get an example response for differents objects.
object | string <url>
|
{- "id_company": "349",
- "object": "customer",
- "trigger": "customer.updated",
- "id": "28496",
- "update_date": "2022-06-27 12:30:24",
- "data": [
- {
- "id": "28496",
- "title": "Society X",
- "individual": "0",
- "prospect": "0",
- "id_client_manager": [
- "u213"
], - "phone": "+33512345678",
- "mobile": "07 98 76 54 32",
- "email": "contact@example.com",
- "langId": "1",
- "siret": "123 568 941 00056",
- "siren": "123 568 941",
- "legal_form": "SARL",
- "main_activity": "4616C",
- "vat_number": "FR 32 123456789",
- "id_parent": "0",
- "id_products_prices_category": "0",
- "id_payment_condition": "0",
- "id_vat": "-1",
- "description": "A description or note about this customer",
- "client_number": "123",
- "address_list": [
- {
- "id": "17894",
- "type": "main",
- "title": "",
- "address": "55 Av. Louis Breguet",
- "zip_code": "31400",
- "city": "Toulouse",
- "country": "France",
- "is_defaut": true
}, - {
- "id": "17895",
- "type": "delivery",
- "title": "My delivery address",
- "address": "1 place du Capitole",
- "zip_code": "31000",
- "city": "Toulouse",
- "country": "France",
- "is_defaut": false
}, - {
- "id": "17896",
- "type": "invoice",
- "title": "My invoice address",
- "address": "55 Rue du Faubourg Saint-Honoré",
- "zip_code": "75000",
- "city": "Paris",
- "country": "France",
- "is_defaut": false
}
], - "contacts_list": [
- {
- "id": "4700",
- "civility": "Mr",
- "lastname": "Dupont",
- "firstname": "Jean",
- "position_title": "CEO",
- "email": "jeandupont@example.com",
- "phone": "02 45 68 37 98",
- "mobile": "06 94 31 81 31",
- "description": "A description or note about this contact"
}
], - "custom_fields_list": [
- {
- "id": "3345",
- "title": "Source d'acquisition",
- "value": "5900",
- "value_text": "Facebook"
}
], - "opportunities_list": [
- {
- "id": "1947",
- "pipeline": "1924",
- "title": "Opportunity #1",
- "archived": "0"
}
], - "creation_date": "2022-03-25 12:04:24",
- "created_by": "213",
- "update_date": "2022-03-25 12:04:24",
- "updated_by": "213"
}
]
}