Procore.Api.QualitySafetyActionPlansActionPlanSections (procore_sdk v0.3.0)

API calls for all endpoints tagged QualitySafetyActionPlansActionPlanSections.

Summary

Functions

Create a copy of the Action Plan Section in the Action Plan of the Section. Create a copy of the Action Plan Section in the Action Plan of the Section.

List Action Plan Sections Returns all Action Plan Sections for a given Project

List Recycled Action Plan Sections Returns all Recycled Action Plan Sections for a given Project

Functions

Link to this function

rest_v10_projects_project_id_action_plans_plan_sections_create_from_section_post(connection, procore_company_id, project_id, rest_v10_projects_project_id_action_plans_plan_sections_create_from_section_post_request, opts \\ [])

Create a copy of the Action Plan Section in the Action Plan of the Section. Create a copy of the Action Plan Section in the Action Plan of the Section.

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.
  • rest_v10_projects_project_id_action_plans_plan_sections_create_from_section_post_request (RestV10ProjectsProjectIdActionPlansPlanSectionsCreateFromSectionPostRequest):
  • opts (keyword): Optional parameters

Returns

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

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

List Action Plan Sections Returns all Action Plan Sections for a given 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
    • :"filters[created_at]" (Date.t): Return item(s) created within the specified ISO 8601 datetime range. Formats: YYYY-MM-DD...YYYY-MM-DD - Date YYYY-MM-DDTHH:MM:SSZ...YYYY-MM-DDTHH:MM:SSZ - DateTime with UTC Offset YYYY-MM-DDTHH:MM:SS+XX:00...YYYY-MM-DDTHH:MM:SS+XX:00- Datetime with Custom Offset -:"filters[id]"([integer()]): Return item(s) with the specified IDs. -:"filters[plan_id]"([integer()]): Return item(s) associated with the specified Action Plan ID(s) -:"filters[updated_at]"(Date.t): Return item(s) last updated within the specified ISO 8601 datetime range. Formats:YYYY-MM-DD...YYYY-MM-DD- DateYYYY-MM-DDTHH:MM:SSZ...YYYY-MM-DDTHH:MM:SSZ- DateTime with UTC OffsetYYYY-MM-DDTHH:MM:SS+XX:00...YYYY-MM-DDTHH:MM:SS+XX:00- Datetime with Custom Offset ### Returns -, ...]}on success -` on failure
Link to this function

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

@spec rest_v10_projects_project_id_action_plans_plan_sections_id_delete(
  Tesla.Env.client(),
  integer(),
  integer(),
  integer(),
  keyword()
) ::
  {:ok, nil}
  | {:ok,
     Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()}
  | {:error, Tesla.Env.t()}

Delete Action Plan Section Deletes an Action Plan Section

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()): Action Plan Section ID
  • opts (keyword): Optional parameters

Returns

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

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

Show Action Plan Section Returns an Action Plan Section

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()): Action Plan Section ID
  • opts (keyword): Optional parameters

Returns

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

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

@spec rest_v10_projects_project_id_action_plans_plan_sections_id_move_post(
  Tesla.Env.client(),
  integer(),
  integer(),
  integer(),
  keyword()
) ::
  {:ok, nil}
  | {:ok,
     Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()}
  | {:error, Tesla.Env.t()}

Move Action Plan Section Moves the Action Plan Section.

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()): Action Plan Section ID
  • opts (keyword): Optional parameters
    • :next_section_id (integer()): ID of the Action Plan Section that will follow the newly moved Section. When moving an Action Plan Section to the last position of the Action Plan, do not provide this parameter.

Returns

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

rest_v10_projects_project_id_action_plans_plan_sections_id_patch(connection, procore_company_id, project_id, id, rest_v10_projects_project_id_action_plans_plan_sections_id_patch_request, opts \\ [])

Update Action Plan Section Updates an Action Plan Section

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()): Action Plan Section ID
  • rest_v10_projects_project_id_action_plans_plan_sections_id_patch_request (RestV10ProjectsProjectIdActionPlansPlanSectionsIdPatchRequest):
  • opts (keyword): Optional parameters

Returns

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

rest_v10_projects_project_id_action_plans_plan_sections_post(connection, procore_company_id, project_id, rest_v10_projects_project_id_action_plans_plan_sections_post_request, opts \\ [])

Create Action Plan Section Creates an Action Plan Section for a given Action Plan.

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.
  • rest_v10_projects_project_id_action_plans_plan_sections_post_request (RestV10ProjectsProjectIdActionPlansPlanSectionsPostRequest):
  • opts (keyword): Optional parameters

Returns

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

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

List Recycled Action Plan Sections Returns all Recycled Action Plan Sections for a given 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
    • :"filters[created_at]" (Date.t): Return item(s) created within the specified ISO 8601 datetime range. Formats: YYYY-MM-DD...YYYY-MM-DD - Date YYYY-MM-DDTHH:MM:SSZ...YYYY-MM-DDTHH:MM:SSZ - DateTime with UTC Offset YYYY-MM-DDTHH:MM:SS+XX:00...YYYY-MM-DDTHH:MM:SS+XX:00- Datetime with Custom Offset -:"filters[id]"([integer()]): Return item(s) with the specified IDs. -:"filters[plan_id]"([integer()]): Return item(s) associated with the specified Action Plan ID(s) -:"filters[updated_at]"(Date.t): Return item(s) last updated within the specified ISO 8601 datetime range. Formats:YYYY-MM-DD...YYYY-MM-DD- DateYYYY-MM-DDTHH:MM:SSZ...YYYY-MM-DDTHH:MM:SSZ- DateTime with UTC OffsetYYYY-MM-DDTHH:MM:SS+XX:00...YYYY-MM-DDTHH:MM:SS+XX:00- Datetime with Custom Offset ### Returns -, ...]}on success -` on failure
Link to this function

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

Show Recycled Action Plan Section Returns a Recycled Action Plan Section

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()): Action Plan Section ID
  • opts (keyword): Optional parameters

Returns

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