Procore.Api.ProjectManagementDailyLogDailyLogs (procore_sdk v0.3.0)

API calls for all endpoints tagged ProjectManagementDailyLogDailyLogs.

Summary

Functions

List Counts of Daily Logs Returns counts of all daily logs arranged by type, given the current user permissions. Read Only/Standard users will see only counts of approved logs, Collaborator users will see only counts of logs created by themselves, Admins can use filter options to see all logs, or only a specific approval status (defaulting to approved). See Working with Daily Logs for information on filtering the response using the log_date, start_date, and end_date parameters. Note that if none of the date parameters are provided in the call, only logs from the current date are returned. This is a deprecated endpoint, please use /rest/v1.1/projects/{project_id}/daily_logs/counts

Functions

Link to this function

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

List Counts of Daily Logs Returns counts of all daily logs arranged by type, given the current user permissions. Read Only/Standard users will see only counts of approved logs, Collaborator users will see only counts of logs created by themselves, Admins can use filter options to see all logs, or only a specific approval status (defaulting to approved). See Working with Daily Logs for information on filtering the response using the log_date, start_date, and end_date parameters. Note that if none of the date parameters are provided in the call, only logs from the current date are returned. This is a deprecated endpoint, please use /rest/v1.1/projects/{project_id}/daily_logs/counts

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
    • :log_date (Date.t): Date of specific logs desired in YYYY-MM-DD format
    • :start_date (Date.t): Start date of specific logs desired in YYYY-MM-DD format (use together with end_date)
    • :end_date (Date.t): End date of specific logs desired in YYYY-MM-DD format (use together with start_date)
    • :"filters[status]" (String.t): Filter on status for "pending" or "approved" or "all"
    • :"filters[created_by_id]" ([integer()]): Returns item(s) created by the specified User IDs.

Returns

  • {:ok, [%RestV10ProjectsProjectIdDailyLogsCountGet200ResponseInner{}, ...]} on success
  • {:error, Tesla.Env.t} on failure