Procore.Api.QualitySafetyInspectionsChecklistScheduleAttachments (procore_sdk v0.3.0)
API calls for all endpoints tagged QualitySafetyInspectionsChecklistScheduleAttachments
.
Summary
Functions
List Checklist Schedule Attachments Lists Checklist Schedule Attachments for given Project and Schedule
Delete Checklist Schedule Attachment Delete the attachment pertaining to the Checklist Schedule Attachment
Create Checklist Schedule Attachment Uploads an Attachment to the specified Checklist Schedule
Functions
Link to this function
rest_v10_projects_project_id_checklist_schedules_schedule_id_attachments_get(connection, procore_company_id, project_id, schedule_id, opts \\ [])
@spec rest_v10_projects_project_id_checklist_schedules_schedule_id_attachments_get( Tesla.Env.client(), integer(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, [Procore.Model.ChecklistScheduleAttachment.t()]} | {:error, Tesla.Env.t()}
List Checklist Schedule Attachments Lists Checklist Schedule Attachments for given Project and Schedule
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.schedule_id
(integer()): Checklist Schedule IDopts
(keyword): Optional parameters:page
(integer()): Page:per_page
(integer()): Elements per page
Returns
{:ok, [%ChecklistScheduleAttachment{}, ...]}
on success{:error, Tesla.Env.t}
on failure
Link to this function
rest_v10_projects_project_id_checklist_schedules_schedule_id_attachments_id_delete(connection, procore_company_id, project_id, schedule_id, id, opts \\ [])
@spec rest_v10_projects_project_id_checklist_schedules_schedule_id_attachments_id_delete( Tesla.Env.client(), integer(), integer(), integer(), integer(), keyword() ) :: {:ok, nil} | {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.RestV10WorkOrderContractsWorkOrderContractIdSubcontractorScheduleOfValuesStatusPatch404Response.t()} | {:ok, Procore.Model.RestV10ProjectsProjectIdChecklistSchedulesScheduleIdAttachmentsIdDelete400Response.t()} | {:error, Tesla.Env.t()}
Delete Checklist Schedule Attachment Delete the attachment pertaining to the Checklist Schedule 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.schedule_id
(integer()): Checklist Schedule IDid
(integer()): Checklist Schedule 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_schedules_schedule_id_attachments_post(connection, procore_company_id, project_id, schedule_id, attachment, opts \\ [])
@spec rest_v10_projects_project_id_checklist_schedules_schedule_id_attachments_post( Tesla.Env.client(), integer(), integer(), integer(), String.t(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.ChecklistScheduleAttachment.t()} | {:error, Tesla.Env.t()}
Create Checklist Schedule Attachment Uploads an Attachment to the specified Checklist Schedule
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.schedule_id
(integer()): Checklist Schedule IDattachment
(String.t): Checklist Schedule Attachment. To upload an attachment you must upload the entire payload asmultipart/form-data
content-type and specify each parameter as form-data together with theattachment
file.opts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.ChecklistScheduleAttachment.t}
on success{:error, Tesla.Env.t}
on failure