Procore.Api.QualitySafetyIncidentsEnvironmentalTypes (procore_sdk v0.3.0)
API calls for all endpoints tagged QualitySafetyIncidentsEnvironmentalTypes.
Summary
Functions
List Environmental Types Return a list of all Environmental Types associated with a Company.
Functions
Link to this function
rest_v10_companies_company_id_incidents_environmental_types_get(connection, procore_company_id, company_id, opts \\ [])
@spec rest_v10_companies_company_id_incidents_environmental_types_get( Tesla.Env.client(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, [Procore.Model.EnvironmentalType.t()]} | {:error, Tesla.Env.t()}
List Environmental Types Return a list of all Environmental 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:"filters[active]"(boolean()): If true, returns item(s) with a status of 'active'.:"filters[id]"([integer()]): Return item(s) with the specified IDs.:"filters[updated_at]"(Date.t): Return item(s) last updated within the specified ISO 8601 datetime range. Formats:YYYY-MM-DD...YYYY-MM-DD- DateYYYY-MM-DDTHH:MM:SSZ...YYYY-MM-DDTHH:MM:SSZ- DateTime with UTC OffsetYYYY-MM-DDTHH:MM:SS+XX:00...YYYY-MM-DDTHH:MM:SS+XX:00- Datetime with Custom Offset:sort(String.t): Environmental Types
Returns
{:ok, [%EnvironmentalType{}, ...]}on success{:error, Tesla.Env.t}on failure