Updates the company with the specified id.

PUT

Updates the company with the specified id.

Required Permissions: The user must be an admin or have company-master-data:write permissions.

Path parameters

companyIdstringRequired

The id of the company.

Request

This endpoint expects an object.
namestringRequired>=0 characters<=1000 characters

The company name.

descriptionstringOptional>=0 characters<=25000 characters

The company description.

industrystringOptional>=0 characters<=1000 characters

The company’s industry.

Response

OK

namestring>=0 characters<=1000 characters

The company name.

descriptionstringOptional>=0 characters<=25000 characters

The company description.

industrystringOptional>=0 characters<=1000 characters

The company’s industry.

idstringOptional

The id of the company.

hasImagebooleanOptionalDefaults to false

Whether the company has an image.

companyContactInfoslist of objectsOptional

The company infos assigned to this company.

createdOndatetimeOptionalDefaults to 1970-01-01T00:00:00.000Z

The date this entity was created.

createdBystringOptional

The id of the user who created this entity.

updatedOndatetimeOptionalDefaults to 1970-01-01T00:00:00.000Z

The date this entity was last modified.

updatedBystringOptional

The id of the user who last modified this entity.

resourceVersionlongOptionalDefaults to 0

The version of the entity, updated on every modification, to the ticks in UTC. Not identical to UpdatedOn.

tagslist of objectsOptional

The tags for this company.

projectsCountintegerOptional

The number of all projects related to the company.

projectsInProgressCountintegerOptional

The number of all projects in status ‘progress’ related to the company.

isExternalbooleanOptionalDefaults to false

True if this entity is coming from an external workspace (awork Connect).