Procore.Api.QualitySafetyIncidentsSeverityLevels (procore_sdk v0.3.0)
API calls for all endpoints tagged QualitySafetyIncidentsSeverityLevels
.
Summary
Functions
List Incident Severity Levels Return a list of all Incident Severity Levels associated with a Company.
Show Incident Severity Level Returns the specified Incident Severity Level.
Update Incident Severity Level Updates a specified Incident Severity Level.
Functions
Link to this function
rest_v10_companies_company_id_incidents_severity_levels_get(connection, procore_company_id, company_id, opts \\ [])
@spec rest_v10_companies_company_id_incidents_severity_levels_get( Tesla.Env.client(), integer(), integer(), keyword() ) :: {:ok, [Procore.Model.SeverityLevel.t()]} | {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:error, Tesla.Env.t()}
List Incident Severity Levels Return a list of all Incident Severity Levels 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[email_trigger]"
(String.t): Return item(s) set to trigger email notifications.:"filters[id]"
([integer()]): Return item(s) with the specified IDs.:"filters[push_notification_trigger]"
(String.t): Return item(s) set to trigger push notifications.:"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, [%SeverityLevel{}, ...]}
on success{:error, Tesla.Env.t}
on failure
Link to this function
rest_v10_companies_company_id_incidents_severity_levels_id_get(connection, procore_company_id, company_id, id, opts \\ [])
@spec rest_v10_companies_company_id_incidents_severity_levels_id_get( Tesla.Env.client(), integer(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.SeverityLevel.t()} | {:error, Tesla.Env.t()}
Show Incident Severity Level Returns the specified Incident Severity Level.
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()): Incident Severity Level IDopts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.SeverityLevel.t}
on success{:error, Tesla.Env.t}
on failure
Link to this function
rest_v10_companies_company_id_incidents_severity_levels_id_patch(connection, procore_company_id, company_id, id, rest_v10_companies_company_id_incidents_severity_levels_id_patch_request, opts \\ [])
@spec rest_v10_companies_company_id_incidents_severity_levels_id_patch( Tesla.Env.client(), integer(), integer(), integer(), Procore.Model.RestV10CompaniesCompanyIdIncidentsSeverityLevelsIdPatchRequest.t(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.SeverityLevel.t()} | {:error, Tesla.Env.t()}
Update Incident Severity Level Updates a specified Incident Severity Level.
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()): Incident Severity Level IDrest_v10_companies_company_id_incidents_severity_levels_id_patch_request
(RestV10CompaniesCompanyIdIncidentsSeverityLevelsIdPatchRequest):opts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.SeverityLevel.t}
on success{:error, Tesla.Env.t}
on failure