Procore.Api.QualitySafetyIncidentsWitnessStatementAttachments (procore_sdk v0.3.0)
API calls for all endpoints tagged QualitySafetyIncidentsWitnessStatementAttachments.
Summary
Functions
Create Attachment Creates an attachment for the specified Witness Statement.
Functions
Link to this function
rest_v10_projects_project_id_incidents_witness_statements_witness_statement_id_attachments_post(connection, procore_company_id, project_id, witness_statement_id, attachment, opts \\ [])
@spec rest_v10_projects_project_id_incidents_witness_statements_witness_statement_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 Witness Statement.
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.witness_statement_id(integer()): Witness Statement IDattachment(String.t): Witness Statement 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