Procore.Api.QualitySafetyIncidentsFilingTypes (procore_sdk v0.3.0)
API calls for all endpoints tagged QualitySafetyIncidentsFilingTypes
.
Summary
Functions
List Incident Filing Types Return a list of all Filing Types associated with a Company.
Show Filing Type Returns the specified Filing Type.
Update Filing Type Updates a specified Filing Type. Note that Procore provided Filing Type names cannot be changed.
Functions
Link to this function
rest_v10_companies_company_id_incidents_injury_filing_types_get(connection, procore_company_id, company_id, opts \\ [])
@spec rest_v10_companies_company_id_incidents_injury_filing_types_get( Tesla.Env.client(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, [Procore.Model.IncidentFilingType.t()]} | {:error, Tesla.Env.t()}
List Incident Filing Types Return a list of all Filing 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[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):
Returns
{:ok, [%IncidentFilingType{}, ...]}
on success{:error, Tesla.Env.t}
on failure
Link to this function
rest_v10_companies_company_id_incidents_injury_filing_types_id_get(connection, procore_company_id, company_id, id, opts \\ [])
@spec rest_v10_companies_company_id_incidents_injury_filing_types_id_get( Tesla.Env.client(), integer(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.IncidentFilingType.t()} | {:error, Tesla.Env.t()}
Show Filing Type Returns the specified Filing 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()): Filing Type IDopts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.IncidentFilingType.t}
on success{:error, Tesla.Env.t}
on failure
Link to this function
rest_v10_companies_company_id_incidents_injury_filing_types_id_patch(connection, procore_company_id, company_id, id, rest_v10_companies_company_id_incidents_injury_filing_types_id_patch_request, opts \\ [])
@spec rest_v10_companies_company_id_incidents_injury_filing_types_id_patch( Tesla.Env.client(), integer(), integer(), integer(), Procore.Model.RestV10CompaniesCompanyIdIncidentsInjuryFilingTypesIdPatchRequest.t(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.IncidentFilingType.t()} | {:error, Tesla.Env.t()}
Update Filing Type Updates a specified Filing Type. Note that Procore provided Filing Type names cannot be changed.
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()): Filing Type IDrest_v10_companies_company_id_incidents_injury_filing_types_id_patch_request
(RestV10CompaniesCompanyIdIncidentsInjuryFilingTypesIdPatchRequest):opts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.IncidentFilingType.t}
on success{:error, Tesla.Env.t}
on failure