Procore.Api.ConstructionFinancialsUnitsOfMeasureUnitsOfMeasure (procore_sdk v0.3.0)

API calls for all endpoints tagged ConstructionFinancialsUnitsOfMeasureUnitsOfMeasure.

Summary

Functions

List Units of Measure Return a list of all Units of Measure (UOM)

Sync Units of Measure This endpoint creates or updates a batch of Units of Measure. See Using Sync Actions for additional information.

Get Configuration for Uom Master List Returns Configuration Data for Uom Master List

Functions

Link to this function

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

List Units of Measure Return a list of all Units of Measure (UOM)

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

Returns

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

rest_v10_companies_company_id_uoms_id_delete(connection, procore_company_id, company_id, id, opts \\ [])

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

Delete Unit of Measure Delete a Unit of Measure (UOM)

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()): Unit of Measure ID
  • opts (keyword): Optional parameters

Returns

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

rest_v10_companies_company_id_uoms_id_get(connection, procore_company_id, company_id, id, opts \\ [])

Show Unit of Measure Show a given Unit of Measure (UOM)

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()): Unit of Measure ID
  • opts (keyword): Optional parameters

Returns

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

rest_v10_companies_company_id_uoms_id_patch(connection, procore_company_id, company_id, id, body7, opts \\ [])

Update Unit of Measure Update Unit of Measure (UOM) attributes

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()): Unit of Measure ID
  • body7 (Body7):
  • opts (keyword): Optional parameters

Returns

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

rest_v10_companies_company_id_uoms_post(connection, procore_company_id, company_id, body7, opts \\ [])

Create Unit of Measure Create a new Unit of Measure (UOM)

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.
  • body7 (Body7):
  • opts (keyword): Optional parameters

Returns

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

rest_v10_companies_company_id_uoms_sync_patch(connection, procore_company_id, company_id, body8, opts \\ [])

Sync Units of Measure This endpoint creates or updates a batch of Units of Measure. See Using Sync Actions for additional information.

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.
  • body8 (Body8):
  • opts (keyword): Optional parameters

Returns

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

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

Get Configuration for Uom Master List Returns Configuration Data for Uom Master List

Parameters

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

Returns

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