Create attachments
documentedCreate new attachments in Targetprocess.
POST /api/v1/Attachments/Attachmentsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://{{$tp_account}}.targetprocess.com/api/v1/Attachments/" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"Name": "{{$title}}", "Description": "{{$description}}", "GeneralId": {{$general_id}}, "FileName": "{{$filename}}", "MimeType": "{{$mime_type}}", "Data": "{{$file_base64}}"}'