Procore.Api.QualitySafetyInspectionsChecklistItemAttachments (procore_sdk v0.3.0)

API calls for all endpoints tagged QualitySafetyInspectionsChecklistItemAttachments.

Summary

Functions

Bulk Create Checklist (Inspections) Item Attachments Uploads Attachments to the specified Checklist Item for a given Project

List Checklist (Inspections) Item Attachments Lists Checklist (Inspections) Item Attachments in a specified Project. See Filtering on List Actions for information on using the filtering capabilities provided by this endpoint.

Delete Checklist (Inspections) Item Attachment Removes the Attachment for a specified Checklist Item on a given Project

List Recycled Checklist (Inspections) Item Attachments Lists Checklist (Inspections) Item Attachments from deleted inspections in a specified Project. See Filtering on List Actions for information on using the filtering capabilities provided by this endpoint.

Functions

Link to this function

rest_v10_projects_project_id_checklist_list_item_attachments_bulk_create_post(connection, procore_company_id, project_id, checklist_item_attachments, opts \\ [])

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

Bulk Create Checklist (Inspections) Item Attachments Uploads Attachments to the specified Checklist Item for a given 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.
  • checklist_item_attachments (ChecklistItemAttachments):
  • opts (keyword): Optional parameters

Returns

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

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

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

List Checklist (Inspections) Item Attachments Lists Checklist (Inspections) Item Attachments in a specified Project. See Filtering on List Actions for information on using the filtering capabilities provided by this endpoint.

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
    • :page (integer()): Page
    • :per_page (integer()): Elements per page
    • :"filters[id]" ([integer()]): Return item(s) with the specified IDs.
    • :"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
    • :"filters[item_id]" ([integer()]): Array of Checklist Item IDs. Return item(s) associated with the specified Checklist Item IDs.

Returns

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

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

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

Delete Checklist (Inspections) Item Attachment Removes the Attachment for a specified Checklist Item on a given 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()): Item ID
  • opts (keyword): Optional parameters

Returns

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

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

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

List Recycled Checklist (Inspections) Item Attachments Lists Checklist (Inspections) Item Attachments from deleted inspections in a specified Project. See Filtering on List Actions for information on using the filtering capabilities provided by this endpoint.

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
    • :page (integer()): Page
    • :per_page (integer()): Elements per page
    • :"filters[id]" ([integer()]): Return item(s) with the specified IDs.
    • :"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
    • :"filters[item_id]" ([integer()]): Array of Checklist Item IDs. Return item(s) associated with the specified Checklist Item IDs.

Returns

  • {:ok, [%ChecklistItemAttachment1{}, ...]} on success
  • {:error, Tesla.Env.t} on failure