Procore.Api.CoreWorkflowsWorkflowPresetsProject (procore_sdk v0.3.0)

API calls for all endpoints tagged CoreWorkflowsWorkflowPresetsProject.

Summary

Functions

Link to this function

rest_v20_companies_company_id_projects_project_id_workflows_presets_get(connection, procore_company_id, company_id, project_id, filters_left_square_brackettool_type_right_square_bracket, opts \\ [])

List Workflow Presets Get a list of Workflow Presets

Parameters

  • connection (Procore.Connection): Connection to server
  • procore_company_id (integer()): Unique company identifier associated with the Procore User Account.
  • company_id (String.t): Unique identifier for the company.
  • project_id (String.t): Unique identifier for the project.
  • filters_left_square_brackettool_type_right_square_bracket (String.t): Filter by tool type
  • opts (keyword): Optional parameters
    • :per_page (integer()): Elements per page
    • :"filters[tool_subtype]" (String.t): Filter by tool subtype

Returns

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

rest_v20_companies_company_id_projects_project_id_workflows_presets_id_assignees_patch(connection, procore_company_id, company_id, project_id, id, opts \\ [])

@spec rest_v20_companies_company_id_projects_project_id_workflows_presets_id_assignees_patch(
  Tesla.Env.client(),
  integer(),
  String.t(),
  String.t(),
  String.t(),
  keyword()
) ::
  {:ok, Procore.Model.RestV20CompaniesCompanyIdWorkflowsToolsGet401Response.t()}
  | {:ok,
     Procore.Model.RestV20CompaniesCompanyIdProjectsProjectIdWorkflowsPresetsIdAssigneesPatch200Response.t()}
  | {:error, Tesla.Env.t()}

Update Assignees and Workflow Manager Updates assignees and workflow manager for a workflow preset for a project tool.

Parameters

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

Returns

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

rest_v20_companies_company_id_projects_project_id_workflows_presets_id_get(connection, procore_company_id, company_id, project_id, id, opts \\ [])

Get Workflow Preset Get details of a specific workflow preset.

Parameters

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

Returns

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