Procore.Api.FieldProductivityTimesheetRoundingConfiguration (procore_sdk v0.3.0)

API calls for all endpoints tagged FieldProductivityTimesheetRoundingConfiguration.

Summary

Functions

Link to this function

rest_v10_companies_company_id_rounding_configuration_delete(connection, procore_company_id, company_id, opts \\ [])

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

Delete rounding configuration Delete rounding configuration

Parameters

  • connection (Procore.Connection): Connection to server
  • procore_company_id (integer()): Unique company identifier associated with the Procore User Account.
  • company_id (integer()): Unique identifier for the company.
  • opts (keyword): Optional parameters

Returns

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

rest_v10_companies_company_id_rounding_configuration_get(connection, procore_company_id, company_id, opts \\ [])

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

Show rounding configuration Show time increments and rounding rules for company timesheets

Parameters

  • connection (Procore.Connection): Connection to server
  • procore_company_id (integer()): Unique company identifier associated with the Procore User Account.
  • company_id (integer()): Unique identifier for the company.
  • opts (keyword): Optional parameters

Returns

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

rest_v10_companies_company_id_rounding_configuration_patch(connection, procore_company_id, company_id, rounding_configuration_body, opts \\ [])

Update rounding configuration Update rounding configuration

Parameters

  • connection (Procore.Connection): Connection to server
  • procore_company_id (integer()): Unique company identifier associated with the Procore User Account.
  • company_id (integer()): Unique identifier for the company.
  • rounding_configuration_body (RoundingConfigurationBody):
  • opts (keyword): Optional parameters

Returns

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

rest_v10_companies_company_id_rounding_configuration_post(connection, procore_company_id, company_id, rounding_configuration_body, opts \\ [])

Create rounding configuration Create rounding configuration

Parameters

  • connection (Procore.Connection): Connection to server
  • procore_company_id (integer()): Unique company identifier associated with the Procore User Account.
  • company_id (integer()): Unique identifier for the company.
  • rounding_configuration_body (RoundingConfigurationBody):
  • opts (keyword): Optional parameters

Returns

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