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
Delete Action Plan Section Deletes an Action Plan Section
Show Action Plan Section Returns an Action Plan Section
Move Action Plan Section Moves the Action Plan Section.
Update Action Plan Section Updates an Action Plan Section
Create Action Plan Section Creates an Action Plan Section for a given Action Plan.
List Recycled Action Plan Sections Returns all Recycled Action Plan Sections for a given Project
Show Recycled Action Plan Section Returns a Recycled Action Plan Section
Functions
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 \\ [])
@spec rest_v10_projects_project_id_action_plans_plan_sections_create_from_section_post( Tesla.Env.client(), integer(), integer(), Procore.Model.RestV10ProjectsProjectIdActionPlansPlanSectionsCreateFromSectionPostRequest.t(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.RestV10ProjectsProjectIdActionPlansPlanSectionsGet200ResponseInner.t()} | {:ok, Procore.Model.RestV10ProjectsIdFiltersGetDefaultResponse.t()} | {:error, Tesla.Env.t()}
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 serverprocore_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
rest_v10_projects_project_id_action_plans_plan_sections_get(connection, procore_company_id, project_id, opts \\ [])
@spec rest_v10_projects_project_id_action_plans_plan_sections_get( Tesla.Env.client(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, [ Procore.Model.RestV10ProjectsProjectIdActionPlansPlanSectionsGet200ResponseInner.t() ]} | {:error, Tesla.Env.t()}
List Action Plan Sections Returns all Action Plan Sections for a given Project
Parameters
connection
(Procore.Connection): Connection to serverprocore_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
- 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 -
:"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- 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 ### Returns -
, ...]}on success -
` on failure
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 serverprocore_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 IDopts
(keyword): Optional parameters
Returns
{:ok, nil}
on success{:error, Tesla.Env.t}
on failure
rest_v10_projects_project_id_action_plans_plan_sections_id_get(connection, procore_company_id, project_id, id, opts \\ [])
@spec rest_v10_projects_project_id_action_plans_plan_sections_id_get( Tesla.Env.client(), integer(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.RestV10ProjectsProjectIdActionPlansPlanSectionsGet200ResponseInner.t()} | {:error, Tesla.Env.t()}
Show Action Plan Section Returns an Action Plan Section
Parameters
connection
(Procore.Connection): Connection to serverprocore_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 IDopts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.RestV10ProjectsProjectIdActionPlansPlanSectionsGet200ResponseInner.t}
on success{:error, Tesla.Env.t}
on failure
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 serverprocore_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 IDopts
(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
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 \\ [])
@spec rest_v10_projects_project_id_action_plans_plan_sections_id_patch( Tesla.Env.client(), integer(), integer(), integer(), Procore.Model.RestV10ProjectsProjectIdActionPlansPlanSectionsIdPatchRequest.t(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.RestV10ProjectsProjectIdActionPlansPlanSectionsGet200ResponseInner.t()} | {:error, Tesla.Env.t()}
Update Action Plan Section Updates an Action Plan Section
Parameters
connection
(Procore.Connection): Connection to serverprocore_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 IDrest_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
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 \\ [])
@spec rest_v10_projects_project_id_action_plans_plan_sections_post( Tesla.Env.client(), integer(), integer(), Procore.Model.RestV10ProjectsProjectIdActionPlansPlanSectionsPostRequest.t(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.RestV10ProjectsProjectIdActionPlansPlanSectionsGet200ResponseInner.t()} | {:error, Tesla.Env.t()}
Create Action Plan Section Creates an Action Plan Section for a given Action Plan.
Parameters
connection
(Procore.Connection): Connection to serverprocore_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
rest_v10_projects_project_id_recycle_bin_action_plans_plan_sections_get(connection, procore_company_id, project_id, opts \\ [])
@spec rest_v10_projects_project_id_recycle_bin_action_plans_plan_sections_get( Tesla.Env.client(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, [ Procore.Model.RestV10ProjectsProjectIdRecycleBinActionPlansPlanSectionsGet200ResponseInner.t() ]} | {:error, Tesla.Env.t()}
List Recycled Action Plan Sections Returns all Recycled Action Plan Sections for a given Project
Parameters
connection
(Procore.Connection): Connection to serverprocore_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
- 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 -
:"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- 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 ### Returns -
, ...]}on success -
` on failure
rest_v10_projects_project_id_recycle_bin_action_plans_plan_sections_id_get(connection, procore_company_id, project_id, id, opts \\ [])
@spec rest_v10_projects_project_id_recycle_bin_action_plans_plan_sections_id_get( Tesla.Env.client(), integer(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.RestV10ProjectsProjectIdRecycleBinActionPlansPlanSectionsGet200ResponseInner.t()} | {:error, Tesla.Env.t()}
Show Recycled Action Plan Section Returns a Recycled Action Plan Section
Parameters
connection
(Procore.Connection): Connection to serverprocore_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 IDopts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.RestV10ProjectsProjectIdRecycleBinActionPlansPlanSectionsGet200ResponseInner.t}
on success{:error, Tesla.Env.t}
on failure