Procore.Api.QualitySafetyActionPlansProjectActionPlanTemplateReferences (procore_sdk v0.3.0)
API calls for all endpoints tagged QualitySafetyActionPlansProjectActionPlanTemplateReferences
.
Summary
Functions
Bulk Create Action Plan Template References Creates multiple Action Plan Template References
List Project Action Plan Template References List of all Project Action Plan Template References available to a Project
Delete Project Action Plan Template Reference Deletes a Project Action Plan Template Reference
Show Project Action Plan Template Reference View the details of a Project Action Plan Template Reference from a given Project
Create Project Action Plan Template Reference Create a Project Action Plan Template Reference
List Recycled Project Action Plan Template References List of all Recycled Project Action Plan Template References
Show Recycled Project Action Plan Template Reference Returns a Recycled Project Action Plan Template Reference
Functions
rest_v10_projects_project_id_action_plans_plan_template_references_bulk_create_post(connection, procore_company_id, project_id, opts \\ [])
@spec rest_v10_projects_project_id_action_plans_plan_template_references_bulk_create_post( Tesla.Env.client(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, [ [ Procore.Model.RestV10ProjectsProjectIdActionPlansPlanTemplateTestRecordRequestsBulkCreatePost200ResponseInnerInner.t() ] ]} | {:error, Tesla.Env.t()}
Bulk Create Action Plan Template References Creates multiple Action Plan Template References
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:completion_mode
(String.t): Whether to update what can be or nothing if one can not be updated. Defaults to "all_or_nothing":body
(RestV10ProjectsProjectIdActionPlansPlanTemplateReferencesBulkCreatePostRequest):
Returns
{:ok, [%List{}, ...]}
on success{:error, Tesla.Env.t}
on failure
rest_v10_projects_project_id_action_plans_plan_template_references_get(connection, procore_company_id, project_id, opts \\ [])
@spec rest_v10_projects_project_id_action_plans_plan_template_references_get( Tesla.Env.client(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, [ Procore.Model.RestV10ProjectsProjectIdActionPlansPlanTemplateReferencesGet200ResponseInner.t() ]} | {:error, Tesla.Env.t()}
List Project Action Plan Template References List of all Project Action Plan Template References available to a 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[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 -
:"filters[plan_template_item_id]"([integer()]): Return item(s) associated with the specified Action Plan Template Item ID(s). -
:"filters[plan_template_id]"(integer()): Return item(s) associated with the specified Action Plan Template ID. -
: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_projects_project_id_action_plans_plan_template_references_id_delete(connection, procore_company_id, project_id, id, opts \\ [])
@spec rest_v10_projects_project_id_action_plans_plan_template_references_id_delete( Tesla.Env.client(), integer(), integer(), integer(), keyword() ) :: {:ok, nil} | {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:error, Tesla.Env.t()}
Delete Project Action Plan Template Reference Deletes a Project Action Plan Template Reference
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()): Project Action Plan Template Reference IDopts
(keyword): Optional parameters
Returns
{:ok, nil}
on success{:error, Tesla.Env.t}
on failure
rest_v10_projects_project_id_action_plans_plan_template_references_id_get(connection, procore_company_id, project_id, id, opts \\ [])
@spec rest_v10_projects_project_id_action_plans_plan_template_references_id_get( Tesla.Env.client(), integer(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.RestV10ProjectsProjectIdActionPlansPlanTemplateReferencesGet200ResponseInner.t()} | {:error, Tesla.Env.t()}
Show Project Action Plan Template Reference View the details of a Project Action Plan Template Reference from 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.id
(integer()): Project Action Plan Template Reference IDopts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.RestV10ProjectsProjectIdActionPlansPlanTemplateReferencesGet200ResponseInner.t}
on success{:error, Tesla.Env.t}
on failure
rest_v10_projects_project_id_action_plans_plan_template_references_post(connection, procore_company_id, project_id, rest_v10_projects_project_id_action_plans_plan_template_references_post_request, opts \\ [])
@spec rest_v10_projects_project_id_action_plans_plan_template_references_post( Tesla.Env.client(), integer(), integer(), Procore.Model.RestV10ProjectsProjectIdActionPlansPlanTemplateReferencesPostRequest.t(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.RestV10ProjectsProjectIdActionPlansPlanTemplateReferencesGet200ResponseInner.t()} | {:error, Tesla.Env.t()}
Create Project Action Plan Template Reference Create a Project Action Plan Template Reference
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_template_references_post_request
(RestV10ProjectsProjectIdActionPlansPlanTemplateReferencesPostRequest):opts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.RestV10ProjectsProjectIdActionPlansPlanTemplateReferencesGet200ResponseInner.t}
on success{:error, Tesla.Env.t}
on failure
rest_v10_projects_project_id_recycle_bin_action_plans_plan_template_references_get(connection, procore_company_id, project_id, opts \\ [])
@spec rest_v10_projects_project_id_recycle_bin_action_plans_plan_template_references_get( Tesla.Env.client(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, [ Procore.Model.RestV10ProjectsProjectIdRecycleBinActionPlansPlanTemplateReferencesGet200ResponseInner.t() ]} | {:error, Tesla.Env.t()}
List Recycled Project Action Plan Template References List of all Recycled Project Action Plan Template References
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[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 -
:"filters[plan_template_item_id]"([integer()]): Return item(s) associated with the specified Action Plan Template Item ID(s). -
:"filters[plan_template_id]"(integer()): Return item(s) associated with the specified Action Plan Template ID. -
: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_projects_project_id_recycle_bin_action_plans_plan_template_references_id_get(connection, procore_company_id, project_id, id, opts \\ [])
@spec rest_v10_projects_project_id_recycle_bin_action_plans_plan_template_references_id_get( Tesla.Env.client(), integer(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.RestV10ProjectsProjectIdRecycleBinActionPlansPlanTemplateReferencesGet200ResponseInner.t()} | {:error, Tesla.Env.t()}
Show Recycled Project Action Plan Template Reference Returns a Recycled Project Action Plan Template Reference
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 Template Reference IDopts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.RestV10ProjectsProjectIdRecycleBinActionPlansPlanTemplateReferencesGet200ResponseInner.t}
on success{:error, Tesla.Env.t}
on failure