API Docs
AbsenceAbsence Additional ContingentAbsence ContingentAccountAccountingAccounting ContactAdded ValueAsset AccountAttachmentAttendanceAuthBank AccountCatalogCommissionContactCraftCredit InvoiceCreditorCustom FilterCustom ReportCustomerCustomFieldDashboardDebitorEmailEmployment ContractEstimateFinanceFinance JournalFinance Journal PositionsFinDocCategoryFollowupForecastGeneral InfoHolidayIntegrationsInvoiceJobJob TasksLogin MethodMeMetricsOffice LocationOrder ConfirmationOrganisationPaymentPersonProcedureProcedure ViewPurchase InvoicePurchase OrderReportResource PlanningSnippetTargetTeamTemplateTimeUserUser CraftUser GroupUser Group ActionsUser Group UsersWorkPattern
GETAttachment
/attachment/presigned_url
Get a presigned url for uploading an attachment
Get a presigned url for uploading an attachment
Base URL
https://<tenant>.dieagenturverwaltung.de/api/v2
Required Security
ApiKeyAuth (Authorization: Session Token)
Produces
application/json
Request
Query Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| type | string | Yes | Type of the attachment |
| id_related | integer | Yes | Id of the related object |
| filename | string | Yes | Filename of the attachment |
| size | integer | Yes | Size of the attachment |
| mime_type | string | Yes | Mime type of the attachment |
cURL
curl -X GET 'https://<tenant>.dieagenturverwaltung.de/api/v2/attachment/presigned_url?type=string&id_related=1&filename=string&size=1&mime_type=string' \
-H 'Accept: application/json' \
-H 'Authorization: Session Token'Responses
200Presigned url
attachment.uploadResponseapplication/json
Example
{
"attachment": {...},
"url": "string"
}400Bad request
rest_errors.Errorapplication/json
Example
{
"code": 123,
"extras": {...},
"message": "string",
"status_code": 123
}401Unauthorized
rest_errors.Errorapplication/json
Example
{
"code": 123,
"extras": {...},
"message": "string",
"status_code": 123
}403Forbidden
rest_errors.Errorapplication/json
Example
{
"code": 123,
"extras": {...},
"message": "string",
"status_code": 123
}