Company Data

Create company data

post

Adds or updates specific data associated with a company, such as social links, descriptions, icons, and highlights.

Body
company_idintegerRequired

The ID of the company to update data for.

Example: 385
keystringRequired

The key representing the type of data, such as 'linkedin', 'facebook', or 'phone'.

Example: linkedin
valuestringRequired

The value associated with the key, such as a username, URL, or other data.

Example: phillip.musiime
titlestringOptional

An optional title for the data.

Example: LinkedIn Profile
descriptionstringOptional

An optional description for the data.

Example: Phillip Musiime's LinkedIn Profile
highlightinteger · enumOptional

Flag to highlight this data on the company's profile.

Example: 1Possible values:
icon_urlstringOptional

URL for the icon to be displayed alongside the data.

Example: https://example.com/icons/linkedin.png
Responses
200

Company data updated successfully

application/json
post
/company/data
200

Company data updated successfully

Update company data

put

Updates specific fields of a company data entry.

Body
company_idintegerRequired

The ID of the company to update the data for.

Example: 385
data_idintegerRequired

The ID of the company data entry to update.

Example: 13799
valuestringOptional

The updated value for the data entry.

Example: Updated Value
titlestringOptional

The updated title for the data entry.

Example: Updated Title
descriptionstringOptional

The updated description for the data entry.

Example: Updated description.
highlightinteger · enumOptional

Flag to highlight the data entry.

Example: 1Possible values:
activeinteger · enumOptional

Flag to indicate if the data entry is active.

Example: 1Possible values:
icon_urlstringOptional

The URL or path to the icon associated with the data entry.

Example: https://example.com/icon.png
Responses
200

Success

application/json
put
/company/data
200

Success

Delete a company data entry

delete

Deletes a specific data entry for a company.

Body
company_idintegerRequired

The ID of the company to delete the data from.

Example: 385
data_idintegerRequired

The ID of the company data entry to delete.

Example: 13799
Responses
200

Success

application/json
delete
/company/data
200

Success

Update the order of company data

put

Updates the order of the data fields for a company.

Body
company_idintegerRequired

The ID of the company.

Example: 385
orderinteger[]Required

An array representing the new order of data item IDs.

Example: 13799
Responses
200

Order update success response

application/json
put
/company/data/order
200

Order update success response

Last updated