Procore.Api.QualitySafetyActionPlansCompanyActionPlanTemplateReferences (procore_sdk v0.3.0)
API calls for all endpoints tagged QualitySafetyActionPlansCompanyActionPlanTemplateReferences
.
Summary
Functions
Bulk Create Plan Template References Creates multiple Plan Template References
List Company Action Plan Template References List of all Company Action Plan Template References
Delete Company Action Plan Template Reference Deletes a Company Action Plan Template Reference
Show Company Action Plan Template Reference Returns a Company Action Plan Template Reference
Create Company Action Plan Template Reference Create a Company Action Plan Template Reference
List Recycled Company Action Plan Template References List of all Recycled Company Action Plan Template References
Show Recycled Company Action Plan Template Reference Returns a Recycled Company Action Plan Template Reference
Functions
rest_v10_companies_company_id_action_plans_plan_template_references_bulk_create_post(connection, procore_company_id, company_id, rest_v10_companies_company_id_action_plans_plan_template_references_bulk_create_post_request, opts \\ [])
@spec rest_v10_companies_company_id_action_plans_plan_template_references_bulk_create_post( Tesla.Env.client(), integer(), integer(), Procore.Model.RestV10CompaniesCompanyIdActionPlansPlanTemplateReferencesBulkCreatePostRequest.t(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, [ [ Procore.Model.RestV10ProjectsProjectIdActionPlansPlanTemplateTestRecordRequestsBulkCreatePost200ResponseInnerInner.t() ] ]} | {:error, Tesla.Env.t()}
Bulk Create Plan Template References Creates multiple Plan Template References
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_references_bulk_create_post_request
(RestV10CompaniesCompanyIdActionPlansPlanTemplateReferencesBulkCreatePostRequest):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"
Returns
{:ok, [%List{}, ...]}
on success{:error, Tesla.Env.t}
on failure
rest_v10_companies_company_id_action_plans_plan_template_references_get(connection, procore_company_id, company_id, opts \\ [])
@spec rest_v10_companies_company_id_action_plans_plan_template_references_get( Tesla.Env.client(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, [ Procore.Model.RestV10CompaniesCompanyIdActionPlansPlanTemplateReferencesGet200ResponseInner.t() ]} | {:error, Tesla.Env.t()}
List Company Action Plan Template References List of all Company Action Plan Template References
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[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_companies_company_id_action_plans_plan_template_references_id_delete(connection, procore_company_id, company_id, id, opts \\ [])
@spec rest_v10_companies_company_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 Company Action Plan Template Reference Deletes a Company Action Plan Template Reference
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()): Reference IDopts
(keyword): Optional parameters
Returns
{:ok, nil}
on success{:error, Tesla.Env.t}
on failure
rest_v10_companies_company_id_action_plans_plan_template_references_id_get(connection, procore_company_id, company_id, id, opts \\ [])
@spec rest_v10_companies_company_id_action_plans_plan_template_references_id_get( Tesla.Env.client(), integer(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.RestV10CompaniesCompanyIdActionPlansPlanTemplateReferencesGet200ResponseInner.t()} | {:error, Tesla.Env.t()}
Show Company Action Plan Template Reference Returns a Company Action Plan Template Reference
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()): Reference IDopts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.RestV10CompaniesCompanyIdActionPlansPlanTemplateReferencesGet200ResponseInner.t}
on success{:error, Tesla.Env.t}
on failure
rest_v10_companies_company_id_action_plans_plan_template_references_post(connection, procore_company_id, company_id, plan_template_reference, opts \\ [])
@spec rest_v10_companies_company_id_action_plans_plan_template_references_post( Tesla.Env.client(), integer(), integer(), Procore.Model.RestV10CompaniesCompanyIdActionPlansPlanTemplateReferencesPostRequestPlanTemplateReference.t(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.RestV10CompaniesCompanyIdActionPlansPlanTemplateReferencesGet200ResponseInner.t()} | {:error, Tesla.Env.t()}
Create Company Action Plan Template Reference Create a Company Action Plan Template Reference
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.plan_template_reference
(Procore.Model.RestV10CompaniesCompanyIdActionPlansPlanTemplateReferencesPostRequestPlanTemplateReference.t):opts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.RestV10CompaniesCompanyIdActionPlansPlanTemplateReferencesGet200ResponseInner.t}
on success{:error, Tesla.Env.t}
on failure
rest_v10_companies_company_id_recycle_bin_action_plans_plan_template_references_get(connection, procore_company_id, company_id, opts \\ [])
@spec rest_v10_companies_company_id_recycle_bin_action_plans_plan_template_references_get( Tesla.Env.client(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, [ Procore.Model.RestV10CompaniesCompanyIdRecycleBinActionPlansPlanTemplateReferencesGet200ResponseInner.t() ]} | {:error, Tesla.Env.t()}
List Recycled Company Action Plan Template References List of all Recycled Company Action Plan Template References
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[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_companies_company_id_recycle_bin_action_plans_plan_template_references_id_get(connection, procore_company_id, company_id, id, opts \\ [])
@spec rest_v10_companies_company_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.RestV10CompaniesCompanyIdRecycleBinActionPlansPlanTemplateReferencesGet200ResponseInner.t()} | {:error, Tesla.Env.t()}
Show Recycled Company Action Plan Template Reference Returns a Recycled Company Action Plan Template Reference
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 Reference IDopts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.RestV10CompaniesCompanyIdRecycleBinActionPlansPlanTemplateReferencesGet200ResponseInner.t}
on success{:error, Tesla.Env.t}
on failure