Procore.Api.QualitySafetyInspectionsChecklistAttachments (procore_sdk v0.1.3)
API calls for all endpoints tagged QualitySafetyInspectionsChecklistAttachments
.
Summary
Functions
Delete Attachment Deletes the specified Attachment
Create Attachment Creates an attachment for the specified Checklist (Inspection).
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 serverprocore_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) IDid
(integer()): Attachment IDopts
(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, attachment, opts \\ [])
@spec rest_v10_projects_project_id_checklist_lists_list_id_attachments_post( Tesla.Env.client(), integer(), integer(), integer(), String.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 serverprocore_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) IDattachment
(String.t): Checklist (Inspection) Attachment. To upload an attachment you must upload the entire payload asmultipart/form-data
content-type with theattachment
file.opts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.ChecklistInspectionAttachment1.t}
on success{:error, Tesla.Env.t}
on failure