Procore.Api.FieldProductivityTimeAndMaterialsTimeAndMaterialAttachment (procore_sdk v0.3.0)

API calls for all endpoints tagged FieldProductivityTimeAndMaterialsTimeAndMaterialAttachment.

Summary

Functions

Link to this function

rest_v10_projects_project_id_time_and_material_entry_attachments_bulk_destroy_delete(connection, procore_company_id, project_id, rest_v10_projects_project_id_time_and_material_entry_attachments_bulk_destroy_delete_request, opts \\ [])

Bulk Delete Time and Material Attachments Delete multiple Time and Material Attachments with one request.

Parameters

  • connection (Procore.Connection): Connection to server
  • procore_company_id (integer()): Unique company identifier associated with the Procore User Account.
  • project_id (integer()): Unique identifier for the project.
  • rest_v10_projects_project_id_time_and_material_entry_attachments_bulk_destroy_delete_request (RestV10ProjectsProjectIdTimeAndMaterialEntryAttachmentsBulkDestroyDeleteRequest):
  • opts (keyword): Optional parameters

Returns

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

rest_v10_projects_project_id_time_and_material_entry_attachments_get(connection, procore_company_id, project_id, opts \\ [])

List all attachments Return a list of all Time and Material attachments for the specified Project user has access to.

Parameters

  • connection (Procore.Connection): Connection to server
  • procore_company_id (integer()): Unique company identifier associated with the Procore User Account.
  • project_id (integer()): Unique identifier for the project.
  • opts (keyword): Optional parameters

Returns

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

rest_v10_projects_project_id_time_and_material_entry_attachments_id_delete(connection, procore_company_id, project_id, id, opts \\ [])

Delete a Time and Material Attachment Deleting a Time and Material Attachment from a specified Project

Parameters

  • connection (Procore.Connection): Connection to server
  • procore_company_id (integer()): Unique company identifier associated with the Procore User Account.
  • project_id (integer()): Unique identifier for the project.
  • id (integer()): ID of the Time and Material Attachment
  • opts (keyword): Optional parameters

Returns

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

rest_v10_projects_project_id_time_and_material_entry_attachments_id_get(connection, procore_company_id, project_id, id, opts \\ [])

Show an individual time and material attachment Return detailed information about a specific time and material attachment

Parameters

  • connection (Procore.Connection): Connection to server
  • procore_company_id (integer()): Unique company identifier associated with the Procore User Account.
  • project_id (integer()): Unique identifier for the project.
  • id (integer()): ID of the time and material attachment
  • opts (keyword): Optional parameters

Returns

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

rest_v10_projects_project_id_time_and_material_entry_attachments_post(connection, procore_company_id, project_id, rest_v10_projects_project_id_time_and_material_entry_attachments_post_request, opts \\ [])

Create attachment Create a new attachment

Parameters

  • connection (Procore.Connection): Connection to server
  • procore_company_id (integer()): Unique company identifier associated with the Procore User Account.
  • project_id (integer()): Unique identifier for the project.
  • rest_v10_projects_project_id_time_and_material_entry_attachments_post_request (RestV10ProjectsProjectIdTimeAndMaterialEntryAttachmentsPostRequest):
  • opts (keyword): Optional parameters

Returns

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