Procore.Api.ProjectManagementDailyLogManpowerLogs (procore_sdk v0.3.0)

API calls for all endpoints tagged ProjectManagementDailyLogManpowerLogs.

Summary

Functions

List Manpower Logs Contact Options Returns all Contacts that can be assigned to a new Manpower Log given the current user permissions

Get total workers and man hours Returns total workers and man hours between a start date and end date. To get a single day, supply the same date for start and end.

List Manpower Logs Returns all approved Manpower Logs for the current date. 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.

List Manpower Logs Vendor Options Returns all Vendors that can be assigned to a new Manpower Log given the current user permissions

Functions

Link to this function

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

List Manpower Logs Contact Options Returns all Contacts that can be assigned to a new Manpower Log given the current user permissions

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
    • :page (integer()): Page
    • :per_page (integer()): Elements per page

Returns

  • {:ok, [%RestV10ProjectsProjectIdTimesheetsPotentialTimesheetCreatorsGet200ResponseInner{}, ...]} on success
  • {:error, Tesla.Env.t} on failure
Link to this function

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

Get total workers and man hours Returns total workers and man hours between a start date and end date. To get a single day, supply the same date for start and end.

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
    • :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[created_by_id]" ([integer()]): Returns item(s) created by the specified User IDs.

Returns

  • {:ok, Procore.Model.RestV10ProjectsProjectIdManpowerLogsDailyTotalsGet200Response.t} on success
  • {:error, Tesla.Env.t} on failure
Link to this function

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

List Manpower Logs Returns all approved Manpower Logs for the current date. 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.

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.
    • :"filters[location_id]" ([integer()]): Return item(s) with the specified Location IDs.
    • :"filters[vendor_id]" ([integer()]): Return item(s) with the specified Vendor IDs.
    • :"filters[search]" (String.t): Returns item(s) matching the specified search query string.
    • :page (integer()): Page
    • :per_page (integer()): Elements per page

Returns

  • {:ok, [%RestV10ProjectsProjectIdManpowerLogsGet200ResponseInner{}, ...]} on success
  • {:error, Tesla.Env.t} on failure
Link to this function

rest_v10_projects_project_id_manpower_logs_id_delete(connection, procore_company_id, project_id, id, opts \\ [])

@spec rest_v10_projects_project_id_manpower_logs_id_delete(
  Tesla.Env.client(),
  integer(),
  integer(),
  integer(),
  keyword()
) ::
  {:ok, nil}
  | {:ok,
     Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()}
  | {:error, Tesla.Env.t()}

Delete Manpower Log Delete single Manpower Log.

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.
  • id (integer()): Manpower Log ID
  • opts (keyword): Optional parameters

Returns

  • {:ok, nil} on success
  • {:error, Tesla.Env.t} on failure
Link to this function

rest_v10_projects_project_id_manpower_logs_id_get(connection, procore_company_id, project_id, id, opts \\ [])

Show Manpower Logs Returns single Manpower Log.

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.
  • id (integer()): Manpower Log ID
  • opts (keyword): Optional parameters

Returns

  • {:ok, Procore.Model.RestV10ProjectsProjectIdManpowerLogsGet200ResponseInner.t} on success
  • {:error, Tesla.Env.t} on failure
Link to this function

rest_v10_projects_project_id_manpower_logs_id_patch(connection, procore_company_id, project_id, id, rest_v10_projects_project_id_manpower_logs_id_patch_request, opts \\ [])

Update Manpower Log Update single Manpower Log. #### See - Daily Log guide - for additional info on Attachments Locations

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.
  • id (integer()): Manpower Log ID
  • rest_v10_projects_project_id_manpower_logs_id_patch_request (RestV10ProjectsProjectIdManpowerLogsIdPatchRequest):
  • opts (keyword): Optional parameters
    • :run_configurable_validations (boolean()): If true, validations are run for the corresponding Configurable Field Set.

Returns

  • {:ok, Procore.Model.RestV10ProjectsProjectIdManpowerLogsGet200ResponseInner.t} on success
  • {:error, Tesla.Env.t} on failure
Link to this function

rest_v10_projects_project_id_manpower_logs_post(connection, procore_company_id, project_id, rest_v10_projects_project_id_manpower_logs_post_request, opts \\ [])

Create Manpower Log Creates single Manpower Log. #### See - Daily Log guide - for additional info on Attachments Locations

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.
  • rest_v10_projects_project_id_manpower_logs_post_request (RestV10ProjectsProjectIdManpowerLogsPostRequest):
  • opts (keyword): Optional parameters
    • :run_configurable_validations (boolean()): If true, validations are run for the corresponding Configurable Field Set.

Returns

  • {:ok, Procore.Model.RestV10ProjectsProjectIdManpowerLogsGet200ResponseInner.t} on success
  • {:error, Tesla.Env.t} on failure
Link to this function

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

@spec rest_v10_projects_project_id_manpower_logs_vendor_options_get(
  Tesla.Env.client(),
  integer(),
  integer(),
  keyword()
) ::
  {:ok,
   Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()}
  | {:ok, [Procore.Model.Compact.t()]}
  | {:error, Tesla.Env.t()}

List Manpower Logs Vendor Options Returns all Vendors that can be assigned to a new Manpower Log given the current user permissions

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
    • :page (integer()): Page
    • :per_page (integer()): Elements per page

Returns

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