Procore.Api.FieldProductivityManagedEquipmentEquipmentModel (procore_sdk v0.3.0)

API calls for all endpoints tagged FieldProductivityManagedEquipmentEquipmentModel.

Summary

Functions

Link to this function

rest_v10_companies_company_id_managed_equipment_models_bulk_update_patch(connection, procore_company_id, company_id, rest_v10_companies_company_id_managed_equipment_models_bulk_update_patch_request, opts \\ [])

Bulk Update Managed Equipment models Update multiple Managed Equipment model 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_models_bulk_update_patch_request (RestV10CompaniesCompanyIdManagedEquipmentModelsBulkUpdatePatchRequest):
  • opts (keyword): Optional parameters

Returns

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

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

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

List all equipment models Return a list of all equipment models

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
    • :"filters[updated_at]" (Date.t): Return item(s) last updated within the specified ISO 8601 datetime range. Formats: YYYY-MM-DD...YYYY-MM-DD - Date YYYY-MM-DDTHH:MM:SSZ...YYYY-MM-DDTHH:MM:SSZ - DateTime with UTC Offset YYYY-MM-DDTHH:MM:SS+XX:00...YYYY-MM-DDTHH:MM:SS+XX:00 - Datetime with Custom Offset
    • :page (integer()): Page
    • :per_page (integer()): Elements per page

Returns

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

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

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

Delete an equipment model Detete a specific equipment model

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 models for
  • company_id (integer()): Unique identifier for the company.
  • opts (keyword): Optional parameters

Returns

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

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

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

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

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 models for
  • company_id (integer()): Unique identifier for the company.
  • opts (keyword): Optional parameters

Returns

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

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

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

Update an equipment model Update a specified equipment model

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 models for
  • company_id (integer()): Unique identifier for the company.
  • opts (keyword): Optional parameters
    • :body (RestV10CompaniesCompanyIdManagedEquipmentModelsPostRequest):

Returns

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

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

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

Create an equipment Model Create a new equipment model 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 (RestV10CompaniesCompanyIdManagedEquipmentModelsPostRequest):

Returns

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