Procore.Api.QualitySafetyInspectionsChecklistTemplates (procore_sdk v0.3.0)
API calls for all endpoints tagged QualitySafetyInspectionsChecklistTemplates
.
Summary
Functions
List Checklist Templates Returns a list of all Inspection Checklist Templates for a specified Project.
Show Checklist Template Shows an Inspection Checklist Template.
Remove Checklist Template Alternative Response Set Removes a Checklist Template's Alternative Response Set, returning the template to the default Response Set
Add Checklist Template Alternative Response Set Sets a Checklist Template's Response Set to the specified Alternative Response Set.
Functions
rest_v10_checklist_list_templates_get(connection, procore_company_id, project_id, opts \\ [])
@spec rest_v10_checklist_list_templates_get( Tesla.Env.client(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, [Procore.Model.ChecklistTemplate4.t()]} | {:error, Tesla.Env.t()}
List Checklist Templates Returns a list of all Inspection Checklist Templates for a specified 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
Returns
{:ok, [%ChecklistTemplate4{}, ...]}
on success{:error, Tesla.Env.t}
on failure
rest_v10_checklist_list_templates_id_get(connection, procore_company_id, id, project_id, opts \\ [])
@spec rest_v10_checklist_list_templates_id_get( Tesla.Env.client(), integer(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.ChecklistTemplate4.t()} | {:error, Tesla.Env.t()}
Show Checklist Template Shows an Inspection Checklist Template.
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.id
(integer()): Checklist Template IDproject_id
(integer()): Unique identifier for the project.opts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.ChecklistTemplate4.t}
on success{:error, Tesla.Env.t}
on failure
rest_v10_checklist_list_templates_id_remove_alternative_response_set_patch(connection, procore_company_id, id, rest_v10_checklist_list_templates_id_remove_alternative_response_set_patch_request, opts \\ [])
@spec rest_v10_checklist_list_templates_id_remove_alternative_response_set_patch( Tesla.Env.client(), integer(), integer(), Procore.Model.RestV10ChecklistListTemplatesIdRemoveAlternativeResponseSetPatchRequest.t(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.ChecklistTemplate5.t()} | {:error, Tesla.Env.t()}
Remove Checklist Template Alternative Response Set Removes a Checklist Template's Alternative Response Set, returning the template to the default Response Set
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.id
(integer()): Checklist Template IDrest_v10_checklist_list_templates_id_remove_alternative_response_set_patch_request
(RestV10ChecklistListTemplatesIdRemoveAlternativeResponseSetPatchRequest):opts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.ChecklistTemplate5.t}
on success{:error, Tesla.Env.t}
on failure
rest_v10_checklist_list_templates_id_use_alternative_response_set_patch(connection, procore_company_id, id, rest_v10_checklist_list_templates_id_use_alternative_response_set_patch_request, opts \\ [])
@spec rest_v10_checklist_list_templates_id_use_alternative_response_set_patch( Tesla.Env.client(), integer(), integer(), Procore.Model.RestV10ChecklistListTemplatesIdUseAlternativeResponseSetPatchRequest.t(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.ChecklistTemplate5.t()} | {:error, Tesla.Env.t()}
Add Checklist Template Alternative Response Set Sets a Checklist Template's Response Set to the specified Alternative Response Set.
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.id
(integer()): Checklist Template IDrest_v10_checklist_list_templates_id_use_alternative_response_set_patch_request
(RestV10ChecklistListTemplatesIdUseAlternativeResponseSetPatchRequest):opts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.ChecklistTemplate5.t}
on success{:error, Tesla.Env.t}
on failure