Public

Attach Documents to Record File Field

Sample request:

POST 
{             
     "WorkflowName":"Test Workflow",
     "StageName":"Approval stage",
     "RecordId":"10"
     "FieldName":"File Uploader"
     "File":"File to upload"
}
post/api/Public/filefield/attachfile

Request

Request body multipart/form-data

WorkflowNamestring required

Name of the workflow / lookup

StageNamestring required

For workflows, enter the workflow stage display name as stage name. For lookup workflows, enter the lookup name as the stage name

RecordIdinteger required

Record Id

FieldNamestring required

Field Name

Filestring binary required

File to upload (Maximum File Size 20MB)

Response

Return status of the request

fileNamestring nullable

Attached Filename

statusstring nullable

Returns if the file is uploaded successfully

messagestring nullable

Message of the file

Changes

No recorded changes to this operation across all 1 revision of this API.