Procore.Api.CoreProjectDirectoryProjectPermissionTemplates (procore_sdk v0.3.0)
API calls for all endpoints tagged CoreProjectDirectoryProjectPermissionTemplates
.
Summary
Functions
List all available permission templates for a Project
Returns the name, id, and project specific status for all Permission Templates available to use on the specified Project for those with Admin Permissions. If a user has access to the Directory Granular Permission of 'Create and Edit Users' they will be able to fetch a list of their assignable templates if they pass the filter assignables_only
as true
Functions
rest_v10_projects_project_id_permission_templates_get(connection, procore_company_id, project_id, opts \\ [])
@spec rest_v10_projects_project_id_permission_templates_get( Tesla.Env.client(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, [ Procore.Model.RestV10ProjectsProjectIdPermissionTemplatesGet200ResponseInner.t() ]} | {:error, Tesla.Env.t()}
List all available permission templates for a Project
Returns the name, id, and project specific status for all Permission Templates available to use on the specified Project for those with Admin Permissions. If a user has access to the Directory Granular Permission of 'Create and Edit Users' they will be able to fetch a list of their assignable templates if they pass the filter assignables_only
as true
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:"filters[assignables_only]"
(boolean()): Returns user's assignable permission templates
Returns
{:ok, [%RestV10ProjectsProjectIdPermissionTemplatesGet200ResponseInner{}, ...]}
on success{:error, Tesla.Env.t}
on failure