Procore.Api.WorkforceManagementWorkforcePlanningPermissionLevels (procore_sdk v0.3.0)
API calls for all endpoints tagged WorkforceManagementWorkforcePlanningPermissionLevels
.
Summary
Functions
Get Permission Level Options
Retrieves a list of all available permission level options within a company. The id
field in the response represents the UUID to be used for permission_level_id
in API calls related to user permissions.
Functions
Link to this function
rest_v10_workforce_planning_v2_companies_company_id_permission_level_options_get(connection, procore_company_id, company_id, opts \\ [])
@spec rest_v10_workforce_planning_v2_companies_company_id_permission_level_options_get( Tesla.Env.client(), integer(), integer(), keyword() ) :: {:ok, [ Procore.Model.RestV10WorkforcePlanningV2CompaniesCompanyIdPermissionLevelOptionsGet200ResponseInner.t() ]} | {:ok, Procore.Model.RestV10WorkforcePlanningV2CompaniesCompanyIdGroupsGroupIdReportsLookAheadGet400Response.t()} | {:ok, Procore.Model.RestV10WorkforcePlanningV2CompaniesCompanyIdGroupsGroupIdReportsLookAheadGet401Response.t()} | {:error, Tesla.Env.t()}
Get Permission Level Options
Retrieves a list of all available permission level options within a company. The id
field in the response represents the UUID to be used for permission_level_id
in API calls related to user permissions.
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. NOTE - this is a Laborchart company IDopts
(keyword): Optional parameters
Returns
{:ok, [%RestV10WorkforcePlanningV2CompaniesCompanyIdPermissionLevelOptionsGet200ResponseInner{}, ...]}
on success{:error, Tesla.Env.t}
on failure