Procore.Api.FieldProductivityWorkClassificationWorkClassificationProjectLevel (procore_sdk v0.3.0)

API calls for all endpoints tagged FieldProductivityWorkClassificationWorkClassificationProjectLevel.

Summary

Functions

Update all classification Activating/deactivating all classifications associated with the specified project.

List all classifications Return a list of all classifications with details for a specified project.

Delete a classification Deleting a classification associated with the specified project.

Create Company Classifications For Project All company work classifications are created for the project

Create a new classification Create a new classification associated with the specified project.

Functions

Link to this function

rest_v10_projects_project_id_work_classifications_bulk_update_patch(connection, procore_company_id, project_id, work_classification_bulk_body, opts \\ [])

Update all classification Activating/deactivating all classifications associated with the specified project.

Parameters

  • connection (Procore.Connection): Connection to server
  • procore_company_id (integer()): Unique company identifier associated with the Procore User Account.
  • project_id (integer()): Unique identifier for the project.
  • work_classification_bulk_body (WorkClassificationBulkBody):
  • opts (keyword): Optional parameters

Returns

  • {:ok, Procore.Model.RestV10ProjectsProjectIdWorkClassificationsGet200ResponseInner.t} on success
  • {:error, Tesla.Env.t} on failure
Link to this function

rest_v10_projects_project_id_work_classifications_get(connection, procore_company_id, project_id, opts \\ [])

List all classifications Return a list of all classifications with details for a specified project.

Parameters

  • connection (Procore.Connection): Connection to server
  • procore_company_id (integer()): Unique company identifier associated with the Procore User Account.
  • project_id (integer()): Unique identifier for the project.
  • opts (keyword): Optional parameters
    • :page (integer()): Page
    • :per_page (integer()): Elements per page

Returns

  • {:ok, [%RestV10ProjectsProjectIdWorkClassificationsGet200ResponseInner{}, ...]} on success
  • {:error, Tesla.Env.t} on failure
Link to this function

rest_v10_projects_project_id_work_classifications_id_delete(connection, procore_company_id, project_id, id, opts \\ [])

Delete a classification Deleting a classification associated with the specified project.

Parameters

  • connection (Procore.Connection): Connection to server
  • procore_company_id (integer()): Unique company identifier associated with the Procore User Account.
  • project_id (integer()): Unique identifier for the project.
  • id (integer()): Id of the classification
  • opts (keyword): Optional parameters

Returns

  • {:ok, Procore.Model.RestV10ProjectsProjectIdWorkClassificationsGet200ResponseInner.t} on success
  • {:error, Tesla.Env.t} on failure
Link to this function

rest_v10_projects_project_id_work_classifications_id_get(connection, procore_company_id, project_id, id, opts \\ [])

Show classification Return classification detailed information.

Parameters

  • connection (Procore.Connection): Connection to server
  • procore_company_id (integer()): Unique company identifier associated with the Procore User Account.
  • project_id (integer()): Unique identifier for the project.
  • id (integer()): ID
  • opts (keyword): Optional parameters

Returns

  • {:ok, Procore.Model.RestV10ProjectsProjectIdWorkClassificationsGet200ResponseInner.t} on success
  • {:error, Tesla.Env.t} on failure
Link to this function

rest_v10_projects_project_id_work_classifications_id_patch(connection, procore_company_id, project_id, id, work_classification_body, opts \\ [])

Update a classification Updating a classification associated with the specified project.

Parameters

  • connection (Procore.Connection): Connection to server
  • procore_company_id (integer()): Unique company identifier associated with the Procore User Account.
  • project_id (integer()): Unique identifier for the project.
  • id (integer()): Id of the classification
  • work_classification_body (WorkClassificationBody):
  • opts (keyword): Optional parameters

Returns

  • {:ok, Procore.Model.RestV10ProjectsProjectIdWorkClassificationsGet200ResponseInner.t} on success
  • {:error, Tesla.Env.t} on failure
Link to this function

rest_v10_projects_project_id_work_classifications_initial_setup_post(connection, procore_company_id, project_id, opts \\ [])

@spec rest_v10_projects_project_id_work_classifications_initial_setup_post(
  Tesla.Env.client(),
  integer(),
  integer(),
  keyword()
) ::
  {:ok,
   Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()}
  | {:ok,
     [
       Procore.Model.RestV10ProjectsProjectIdWorkClassificationsGet200ResponseInner.t()
     ]}
  | {:error, Tesla.Env.t()}

Create Company Classifications For Project All company work classifications are created for the project

Parameters

  • connection (Procore.Connection): Connection to server
  • procore_company_id (integer()): Unique company identifier associated with the Procore User Account.
  • project_id (integer()): Unique identifier for the project.
  • opts (keyword): Optional parameters

Returns

  • {:ok, [%RestV10ProjectsProjectIdWorkClassificationsGet200ResponseInner{}, ...]} on success
  • {:error, Tesla.Env.t} on failure
Link to this function

rest_v10_projects_project_id_work_classifications_post(connection, procore_company_id, project_id, work_classification_body, opts \\ [])

Create a new classification Create a new classification associated with the specified project.

Parameters

  • connection (Procore.Connection): Connection to server
  • procore_company_id (integer()): Unique company identifier associated with the Procore User Account.
  • project_id (integer()): Unique identifier for the project.
  • work_classification_body (WorkClassificationBody):
  • opts (keyword): Optional parameters

Returns

  • {:ok, Procore.Model.RestV10ProjectsProjectIdWorkClassificationsGet200ResponseInner.t} on success
  • {:error, Tesla.Env.t} on failure