Procore.Api.FieldProductivityManagedEquipmentCompanyManagedEquipmentMaintenanceLogAttachment (procore_sdk v0.3.0)

API calls for all endpoints tagged FieldProductivityManagedEquipmentCompanyManagedEquipmentMaintenanceLogAttachment.

Summary

Functions

Delete Managed Equipment Maintenance Log Attachment Deleting an attachment from a Managed Equipment Maintenance Log

Show an individual managed equipment maintenance log attachment Return detailed information about a specific managed equipment maintenance log attachment

List all maintenance logs attachment Return a list of all Maintenance Log attachments for the Maintenance Log the current user has access to.

Functions

Link to this function

rest_v10_companies_company_id_managed_equipment_maintenance_logs_id_attachments_attachment_id_delete(connection, procore_company_id, attachment_id, company_id, id, opts \\ [])

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

Delete Managed Equipment Maintenance Log Attachment Deleting an attachment from a Managed Equipment Maintenance Log

Parameters

  • connection (Procore.Connection): Connection to server
  • procore_company_id (integer()): Unique company identifier associated with the Procore User Account.
  • attachment_id (integer()): ID of the managed equipment maintenance log attachment
  • company_id (integer()): Unique identifier for the company.
  • id (integer()): ID of the Managed Equipment Maintenance Log Attachment
  • opts (keyword): Optional parameters

Returns

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

rest_v10_companies_company_id_managed_equipment_maintenance_logs_id_attachments_attachment_id_get(connection, procore_company_id, company_id, id, attachment_id, opts \\ [])

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

Show an individual managed equipment maintenance log attachment Return detailed information about a specific managed equipment maintenance log attachment

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 managed equipment maintenance log to get attachments from
  • attachment_id (integer()): ID of the managed equipment maintenance log attachment
  • opts (keyword): Optional parameters

Returns

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

rest_v10_companies_company_id_managed_equipment_maintenance_logs_id_attachments_bulk_destroy_delete(connection, procore_company_id, company_id, id, rest_v10_companies_company_id_managed_equipment_maintenance_logs_id_attachments_bulk_destroy_delete_request, opts \\ [])

Bulk Delete Managed Equipment Maintenance Log Attachments Delete multiple Managed Equipment Maintenance Logs 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 of the Managed Equipment Maintenance Log
  • rest_v10_companies_company_id_managed_equipment_maintenance_logs_id_attachments_bulk_destroy_delete_request (RestV10CompaniesCompanyIdManagedEquipmentMaintenanceLogsIdAttachmentsBulkDestroyDeleteRequest):
  • opts (keyword): Optional parameters

Returns

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

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

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

List all maintenance logs attachment Return a list of all Maintenance Log attachments for the Maintenance Log the current user has access to.

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

Returns

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

rest_v10_companies_company_id_managed_equipment_maintenance_logs_id_attachments_post(connection, procore_company_id, company_id, id, rest_v10_companies_company_id_managed_equipment_maintenance_logs_id_attachments_post_request, opts \\ [])

Create maintenance log attachment. Create a new maintenance log attachment.

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 Managed Equipment Maintenance Log
  • rest_v10_companies_company_id_managed_equipment_maintenance_logs_id_attachments_post_request (RestV10CompaniesCompanyIdManagedEquipmentMaintenanceLogsIdAttachmentsPostRequest):
  • opts (keyword): Optional parameters

Returns

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