Procore.Api.CoreProjectDirectoryProjectInactiveUsers (procore_sdk v0.3.0)
API calls for all endpoints tagged CoreProjectDirectoryProjectInactiveUsers.
Summary
Functions
List Project inactive users Return a list of all Inactive Users associated with a Project. See Filtering on List Actions for information on using the filtering capabilities provided by this endpoint.
Reactivate project user. Reactivate the specified User. #### OK Response For null values, the key won't be returned
Functions
Link to this function
rest_v10_projects_project_id_users_inactive_get(connection, procore_company_id, project_id, opts \\ [])
@spec rest_v10_projects_project_id_users_inactive_get( Tesla.Env.client(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, [Procore.Model.InactiveUser.t()]} | {:error, Tesla.Env.t()}
List Project inactive users Return a list of all Inactive Users associated with a Project. See Filtering on List Actions for information on using the filtering capabilities provided by this endpoint.
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:page(integer()): Page:per_page(integer()): Elements per page:sort(String.t): Return items with the specified sort.
Returns
{:ok, [%InactiveUser{}, ...]}on success{:error, Tesla.Env.t}on failure
Link to this function
rest_v10_projects_project_id_users_inactive_id_patch(connection, procore_company_id, project_id, id, opts \\ [])
@spec rest_v10_projects_project_id_users_inactive_id_patch( Tesla.Env.client(), integer(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.User.t()} | {:error, Tesla.Env.t()}
Reactivate project user. Reactivate the specified User. #### OK Response For null values, the key won't be returned
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.id(integer()): ID of the useropts(keyword): Optional parameters
Returns
{:ok, Procore.Model.User.t}on success{:error, Tesla.Env.t}on failure