Procore.Api.FieldProductivityManagedEquipmentManagedEquipmentAttachment (procore_sdk v0.3.0)

API calls for all endpoints tagged FieldProductivityManagedEquipmentManagedEquipmentAttachment.

Summary

Functions

Link to this function

rest_v10_companies_company_id_managed_equipment_id_managed_equipment_attachments_bulk_destroy_delete(connection, procore_company_id, company_id, id, rest_v10_companies_company_id_managed_equipment_id_managed_equipment_attachments_bulk_destroy_delete_request, opts \\ [])

Bulk Delete Managed Equipment Attachment Delete multiple Managed Equipment Attachments 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.
  • id (integer()): ID
  • rest_v10_companies_company_id_managed_equipment_id_managed_equipment_attachments_bulk_destroy_delete_request (RestV10CompaniesCompanyIdManagedEquipmentIdManagedEquipmentAttachmentsBulkDestroyDeleteRequest):
  • opts (keyword): Optional parameters

Returns

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

rest_v10_companies_company_id_managed_equipment_managed_equipment_id_managed_equipment_attachments_id_delete(connection, procore_company_id, company_id, managed_equipment_id, id, opts \\ [])

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

Delete Managed Equipment Attachment Deleting an attachment from a Managed Equipment

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.
  • managed_equipment_id (integer()): Id of the Equipment
  • id (integer()): Id of the Managed Equipment Attachment
  • opts (keyword): Optional parameters

Returns

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