Procore.Api.FieldProductivityManagedEquipmentEquipmentType (procore_sdk v0.3.0)

API calls for all endpoints tagged FieldProductivityManagedEquipmentEquipmentType.

Summary

Functions

Link to this function

rest_v10_companies_company_id_managed_equipment_types_bulk_update_patch(connection, procore_company_id, company_id, rest_v10_companies_company_id_managed_equipment_types_bulk_update_patch_request, opts \\ [])

Bulk Update Managed Equipment types Update multiple Managed Equipment types entries is_active property with one request

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

Returns

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

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

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

List all equipment types Return a list of all equipment types

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

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

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

Delete a equipment type Detete a specific equipment type

Parameters

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

Returns

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

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

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

Show an equipment type Return detailed information about a specific equipment type

Parameters

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

Returns

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

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

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

Update an equipment type Update a specified equipment type

Parameters

  • connection (Procore.Connection): Connection to server
  • procore_company_id (integer()): Unique company identifier associated with the Procore User Account.
  • id (integer()): ID of the company to get the types for
  • company_id (integer()): Unique identifier for the company.
  • opts (keyword): Optional parameters
    • :body (RestV10CompaniesCompanyIdManagedEquipmentTypesPostRequest):

Returns

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

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

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

Create an equipment type Create a new Equipment Type 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 (RestV10CompaniesCompanyIdManagedEquipmentTypesPostRequest):

Returns

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