Batch Update Project Companies
put
/api/restapi/projectCompany/batch
Send a request to this endpoint to update one or more project companies.
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Root Schema : List<ApiEntityProjectCompanyInput>
Type:
arrayTitle:
Show Source
List<ApiEntityProjectCompanyInput>-
Array of:
object ApiEntityProjectCompanyInput
Title:
ApiEntityProjectCompanyInputThis entity represents a ProjectCompany object, a unique ProjectCompany object can be identified by the following combinations of the fields.- projectCompanyId
- projectId,companyId
- companyId,projectCode,workspaceCode
- companyName,postalCode,projectId
- companyName,postalCode,projectCode,workspaceCode
Nested Schema : ApiEntityProjectCompanyInput
Type:
objectTitle:
ApiEntityProjectCompanyInputThis entity represents a ProjectCompany object, a unique ProjectCompany object can be identified by the following combinations of the fields.
Show Source
- projectCompanyId
- projectId,companyId
- companyId,projectCode,workspaceCode
- companyName,postalCode,projectId
- companyName,postalCode,projectCode,workspaceCode
-
color(required): string
Minimum Length:
1Maximum Length:6The selected color representation of the company. -
companyId(required): integer
(int64)
The unique identifier for the company.The company object can also be identified by its unique criteria.
-
companyName: string
Minimum Length:
1Maximum Length:255The name of the company. -
postalCode: string
Minimum Length:
0Maximum Length:20The postal code, post code, or zip code of a location. -
projectCode: string
Minimum Length:
1Maximum Length:60The unique identifier for a project set by the user who created the project. -
projectCompanyId: integer
(int64)
The system-generated unique identifier of the project company.
-
projectId(required): integer
(int64)
The unique identifier for the project.The project object can also be identified by its unique criteria.
-
workspaceCode: string
Minimum Length:
0Maximum Length:60The user-specified identifier of a workspace.
Examples
Back to Top
Response
200 Response
A collection of object IDs mapped to a canonical link of the object. For example - {"links":{"1":"https://[host]:[port]/api/restapi/[object]/1","2":"https://[host]:[port]/api/restapi/[object]/2"}}
400 Response
Invalid input for a baseline company.