Procore.Api.QualitySafetyInspectionsCompanyChecklistSections (procore_sdk v0.3.0)

API calls for all endpoints tagged QualitySafetyInspectionsCompanyChecklistSections.

Summary

Functions

List Company Checklist Sections Returns a list of Checklist Sections for a given Company List Template.

Delete Company Checklist Section Deletes a Checklist Section for a specified Company.

Show Company Checklist Section Returns the details for a specified Company Checklist Section

Functions

Link to this function

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

List Company Checklist Sections Returns a list of Checklist Sections for a given Company List 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()): Checklist Template ID
  • 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_sections_id_delete(connection, procore_company_id, company_id, id, opts \\ [])

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

Delete Company Checklist Section Deletes a Checklist Section for a specified Company.

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.
  • id (integer()): Company Checklist Section ID
  • opts (keyword): Optional parameters

Returns

  • {:ok, nil} on success
  • {:error, Tesla.Env.t} on failure
Link to this function

rest_v10_companies_company_id_checklist_sections_id_get(connection, procore_company_id, company_id, id, opts \\ [])

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

Show Company Checklist Section Returns the details for a specified Company Checklist Section

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.
  • id (integer()): Company Checklist Section ID
  • opts (keyword): Optional parameters

Returns

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

rest_v10_companies_company_id_checklist_sections_id_patch(connection, procore_company_id, company_id, id, company_checklist_section_update_body, opts \\ [])

Update Company Checklist Section Updates a Checklist Section for a specified Company.

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.
  • id (integer()): Company Checklist Section ID
  • company_checklist_section_update_body (CompanyChecklistSectionUpdateBody):
  • opts (keyword): Optional parameters

Returns

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