CFL Company Information API

  • 2 minutes to read

APIPublisher = 'christiaens';
APIGroup = 'bocountdynamics';
APIVersion = 'v2.0';
EntityName = 'companyInformation';
EntitySetName = 'companyInformation';

GET

method: GET
Url: https://server:port/serverinstance/api/Christiaens/BoCountDynamics/v2.0/companies(companyid)/companyInformation

Entity:

{
    "@odata.etag": "W/\"JzE5OzM0OTc3MzA5MDg4OTU0OTI2NDAxOzAwOyc=\"",
    "id": "61066e1a-0ce0-ec11-adf8-c90fab2a25c5",
    "name": "Adventure Bike",
    "address": "Ieperstraat 123",
    "address2": "",
    "city": "ROESELARE",
    "state": "",
    "country": "BE",
    "postCode": "8800",
    "phoneNumber": "+32 (0)2 424 64 60",
    "faxNumber": "+32 (0)2 424 65 60",
    "email": "voornaam.achternaam@domein.abc",
    "homePage": "",
    "taxRegistrationNumber": "0416.762.280",
    "currencyCode": "EUR",
    "currentFiscalYearStartDate": "2024-01-01",
    "industry": "",
    "systemModifiedAt": "2022-06-01T06:28:04.277Z",
    "picture@odata.mediaReadLink": "http://bc201-opleiding:7048/BC/api/Christiaens/BoCountDynamics/v2.0/companies(9bf826fd-0be0-ec11-adf8-c90fab2a25c5)/companyInformation(61066e1a-0ce0-ec11-adf8-c90fab2a25c5)/picture"
}

UPDATE

method: PATCH
Url: https://server:port/serverinstance/api/Christiaens/BoCountDynamics/v2.0/companies(companyid)/companyInformation(61066e1a-0ce0-ec11-adf8-c90fab2a25c5)
Headers:
"If-Match" : W/"JzE5OzM0OTc3MzA5MDg4OTU0OTI2NDAxOzAwOyc="
Body:

{
    "homePage": "www.adventurebike.com"
}