Procore.Api.ProjectManagementDailyLogWeatherLogs (procore_sdk v0.3.0)

API calls for all endpoints tagged ProjectManagementDailyLogWeatherLogs.

Summary

Functions

List Accepted Weather Conditions Returns accepted weather conditions for the sky, ground, temperature, calamity, and wind categories. This is a deprecated endpoint, please use Weather Conditions

List Weather Logs Returns all Weather 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 Weather Logs Returns all Weather 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.

Functions

Link to this function

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

List Accepted Weather Conditions Returns accepted weather conditions for the sky, ground, temperature, calamity, and wind categories. This is a deprecated endpoint, please use Weather Conditions

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

Returns

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

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

List Weather Logs Returns all Weather 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)
    • :page (integer()): Page
    • :per_page (integer()): Elements per page

Returns

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

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

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

Delete Weather Log Delete single Weather 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()): Use log date as your ID. Format YYYYMMDD ie:20161108
  • opts (keyword): Optional parameters

Returns

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

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

Show Weather Logs Returns single Weather 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()): Use log date as your ID. Format YYYYMMDD ie:20161108
  • opts (keyword): Optional parameters
    • :log_date (Date.t): Log date of specific log desired in YYYY-MM-DD format (This will override ID as log Date)

Returns

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

rest_v10_projects_project_id_weather_logs_id_patch(connection, procore_company_id, project_id, id, rest_v10_projects_project_id_weather_logs_post_request, opts \\ [])

Update Weather Log Update single Weather Log. #### See - Daily Log guide - for additional info on * Attachments

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()): Use log date as your ID. Format YYYYMMDD ie:20161108
  • rest_v10_projects_project_id_weather_logs_post_request (RestV10ProjectsProjectIdWeatherLogsPostRequest):
  • opts (keyword): Optional parameters

Returns

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

rest_v10_projects_project_id_weather_logs_post(connection, procore_company_id, project_id, rest_v10_projects_project_id_weather_logs_post_request, opts \\ [])

Create Weather Log Creates single Weather Log. #### See - Daily Log guide - for additional info on * Attachments

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_weather_logs_post_request (RestV10ProjectsProjectIdWeatherLogsPostRequest):
  • opts (keyword): Optional parameters

Returns

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

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

List Weather Logs Returns all Weather 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. Example formats YYYY-MM-DD, YYYY/MM/DD, DD-MM-YYYY, DD/MM/YYYY
    • :start_date (Date.t): Start date of specific logs desired. Use together with end_date to specify a date range. Example formats YYYY-MM-DD, YYYY/MM/DD, DD-MM-YYYY, DD/MM/YYYY
    • :end_date (Date.t): End date of specific logs desired. Use together with start_date to specify a date range. Example formats YYYY-MM-DD, YYYY/MM/DD, DD-MM-YYYY, DD/MM/YYYY
    • :"filters[status]" (String.t): Filter on log status
    • :"filters[created_by_id]" ([integer()]): Returns item(s) created by the specified User IDs.
    • :page (integer()): Page
    • :per_page (integer()): Elements per page

Returns

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

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

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

Delete Weather Log Delete single Weather 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()): Weather Log ID
  • opts (keyword): Optional parameters

Returns

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

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

Show Weather Log Returns single Weather 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()): Weather Log ID
  • opts (keyword): Optional parameters

Returns

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

rest_v11_projects_project_id_daily_logs_weather_logs_id_patch(connection, procore_company_id, project_id, id, rest_v11_projects_project_id_daily_logs_weather_logs_post_request, opts \\ [])

Update Weather Log Update single Weather Log. #### See - Working with Daily Logs - for additional info on * Attachments

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

Returns

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

rest_v11_projects_project_id_daily_logs_weather_logs_post(connection, procore_company_id, project_id, rest_v11_projects_project_id_daily_logs_weather_logs_post_request, opts \\ [])

Create Weather Log Creates single Weather Log. #### See - Working with Daily Logs - for additional info on * Attachments

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

Returns

  • {:ok, Procore.Model.RestV11ProjectsProjectIdDailyLogsWeatherLogsGet200ResponseInner.t} on success
  • {:error, Tesla.Env.t} on failure