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
Bulk Delete Managed Equipment Maintenance Log Attachments Delete multiple Managed Equipment Maintenance Logs Attachments with one request.
List all maintenance logs attachment Return a list of all Maintenance Log attachments for the Maintenance Log the current user has access to.
Create maintenance log attachment. Create a new maintenance log attachment.
Functions
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 serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.attachment_id
(integer()): ID of the managed equipment maintenance log attachmentcompany_id
(integer()): Unique identifier for the company.id
(integer()): ID of the Managed Equipment Maintenance Log Attachmentopts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.ManagedEquipmentMaintenanceLogsAttachment.t}
on success{:error, Tesla.Env.t}
on failure
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 serverprocore_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 fromattachment_id
(integer()): ID of the managed equipment maintenance log attachmentopts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.ManagedEquipmentMaintenanceLogsAttachment.t}
on success{:error, Tesla.Env.t}
on failure
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 \\ [])
@spec rest_v10_companies_company_id_managed_equipment_maintenance_logs_id_attachments_bulk_destroy_delete( Tesla.Env.client(), integer(), integer(), integer(), Procore.Model.RestV10CompaniesCompanyIdManagedEquipmentMaintenanceLogsIdAttachmentsBulkDestroyDeleteRequest.t(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, [Procore.Model.ManagedEquipmentMaintenanceLogsAttachment.t()]} | {:error, Tesla.Env.t()}
Bulk Delete Managed Equipment Maintenance Log Attachments Delete multiple Managed Equipment Maintenance Logs Attachments with one request.
Parameters
connection
(Procore.Connection): Connection to serverprocore_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 Logrest_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
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 serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.company_id
(integer()): Unique identifier for the company.id
(integer()): IDopts
(keyword): Optional parameters
Returns
{:ok, [%ManagedEquipmentMaintenanceLogsAttachment{}, ...]}
on success{:error, Tesla.Env.t}
on failure
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 \\ [])
@spec rest_v10_companies_company_id_managed_equipment_maintenance_logs_id_attachments_post( Tesla.Env.client(), integer(), integer(), integer(), Procore.Model.RestV10CompaniesCompanyIdManagedEquipmentMaintenanceLogsIdAttachmentsPostRequest.t(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.ManagedEquipmentMaintenanceLogsAttachment.t()} | {:error, Tesla.Env.t()}
Create maintenance log attachment. Create a new maintenance log attachment.
Parameters
connection
(Procore.Connection): Connection to serverprocore_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 Logrest_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