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.

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

Link to this function

rest_v10_checklist_list_templates_get(connection, procore_company_id, project_id, opts \\ [])

List Checklist Templates Returns a list of all Inspection Checklist Templates for a specified Project.

Parameters

  • connection (Procore.Connection): Connection to server
  • procore_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
Link to this function

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 server
  • procore_company_id (integer()): Unique company identifier associated with the Procore User Account.
  • id (integer()): Checklist Template ID
  • project_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
Link to this function

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 \\ [])

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 server
  • procore_company_id (integer()): Unique company identifier associated with the Procore User Account.
  • id (integer()): Checklist Template ID
  • rest_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
Link to this function

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 \\ [])

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 server
  • procore_company_id (integer()): Unique company identifier associated with the Procore User Account.
  • id (integer()): Checklist Template ID
  • rest_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