Procore.Api.QualitySafetyActionPlansCompanyActionPlanTemplateItems (procore_sdk v0.3.0)
API calls for all endpoints tagged QualitySafetyActionPlansCompanyActionPlanTemplateItems
.
Summary
Functions
Bulk Update Action Plan Template Item Updates multiple Action Plan Template Items
Create a copy of the Action Plan Template Item in the Item's Section. Create a copy of the Action Plan Template Item in the Item's Section.
List Company Action Plan Template Items Gets the list of Company Action Plan Template Items
List Recycled Action Plan Template Items Returns all Recycled Action Plan Template Items for a given company
Show Recycled Action Plan Template Items Returns a Specific Recycled Action Plan Template Item for a given company
Functions
rest_v10_companies_company_id_action_plans_plan_template_items_bulk_update_patch(connection, procore_company_id, company_id, rest_v10_companies_company_id_action_plans_plan_template_items_bulk_update_patch_request, opts \\ [])
@spec rest_v10_companies_company_id_action_plans_plan_template_items_bulk_update_patch( Tesla.Env.client(), integer(), integer(), Procore.Model.RestV10CompaniesCompanyIdActionPlansPlanTemplateItemsBulkUpdatePatchRequest.t(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, [ [ Procore.Model.RestV10CompaniesCompanyIdActionPlansPlanTemplateItemsBulkUpdatePatch200ResponseInnerInner.t() ] ]} | {:ok, [ Procore.Model.RestV10ProjectsProjectIdActionPlansPlanTemplateItemsBulkUpdatePatch422ResponseInner.t() ]} | {:error, Tesla.Env.t()}
Bulk Update Action Plan Template Item Updates multiple Action Plan Template Items
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.company_id
(integer()): Unique identifier for the company.rest_v10_companies_company_id_action_plans_plan_template_items_bulk_update_patch_request
(RestV10CompaniesCompanyIdActionPlansPlanTemplateItemsBulkUpdatePatchRequest):opts
(keyword): Optional parameters
Returns
{:ok, [%List{}, ...]}
on success{:error, Tesla.Env.t}
on failure
rest_v10_companies_company_id_action_plans_plan_template_items_create_from_item_post(connection, procore_company_id, company_id, rest_v10_projects_project_id_action_plans_plan_template_items_create_from_item_post_request, opts \\ [])
@spec rest_v10_companies_company_id_action_plans_plan_template_items_create_from_item_post( Tesla.Env.client(), integer(), integer(), Procore.Model.RestV10ProjectsProjectIdActionPlansPlanTemplateItemsCreateFromItemPostRequest.t(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.RestV10CompaniesCompanyIdActionPlansPlanTemplateItemsGet200ResponseInner.t()} | {:ok, Procore.Model.RestV10ProjectsIdFiltersGetDefaultResponse.t()} | {:error, Tesla.Env.t()}
Create a copy of the Action Plan Template Item in the Item's Section. Create a copy of the Action Plan Template Item in the Item's Section.
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.company_id
(integer()): Unique identifier for the company.rest_v10_projects_project_id_action_plans_plan_template_items_create_from_item_post_request
(RestV10ProjectsProjectIdActionPlansPlanTemplateItemsCreateFromItemPostRequest):opts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.RestV10CompaniesCompanyIdActionPlansPlanTemplateItemsGet200ResponseInner.t}
on success{:error, Tesla.Env.t}
on failure
rest_v10_companies_company_id_action_plans_plan_template_items_get(connection, procore_company_id, company_id, opts \\ [])
@spec rest_v10_companies_company_id_action_plans_plan_template_items_get( Tesla.Env.client(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, [ Procore.Model.RestV10CompaniesCompanyIdActionPlansPlanTemplateItemsGet200ResponseInner.t() ]} | {:error, Tesla.Env.t()}
List Company Action Plan Template Items Gets the list of Company Action Plan Template Items
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.company_id
(integer()): Unique identifier for the company.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_template_section_id]"([integer()]): Return item(s) associated with the specified Action Plan Template Section ID(s). -
:"filters[plan_template_id]"(integer()): Return item(s) associated with the specified Action Plan Template ID. -
:"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 -
:sort(String.t): Direction (asc/desc) can be controlled by the presence or absence of '-' before the sort parameter. ### Returns -
, ...]}on success -
` on failure
rest_v10_companies_company_id_recycle_bin_action_plans_plan_template_items_get(connection, procore_company_id, company_id, opts \\ [])
@spec rest_v10_companies_company_id_recycle_bin_action_plans_plan_template_items_get( Tesla.Env.client(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, [ Procore.Model.RestV10CompaniesCompanyIdRecycleBinActionPlansPlanTemplateItemsGet200ResponseInner.t() ]} | {:error, Tesla.Env.t()}
List Recycled Action Plan Template Items Returns all Recycled Action Plan Template Items for a given company
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.company_id
(integer()): Unique identifier for the company.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_template_section_id]"([integer()]): Return item(s) associated with the specified Action Plan Template Section ID(s). -
:"filters[plan_template_id]"(integer()): Return item(s) associated with the specified Action Plan Template ID. -
:"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_companies_company_id_recycle_bin_action_plans_plan_template_items_id_get(connection, procore_company_id, company_id, id, opts \\ [])
@spec rest_v10_companies_company_id_recycle_bin_action_plans_plan_template_items_id_get( Tesla.Env.client(), integer(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.RestV10CompaniesCompanyIdRecycleBinActionPlansPlanTemplateItemsGet200ResponseInner.t()} | {:error, Tesla.Env.t()}
Show Recycled Action Plan Template Items Returns a Specific Recycled Action Plan Template Item for a given company
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.company_id
(integer()): Unique identifier for the company.id
(integer()): Action Plan Template Item IDopts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.RestV10CompaniesCompanyIdRecycleBinActionPlansPlanTemplateItemsGet200ResponseInner.t}
on success{:error, Tesla.Env.t}
on failure