Procore.Api.QualitySafetyIncidentsActionAttachments (procore_sdk v0.3.0)
API calls for all endpoints tagged QualitySafetyIncidentsActionAttachments.
Summary
Functions
Create Attachment Creates an attachment for the specified Action.
Functions
Link to this function
rest_v10_projects_project_id_incidents_actions_action_id_attachments_post(connection, procore_company_id, project_id, action_id, attachment, opts \\ [])
@spec rest_v10_projects_project_id_incidents_actions_action_id_attachments_post( Tesla.Env.client(), integer(), integer(), integer(), String.t(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.IncidentAttachment1.t()} | {:error, Tesla.Env.t()}
Create Attachment Creates an attachment for the specified Action.
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.action_id(integer()): Action IDattachment(String.t): Action Attachment. To upload an attachment you must upload the entire payload asmultipart/form-datacontent-type with theattachmentfile.opts(keyword): Optional parameters
Returns
{:ok, Procore.Model.IncidentAttachment1.t}on success{:error, Tesla.Env.t}on failure