Cmdlets for Trello

Build 24.0.9060

DownloadAttachment

Downloads an attachment from a card. If AttachmentId is not assigned a value, the provider will check how many attachments does the card have, if one it will continue downloading that attachment, if more it will stop and request for an AttachmentId.

Input

Name Type Required Description
CardId String True The ID of the card that has the attachment.
AttachmentId String False The ID of the attachment to download. Required if the card has multiple attachments.
LocalFolder String False The local file path for the location where the file will be saved on disk.

Result Set Columns

Name Type Description
Success String This value shows a boolean indication of whether the operation was successful or not.
FileName String The file name for the downloaded attachment.
FileData String File data that will be outputted encoded in Base64 if the LocalFolder input is empty.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060