Procore.Api.ProjectManagementTimecardTimecards (procore_sdk v0.3.0)

API calls for all endpoints tagged ProjectManagementTimecardTimecards.

Summary

Functions

List Timecard Time Types Return a list of all Timecard Time Types for a specified Company.

Functions

Link to this function

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

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

List Timecard Time Types Return a list of all Timecard Time Types for a specified Company.

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, [%TimecardTimeType4{}, ...]} on success
  • {:error, Tesla.Env.t} on failure
Link to this function

rest_v10_companies_company_id_timecard_time_types_id_patch(connection, procore_company_id, company_id, id, timecard_time_type_body, opts \\ [])

Update Timecard Time Type Return an update Timecard Time Type for a specified Company.

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.
  • id (integer()): Id of the Timecard Time Type
  • timecard_time_type_body (TimecardTimeTypeBody):
  • opts (keyword): Optional parameters

Returns

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