Batch Create Project Companies

post

/api/restapi/projectCompany/batch

Send a request to this endpoint to create one or more project companies.

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : List<ApiEntityProjectCompanyInput>
Type: array
Title: List<ApiEntityProjectCompanyInput>
Show Source
  • ApiEntityProjectCompanyInput
    Title: ApiEntityProjectCompanyInput
    This 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: object
Title: ApiEntityProjectCompanyInput
This 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
Show Source
Examples

Back to Top

Response

Supported Media Types

201 Response

The object was successfully created.
Body ()
Root Schema : List<ApiEntityProjectCompany>
Type: array
Title: List<ApiEntityProjectCompany>
Show Source
  • ApiEntityProjectCompany
    Title: ApiEntityProjectCompany
    This 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 : ApiEntityProjectCompany
Type: object
Title: ApiEntityProjectCompany
This 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
Show Source

400 Response

Invalid input for a baseline company.
Back to Top