procore v0.0.1 Procore.Resources.Users
Available requests for the user resource.
Link to this section Summary
Functions
Adds an existing user from a company to a project’s directory in that company
List all users in a company directory
Link to this section Functions
Link to this function
add_user_to_project(map)
add_user_to_project(%{
optional(project_id :: String.t()) => integer(),
optional(user_id :: String.t()) => integer(),
optional(permission_template_id :: String.t()) => integer()
}) ::
%ResponseResult{parsed_body: term(), reply: term(), status_code: term()}
| %ErrorResult{reason: term(), reply: term()}
Adds an existing user from a company to a project’s directory in that company.
Link to this function
list(map)
list(%{optional(company_id :: String.t()) => integer()}) ::
%ResponseResult{
parsed_body: Procore.Resources.Users.ResponseBodyTypes.ListCompanyUsers.t(),
reply: atom(),
status_code: DefinedTypes.non_error_status_code()
}
| %ErrorResult{reason: term(), reply: term()}
List all users in a company directory.