younifyd
Menu

/api/files/saveFile (Save Attachment or Image)

Save Attachment or Image

POST/api/files/saveFile

Use it in a workflow

  1. Add a step and choose the TradeBeyond connector.
  2. Pick the /api/files/saveFile (Save Attachment or Image) action (under FileController).
  3. Fill in the fields below, then reference the result from later steps as {{apiFilesSavefileSaveAttachmentOrImage.response.data}}.

Request

Query parameters

filePathstringrequired

Request body

Enter the body as JSON in the step's Body field.

filestring (binary)required
json
{
  "file": "string"
}

Response

Returns 200 with a boolean. Read it in later steps with {{apiFilesSavefileSaveAttachmentOrImage.response.data.<field>}}.

Need more? See the TradeBeyond guide for connection setup and behaviour shared by every action.

/api/files/saveFile (Save Attachment or Image) — TradeBeyond — Documentation