Skip to main content

Company API

The Company API manages company records in Deepser. Companies represent the organizations associated with your users, Service Operations, and CIs. This section describes the endpoints, role-based permissions, and available fields.

Only Administrators with access to the Company Module can create, update, and delete companies. Operators and Key Users can only retrieve company records. End Users cannot access this resource via the API.

Endpoints

http://deepserhost/api/rest/company/[id]
http://deepserhost/api/rest/companies

Roles

AdministratorOperatorKey UserUser
Actions AllowedRETRIEVE CREATE UPDATE DELETERETRIEVERETRIEVE

Fields

The following table lists all fields of the Company entity:

FieldDescription
entity_idThe unique ID of the record.
nameThe company name, displayed in select boxes throughout the system.
parent_idThe parent company ID. Setting a parent creates a sub-company (branch) relationship. Deepser supports a maximum of 2 levels in the company hierarchy by default (e.g., a head office with regional branches). Attempting to add a third level returns a blocking error. This limit can be extended through customization.
descriptionDescription of the company.
statusWhether the company is active. Disabled companies do not appear in select boxes.
mailbox_idThe mailbox used to send emails to users of this company. When set, all notifications for this company's users are sent from this specific mailbox rather than the system default. If not set, Deepser uses the default outgoing mailbox or any record-specific outgoing mailbox.
logoCompany logo image.
addressStreet address.
cityCity.
stateState or area.
countryCountry.
zip_codePostal code.
primary_contactThe Deepser user designated as the primary contact for this company.
phoneMain phone number.
faxFax number.
notesInternal notes.
formtemplate_idThe form template ID used by the record.
updated_atDate of the last update.
created_atCreation date of the record.