API Documentation

Download OpenAPI specification:Download

Introduction

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.

Quotas

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.

Customers

This section lists all customer-related APIs.

List

Get a list of all customers.

Authorizations:
Bearer token
query Parameters
quick_search
string <= 127 characters

Quick search field
If this field is filled in, the other search fields are not taken into account. The search is then performed in the entire customer database.

name
integer <= 127 characters

Search by name

prospect
integer

Search by status

0 = Client
1 = Prospect

individual
integer

Search by type

0 = Professional
1 = Individual

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

email
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

1 = French
2 = English
3 = Spanish

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

0 = Not archived
1 = Archived

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.
Each field must be separated by a comma without space.

order
string <= 64 characters

Name of the field to sort on

direction
string <= 4 characters

Direction for sorting

ASC = Ascending, from A to Z.
DESC = Descending, from Z to A.

limit
integer
Default: 100

Number of objects to be returned for paging

offset
integer
Default: 0

Offset for paging

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "pagination": {
    },
  • "data": [
    ]
}

Create

Create a customer.

Authorizations:
Bearer token
Request Body schema: application/json
name
required
string <= 127 characters

Name for professional customer or lastname for individual customer

individual
integer

Customer type

0 = Professional
1 = Individual

id_civility
integer

Customer civility - Only for individual customer

1 = Mr
2 = Ms

firstname
string <= 127 characters

Customer firstname - Only for individual customer

prospect
integer

Customer status

0 = Client
1 = Prospect

phone
string <= 30 characters

Customer phone number

mobile
string <= 30 characters

Customer mobile number

email
string <email> <= 127 characters

Customer email address

id_client_manager
string

Users with group Id associated with the customer
For users, email address can be used here

langId
integer

Customer language

1 = French
2 = English
3 = Spanish

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

0 = Not filled in

id_vat
integer

VAT Id

-1 = Not filled in

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

0 = Not archived
1 = Archived

Responses

Request samples

Content type
application/json
{
  • "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": [
    ],
  • "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
}

Response samples

Content type
application/json
{
  • "id": "28496",
  • "title": "Society X",
  • "individual": "0",
  • "prospect": "0",
  • "id_client_manager": [
    ],
  • "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": [
    ],
  • "contacts_list": [ ],
  • "custom_fields_list": [
    ],
  • "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": [
    ],
  • "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"
}

Show

Get one customer.

Authorizations:
Bearer token
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "id": "28496",
  • "title": "Society X",
  • "individual": "0",
  • "prospect": "0",
  • "id_client_manager": [
    ],
  • "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": [
    ],
  • "contacts_list": [
    ],
  • "custom_fields_list": [
    ],
  • "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": [
    ],
  • "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

Update a customer.

Authorizations:
Bearer token
path Parameters
id
required
integer
Request Body schema: application/json
name
string <= 127 characters

Name for professional customer or lastname for individual customer

individual
integer

Customer type

0 = Professional
1 = Individual

id_civility
integer

Customer civility - Only for individual customer

1 = Mr
2 = Ms

firstname
string <= 127 characters

Customer firstname - Only for individual customer

prospect
integer

Customer status

0 = Client
1 = Prospect

phone
string <= 30 characters

Customer phone number

mobile
string <= 30 characters

Customer mobile number

email
string <email> <= 127 characters

Customer email address

id_client_manager
string

Users with group Id associated with the customer
For users, email address can be used here

langId
integer

Customer language

1 = French
2 = English
3 = Spanish

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

0 = Not filled in

id_vat
integer

VAT Id

-1 = Not filled in

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

0 = Not archived
1 = Archived

Responses

Request samples

Content type
application/json
{
  • "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": [
    ],
  • "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
}

Response samples

Content type
application/json
{
  • "id": "28496",
  • "title": "Society X",
  • "individual": "0",
  • "prospect": "0",
  • "id_client_manager": [
    ],
  • "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": [
    ],
  • "contacts_list": [
    ],
  • "custom_fields_list": [
    ],
  • "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": [
    ],
  • "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"
}

Custom fields

Get a list of all customers custom fields.

Authorizations:
Bearer token

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "data": [
    ]
}

Custom field values

Get values of customers custom field.

Authorizations:
Bearer token
path Parameters
field_id
required
integer

Customer custom field Id

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "data": [
    ]
}

Add/Update custom field

Add or update a customer custom field.

Authorizations:
Bearer token
path Parameters
id
required
integer
field_id
required
integer

Customer custom field Id

Request Body schema: application/json
field_value
required

Responses

Request samples

Content type
application/json
{
  • "field_value": 5900
}

Response samples

Content type
application/json
{
  • "id": "28496",
  • "title": "Society X",
  • "individual": "0",
  • "prospect": "0",
  • "id_client_manager": [
    ],
  • "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": [
    ],
  • "contacts_list": [
    ],
  • "custom_fields_list": [
    ],
  • "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": [
    ],
  • "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"
}

Files - Create

Add a new file for a customer.

Authorizations:
Bearer token
path Parameters
id
required
integer
Request Body schema: application/json
upload_file_content
string

Content of the file to upload (base64)

upload_file_url
string

URL of the file to upload
Do not use URL with protected file which need to be connected to access to the file
Used only if upload_file_content is empty or not defined

upload_file_name
string

Name of the file

Responses

Request samples

Content type
application/json
{
  • "upload_file_content": "",
  • "upload_file_url": "",
  • "upload_file_name": ""
}

Response samples

Content type
application/json
{
  • "id": "28496",
  • "title": "Society X",
  • "individual": "0",
  • "prospect": "0",
  • "id_client_manager": [
    ],
  • "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": [
    ],
  • "contacts_list": [
    ],
  • "custom_fields_list": [
    ],
  • "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": [
    ],
  • "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"
}

Files - Delete

Delete a file for a customer.

Authorizations:
Bearer token
path Parameters
id
required
integer
file_id
required
integer

File Id

Responses

Response samples

Content type
application/json
null

Suppliers

This section lists all supplier-related APIs.

List

Get a list of all suppliers.

Authorizations:
Bearer token
query Parameters
quick_search
string <= 127 characters

Quick search field
If this field is filled in, the other search fields are not taken into account. The search is then performed in the entire supplier database.

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

email
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

1 = French
2 = English
3 = Spanish

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

0 = Not archived
1 = Archived

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.
Each field must be separated by a comma without space.

order
string <= 64 characters

Name of the field to sort on

direction
string <= 4 characters

Direction for sorting

ASC = Ascending, from A to Z.
DESC = Descending, from Z to A.

limit
integer
Default: 100

Number of objects to be returned for paging

offset
integer
Default: 0

Offset for paging

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "pagination": {
    },
  • "data": [
    ]
}

Create

Create a supplier.

Authorizations:
Bearer token
Request Body schema: application/json
name
required
string <= 127 characters

Supplier name

phone
string <= 30 characters

Supplier phone number

mobile
string <= 30 characters

Supplier mobile number

email
string <email> <= 127 characters

Supplier email address

id_client_manager
string

Users with group Id associated with the supplier
For users, email address can be used here

langId
integer

Supplier language

1 = French
2 = English
3 = Spanish

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

0 = Not filled in

id_vat
integer

VAT Id

-1 = Not filled in

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

0 = Not archived
1 = Archived

Responses

Request samples

Content type
application/json
{
  • "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": [
    ],
  • "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
}

Response samples

Content type
application/json
{
  • "id": "48560",
  • "title": "Society Y",
  • "id_client_manager": [
    ],
  • "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": [
    ],
  • "contacts_list": [ ],
  • "custom_fields_list": [
    ],
  • "files_list": [
    ],
  • "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"
}

Show

Get one supplier.

Authorizations:
Bearer token
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "id": "48560",
  • "title": "Society Y",
  • "id_client_manager": [
    ],
  • "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": [
    ],
  • "contacts_list": [
    ],
  • "custom_fields_list": [
    ],
  • "files_list": [
    ],
  • "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

Update a supplier.

Authorizations:
Bearer token
path Parameters
id
required
integer
Request Body schema: application/json
name
string <= 127 characters

Supplier name

phone
string <= 30 characters

Supplier phone number

mobile
string <= 30 characters

Supplier mobile number

email
string <email> <= 127 characters

Supplier email address

id_client_manager
string

Users with group Id associated with the supplier
For users, email address can be used here

langId
integer

Supplier language

1 = French
2 = English
3 = Spanish

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

0 = Not filled in

id_vat
integer

VAT Id

-1 = Not filled in

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

0 = Not archived
1 = Archived

Responses

Request samples

Content type
application/json
{
  • "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": [
    ],
  • "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
}

Response samples

Content type
application/json
{
  • "id": "48560",
  • "title": "Society Y",
  • "id_client_manager": [
    ],
  • "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": [
    ],
  • "contacts_list": [
    ],
  • "custom_fields_list": [
    ],
  • "files_list": [
    ],
  • "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"
}

Custom fields

Get a list of all suppliers custom fields.

Authorizations:
Bearer token

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "data": [
    ]
}

Custom field values

Get values of suppliers custom field.

Authorizations:
Bearer token
path Parameters
field_id
required
integer

Supplier custom field Id

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "data": [
    ]
}

Add/Update custom field

Add or update a supplier custom field.

Authorizations:
Bearer token
path Parameters
id
required
integer
field_id
required
integer

Supplier custom field Id

Request Body schema: application/json
field_value
required

Responses

Request samples

Content type
application/json
{
  • "field_value": 5911
}

Response samples

Content type
application/json
{
  • "id": "48560",
  • "title": "Society Y",
  • "id_client_manager": [
    ],
  • "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": [
    ],
  • "contacts_list": [
    ],
  • "custom_fields_list": [
    ],
  • "files_list": [
    ],
  • "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"
}

Files - Create

Add a new file for a supplier.

Authorizations:
Bearer token
path Parameters
id
required
integer
Request Body schema: application/json
upload_file_content
string

Content of the file to upload (base64)

upload_file_url
string

URL of the file to upload
Do not use URL with protected file which need to be connected to access to the file
Used only if upload_file_content is empty or not defined

upload_file_name
string

Name of the file

Responses

Request samples

Content type
application/json
{
  • "upload_file_content": "",
  • "upload_file_url": "",
  • "upload_file_name": ""
}

Response samples

Content type
application/json
{
  • "id": "48560",
  • "title": "Society Y",
  • "id_client_manager": [
    ],
  • "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": [
    ],
  • "contacts_list": [
    ],
  • "custom_fields_list": [
    ],
  • "files_list": [
    ],
  • "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"
}

Files - Delete

Delete a file for a supplier.

Authorizations:
Bearer token
path Parameters
id
required
integer
file_id
required
integer

File Id

Responses

Response samples

Content type
application/json
null

Contacts

This section lists all contact-related APIs.

List

Get a list of all contacts.

Authorizations:
Bearer token
query Parameters
quick_search
string <= 127 characters

Quick search field
If this field is filled in, the other search fields are not taken into account. The search is then performed in the entire customer database.

id_customer_supplier
integer <= 127 characters

Search by customer Id or supplier Id

id_civility
integer

Search by status

1 = Mr
2 = Ms

lastname
string <= 127 characters

Search by lastname

firstname
string <= 127 characters

Search by firstname

position_title
string <= 127 characters

Search by position title

email
string <email> <= 127 characters

Search by email

phone
string <= 30 characters

Search by phone number

mobile
string <= 30 characters

Search by mobile number

client_number
string <= 30 characters

Search by client number

fields
string

List of fields to be returned. By default, all fields are returned.
Each field must be separated by a comma without space.

order
string <= 64 characters

Name of the field to sort on

direction
string <= 4 characters

Direction for sorting

ASC = Ascending, from A to Z.
DESC = Descending, from Z to A.

limit
integer
Default: 100

Number of objects to be returned for paging

offset
integer
Default: 0

Offset for paging

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "pagination": {
    },
  • "data": [
    ]
}

Create

Create a contact.

Authorizations:
Bearer token
Request Body schema: application/json
id_customer_supplier
required
integer

Customer Id or supplier Id

id_civility
integer

Contact civility

1 = Mr
2 = Ms

lastname
required
string <= 127 characters

Contact lastname

firstname
string <= 127 characters

Contact firstname

position_title
string <= 127 characters

Contact position title

email
string <email> <= 127 characters

Contact email address

phone
string <= 30 characters

Contact phone number

mobile
string <= 30 characters

Contact mobile number

description
string <= 255 characters

Contact description

client_number
string <= 30 characters

Internal number

Array of objects

Custom fields

Responses

Request samples

Content type
application/json
{
  • "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",
  • "description": "A description or note about this contact",
  • "client_number": 123,
  • "custom_fields": [
    ]
}

Response samples

Content type
application/json
{
  • "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",
  • "description": "A description or note about this contact",
  • "client_number": "123",
  • "creation_source": "3",
  • "creation_source_title": "API",
  • "custom_fields_list": [
    ],
  • "client_portal": {
    },
  • "creation_date": "2022-03-25 12:04:24",
  • "created_by": "213",
  • "update_date": "2022-03-25 12:04:24",
  • "updated_by": "213"
}

Show

Get one contact.

Authorizations:
Bearer token
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "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",
  • "description": "A description or note about this contact",
  • "client_number": "123",
  • "creation_source": "3",
  • "creation_source_title": "API",
  • "custom_fields_list": [
    ],
  • "client_portal": {
    },
  • "creation_date": "2022-03-25 12:04:24",
  • "created_by": "213",
  • "update_date": "2022-03-25 12:04:24",
  • "updated_by": "213"
}

Update

Update a contact.

Authorizations:
Bearer token
path Parameters
id
required
integer
Request Body schema: application/json
id_customer_supplier
integer

Customer Id or supplier Id

id_civility
integer

Contact civility

1 = Mr
2 = Ms

lastname
string <= 127 characters

Contact lastname

firstname
string <= 127 characters

Contact firstname

position_title
string <= 127 characters

Contact position title

email
string <email> <= 127 characters

Contact email address

phone
string <= 30 characters

Contact phone number

mobile
string <= 30 characters

Contact mobile number

description
string <= 255 characters

Contact description

client_number
string <= 30 characters

Internal number

Array of objects

Custom fields

Responses

Request samples

Content type
application/json
{
  • "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",
  • "description": "A description or note about this contact",
  • "client_number": 123,
  • "custom_fields": [
    ]
}

Response samples

Content type
application/json
{
  • "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",
  • "description": "A description or note about this contact",
  • "client_number": "123",
  • "creation_source": "3",
  • "creation_source_title": "API",
  • "custom_fields_list": [
    ],
  • "client_portal": {
    },
  • "creation_date": "2022-03-25 12:04:24",
  • "created_by": "213",
  • "update_date": "2022-03-25 12:04:24",
  • "updated_by": "213"
}

Custom fields

Get a list of all contacts custom fields.

Authorizations:
Bearer token

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "data": [
    ]
}

Custom field values

Get values of contacts custom field.

Authorizations:
Bearer token
path Parameters
field_id
required
integer

Contact custom field Id

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "data": [
    ]
}

Add/Update custom field

Add or update a contact custom field.

Authorizations:
Bearer token
path Parameters
id
required
integer
field_id
required
integer

Contact custom field Id

Request Body schema: application/json
field_value
required

Responses

Request samples

Content type
application/json
{
  • "field_value": 5994
}

Response samples

Content type
application/json
{
  • "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",
  • "description": "A description or note about this contact",
  • "client_number": "123",
  • "creation_source": "3",
  • "creation_source_title": "API",
  • "custom_fields_list": [
    ],
  • "client_portal": {
    },
  • "creation_date": "2022-03-25 12:04:24",
  • "created_by": "213",
  • "update_date": "2022-03-25 12:04:24",
  • "updated_by": "213"
}

Opportunities

This section lists all opportunity-related APIS.

List

Get a list of all opportunities.

Authorizations:
Bearer token
query Parameters
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

0 = Active
1 = Archived

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.
Each field must be separated by a comma without space.

order
string <= 64 characters

Name of the field to sort on

direction
string <= 4 characters

Direction for sorting

ASC = Ascending, from A to Z.
DESC = Descending, from Z to A.

limit
integer
Default: 100

Number of objects to be returned for paging

offset
integer
Default: 0

Offset for paging

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "pagination": {
    },
  • "data": [
    ]
}

Create

Create an opportunity.

Authorizations:
Bearer token
Request Body schema: application/json
pipeline
required
integer
id_customer
required
integer
title
string <= 127 characters

Opportunity title

column_number
integer
id_user_assigned
string

User with group Id associated with the opportunity
For users, email address can be used here

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

Hexadecimal value

archived
integer

Opportunity status

0 = Active
1 = Archived

Array of objects

Custom fields

Responses

Request samples

Content type
application/json
{
  • "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": [
    ]
}

Response samples

Content type
application/json
{
  • "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": [
    ],
  • "id_user_assigned_text": [
    ],
  • "color": "#ff0000",
  • "archived": "0",
  • "custom_fields_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"
}

Show

Get one opportunity.

Authorizations:
Bearer token
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "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": [
    ],
  • "id_user_assigned_text": [
    ],
  • "color": "#ff0000",
  • "archived": "0",
  • "custom_fields_list": [
    ],
  • "proposals": [
    ],
  • "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

Update an opportunity.

Authorizations:
Bearer token
path Parameters
id
required
integer
Request Body schema: application/json
pipeline
integer
id_customer
integer
title
string <= 127 characters

Opportunity title

column_number
integer
id_user_assigned
string

User with group Id associated with the opportunity
For users, email address can be used here

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

Hexadecimal value

archived
integer

Opportunity status

0 = Active
1 = Archived

Array of objects

Custom fields

Responses

Request samples

Content type
application/json
{
  • "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": [
    ]
}

Response samples

Content type
application/json
{
  • "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": [
    ],
  • "id_user_assigned_text": [
    ],
  • "color": "#ff0000",
  • "archived": "0",
  • "custom_fields_list": [
    ],
  • "proposals": [
    ],
  • "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

Delete an opportunity.

Authorizations:
Bearer token
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
null

Custom fields

Get a list of all opportunities custom fields.

Authorizations:
Bearer token

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "data": [
    ]
}

Custom field values

Get values of opportunities custom field.

Authorizations:
Bearer token
path Parameters
field_id
required
integer

Opportunity custom field Id

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "data": [
    ]
}

Add/Update custom field

Add or update a opportunity custom field.

Authorizations:
Bearer token
path Parameters
id
required
integer
field_id
required
integer

Opportunity custom field Id

Request Body schema: application/json
field_value
required

Responses

Request samples

Content type
application/json
{
  • "field_value": 5995
}

Response samples

Content type
application/json
{
  • "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": [
    ],
  • "id_user_assigned_text": [
    ],
  • "color": "#ff0000",
  • "archived": "0",
  • "custom_fields_list": [
    ],
  • "proposals": [
    ],
  • "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"
}

Files - Create

Add a new file for an opportunity.

Authorizations:
Bearer token
path Parameters
id
required
integer
Request Body schema: application/json
id_proposal
integer

Id of the proposition in the opportunity

0 = add this file in the last proposal
More than 0 = Id of the proposal to add this file
-1 or no proposal in this opportunity = create a new proposal to add this file

upload_file_content
string

Content of the file to upload (base64)

upload_file_url
string

URL of the file to upload
Do not use URL with protected file which need to be connected to access to the file
Used only if upload_file_content is empty or not defined

upload_file_name
string

Name of the file

Responses

Request samples

Content type
application/json
{
  • "id_proposal": "0",
  • "upload_file_content": "",
  • "upload_file_url": "",
  • "upload_file_name": ""
}

Response samples

Content type
application/json
{
  • "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": [
    ],
  • "id_user_assigned_text": [
    ],
  • "color": "#ff0000",
  • "archived": "0",
  • "custom_fields_list": [
    ],
  • "proposals": [
    ],
  • "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"
}

Files - Delete

Delete a file for an opportunity.

Authorizations:
Bearer token
path Parameters
id
required
integer
file_id
required
integer

File Id

Responses

Response samples

Content type
application/json
null

Pipelines

Get a list of all opportunities pipelines.

Authorizations:
Bearer token

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "data": [
    ]
}

Pipelines columns

Get opportunities pipeline columns.

Authorizations:
Bearer token
path Parameters
pipeline_id
required
integer

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "data": [
    ]
}

Status

Get a list of all status.

Authorizations:
Bearer token

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "data": [
    ]
}

Status lost

Get a list of all lost statuses.

Authorizations:
Bearer token

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "data": [
    ]
}

Status canceled

Get a list of all canceled statuses.

Authorizations:
Bearer token

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "data": [
    ]
}

Documents

This section lists all documents-related APIS.

List

Get a list of all documents.

Authorizations:
Bearer token
query Parameters
from
string <date-time>

Search by document date

to
string <date-time>

Search by expiration date

type
integer

Document type

1 => Quotes
2 => Orders
3 => Deliveries
4 => Invoices

status_not_draft
integer

List all the documents not in draft status

No expected value, do not use this field if you don't want to list documents not in draft status

id_status
Array of arrays

Search by status

This field can be used only if status_not_draft is not used

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
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.
Each field must be separated by a comma without space.

order
string <= 64 characters

Name of the field to sort on

direction
string <= 4 characters

Direction for sorting

ASC = Ascending, from A to Z.
DESC = Descending, from Z to A.

limit
integer
Default: 100

Number of objects to be returned for paging

offset
integer
Default: 0

Offset for paging

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "pagination": {
    },
  • "data": [
    ]
}

Create

Create a document.

Authorizations:
Bearer token
Request Body schema: application/json
id_type
integer

Document type Id

1 = Quote
2 = Order note
3 = Delivery note
4 = Invoice

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

Quote
0 = Draft
1 = Pending
2 = Accepted
3 = Refused
4 = Sent

Order note
0 = Draft
1 = Pending
2 = Accepted
3 = Refused
4 = Sent

Delivery note
0 = Draft
1 = Pending
2 = En préparation
3 = Expédié
4 = Livré

Invoice
0 = Draft
1 = Pending
1 = Accepted
2 = Sent
4 = Paid (partially paid is not available)

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
By defaut, the value of the customer profile, or without, that of the company profile

customer_reference
string

Customer reference

description
string

Document description

use_stripe_to_pay
integer

Stripe use

0 = Inactive
1 = Usable

id_document_template
integer

Document template Id
By defaut, the value of the customer profile

Array of Product (object) or Section (object)

Articles list

Responses

Request samples

Content type
application/json
{
  • "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": [
    ]
}

Response samples

Content type
application/json
{
  • "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": [
    ],
  • "creation_date": "2022-03-25 12:04:24",
  • "created_by": "213",
  • "update_date": "2022-03-25 12:04:24",
  • "updated_by": "213"
}

Show

Get one document.

Authorizations:
Bearer token
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "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": [
    ],
  • "creation_date": "2022-03-25 12:04:24",
  • "created_by": "213",
  • "update_date": "2022-03-25 12:04:24",
  • "updated_by": "213"
}

Update

Update a document.

Authorizations:
Bearer token
path Parameters
id
required
integer
Request Body schema: application/json
id_status
integer

Status Id

Quote
0 = Draft
1 = Pending
2 = Accepted
3 = Refused
4 = Sent

Order note
0 = Draft
1 = Pending
2 = Accepted
3 = Refused
4 = Sent

Delivery note
0 = Draft
1 = Pending
2 = En préparation
3 = Expédié
4 = Livré

Invoice
0 = Draft
1 = Pending
1 = Accepted
2 = Sent
4 = Paid (partially paid is not available)

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
By defaut, the value of the customer profile, or without, that of the company profile

customer_reference
string

Customer reference

description
string

Document description

use_stripe_to_pay
integer

Stripe use

0 = Inactive
1 = Usable

id_document_template
integer

Document template Id
By defaut, the value of the customer profile

Array of Product (object) or Section (object)

Articles list

Responses

Request samples

Content type
application/json
{
  • "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": [
    ]
}

Response samples

Content type
application/json
{
  • "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": [
    ],
  • "creation_date": "2022-03-25 12:04:24",
  • "created_by": "213",
  • "update_date": "2022-03-25 12:04:24",
  • "updated_by": "213"
}

Update status

Update the status of the document.

Authorizations:
Bearer token
path Parameters
id
required
integer
Request Body schema: application/json
id_status
integer

Status Id

Quote
0 = Draft
1 = Pending
2 = Accepted
3 = Refused
4 = Sent

Order note
0 = Draft
1 = Pending
2 = Accepted
3 = Refused
4 = Sent

Delivery note
0 = Draft
1 = Pending
2 = En préparation
3 = Expédié
4 = Livré

Invoice
0 = Draft
1 = Pending
1 = Accepted
2 = Sent
4 = Paid (partially paid is not available)

Responses

Request samples

Content type
application/json
{
  • "id_status": 0
}

Response samples

Content type
application/json
{
  • "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": [
    ],
  • "creation_date": "2022-03-25 12:04:24",
  • "created_by": "213",
  • "update_date": "2022-03-25 12:04:24",
  • "updated_by": "213"
}

Templates

Get a list of all documents templates.

Authorizations:
Bearer token

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "data": [
    ]
}

Products

This section lists all product-related APIS.

List

Get a list of all products.

Authorizations:
Bearer token
query Parameters
fields
string

List of fields to be returned. By default, all fields are returned.
Each field must be separated by a comma without space.

order
string <= 64 characters

Name of the field to sort on

direction
string <= 4 characters

Direction for sorting

ASC = Ascending, from A to Z.
DESC = Descending, from Z to A.

limit
integer
Default: 100

Number of objects to be returned for paging

offset
integer
Default: 0

Offset for paging

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "pagination": {
    },
  • "data": [
    ]
}

Create

Create a product.

Authorizations:
Bearer token
Request Body schema: application/json
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

Responses

Request samples

Content type
application/json
{
  • "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": [
    ]
}

Response samples

Content type
application/json
{
  • "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": [
    ],
  • "linked_to_compound_product": "0",
  • "sold_only_in_compound_product": "0",
  • "custom_fields_list": [
    ],
  • "creation_date": "2022-03-25 12:04:24",
  • "created_by": "213",
  • "update_date": "2022-03-25 12:04:24",
  • "updated_by": "213"
}

Show

Get one product.

Authorizations:
Bearer token
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "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": [
    ],
  • "linked_to_compound_product": "0",
  • "sold_only_in_compound_product": "0",
  • "custom_fields_list": [
    ],
  • "creation_date": "2022-03-25 12:04:24",
  • "created_by": "213",
  • "update_date": "2022-03-25 12:04:24",
  • "updated_by": "213"
}

Update

Update a product.

Authorizations:
Bearer token
path Parameters
id
required
integer
Request Body schema: application/json
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

Responses

Request samples

Content type
application/json
{
  • "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": [
    ]
}

Response samples

Content type
application/json
{
  • "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": [
    ],
  • "linked_to_compound_product": "0",
  • "sold_only_in_compound_product": "0",
  • "custom_fields_list": [
    ],
  • "creation_date": "2022-03-25 12:04:24",
  • "created_by": "213",
  • "update_date": "2022-03-25 12:04:24",
  • "updated_by": "213"
}

Delete

Delete a product.

Authorizations:
Bearer token
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
null

Custom fields

Get a list of all products custom fields.

Authorizations:
Bearer token

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "data": [
    ]
}

Custom field values

Get values of products custom field.

Authorizations:
Bearer token
path Parameters
field_id
required
integer

Product custom field Id

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "data": [
    ]
}

Add/Update custom field

Add or update a product custom field.

Authorizations:
Bearer token
path Parameters
id
required
integer
field_id
required
integer

Products custom field Id

Request Body schema: application/json
field_value
required

Responses

Request samples

Content type
application/json
{
  • "field_value": 6019
}

Response samples

Content type
application/json
{
  • "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": [
    ],
  • "linked_to_compound_product": "0",
  • "sold_only_in_compound_product": "0",
  • "custom_fields_list": [
    ],
  • "creation_date": "2022-03-25 12:04:24",
  • "created_by": "213",
  • "update_date": "2022-03-25 12:04:24",
  • "updated_by": "213"
}

Cost price

Get the unit purchase cost of a product.

Authorizations:
Bearer token
path Parameters
id
required
integer
query Parameters
quantity
number <float>

Quantity

Responses

Response samples

Content type
application/json
{
  • "quantity": "1",
  • "price_without_tax": "20",
  • "discount_percent": "0"
}

Sell price

Get the unit sell cost of a product.

Authorizations:
Bearer token
path Parameters
id
required
integer
query Parameters
quantity
number <float>

Quantity

id_products_prices_category
integer

Responses

Response samples

Content type
application/json
{
  • "quantity": "1",
  • "price_without_tax": "50.000000",
  • "discount_percent": "0"
}

Stock follow

Get the stock follow of a product.

Authorizations:
Bearer token
path Parameters
id
required
integer
query Parameters
from
string <date-time>

Search by start date

to
string <date-time>

Search by end date

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "pagination": {
    },
  • "data": [
    ]
}

List sells prices categories

Get a list of all sells prices categories of products.

Authorizations:
Bearer token
query Parameters
fields
string

List of fields to be returned. By default, all fields are returned.
Each field must be separated by a comma without space.

order
string <= 64 characters

Name of the field to sort on

direction
string <= 4 characters

Direction for sorting

ASC = Ascending, from A to Z.
DESC = Descending, from Z to A.

limit
integer
Default: 100

Number of objects to be returned for paging

offset
integer
Default: 0

Offset for paging

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "pagination": {
    },
  • "data": [
    ]
}

List categories

Get a list of all categories.

Authorizations:
Bearer token
query Parameters
fields
string

List of fields to be returned. By default, all fields are returned.
Each field must be separated by a comma without space.

order
string <= 64 characters

Name of the field to sort on

direction
string <= 4 characters

Direction for sorting

ASC = Ascending, from A to Z.
DESC = Descending, from Z to A.

limit
integer
Default: 100

Number of objects to be returned for paging

offset
integer
Default: 0

Offset for paging

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "pagination": {
    },
  • "data": [
    ]
}

Create category

Create a product category

Authorizations:
Bearer token
Request Body schema: application/json
title
required
string <= 127 characters

Product category title

Responses

Request samples

Content type
application/json
{
  • "title": "Category #1"
}

Response samples

Content type
application/json
{
  • "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"
}

Show category

Get one product category.

Authorizations:
Bearer token
path Parameters
category_id
required
integer

Responses

Response samples

Content type
application/json
{
  • "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 category

Update a product category.

Authorizations:
Bearer token
path Parameters
category_id
required
integer
Request Body schema: application/json
title
string <= 127 characters

Product category title

Responses

Request samples

Content type
application/json
{
  • "title": "Category #1"
}

Response samples

Content type
application/json
{
  • "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"
}

List inventories

Get inventories list.

Authorizations:
Bearer token
query Parameters
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.
Each field must be separated by a comma without space.

order
string <= 64 characters

Name of the field to sort on

direction
string <= 4 characters

Direction for sorting

ASC = Ascending, from A to Z.
DESC = Descending, from Z to A.

limit
integer
Default: 100

Number of objects to be returned for paging

offset
integer
Default: 0

Offset for paging

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "pagination": {
    },
  • "data": [
    ]
}

VAT

Get a list of all 'Value Added Tax'.

Authorizations:
Bearer token

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "data": [
    ]
}

Units

Get a list of all units.

Authorizations:
Bearer token

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "data": [
    ]
}

Equipments

This section lists all product-related APIS.

List

Get a list of all equipments.

Authorizations:
Bearer token
query Parameters
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.
Each field must be separated by a comma without space.

order
string <= 64 characters

Name of the field to sort on

direction
string <= 4 characters

Direction for sorting

ASC = Ascending, from A to Z.
DESC = Descending, from Z to A.

limit
integer
Default: 100

Number of objects to be returned for paging

offset
integer
Default: 0

Offset for paging

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "pagination": {
    },
  • "data": [
    ]
}

Create

Create an equipment.

Authorizations:
Bearer token
Request Body schema: application/json
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
Array of objects

Custom fields

Responses

Request samples

Content type
application/json
{
  • "title": "Equipment #1",
  • "reference": "Ref_equipment_1",
  • "description": "A description or note about this equipment",
  • "serial_number": "SN1234",
  • "id_customer_supplier": 28496,
  • "custom_fields": [
    ]
}

Response samples

Content type
application/json
{
  • "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": [
    ],
  • "creation_date": "2022-07-20 12:38:28",
  • "created_by": "213",
  • "update_date": "2022-07-20 12:38:28",
  • "updated_by": "213"
}

Show

Get one equipment.

Authorizations:
Bearer token
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "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": [
    ],
  • "creation_date": "2022-07-20 12:38:28",
  • "created_by": "213",
  • "update_date": "2022-07-20 12:38:28",
  • "updated_by": "213"
}

Update

Update an equipment.

Authorizations:
Bearer token
path Parameters
id
required
integer
Request Body schema: application/json
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
Array of objects

Custom fields

Responses

Request samples

Content type
application/json
{
  • "title": "Equipment #1",
  • "reference": "Ref_equipment_1",
  • "description": "A description or note about this equipment",
  • "serial_number": "SN1234",
  • "id_customer_supplier": 28496,
  • "custom_fields": [
    ]
}

Response samples

Content type
application/json
{
  • "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": [
    ],
  • "creation_date": "2022-07-20 12:38:28",
  • "created_by": "213",
  • "update_date": "2022-07-20 12:38:28",
  • "updated_by": "213"
}

Delete

Delete an equipment.

Authorizations:
Bearer token
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
null

Custom fields

Get a list of all equipments custom fields.

Authorizations:
Bearer token

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "data": [
    ]
}

Custom field values

Get values of equipments custom field.

Authorizations:
Bearer token
path Parameters
field_id
required
integer

Equipment custom field Id

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "data": [
    ]
}

Add/Update custom field

Add or update an equipment custom field.

Authorizations:
Bearer token
path Parameters
id
required
integer
field_id
required
integer

Equipment custom field Id

Request Body schema: application/json
field_value
required

Responses

Request samples

Content type
application/json
{
  • "field_value": 6338
}

Response samples

Content type
application/json
{
  • "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": [
    ],
  • "creation_date": "2022-07-20 12:38:28",
  • "created_by": "213",
  • "update_date": "2022-07-20 12:38:28",
  • "updated_by": "213"
}

Purchases

This section lists all purchases-related APIS.

List

Get a list of all purchases.

Authorizations:
Bearer token
query Parameters
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

No expected value, do not use this field if you don't want to list purchases not in draft status

include_deleted
integer

Include all deleted purchases (only last 30 days deleted purchases are available)

No expected value, do not use this field if you don't want to list purchases deleted

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.
Each field must be separated by a comma without space.

order
string <= 64 characters

Name of the field to sort on

direction
string <= 4 characters

Direction for sorting

ASC = Ascending, from A to Z.
DESC = Descending, from Z to A.

limit
integer
Default: 100

Number of objects to be returned for paging

offset
integer
Default: 0

Offset for paging

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "pagination": {
    },
  • "data": [
    ]
}

Create

Create a purchase.

Authorizations:
Bearer token
Request Body schema: application/json
id_supplier
integer
id_status
integer

Purchase status Id

0 = Draft
1 = Pending
3 = Paid

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
upload_file_content
string

Content of the file to upload (base64)

upload_file_url
string

URL of the file to upload
Do not use URL with protected file which need to be connected to access to the file
Used only if upload_file_content is empty or not defined

upload_file_name
string

Name of the file

Responses

Request samples

Content type
application/json
{
  • "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": ""
}

Response samples

Content type
application/json
{
  • "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": [
    ],
  • "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"
}

Show

Get one purchase.

Authorizations:
Bearer token
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "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": [
    ],
  • "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

Update a purchase.

Authorizations:
Bearer token
path Parameters
id
required
integer
Request Body schema: application/json
id_supplier
integer
id_status
integer

Purchase status

0 = Draft
1 = Pending
3 = Paid

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
upload_file_content
string

Content of the file to upload (base64)
If file has already been uploaded, it won't be replaced

upload_file_url
string

URL of the file to upload
Do not use URL with protected file which need to be connected to access to the file
Used only if upload_file_content is empty or not defined
If file has already been uploaded, it won't be replaced

upload_file_name
string

Name of the file

Responses

Request samples

Content type
application/json
{
  • "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": ""
}

Response samples

Content type
application/json
{
  • "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": [
    ],
  • "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"
}

Chart of accounts

Get a list of all chart of accounts.

Authorizations:
Bearer token

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "data": [
    ]
}

Families of chart of accounts

Get a list of all families of chart of accounts .

Authorizations:
Bearer token

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "data": [
    ]
}

Suppliers Documents

This section lists all suppliers documents-related APIS.

List

Get a list of all suppliers documents.

Authorizations:
Bearer token
query Parameters
type
integer

Document type

2 => Orders
3 => Deliveries
4 => Invoices

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

No expected value, do not use this field if you don't want to list documents not in draft status

include_deleted
integer

Include all deleted documents (only last 30 days deleted purchases are available)

No expected value, do not use this field if you don't want to list documents deleted

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.
Each field must be separated by a comma without space.

order
string <= 64 characters

Name of the field to sort on

direction
string <= 4 characters

Direction for sorting

ASC = Ascending, from A to Z.
DESC = Descending, from Z to A.

limit
integer
Default: 100

Number of objects to be returned for paging

offset
integer
Default: 0

Offset for paging

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "pagination": {
    },
  • "data": [
    ]
}

Show

Get one supplier document.

Authorizations:
Bearer token
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "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": [
    ],
  • "creation_date": "2022-03-25 12:04:24",
  • "created_by": "213",
  • "update_date": "2022-03-25 12:04:24",
  • "updated_by": "213"
}

Events

This section lists all event-related APIS.

List

Get a list of all events.

Authorizations:
Bearer token
query Parameters
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
integer

Search by customer Id or supplier Id

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

0 = No
1 = Yes

visible_in_agenda
integer

Search by visibility

0 = No
1 = Yes

synchronized
integer

Search by synchronization

0 = No
1 = Yes

use_time
integer

Search by event used for time

0 = No
1 = Yes

time_id_type
integer

Search by time type Id

time_billable
integer

Search by time billable

0 = No
1 = Billable
2 = Billed

fields
string

List of fields to be returned. By default, all fields are returned.
Each field must be separated by a comma without space.

order
string <= 64 characters

Name of the field to sort on

direction
string <= 4 characters

Direction for sorting

ASC = Ascending, from A to Z.
DESC = Descending, from Z to A.

limit
integer
Default: 100

Number of objects to be returned for paging

offset
integer
Default: 0

Offset for paging

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "pagination": {
    },
  • "data": [
    ]
}

Create

Create an event.

Authorizations:
Bearer token
Request Body schema: application/json
id_user_assigned
required
string

User Id associated with the event
Email address can be used here

id_customer_supplier
integer

Customer Id or supplier Id

id_opportunity
integer
id_event_type
integer

Event type Id

id_project
integer
id_project_task
integer
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

0 = No
1 = Yes

visible_in_agenda
integer

Visibility in the agenda

0 = No
1 = Yes

use_time
integer

Event used for time

0 = No
1 = Yes

time_id_type
integer
time_billable
integer

Billable time

0 = No
1 = Billable

Responses

Request samples

Content type
application/json
{
  • "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
}

Response samples

Content type
application/json
{
  • "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"
}

Show

Get one event.

Authorizations:
Bearer token
path Parameters
id
required
integer

Event Id

Responses

Response samples

Content type
application/json
{
  • "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

Update an event.

Authorizations:
Bearer token
path Parameters
id
required
integer

Event Id

Request Body schema: application/json
id_user_assigned
string

User Id associated with the event
Email address can be used here

id_customer_supplier
integer

Customer Id or supplier Id

id_opportunity
integer
id_event_type
integer

Event type Id

id_project
integer
id_project_task
integer
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

0 = No
1 = Yes

visible_in_agenda
integer

Visibility in the agenda

0 = No
1 = Yes

use_time
integer

Event used for time

0 = No
1 = Yes

time_id_type
integer
time_billable
integer

Billable time

0 = No
1 = Billable

Responses

Request samples

Content type
application/json
{
  • "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
}

Response samples

Content type
application/json
{
  • "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

Delete an event.

Authorizations:
Bearer token
path Parameters
id
required
integer

Event Id

Responses

Response samples

Content type
application/json
null

Types

Get a list of all events types.

Authorizations:
Bearer token

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "data": [
    ]
}

Notes

This section lists all note-related APIS.

List

Get a list of all notes.

Authorizations:
Bearer token
query Parameters
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
integer

Search by customer Id or supplier Id

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.
Each field must be separated by a comma without space.

order
string <= 64 characters

Name of the field to sort on

direction
string <= 4 characters

Direction for sorting

ASC = Ascending, from A to Z.
DESC = Descending, from Z to A.

limit
integer
Default: 100

Number of objects to be returned for paging

offset
integer
Default: 0

Offset for paging

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "pagination": {
    },
  • "data": [
    ]
}

Create

Create a note.

Authorizations:
Bearer token
Request Body schema: application/json
id_user_assigned
required
string

User Id associated with the note
Email address can be used here

id_customer_supplier
integer

Customer Id or supplier Id

id_opportunity
integer
id_project
integer
id_project_task
integer
id_ticketing_ticket
integer

Ticket Id

date
string <date-time>

Start date

title
string <= 255 characters

Note title

description
string

Note descritpion

Responses

Request samples

Content type
application/json
{
  • "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"
}

Response samples

Content type
application/json
{
  • "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"
}

Show

Get one note.

Authorizations:
Bearer token
path Parameters
id
required
integer

Note Id

Responses

Response samples

Content type
application/json
{
  • "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

Update a note.

Authorizations:
Bearer token
path Parameters
id
required
integer

Note Id

Request Body schema: application/json
id_user_assigned
string

User Id associated with the note
Email address can be used here

id_customer_supplier
integer

Customer Id or supplier Id

id_opportunity
integer
id_project
integer
id_project_task
integer
id_ticketing_ticket
integer

Ticket Id

date
string <date-time>

Start date

title
string <= 255 characters

Note title

description
string

Note descritpion

Responses

Request samples

Content type
application/json
{
  • "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"
}

Response samples

Content type
application/json
{
  • "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"
}

Delete

Delete a note.

Authorizations:
Bearer token
path Parameters
id
required
integer

Note Id

Responses

Response samples

Content type
application/json
null

Tasks

This section lists all task-related APIS.

List

Get a list of all tasks.

Authorizations:
Bearer token
query Parameters
id_user_assigned
required
integer

User Id associated with the task

status
integer

Search by task status

0 = Open
1 = Close

from
string <date-time>

Search by start date

to
string <date-time>

Search by end date

id_customer_supplier
integer

Search by customer Id or supplier Id

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

0 = No
1 = Yes

visible_in_agenda
integer

Search by visibility

0 = No
1 = Yes

synchronized
integer

Search by synchronization

0 = No
1 = Yes

use_time
integer

Search by task used for time

0 = No
1 = Yes

time_id_type
integer

Search by time type Id

time_billable
integer

Search by time billable

0 = No
1 = Billable
2 = Billed

fields
string

List of fields to be returned. By default, all fields are returned.
Each field must be separated by a comma without space.

order
string <= 64 characters

Name of the field to sort on

direction
string <= 4 characters

Direction for sorting

ASC = Ascending, from A to Z.
DESC = Descending, from Z to A.

limit
integer
Default: 100

Number of objects to be returned for paging

offset
integer
Default: 0

Offset for paging

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "pagination": {
    },
  • "data": [
    ]
}

Create

Create a task.

Authorizations:
Bearer token
Request Body schema: application/json
id_user_assigned
required
string

User Id associated with the task
Email address can be used here

status
integer

Task status

0 = Open
1 = Close

id_customer_supplier
integer

Customer Id or supplier Id

id_opportunity
integer
id_event_type
integer
id_project
integer
id_project_task
integer
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

0 = No
1 = Yes

visible_in_agenda
integer

Visibility in the agenda

0 = No
1 = Yes

use_time
integer

Task used for time

0 = No
1 = Yes

time_id_type
integer
time_billable
integer

Billable time

0 = No
1 = Billable

Responses

Request samples

Content type
application/json
{
  • "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
}

Response samples

Content type
application/json
{
  • "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"
}

Show

Get one task.

Authorizations:
Bearer token
path Parameters
id
required
integer

Task Id

Responses

Response samples

Content type
application/json
{
  • "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

Update a task.

Authorizations:
Bearer token
path Parameters
id
required
integer

Task Id

Request Body schema: application/json
id_user_assigned
string

User Id associated with the task
Email address can be used here

status
integer

Task status

0 = Open
1 = Close

id_customer_supplier
integer

Customer Id or supplier Id

id_opportunity
integer
id_event_type
integer
id_project
integer
id_project_task
integer
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

0 = No
1 = Yes

visible_in_agenda
integer

Visibility in the agenda

0 = No
1 = Yes

use_time
integer

Task used for time

0 = No
1 = Yes

time_id_type
integer
time_billable
integer

Billable time

0 = No
1 = Billable

Responses

Request samples

Content type
application/json
{
  • "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
}

Response samples

Content type
application/json
{
  • "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"
}

Delete

Delete a task.

Authorizations:
Bearer token
path Parameters
id
required
integer

Task Id

Responses

Response samples

Content type
application/json
null

Types

Get a list of all tasks types.

Authorizations:
Bearer token

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "data": [
    ]
}

Calls

This section lists all call-related APIS.

List

Get a list of all calls.

Authorizations:
Bearer token
query Parameters
from
string <date-time>

Search by start date

to
string <date-time>

Search by end date

call_system
integer

Call system

0 = Karlia
1 = Ringover
2 = Aircall

id_user_assigned
integer

User Id associated with the call

id_customer_supplier
integer

Search by customer Id or supplier Id

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.
Each field must be separated by a comma without space.

order
string <= 64 characters

Name of the field to sort on

direction
string <= 4 characters

Direction for sorting

ASC = Ascending, from A to Z.
DESC = Descending, from Z to A.

limit
integer
Default: 100

Number of objects to be returned for paging

offset
integer
Default: 0

Offset for paging

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "pagination": {
    },
  • "data": [
    ]
}

Create

Create a call.

Authorizations:
Bearer token
Request Body schema: application/json
id_user_assigned
string

User Id associated with the call
Email address can be used here

id_customer_supplier
integer

Customer Id or supplier Id

id_customer_supplier_contact
integer
id_opportunity
integer
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

Responses

Request samples

Content type
application/json
{
  • "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"
}

Response samples

Content type
application/json
{
  • "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"
}

Show

Get one call.

Authorizations:
Bearer token
path Parameters
id
required
integer

Call Id

Responses

Response samples

Content type
application/json
{
  • "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

Update a call.

Authorizations:
Bearer token
path Parameters
id
required
integer

Call Id

Request Body schema: application/json
id_user_assigned
string

User Id associated with the call
Email address can be used here

id_customer_supplier
integer

Customer Id or supplier Id

id_customer_supplier_contact
integer
id_opportunity
integer
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

Responses

Request samples

Content type
application/json
{
  • "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"
}

Response samples

Content type
application/json
{
  • "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"
}

Delete

Delete a call.

Authorizations:
Bearer token
path Parameters
id
required
integer

Call Id

Responses

Response samples

Content type
application/json
null

Types

Get a list of all calls types.

Authorizations:
Bearer token

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "data": [
    ]
}

Follows

Get a list of all calls follows.

Authorizations:
Bearer token

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "data": [
    ]
}

Times

This section lists all time-related APIS.

List

Get a list of all times.

Authorizations:
Bearer token
query Parameters
id_user
integer

User Id

id_project
integer

Search by project Id

id_project_task
integer

Search by project task Id

id_customer_supplier
integer

Search by customer Id or supplier Id

id_type
integer

Search by time type Id

billable
integer

Search by time billable

0 = No
1 = Billable
2 = Billed

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.
Each field must be separated by a comma without space.

order
string <= 64 characters

Name of the field to sort on

direction
string <= 4 characters

Direction for sorting

ASC = Ascending, from A to Z.
DESC = Descending, from Z to A.

limit
integer
Default: 100

Number of objects to be returned for paging

offset
integer
Default: 0

Offset for paging

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "pagination": {
    },
  • "data": [
    ]
}

Create

Create a time.

Authorizations:
Bearer token
Request Body schema: application/json
id_user
required
string

User Id
Email address can be used here

id_project
integer
id_project_task
integer
id_project_task_subtask
integer
id_customer_supplier
integer

Customer Id or supplier Id

id_opportunity
integer
id_ticketing_ticket
integer

Ticket Id

id_type
integer
billable
integer

Billable time

0 = No
1 = Billable
2 = Billed

time_date
string <date-time>

Time date

time_done
string

Time done

time_planified
string

Time planned

description
string

Time descritpion

Responses

Request samples

Content type
application/json
{
  • "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"
}

Response samples

Content type
application/json
{
  • "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"
}

Show

Get one time.

Authorizations:
Bearer token
path Parameters
id
required
integer

Time Id

Responses

Response samples

Content type
application/json
{
  • "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

Update a time.

Authorizations:
Bearer token
path Parameters
id
required
integer

Time Id

Request Body schema: application/json
id_user
string

User Id
Email address can be used here

id_project
integer
id_project_task
integer
id_project_task_subtask
integer
id_customer_supplier
integer

Customer Id or supplier Id

id_opportunity
integer
id_ticketing_ticket
integer

Ticket Id

id_type
integer
billable
integer

Billable time

0 = No
1 = Billable
2 = Billed

time_date
string <date-time>

Time date

time_done
string

Time done

time_planified
string

Time planned

description
string

Time descritpion

Responses

Request samples

Content type
application/json
{
  • "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"
}

Response samples

Content type
application/json
{
  • "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"
}

Delete

Delete a time.

Authorizations:
Bearer token
path Parameters
id
required
integer

Time Id

Responses

Response samples

Content type
application/json
null

Types

Get a list of all times types.

Authorizations:
Bearer token

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "data": [
    ]
}

Projects

This section lists all project-related APIS.

List

Get a list of all projects.

Authorizations:
Bearer token
query Parameters
title
string

Search by project title

id_customer_supplier
integer

Search by customer Id or supplier Id

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

0 = Active
1 = Archived

fields
string

List of fields to be returned. By default, all fields are returned.
Each field must be separated by a comma without space.

order
string <= 64 characters

Name of the field to sort on

direction
string <= 4 characters

Direction for sorting

ASC = Ascending, from A to Z.
DESC = Descending, from Z to A.

limit
integer
Default: 100

Number of objects to be returned for paging

offset
integer
Default: 0

Offset for paging

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "pagination": {
    },
  • "data": [
    ]
}

Create

Create a project.

Authorizations:
Bearer token
Request Body schema: application/json
title
required
string

Project title

columns
Array of strings[ items >= 2 ]

List of columns

id_customer_supplier
integer

Customer Id or supplier Id

id_opportunity
integer
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
Email address can be used here
Project manager

create_access_all_users
integer

Create access to this project for all the users

0 = No (default)
1 = Yes

archived
integer

Project condition

0 = Active
1 = Archived

Responses

Request samples

Content type
application/json
{
  • "title": "Project #1",
  • "columns": [
    ],
  • "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
}

Response samples

Content type
application/json
{
  • "id": "435",
  • "title": "Project #1",
  • "columns": [
    ],
  • "id_customer_supplier": "28496",
  • "id_opportunity": "1985",
  • "starting_date": "2022-03-15 19:45:00",
  • "due_date": null,
  • "id_status": "1",
  • "id_user_assigned": [
    ],
  • "archived": "0",
  • "access_list": [
    ],
  • "creation_date": "2022-03-25 12:04:24",
  • "created_by": "213",
  • "update_date": "2022-03-25 12:04:24",
  • "updated_by": "213"
}

Show

Get one project.

Authorizations:
Bearer token
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "id": "435",
  • "title": "Project #1",
  • "columns": [
    ],
  • "id_customer_supplier": "28496",
  • "id_opportunity": "1985",
  • "starting_date": "2022-03-15 19:45:00",
  • "due_date": null,
  • "id_status": "1",
  • "id_user_assigned": [
    ],
  • "access_list": [
    ],
  • "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

Update a project.

Authorizations:
Bearer token
path Parameters
id
required
integer
Request Body schema: application/json
title
string

Project title

columns
Array of strings[ items >= 2 ]

List of columns

id_customer_supplier
integer

Customer Id or supplier Id

id_opportunity
integer
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
Email address can be used here
Project manager

archived
integer

Project condition

0 = Active
1 = Archived

Responses

Request samples

Content type
application/json
{
  • "title": "Project #1",
  • "columns": [
    ],
  • "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
}

Response samples

Content type
application/json
{
  • "id": "435",
  • "title": "Project #1",
  • "columns": [
    ],
  • "id_customer_supplier": "28496",
  • "id_opportunity": "1985",
  • "starting_date": "2022-03-15 19:45:00",
  • "due_date": null,
  • "id_status": "1",
  • "id_user_assigned": [
    ],
  • "access_list": [
    ],
  • "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

Delete a project.

Authorizations:
Bearer token
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
null

Access - Create/Update

Create or Update project access.

Authorizations:
Bearer token
path Parameters
id
required
integer
user_id
required
integer

User Id

Request Body schema: application/json
is_admin
integer

Admin of the project

0 = No (default)
1 = Yes

read_only
integer

Read only

0 = No (default)
1 = Yes

access_only_if_assigned
integer

Access to tasks only if assigned

0 = No (default)
1 = Yes

update_for_other
integer

Can update for other

0 = No
1 = Yes (default)

Responses

Request samples

Content type
application/json
{
  • "is_admin": 0,
  • "read_only": 0,
  • "access_only_if_assigned": 0,
  • "update_for_other": 1
}

Response samples

Content type
application/json
{
  • "id": "435",
  • "title": "Project #1",
  • "columns": [
    ],
  • "id_customer_supplier": "28496",
  • "id_opportunity": "1985",
  • "starting_date": "2022-03-15 19:45:00",
  • "due_date": null,
  • "id_status": "1",
  • "id_user_assigned": [
    ],
  • "access_list": [
    ],
  • "archived": "0",
  • "creation_date": "2022-03-25 12:04:24",
  • "created_by": "213",
  • "update_date": "2022-03-25 12:04:24",
  • "updated_by": "213"
}

Access - Delete

Delete a user access to the project.

Authorizations:
Bearer token
path Parameters
id
required
integer
user_id
required
integer

User Id

Responses

Response samples

Content type
application/json
{
  • "id": "435",
  • "title": "Project #1",
  • "columns": [
    ],
  • "id_customer_supplier": "28496",
  • "id_opportunity": "1985",
  • "starting_date": "2022-03-15 19:45:00",
  • "due_date": null,
  • "id_status": "1",
  • "id_user_assigned": [
    ],
  • "access_list": [
    ],
  • "archived": "0",
  • "creation_date": "2022-03-25 12:04:24",
  • "created_by": "213",
  • "update_date": "2022-03-25 12:04:24",
  • "updated_by": "213"
}

Status

Get a list of all status.

Authorizations:
Bearer token

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "data": [
    ]
}

Custom fields

Get a list of all projects custom fields.

Authorizations:
Bearer token

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "data": [
    ]
}

Custom field values

Get values of projects custom field.

Authorizations:
Bearer token
path Parameters
field_id
required
integer

Project custom field Id

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "data": [
    ]
}

Tasks - List

Get a list of all project tasks.

Authorizations:
Bearer token
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "pagination": {
    },
  • "data": [
    ]
}

Tasks - Create

Create a project task.

Authorizations:
Bearer token
path Parameters
id
required
integer
Request Body schema: application/json
title
required
string

Task title

column_number
integer

Column number in the project

status
integer
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.
Please add or edit times on this task to update working_time

estimation_time
string

Time estimated

id_user_assigned
string

User with group Id associated with the task
For users, email address can be used here

id_customer_supplier
integer

Customer Id or supplier Id

id_opportunity
integer
id_phase
integer
archived
integer

Project condition

0 = Active
1 = Archived

Array of objects

Custom fields

Responses

Request samples

Content type
application/json
{
  • "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": [
    ]
}

Response samples

Content type
application/json
{
  • "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": [
    ],
  • "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": [
    ],
  • "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"
}

Tasks - Show

Get one project task.

Authorizations:
Bearer token
path Parameters
id
required
integer
task_id
required
integer

Responses

Response samples

Content type
application/json
{
  • "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": [
    ],
  • "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": [
    ],
  • "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"
}

Tasks - Update

Update a project task.

Authorizations:
Bearer token
path Parameters
id
required
integer
task_id
required
integer
Request Body schema: application/json
title
string

Task title

column_number
integer

Column number in the project

status
integer
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.
Please add or edit times on this task to update working_time

estimation_time
string

Time estimated

id_user_assigned
string

User with group Id associated with the task
For users, email address can be used here

id_customer_supplier
integer

Customer Id or supplier Id

id_opportunity
integer
id_phase
integer
archived
integer

Project condition

0 = Active
1 = Archived

Array of objects

Custom fields

Responses

Request samples

Content type
application/json
{
  • "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": [
    ]
}

Response samples

Content type
application/json
{
  • "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": [
    ],
  • "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": [
    ],
  • "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"
}

Tasks - Delete

Delete a project task.

Authorizations:
Bearer token
path Parameters
id
required
integer
task_id
required
integer

Responses

Response samples

Content type
application/json
null

Tasks - Add/Update custom fields

Values of projects custom field.

Authorizations:
Bearer token
path Parameters
id
required
integer
task_id
required
integer
field_id
required
integer

Project custom field Id

Request Body schema: application/json
field_value
required

Responses

Request samples

Content type
application/json
{
  • "field_value": 6089
}

Response samples

Content type
application/json
{
  • "id": "435",
  • "title": "Project #1",
  • "columns": [
    ],
  • "id_customer_supplier": "28496",
  • "id_opportunity": "1985",
  • "starting_date": "2022-03-15 19:45:00",
  • "due_date": null,
  • "id_status": "1",
  • "id_user_assigned": [
    ],
  • "access_list": [
    ],
  • "archived": "0",
  • "creation_date": "2022-03-25 12:04:24",
  • "created_by": "213",
  • "update_date": "2022-03-25 12:04:24",
  • "updated_by": "213"
}

Tasks - Comments

Create a project task comment.

Authorizations:
Bearer token
path Parameters
id
required
integer
task_id
required
integer
Request Body schema: application/json
id_user
required
integer

User Id

comment
required
string

Comment

Responses

Request samples

Content type
application/json
{
  • "id_user": 213,
  • "comment": "Comment #1"
}

Response samples

Content type
application/json
{
  • "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": [
    ],
  • "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": [
    ],
  • "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"
}

Tasks - Status of all projects

Get a list of all status of all projects tasks.

Authorizations:
Bearer token

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "data": [
    ]
}

Tasks - Status of one project

Get a list of all status of one project task.

Authorizations:
Bearer token
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "data": [
    ]
}

Tasks - Phases

Get a list of all phases of project tasks.

Authorizations:
Bearer token
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "data": [
    ]
}

Tasks - Priorities

Get a list of all priorities.

Authorizations:
Bearer token

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "data": [
    ]
}

Subtasks - List

Get a list of all subtasks of a project task.

Authorizations:
Bearer token
path Parameters
id
required
integer
task_id
required
integer

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "pagination": {
    },
  • "data": [
    ]
}

Subtasks - Create

Create a subtask of a project task.

Authorizations:
Bearer token
path Parameters
id
required
integer
task_id
required
integer
Request Body schema: application/json
title
required
string

Project title

status
integer
section
integer

Nature of the subtask

0 = Subtask
1 = Section

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.
Please add or edit times on this task to update working_time

estimation_time
string

Time estimated

id_user_assigned
string

User with group Id associated with the task
For users, email address can be used here

Responses

Request samples

Content type
application/json
{
  • "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"
}

Response samples

Content type
application/json
{
  • "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": [
    ],
  • "skills": [ ],
  • "creation_date": "2022-04-23 16:22:58",
  • "created_by": "213",
  • "update_date": "2022-04-23 16:22:58",
  • "updated_by": "213"
}

Subtasks - Show

Get one subtask of a project task.

Authorizations:
Bearer token
path Parameters
id
required
integer
task_id
required
integer
subtask_id
required

Responses

Response samples

Content type
application/json
{
  • "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": [
    ],
  • "skills": [ ],
  • "creation_date": "2022-04-23 16:22:58",
  • "created_by": "213",
  • "update_date": "2022-04-23 16:22:58",
  • "updated_by": "213"
}

Subtasks - Update

Update a subtask of a project task.

Authorizations:
Bearer token
path Parameters
id
required
integer
task_id
required
integer
subtask_id
required
Request Body schema: application/json
title
string

Project title

status
integer
section
integer

Nature of the subtask

0 = Subtask
1 = Section

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.
Please add or edit times on this task to update working_time

estimation_time
string

Time estimated

id_user_assigned
string

User with group Id associated with the task
For users, email address can be used here

Responses

Request samples

Content type
application/json
{
  • "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"
}

Response samples

Content type
application/json
{
  • "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": [
    ],
  • "skills": [ ],
  • "creation_date": "2022-04-23 16:22:58",
  • "created_by": "213",
  • "update_date": "2022-04-23 16:22:58",
  • "updated_by": "213"
}

Subtasks - Delete

Delete a subtask of a project task.

Authorizations:
Bearer token
path Parameters
id
required
integer
task_id
required
integer
subtask_id
required

Responses

Response samples

Content type
application/json
null

Ticketing

This section lists all ticket-related APIS.

List

Get a list of all tickets.

Authorizations:
Bearer token
query Parameters
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
integer

Search by customer Id or supplier Id

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

0 = Not archived
1 = Archived

fields
string

List of fields to be returned. By default, all fields are returned.
Each field must be separated by a comma without space.

order
string <= 64 characters

Name of the field to sort on

direction
string <= 4 characters

Direction for sorting

ASC = Ascending, from A to Z.
DESC = Descending, from Z to A.

limit
integer
Default: 100

Number of objects to be returned for paging

offset
integer
Default: 0

Offset for paging

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "pagination": {
    },
  • "data": [
    ]
}

Create

Create a ticket.

Authorizations:
Bearer token
Request Body schema: application/json
pipeline
integer
title
string

Ticket title

id_type
integer

Ticket type Id

id_status
integer

Ticket status Id

id_priority
integer
id_group
integer

Group Id

id_user_assigned
integer

User Id

skills
integer

Skill Id

id_customer_supplier
integer

Customer Id or supplier Id

id_customer_supplier_contact
integer
id_opportunity
integer
id_project
integer
id_project_task
integer
id_equipment
integer
list_id_user_shared
integer

User shared Id

Array of objects

Custom fields

archived
integer

Ticket status

0 = Not archived
1 = Archived

Responses

Request samples

Content type
application/json
{
  • "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": [
    ],
  • "archived": 0
}

Response samples

Content type
application/json
{
  • "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": [
    ],
  • "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": [
    ],
  • "archived": "0",
  • "creation_date": "2022-03-25 12:04:24",
  • "created_by": "213",
  • "update_date": "2022-03-25 12:04:24",
  • "updated_by": "213"
}

Show

Get one ticket.

Authorizations:
Bearer token
path Parameters
id
required
integer

Ticket Id

Responses

Response samples

Content type
application/json
{
  • "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": [
    ],
  • "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": [
    ],
  • "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

Update a ticket.

Authorizations:
Bearer token
path Parameters
id
required
integer

Ticket Id

Request Body schema: application/json
title
string

Ticket title

id_type
integer

Ticket type Id

id_status
integer

Ticket status Id

id_priority
integer
id_group
integer

Group Id

id_user_assigned
integer

User Id

skills
integer

Skill Id

id_customer_supplier
integer

Customer Id or supplier Id

id_customer_supplier_contact
integer
id_opportunity
integer
id_project
integer
id_project_task
integer
id_equipment
integer
list_id_user_shared
integer

User shared Id

Array of objects

Custom fields

archived
integer

Ticket status

0 = Not archived
1 = Archived

Responses

Request samples

Content type
application/json
{
  • "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": [
    ],
  • "archived": 0
}

Response samples

Content type
application/json
{
  • "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": [
    ],
  • "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": [
    ],
  • "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

Delete a ticket.

Authorizations:
Bearer token
path Parameters
id
required
integer

Ticket Id

Responses

Response samples

Content type
application/json
null

Pipelines

Get a list of all pipelines.

Authorizations:
Bearer token

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "data": [
    ]
}

Pipeline types

Get types of a pipeline.

Authorizations:
Bearer token
path Parameters
pipeline_id
required
integer

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "data": [
    ]
}

Pipeline status

Get status of a pipeline.

Authorizations:
Bearer token
path Parameters
pipeline_id
required
integer

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "data": [
    ]
}

Priorities

Get a list of all priorities.

Authorizations:
Bearer token

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "data": [
    ]
}

Custom fields

Get a list of all ticketing custom fields.

Authorizations:
Bearer token

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "data": [
    ]
}

Custom field values

Get values of ticketing custom field.

Authorizations:
Bearer token
path Parameters
field_id
required
integer

Ticketing custom field Id

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "data": [
    ]
}

Add/Update custom fields

Values of ticketing custom field.

Authorizations:
Bearer token
path Parameters
id
required
integer

Ticket Id

field_id
required
integer

Ticket custom field Id

Request Body schema: application/json
field_value
required

Responses

Request samples

Content type
application/json
{
  • "field_value": 3526
}

Response samples

Content type
application/json
{
  • "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": [
    ],
  • "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": [
    ],
  • "archived": "0",
  • "creation_date": "2022-03-25 12:04:24",
  • "created_by": "213",
  • "update_date": "2022-03-25 12:04:24",
  • "updated_by": "213"
}

Forms

This section lists all form-related APIS.

List

Get a list of all Forms.

Authorizations:
Bearer token

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "pagination": {
    },
  • "data": [
    ]
}

Show

Get one Form.

Authorizations:
Bearer token
path Parameters
id
required
integer

Form Id

Responses

Response samples

Content type
application/json
{
  • "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": {
    },
  • "button_2": {
    },
  • "button_submit": {
    },
  • "progress_bar": {
    },
  • "button_previous_next": {
    },
  • "field_title": {
    },
  • "field_description": {
    },
  • "field_value": {
    },
  • "h1": {
    },
  • "h2": {
    },
  • "p": {
    },
  • "google_analytics": "",
  • "facebook_pixel": "",
  • "page_head_code": "",
  • "page_body_code": "",
  • "list_fields": {
    },
  • "creation_date": "2022-03-25 12:04:24",
  • "created_by": "213",
  • "update_date": "2022-03-25 12:04:24",
  • "updated_by": "213"
}

Submissions - List

Get list of submissions.

Authorizations:
Bearer token
path Parameters
id
required
integer

Form Id

query Parameters
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.
Each field must be separated by a comma without space.

order
string <= 64 characters

Name of the field to sort on

direction
string <= 4 characters

Direction for sorting

ASC = Ascending, from A to Z.
DESC = Descending, from Z to A.

limit
integer
Default: 100

Number of objects to be returned for paging

offset
integer
Default: 0

Offset for paging

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "pagination": {
    },
  • "data": [
    ]
}

Submissions - Show

Get submission detail.

Authorizations:
Bearer token
path Parameters
id
required
integer

Form Id

id_submission
required
integer

Responses

Response samples

Content type
application/json
{
  • "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": {
    },
  • "submission_date": "2022-03-25 12:04:24"
}

Doc generator

This section lists all doc generator-related APIS.

List

Get a list of all Doc generator.

Authorizations:
Bearer token
query Parameters
from
string <date-time>

Search by start date

to
string <date-time>

Search by end date

id_status
integer

Search by status Id

0 = Draft
1 = Pending
2 = Accepted
3 = Refused
4 = Sent
5 = Sent for electronic signature
6 = Signed by electronic signature

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.
Each field must be separated by a comma without space.

order
string <= 64 characters

Name of the field to sort on

direction
string <= 4 characters

Direction for sorting

ASC = Ascending, from A to Z.
DESC = Descending, from Z to A.

limit
integer
Default: 100

Number of objects to be returned for paging

offset
integer
Default: 0

Offset for paging

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "pagination": {
    },
  • "data": [
    ]
}

Show

Get one Doc generator.

Authorizations:
Bearer token
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "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",
  • "download_pdf": "https://karlia.fr/...",
  • "download_docx": "https://karlia.fr/...",
  • "creation_date": "2022-03-25 12:04:24",
  • "created_by": "213",
  • "update_date": "2022-03-25 12:04:24",
  • "updated_by": "213"
}

Company

This section lists all company-related APIS.

Show

Get company details.

Authorizations:
Bearer token

Responses

Response samples

Content type
application/json
{
  • "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": "",
  • "website": "https://karlia.co",
  • "address": {
    },
  • "expiration_date": "2030-12-31",
  • "creation_date": "2022-03-25 12:04:24",
  • "update_date": "2022-03-25 12:04:24",
  • "updated_by": "213"
}

Users

This section lists all user-related APIS.

Users

Get a list of all users.

Authorizations:
Bearer token

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "data": [
    ]
}

Groups

Get a list of all groups.

Authorizations:
Bearer token

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "data": [
    ]
}

Users with groups

Get a list of all users with groups.

Authorizations:
Bearer token

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "data": [
    ]
}

Skills

Get a list of all skills.

Authorizations:
Bearer token

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "data": [
    ]
}

Webhooks

This section lists all webhooks-related APIs.

List

Get a list of all webhooks.

Authorizations:
Bearer token

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "data": [
    ]
}

Events

Get a list of all events of webhooks.

Authorizations:
Bearer token

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "data": [
    ]
}

Tests

Get an example response for differents objects.

Authorizations:
Bearer token
path Parameters
object
string <url>
Customer /customers/test-webhook.php
Supplier /suppliers/test-webhook.php
Contact /contacts/test-webhook.php
Opportunity /opportunities/test-webhook.php
Document - Quote/documents/test-webhook.php?id_type=1
Document - Order /documents/test-webhook.php?id_type=2
Document - Delivery /documents/test-webhook.php?id_type=3
Document - Invoice /documents/test-webhook.php?id_type=4
Product /products/test-webhook.php
Equipment /equipments/test-webhook.php
Purchases /expenses/test-webhook.php
Supplier Document - Order /suppliers-documents/test-webhook.php?id_type=2
Supplier Document - Delivery /suppliers-documents/test-webhook.php?id_type=3
Supplier Document - Invoice /suppliers-documents/test-webhook.php?id_type=4
Event /events/test-webhook.php
Note /note/test-webhook.php
Call /calls/test-webhook.php
Task /tasks/test-webhook.php
Time /times/test-webhook.php
Project /projects/test-webhook.php-project
Project Task /projects/test-webhook.php-task
Project Subtask /projects/test-webhook-subtask.php
Ticket /ticketing/test-webhook.php
Form /forms/test-webhook.php
Form submission /forms/test-webhook-submission.php
Doc generator /doc-generator/test-webhook.php

Responses

Response samples

Content type
application/json
Example
{
  • "id_company": "349",
  • "object": "customer",
  • "trigger": "customer.updated",
  • "id": "28496",
  • "update_date": "2022-06-27 12:30:24",
  • "data": [
    ]
}