Procore.Api.CoreWorkflowsLegacyWorkflowActivityHistories (procore_sdk v0.3.0)

API calls for all endpoints tagged CoreWorkflowsLegacyWorkflowActivityHistories.

Summary

Functions

List Workflow Activity Histories Return a list of activities performed for a workflow instance.

Create Workflow Activity History Perform a workflow activity. Workflows Instances transition between states when all required activities have been performed.

Functions

Link to this function

rest_v10_workflow_activity_histories_get(connection, procore_company_id, workflow_instance_id, company_id, opts \\ [])

List Workflow Activity Histories Return a list of activities performed for a workflow instance.

Parameters

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

Returns

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

rest_v10_workflow_activity_histories_id_get(connection, procore_company_id, id, workflow_instance_id, company_id, opts \\ [])

Show Workflow Activity History Get information about a Workflow Activity History

Parameters

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

Returns

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

rest_v10_workflow_activity_histories_post(connection, procore_company_id, workflow_instance_id, company_id, rest_v10_workflow_activity_histories_post_request, opts \\ [])

Create Workflow Activity History Perform a workflow activity. Workflows Instances transition between states when all required activities have been performed.

Parameters

  • connection (Procore.Connection): Connection to server
  • procore_company_id (integer()): Unique company identifier associated with the Procore User Account.
  • workflow_instance_id (integer()): Workflow Instance ID
  • company_id (integer()): Unique identifier for the company.
  • rest_v10_workflow_activity_histories_post_request (RestV10WorkflowActivityHistoriesPostRequest):
  • opts (keyword): Optional parameters

Returns

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