Clients

Show

GET https://gofundo.nl/api/companies/:id/client

Show company clients.

{{
    "id": 16,
    "company_id": 5,
    "name": "John Doe",
    "email": "[email protected]",
    "phone": null,
    "created_at": "2020-07-06T12:17:11.000000Z",
    "updated_at": "2020-07-06T12:17:11.000000Z",
    "company": {
        "id": 5,
        "name": "Webtraders",
        "kvk": "12345679",
        "street": "Regulusweg",
        "streetnumber": "11",
        "postalcode": "2516AC",
        "city": "Den Haag",
        "country": "Nederland",
        "created_at": "2020-07-06T12:13:27.000000Z",
        "updated_at": "2020-07-06T12:13:27.000000Z",
        "amount_applications": 0
    }
}

Create

POST https://gofundo.nl/api/companies/:id/client

Create company client

Request Body

Name
Type
Description

email

string

Must be a valid email address

name

string

{
    "name": "John Doe",
    "email": "[email protected]",
    "company_id": 1,
    "updated_at": "2020-06-25T13:41:46.000000Z",
    "created_at": "2020-06-25T13:41:46.000000Z",
    "id": 1
}

Update

PUT https://gofundo.nl/api/companies/:id/client

Update company client

Request Body

Name
Type
Description

email

string

Must be a valid email address

name

string

{
    "id": 16,
    "company_id": 5,
    "name": "John Doe the 2th",
    "email": "[email protected]",
    "phone": null,
    "created_at": "2020-07-06T12:17:11.000000Z",
    "updated_at": "2020-07-06T12:18:54.000000Z"
}

Delete

DELETE https://gofundo.nl/api/companies/:id/client

Last updated

Was this helpful?