Procore.Api.QualitySafetyInspectionsChecklistAttachments (procore_sdk v0.3.0)

API calls for all endpoints tagged QualitySafetyInspectionsChecklistAttachments.

Summary

Functions

Link to this function

rest_v10_projects_project_id_checklist_lists_list_id_attachments_id_delete(connection, procore_company_id, project_id, list_id, id, opts \\ [])

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

Delete Attachment Deletes the specified 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.
  • list_id (integer()): Checklist (Inspection) ID
  • id (integer()): Attachment 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_checklist_lists_list_id_attachments_post(connection, procore_company_id, project_id, list_id, body115, opts \\ [])

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

Create Attachment Creates an attachment for the specified Checklist (Inspection).

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.
  • list_id (integer()): Checklist (Inspection) ID
  • body115 (Body115):
  • opts (keyword): Optional parameters

Returns

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