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.
Show Workflow Activity History Get information about a Workflow Activity History
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 \\ [])
@spec rest_v10_workflow_activity_histories_get( Tesla.Env.client(), integer(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, [Procore.Model.RestV10WorkflowActivityHistoriesGet200ResponseInner.t()]} | {:error, Tesla.Env.t()}
List Workflow Activity Histories Return a list of activities performed for a workflow instance.
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.workflow_instance_id
(integer()): Workflow Instance IDcompany_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 \\ [])
@spec rest_v10_workflow_activity_histories_id_get( Tesla.Env.client(), integer(), integer(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.RestV10WorkflowActivityHistoriesGet200ResponseInner.t()} | {:error, Tesla.Env.t()}
Show Workflow Activity History Get information about a Workflow Activity History
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.id
(integer()): IDworkflow_instance_id
(integer()): Workflow Instance IDcompany_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 \\ [])
@spec rest_v10_workflow_activity_histories_post( Tesla.Env.client(), integer(), integer(), integer(), Procore.Model.RestV10WorkflowActivityHistoriesPostRequest.t(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.RestV10WorkflowActivityHistoriesGet200ResponseInner.t()} | {:error, Tesla.Env.t()}
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 serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.workflow_instance_id
(integer()): Workflow Instance IDcompany_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