Procore.Api.QualitySafetyInspectionsInspectionTypes (procore_sdk v0.3.0)
API calls for all endpoints tagged QualitySafetyInspectionsInspectionTypes
.
Summary
Functions
List Inspection Types Return a list of all Inspection Types associated with a Company.
Delete Inspection Type Deletes an Inspection Type for a specified Company.
Show Inspection Type Returns the details for a specified Inspection Type
Update Inspection Type Updates an Inspection Type for a specified Company.
Create Inspection Type Create an Inspection Type for a Company
Functions
rest_v10_companies_company_id_inspection_types_get(connection, procore_company_id, company_id, opts \\ [])
@spec rest_v10_companies_company_id_inspection_types_get( Tesla.Env.client(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, [Procore.Model.InspectionType2.t()]} | {:error, Tesla.Env.t()}
List Inspection Types Return a list of all Inspection Types associated with a 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.opts
(keyword): Optional parameters:page
(integer()): Page:per_page
(integer()): Elements per page
Returns
{:ok, [%InspectionType2{}, ...]}
on success{:error, Tesla.Env.t}
on failure
rest_v10_companies_company_id_inspection_types_id_delete(connection, procore_company_id, company_id, id, opts \\ [])
@spec rest_v10_companies_company_id_inspection_types_id_delete( Tesla.Env.client(), integer(), integer(), integer(), keyword() ) :: {:ok, nil} | {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:error, Tesla.Env.t()}
Delete Inspection Type Deletes an Inspection Type 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()): Inspection Type IDopts
(keyword): Optional parameters
Returns
{:ok, nil}
on success{:error, Tesla.Env.t}
on failure
rest_v10_companies_company_id_inspection_types_id_get(connection, procore_company_id, company_id, id, opts \\ [])
@spec rest_v10_companies_company_id_inspection_types_id_get( Tesla.Env.client(), integer(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.InspectionType2.t()} | {:error, Tesla.Env.t()}
Show Inspection Type Returns the details for a specified Inspection Type
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()): Inspection Type IDopts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.InspectionType2.t}
on success{:error, Tesla.Env.t}
on failure
rest_v10_companies_company_id_inspection_types_id_patch(connection, procore_company_id, company_id, id, inspection_type_body, opts \\ [])
@spec rest_v10_companies_company_id_inspection_types_id_patch( Tesla.Env.client(), integer(), integer(), integer(), Procore.Model.InspectionTypeBody.t(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, nil} | {:ok, Procore.Model.InspectionType2.t()} | {:error, Tesla.Env.t()}
Update Inspection Type Updates an Inspection Type 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()): Inspection Type IDinspection_type_body
(InspectionTypeBody):opts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.InspectionType2.t}
on success{:error, Tesla.Env.t}
on failure
rest_v10_companies_company_id_inspection_types_post(connection, procore_company_id, company_id, inspection_type_body, opts \\ [])
@spec rest_v10_companies_company_id_inspection_types_post( Tesla.Env.client(), integer(), integer(), Procore.Model.InspectionTypeBody.t(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.InspectionType2.t()} | {:error, Tesla.Env.t()}
Create Inspection Type Create an Inspection Type for a 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_type_body
(InspectionTypeBody):opts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.InspectionType2.t}
on success{:error, Tesla.Env.t}
on failure