Procore.Api.QualitySafetyIncidentsIncidentPickerOptions (procore_sdk v0.3.0)
API calls for all endpoints tagged QualitySafetyIncidentsIncidentPickerOptions
.
Summary
Functions
Get Affected Body Parts Returns objects containing the display label and server value of affected body parts that are available when creating or updating injuries
Get Filing Types Returns objects containing the display label and server value of filing types that are available when creating or updating injuries
Get Incident Statuses Returns objects containing the display label and server value of statuses that are available when creating or updating incidents
Get Units of Measure Returns objects containing the display label and server value of units of measure that are available when creating or updating incident's environmental records
Functions
rest_v10_companies_company_id_incidents_affected_body_parts_get(connection, procore_company_id, company_id, opts \\ [])
@spec rest_v10_companies_company_id_incidents_affected_body_parts_get( Tesla.Env.client(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, [Procore.Model.AffectedBodyPart.t()]} | {:error, Tesla.Env.t()}
Get Affected Body Parts Returns objects containing the display label and server value of affected body parts that are available when creating or updating injuries
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
Returns
{:ok, [%AffectedBodyPart{}, ...]}
on success{:error, Tesla.Env.t}
on failure
rest_v10_companies_company_id_incidents_filing_types_get(connection, procore_company_id, company_id, opts \\ [])
@spec rest_v10_companies_company_id_incidents_filing_types_get( Tesla.Env.client(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, [Procore.Model.FilingType.t()]} | {:error, Tesla.Env.t()}
Get Filing Types Returns objects containing the display label and server value of filing types that are available when creating or updating injuries
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
Returns
{:ok, [%FilingType{}, ...]}
on success{:error, Tesla.Env.t}
on failure
rest_v10_companies_company_id_incidents_statuses_get(connection, procore_company_id, company_id, opts \\ [])
@spec rest_v10_companies_company_id_incidents_statuses_get( Tesla.Env.client(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, [Procore.Model.IncidentStatus.t()]} | {:error, Tesla.Env.t()}
Get Incident Statuses Returns objects containing the display label and server value of statuses that are available when creating or updating incidents
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
Returns
{:ok, [%IncidentStatus{}, ...]}
on success{:error, Tesla.Env.t}
on failure
rest_v10_companies_company_id_incidents_units_of_measure_get(connection, procore_company_id, company_id, opts \\ [])
@spec rest_v10_companies_company_id_incidents_units_of_measure_get( Tesla.Env.client(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, [Procore.Model.IncidentUnitOfMeasure.t()]} | {:error, Tesla.Env.t()}
Get Units of Measure Returns objects containing the display label and server value of units of measure that are available when creating or updating incident's environmental records
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
Returns
{:ok, [%IncidentUnitOfMeasure{}, ...]}
on success{:error, Tesla.Env.t}
on failure