Procore.Api.FieldProductivityManagedEquipmentEquipmentCategory (procore_sdk v0.3.0)

API calls for all endpoints tagged FieldProductivityManagedEquipmentEquipmentCategory.

Summary

Functions

Link to this function

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

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

List all equipment categories Return a list of all equipment Categories.

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

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

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

Delete Equipment Category Detete a specific Equipment Category.

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

Returns

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

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

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

Show an equipment category Return detailed information about a specific equipment Category.

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

Returns

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

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

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

Update Equipment Category Update a specified equipment category.

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 Equipment Category
  • opts (keyword): Optional parameters
    • :body (RestV10CompaniesCompanyIdManagedEquipmentCategoriesPostRequest):

Returns

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

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

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

Create equipment Category Create a new equipment Category Entry.

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
    • :body (RestV10CompaniesCompanyIdManagedEquipmentCategoriesPostRequest):

Returns

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