Procore.Api.QualitySafetyInspectionsCompanyInspectionTemplateItems (procore_sdk v0.3.0)
API calls for all endpoints tagged QualitySafetyInspectionsCompanyInspectionTemplateItems
.
Summary
Functions
List Company Inspection Template Items Returns a collection of Checklist Template Items for a specified Checklist Template.
Delete Company Inspection Template Item Deletes a Company Inspection Template Item for a specified Company.
Show Company Inspection Template Item Returns the details for a specified Company Inspection Template Item
Update Company Inspection Template Item Updates a Company Inspection Template Item for a specified Company.
Create Company Inspection Template Item Creates a Company Inspection Template Item for a specified Checklist Template.
Functions
rest_v10_companies_company_id_inspection_templates_inspection_template_id_items_get(connection, procore_company_id, company_id, inspection_template_id, opts \\ [])
@spec rest_v10_companies_company_id_inspection_templates_inspection_template_id_items_get( Tesla.Env.client(), integer(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, [Procore.Model.CompanyInspectionTemplateItem.t()]} | {:error, Tesla.Env.t()}
List Company Inspection Template Items Returns a collection of Checklist Template Items for a specified Checklist 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.inspection_template_id
(integer()): The ID of the Company Inspection Templateopts
(keyword): Optional parameters:page
(integer()): Page:per_page
(integer()): Elements per page
Returns
{:ok, [%CompanyInspectionTemplateItem{}, ...]}
on success{:error, Tesla.Env.t}
on failure
rest_v10_companies_company_id_inspection_templates_inspection_template_id_items_id_delete(connection, procore_company_id, company_id, inspection_template_id, id, opts \\ [])
@spec rest_v10_companies_company_id_inspection_templates_inspection_template_id_items_id_delete( Tesla.Env.client(), integer(), integer(), integer(), integer(), keyword() ) :: {:ok, nil} | {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:error, Tesla.Env.t()}
Delete Company Inspection Template Item Deletes a Company Inspection Template Item 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.inspection_template_id
(integer()): The ID of the Company Inspection Templateid
(integer()): Company Inspection Template Item IDopts
(keyword): Optional parameters
Returns
{:ok, nil}
on success{:error, Tesla.Env.t}
on failure
rest_v10_companies_company_id_inspection_templates_inspection_template_id_items_id_get(connection, procore_company_id, company_id, inspection_template_id, id, opts \\ [])
@spec rest_v10_companies_company_id_inspection_templates_inspection_template_id_items_id_get( Tesla.Env.client(), integer(), integer(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.CompanyInspectionTemplateItem.t()} | {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:error, Tesla.Env.t()}
Show Company Inspection Template Item Returns the details for a specified Company Inspection Template Item
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.inspection_template_id
(integer()): The ID of the Company Inspection Templateid
(integer()): Company Inspection Template Item IDopts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.CompanyInspectionTemplateItem.t}
on success{:error, Tesla.Env.t}
on failure
rest_v10_companies_company_id_inspection_templates_inspection_template_id_items_id_patch(connection, procore_company_id, company_id, inspection_template_id, id, project_inspection_template_item_body, opts \\ [])
@spec rest_v10_companies_company_id_inspection_templates_inspection_template_id_items_id_patch( Tesla.Env.client(), integer(), integer(), integer(), integer(), Procore.Model.ProjectInspectionTemplateItemBody.t(), keyword() ) :: {:ok, Procore.Model.CompanyInspectionTemplateItem.t()} | {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:error, Tesla.Env.t()}
Update Company Inspection Template Item Updates a Company Inspection Template Item 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.inspection_template_id
(integer()): The ID of the Company Inspection Templateid
(integer()): Company Inspection Template Item IDproject_inspection_template_item_body
(ProjectInspectionTemplateItemBody):opts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.CompanyInspectionTemplateItem.t}
on success{:error, Tesla.Env.t}
on failure
rest_v10_companies_company_id_inspection_templates_inspection_template_id_items_post(connection, procore_company_id, company_id, inspection_template_id, company_inspection_template_item_body, opts \\ [])
@spec rest_v10_companies_company_id_inspection_templates_inspection_template_id_items_post( Tesla.Env.client(), integer(), integer(), integer(), Procore.Model.CompanyInspectionTemplateItemBody.t(), keyword() ) :: {:ok, Procore.Model.CompanyInspectionTemplateItem.t()} | {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:error, Tesla.Env.t()}
Create Company Inspection Template Item Creates a Company Inspection Template Item for a specified Checklist 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.inspection_template_id
(integer()): The ID of the Company Inspection Templatecompany_inspection_template_item_body
(CompanyInspectionTemplateItemBody):opts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.CompanyInspectionTemplateItem.t}
on success{:error, Tesla.Env.t}
on failure