Procore.Api.QualitySafetyIncidentsProjectIncidentConfiguration (procore_sdk v0.3.0)
API calls for all endpoints tagged QualitySafetyIncidentsProjectIncidentConfiguration
.
Summary
Functions
Get Project Incident Configuration Return the selected project Incident configuration values
Update Project Incident Configuration Update the selected project Incident configuration values
Functions
Link to this function
rest_v10_projects_project_id_incidents_configuration_get(connection, procore_company_id, project_id, opts \\ [])
@spec rest_v10_projects_project_id_incidents_configuration_get( Tesla.Env.client(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.ProjectIncidentConfiguration.t()} | {:error, Tesla.Env.t()}
Get Project Incident Configuration Return the selected project Incident configuration values
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.project_id
(integer()): Unique identifier for the project.opts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.ProjectIncidentConfiguration.t}
on success{:error, Tesla.Env.t}
on failure
Link to this function
rest_v10_projects_project_id_incidents_configuration_patch(connection, procore_company_id, project_id, rest_v10_projects_project_id_incidents_configuration_patch_request, opts \\ [])
@spec rest_v10_projects_project_id_incidents_configuration_patch( Tesla.Env.client(), integer(), integer(), Procore.Model.RestV10ProjectsProjectIdIncidentsConfigurationPatchRequest.t(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.ProjectIncidentConfiguration.t()} | {:error, Tesla.Env.t()}
Update Project Incident Configuration Update the selected project Incident configuration values
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.project_id
(integer()): Unique identifier for the project.rest_v10_projects_project_id_incidents_configuration_patch_request
(RestV10ProjectsProjectIdIncidentsConfigurationPatchRequest):opts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.ProjectIncidentConfiguration.t}
on success{:error, Tesla.Env.t}
on failure