Procore.Api.QualitySafetyInspectionsCompanyChecklistTemplateSections (procore_sdk v0.3.0)

API calls for all endpoints tagged QualitySafetyInspectionsCompanyChecklistTemplateSections.

Summary

Functions

Link to this function

rest_v10_companies_company_id_checklist_list_templates_list_template_id_sections_get(connection, procore_company_id, company_id, list_template_id, opts \\ [])

@spec rest_v10_companies_company_id_checklist_list_templates_list_template_id_sections_get(
  Tesla.Env.client(),
  integer(),
  integer(),
  integer(),
  keyword()
) ::
  {:ok,
   Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()}
  | {:ok, [Procore.Model.CompanyChecklistSection.t()]}
  | {:error, Tesla.Env.t()}

List Company Checklist Template Sections Returns a collection of Checklist Sections for a specified Checklist Template.

Parameters

  • connection (Procore.Connection): Connection to server
  • procore_company_id (integer()): Unique company identifier associated with the Procore User Account.
  • company_id (integer()): Unique identifier for the company.
  • list_template_id (integer()): The ID of the Checklist Template
  • opts (keyword): Optional parameters

Returns

  • {:ok, [%CompanyChecklistSection{}, ...]} on success
  • {:error, Tesla.Env.t} on failure
Link to this function

rest_v10_companies_company_id_checklist_list_templates_list_template_id_sections_post(connection, procore_company_id, company_id, list_template_id, company_checklist_section_create_body, opts \\ [])

@spec rest_v10_companies_company_id_checklist_list_templates_list_template_id_sections_post(
  Tesla.Env.client(),
  integer(),
  integer(),
  integer(),
  Procore.Model.CompanyChecklistSectionCreateBody.t(),
  keyword()
) ::
  {:ok,
   Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()}
  | {:ok, Procore.Model.CompanyChecklistSection.t()}
  | {:error, Tesla.Env.t()}

Create Company Checklist Template Section Creates a Company Checklist Section for a specified Checklist Template.

Parameters

  • connection (Procore.Connection): Connection to server
  • procore_company_id (integer()): Unique company identifier associated with the Procore User Account.
  • company_id (integer()): Unique identifier for the company.
  • list_template_id (integer()): The ID of the Checklist Template
  • company_checklist_section_create_body (CompanyChecklistSectionCreateBody):
  • opts (keyword): Optional parameters

Returns

  • {:ok, Procore.Model.CompanyChecklistSection.t} on success
  • {:error, Tesla.Env.t} on failure