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

Link to this function

rest_v10_projects_project_id_permission_templates_get(connection, procore_company_id, project_id, opts \\ [])

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 server
  • procore_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