Contacts

This page includes all endpoints available for the client's contacts module of Logiciel Actif.

List all client's contacts

GET https://app.gem-books.com/api/clients_contacts

Query Parameters

Headers

{
    "data": [
        {
            "id": 1,
            "clientID": 1,
            "nom": "TEST 1",
            "fonction": "",
            "departement": "",
            "email": "test1@test.com",
            "telephone": "",
            "cell": "",
            "fax": ""
        },
        {
            "id": 2,
            "clientID": 2,
            "nom": "TEST 2",
            "fonction": "",
            "departement": "",
            "email": "test2@test.com",
            "telephone": "",
            "cell": "",
            "fax": ""
        }
    ],
    "meta": {
        "current_page": 1,
        "last_page": 1,
        "per_page": 25,
        "total": 2
    },
    "success": true
}

Retrieve a client's contact

GET https://app.gem-books.com/api/clients_contacts/:id

Path Parameters

{
    "data": [
        {
            "id": 1,
            "clientID": 1,
            "nom": "TEST 1",
            "fonction": "",
            "departement": "",
            "email": "test1@test.com",
            "telephone": "",
            "cell": "",
            "fax": ""
        }
    ]
    "success": true
}

Add a new client's contact

POST https://app.gem-books.com/api/clients_contacts

{
    "client_id": 158,
    "name" : "test"
}

Last updated