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
Update Company Checklist Section Updates a Checklist Section for a specified Company.
Functions
rest_v10_companies_company_id_checklist_sections_get(connection, procore_company_id, company_id, list_template_id, opts \\ [])
@spec rest_v10_companies_company_id_checklist_sections_get( Tesla.Env.client(), integer(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, [Procore.Model.CompanyChecklistSection.t()]} | {:ok, Procore.Model.RestV10ProjectsIdFiltersGetDefaultResponse.t()} | {:error, Tesla.Env.t()}
List Company Checklist Sections Returns a list of Checklist Sections for a given Company List Template.
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.list_template_id
(integer()): Checklist Template IDopts
(keyword): Optional parameters
Returns
{:ok, [%CompanyChecklistSection{}, ...]}
on success{:error, Tesla.Env.t}
on failure
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 serverprocore_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 IDopts
(keyword): Optional parameters
Returns
{:ok, nil}
on success{:error, Tesla.Env.t}
on failure
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 serverprocore_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 IDopts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.CompanyChecklistSection.t}
on success{:error, Tesla.Env.t}
on failure
rest_v10_companies_company_id_checklist_sections_id_patch(connection, procore_company_id, company_id, id, company_checklist_section_update_body, opts \\ [])
@spec rest_v10_companies_company_id_checklist_sections_id_patch( Tesla.Env.client(), integer(), integer(), integer(), Procore.Model.CompanyChecklistSectionUpdateBody.t(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.CompanyChecklistSection.t()} | {:error, Tesla.Env.t()}
Update Company Checklist Section Updates a Checklist Section for a specified Company.
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()): Company Checklist Section IDcompany_checklist_section_update_body
(CompanyChecklistSectionUpdateBody):opts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.CompanyChecklistSection.t}
on success{:error, Tesla.Env.t}
on failure