Procore.Api.ProjectManagementDailyLogProductivityLogs (procore_sdk v0.3.0)
API calls for all endpoints tagged ProjectManagementDailyLogProductivityLogs
.
Summary
Functions
List Productivity Logs Returns all Productivity 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.
Delete Productivity Log Delete single Productivity Log.
Show Productivity Logs Returns single Productivity Log.
Update Productivity Log Update single Productivity Log. #### See - Daily Log guide - for additional info on * Attachments
Create Productivity Log
Creates single Productivity Log #### Click - Daily Log guide - for additional info on Attachments #### Note: The required Line Item ID to create a Productivity Log must be from an approved Contract #### How to find a Line Item ID If the Line Item comes from a Work Order Contract use the Work Order Contracts List
endpoint If the Line Item comes from a Purchase Order Contract use the Purchase Order Contracts List
endpoint Use filter - filters[status] 'Approved'
- to get list of approved Contracts * Use the Contract ID to the Show endpoint to get the Line Item ID associated with the Contract
Functions
rest_v10_projects_project_id_productivity_logs_get(connection, procore_company_id, project_id, opts \\ [])
@spec rest_v10_projects_project_id_productivity_logs_get( Tesla.Env.client(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, [ Procore.Model.RestV10ProjectsProjectIdProductivityLogsGet200ResponseInner.t() ]} | {:error, Tesla.Env.t()}
List Productivity Logs Returns all Productivity 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 serverprocore_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
(String.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[created_by_id]"
([integer()]): Returns item(s) created by the specified User IDs.:page
(integer()): Page:per_page
(integer()): Elements per page
Returns
{:ok, [%RestV10ProjectsProjectIdProductivityLogsGet200ResponseInner{}, ...]}
on success{:error, Tesla.Env.t}
on failure
rest_v10_projects_project_id_productivity_logs_id_delete(connection, procore_company_id, project_id, id, opts \\ [])
@spec rest_v10_projects_project_id_productivity_logs_id_delete( Tesla.Env.client(), integer(), integer(), integer(), keyword() ) :: {:ok, nil} | {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:error, Tesla.Env.t()}
Delete Productivity Log Delete single Productivity Log.
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.project_id
(integer()): Unique identifier for the project.id
(integer()): Productivity Log IDopts
(keyword): Optional parameters
Returns
{:ok, nil}
on success{:error, Tesla.Env.t}
on failure
rest_v10_projects_project_id_productivity_logs_id_get(connection, procore_company_id, project_id, id, opts \\ [])
@spec rest_v10_projects_project_id_productivity_logs_id_get( Tesla.Env.client(), integer(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.RestV10ProjectsProjectIdProductivityLogsGet200ResponseInner.t()} | {:error, Tesla.Env.t()}
Show Productivity Logs Returns single Productivity Log.
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.project_id
(integer()): Unique identifier for the project.id
(integer()): Productivity Log IDopts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.RestV10ProjectsProjectIdProductivityLogsGet200ResponseInner.t}
on success{:error, Tesla.Env.t}
on failure
rest_v10_projects_project_id_productivity_logs_id_patch(connection, procore_company_id, project_id, id, rest_v10_projects_project_id_productivity_logs_id_patch_request, opts \\ [])
@spec rest_v10_projects_project_id_productivity_logs_id_patch( Tesla.Env.client(), integer(), integer(), integer(), Procore.Model.RestV10ProjectsProjectIdProductivityLogsIdPatchRequest.t(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.RestV10ProjectsProjectIdProductivityLogsGet200ResponseInner.t()} | {:error, Tesla.Env.t()}
Update Productivity Log Update single Productivity Log. #### See - Daily Log guide - for additional info on * Attachments
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.project_id
(integer()): Unique identifier for the project.id
(integer()): Productivity Log IDrest_v10_projects_project_id_productivity_logs_id_patch_request
(RestV10ProjectsProjectIdProductivityLogsIdPatchRequest):opts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.RestV10ProjectsProjectIdProductivityLogsGet200ResponseInner.t}
on success{:error, Tesla.Env.t}
on failure
rest_v10_projects_project_id_productivity_logs_post(connection, procore_company_id, project_id, rest_v10_projects_project_id_productivity_logs_post_request, opts \\ [])
@spec rest_v10_projects_project_id_productivity_logs_post( Tesla.Env.client(), integer(), integer(), Procore.Model.RestV10ProjectsProjectIdProductivityLogsPostRequest.t(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.RestV10ProjectsProjectIdProductivityLogsGet200ResponseInner.t()} | {:error, Tesla.Env.t()}
Create Productivity Log
Creates single Productivity Log #### Click - Daily Log guide - for additional info on Attachments #### Note: The required Line Item ID to create a Productivity Log must be from an approved Contract #### How to find a Line Item ID If the Line Item comes from a Work Order Contract use the Work Order Contracts List
endpoint If the Line Item comes from a Purchase Order Contract use the Purchase Order Contracts List
endpoint Use filter - filters[status] 'Approved'
- to get list of approved Contracts * Use the Contract ID to the Show endpoint to get the Line Item ID associated with the Contract
Parameters
connection
(Procore.Connection): Connection to serverprocore_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_productivity_logs_post_request
(RestV10ProjectsProjectIdProductivityLogsPostRequest):opts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.RestV10ProjectsProjectIdProductivityLogsGet200ResponseInner.t}
on success{:error, Tesla.Env.t}
on failure