WSE · Schnittstellen
Weitere Schnittstellen
Verbinden Sie WSE mit Ihren Anwendungen. Entdecken Sie Endpunkte, Datenmodelle und Schnittstellen – nach Funktionsbereichen und Add-ons geordnet.
Weitere Schnittstellen
ERP API Dokumentation
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/document-library?customer_id=497f6eca-6276-4993-bfeb-53cbbbba6f08&service_id=497f6eca-6276-4993-bfeb-53cbbbba6f08&document_type=invoice&origin=generated&date_from=2019-08-24&date_to=2019-08-24&offset=0&limit=100' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Successful Response
Supported fixed business document types.
[ { "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "document_type_key": "invoice", "document_date": "2019-08-24", "uploaded_at": "2019-08-24T14:15:22Z", "mime_type": "string", "size_bytes": 0, "allowed_actions": [], "domain": "string", "origin": "string", "display_name": "string", "description": "string", "is_final": true, "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e", "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0" } ]
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/document-library/497f6eca-6276-4993-bfeb-53cbbbba6f08' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Successful Response
Supported fixed business document types.
{ "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "document_type_key": "invoice", "document_date": "2019-08-24", "uploaded_at": "2019-08-24T14:15:22Z", "mime_type": "string", "size_bytes": 0, "allowed_actions": [], "domain": "string", "origin": "string", "display_name": "string", "description": "string", "is_final": true, "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e", "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0" }
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/document-library/497f6eca-6276-4993-bfeb-53cbbbba6f08/associations' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/document-library/497f6eca-6276-4993-bfeb-53cbbbba6f08/file' \
--header 'Accept: application/octet-stream' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/document-library/497f6eca-6276-4993-bfeb-53cbbbba6f08/preview' \
--header 'Accept: application/octet-stream' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/correspondence/types' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Successful Response
[ { "key": "string", "name": "string", "description": "string", "context": "customer", "active": true, "revision": 0, "type_id": "d9779ea4-ba95-4824-86d7-4f1ac083a564" } ]
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/correspondence/types' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"key": "string",
"name": "string",
"description": "string",
"context": "customer",
"active": true,
"revision": 0
}'Successful Response
{ "key": "string", "name": "string", "description": "string", "context": "customer", "active": true, "revision": 0, "type_id": "d9779ea4-ba95-4824-86d7-4f1ac083a564" }
# Example only: replace the instance URL, token and sample values before use.
curl --request PUT \
--url 'https://your-instance.example.invalid/correspondence/types/497f6eca-6276-4993-bfeb-53cbbbba6f08' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"key": "string",
"name": "string",
"description": "string",
"context": "customer",
"active": true,
"revision": 0
}'Successful Response
{ "key": "string", "name": "string", "description": "string", "context": "customer", "active": true, "revision": 0, "type_id": "d9779ea4-ba95-4824-86d7-4f1ac083a564" }
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/correspondence/types/497f6eca-6276-4993-bfeb-53cbbbba6f08/templates?include_versions=false' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'[ { "template_id": "c6d67e98-83ea-49f0-8812-e4abae2b68bc", "type_id": "d9779ea4-ba95-4824-86d7-4f1ac083a564", "key": "string", "version": 0, "is_default": true, "fields": [ … ] } ]
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/correspondence/types/497f6eca-6276-4993-bfeb-53cbbbba6f08/templates' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"key": "string",
"source": "string",
"fields": [
{
"key": "string",
"label": "string",
"type": "text",
"order": 0,
"required": false,
"default": null,
"options": [
"string"
]
}
],
"sections": [
{
"key": "string",
"field": "string",
"equals": true
}
],
"previous_template_id": "32d1df89-4273-435f-b6be-b36ee9a18dc6",
"style_id": "42816bda-d9c2-4157-9d9c-8806b666d646",
"background_id": "6e27a709-633c-4300-9c26-6e6eaf5b6238",
"editor_definition": {},
"is_default": false
}'{ "template_id": "c6d67e98-83ea-49f0-8812-e4abae2b68bc", "type_id": "d9779ea4-ba95-4824-86d7-4f1ac083a564", "key": "string", "version": 0, "is_default": true, "fields": [ { … } ] }
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/correspondence/templates/497f6eca-6276-4993-bfeb-53cbbbba6f08/source' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Successful Response
{ "template_id": "c6d67e98-83ea-49f0-8812-e4abae2b68bc", "key": "string", "version": 0, "previous_template_id": "32d1df89-4273-435f-b6be-b36ee9a18dc6", "style_id": "42816bda-d9c2-4157-9d9c-8806b666d646", "background_id": "6e27a709-633c-4300-9c26-6e6eaf5b6238", "is_default": true, "source": "string", "fields": [ { … } ], "sections": [ { … } ], "editor_definition": {} }
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/correspondence/placeholders' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/correspondence/drafts?customer_id=497f6eca-6276-4993-bfeb-53cbbbba6f08&service_id=497f6eca-6276-4993-bfeb-53cbbbba6f08&type_id=497f6eca-6276-4993-bfeb-53cbbbba6f08&finalized=true&offset=0&limit=100' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Successful Response
[ { "type_id": "d9779ea4-ba95-4824-86d7-4f1ac083a564", "template_id": "c6d67e98-83ea-49f0-8812-e4abae2b68bc", "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e", "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0", "address_id": "a32b0e3d-a5f5-48d8-a572-6ae561815055", "subject": "", "document_date": "2019-08-24", "values": { … }, "revision": 0, "draft_id": "d998e5e8-954a-4a68-bb9e-7305e87278c0", "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "preview_digest": "string", "context": { … } } ]
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/correspondence/drafts' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"type_id": "d9779ea4-ba95-4824-86d7-4f1ac083a564",
"template_id": "c6d67e98-83ea-49f0-8812-e4abae2b68bc",
"customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
"service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
"address_id": "a32b0e3d-a5f5-48d8-a572-6ae561815055",
"subject": "",
"document_date": "2019-08-24",
"values": {
"property1": null,
"property2": null
},
"revision": 0
}'Successful Response
{ "type_id": "d9779ea4-ba95-4824-86d7-4f1ac083a564", "template_id": "c6d67e98-83ea-49f0-8812-e4abae2b68bc", "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e", "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0", "address_id": "a32b0e3d-a5f5-48d8-a572-6ae561815055", "subject": "", "document_date": "2019-08-24", "values": { "property1": null, "property2": null }, "revision": 0, "draft_id": "d998e5e8-954a-4a68-bb9e-7305e87278c0", "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "preview_digest": "string", "context": { "sender": { … }, "customer": { … }, "recipient": { … }, "service": { … } } }
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/correspondence/drafts/497f6eca-6276-4993-bfeb-53cbbbba6f08' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Successful Response
{ "type_id": "d9779ea4-ba95-4824-86d7-4f1ac083a564", "template_id": "c6d67e98-83ea-49f0-8812-e4abae2b68bc", "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e", "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0", "address_id": "a32b0e3d-a5f5-48d8-a572-6ae561815055", "subject": "", "document_date": "2019-08-24", "values": { "property1": null, "property2": null }, "revision": 0, "draft_id": "d998e5e8-954a-4a68-bb9e-7305e87278c0", "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "preview_digest": "string", "context": { "sender": { … }, "customer": { … }, "recipient": { … }, "service": { … } } }
# Example only: replace the instance URL, token and sample values before use.
curl --request PUT \
--url 'https://your-instance.example.invalid/correspondence/drafts/497f6eca-6276-4993-bfeb-53cbbbba6f08' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"type_id": "d9779ea4-ba95-4824-86d7-4f1ac083a564",
"template_id": "c6d67e98-83ea-49f0-8812-e4abae2b68bc",
"customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
"service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
"address_id": "a32b0e3d-a5f5-48d8-a572-6ae561815055",
"subject": "",
"document_date": "2019-08-24",
"values": {
"property1": null,
"property2": null
},
"revision": 0
}'Successful Response
{ "type_id": "d9779ea4-ba95-4824-86d7-4f1ac083a564", "template_id": "c6d67e98-83ea-49f0-8812-e4abae2b68bc", "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e", "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0", "address_id": "a32b0e3d-a5f5-48d8-a572-6ae561815055", "subject": "", "document_date": "2019-08-24", "values": { "property1": null, "property2": null }, "revision": 0, "draft_id": "d998e5e8-954a-4a68-bb9e-7305e87278c0", "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "preview_digest": "string", "context": { "sender": { … }, "customer": { … }, "recipient": { … }, "service": { … } } }
# Example only: replace the instance URL, token and sample values before use.
curl --request DELETE \
--url 'https://your-instance.example.invalid/correspondence/drafts/497f6eca-6276-4993-bfeb-53cbbbba6f08?revision=0' \
--header 'Accept: application/problem+json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/correspondence/drafts/497f6eca-6276-4993-bfeb-53cbbbba6f08/preview' \
--header 'Accept: application/pdf' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"revision": 1,
"preview_digest": "string"
}'# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/correspondence/drafts/497f6eca-6276-4993-bfeb-53cbbbba6f08/finalize' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"revision": 1,
"preview_digest": "string"
}'Successful Response
{ "type_id": "d9779ea4-ba95-4824-86d7-4f1ac083a564", "template_id": "c6d67e98-83ea-49f0-8812-e4abae2b68bc", "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e", "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0", "address_id": "a32b0e3d-a5f5-48d8-a572-6ae561815055", "subject": "", "document_date": "2019-08-24", "values": { "property1": null, "property2": null }, "revision": 0, "draft_id": "d998e5e8-954a-4a68-bb9e-7305e87278c0", "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "preview_digest": "string", "context": { "sender": { … }, "customer": { … }, "recipient": { … }, "service": { … } } }
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/correspondence/drafts/497f6eca-6276-4993-bfeb-53cbbbba6f08/file' \
--header 'Accept: application/pdf' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/correspondence/uploads?customer_id=497f6eca-6276-4993-bfeb-53cbbbba6f08&service_id=497f6eca-6276-4993-bfeb-53cbbbba6f08' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--form 'file=@/path/to/file'Successful Response
Supported fixed business document types.
{ "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "document_type_key": "invoice", "document_date": "2019-08-24", "uploaded_at": "2019-08-24T14:15:22Z", "mime_type": "string", "size_bytes": 0, "allowed_actions": [], "domain": "string", "origin": "string", "display_name": "string", "description": "string", "is_final": true, "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e", "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0" }
# Example only: replace the instance URL, token and sample values before use.
curl --request PUT \
--url 'https://your-instance.example.invalid/correspondence/uploads/497f6eca-6276-4993-bfeb-53cbbbba6f08' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"display_name": "string",
"description": "string",
"associations": [
{
"customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
"service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0"
}
]
}'Successful Response
Supported fixed business document types.
{ "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "document_type_key": "invoice", "document_date": "2019-08-24", "uploaded_at": "2019-08-24T14:15:22Z", "mime_type": "string", "size_bytes": 0, "allowed_actions": [], "domain": "string", "origin": "string", "display_name": "string", "description": "string", "is_final": true, "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e", "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0" }
# Example only: replace the instance URL, token and sample values before use.
curl --request DELETE \
--url 'https://your-instance.example.invalid/correspondence/uploads/497f6eca-6276-4993-bfeb-53cbbbba6f08' \
--header 'Accept: application/problem+json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/correspondence/types/497f6eca-6276-4993-bfeb-53cbbbba6f08/preview' \
--header 'Accept: application/pdf' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"key": "string",
"source": "string",
"fields": [
{
"key": "string",
"label": "string",
"type": "text",
"order": 0,
"required": false,
"default": null,
"options": [
"string"
]
}
],
"sections": [
{
"key": "string",
"field": "string",
"equals": true
}
],
"previous_template_id": "32d1df89-4273-435f-b6be-b36ee9a18dc6",
"style_id": "42816bda-d9c2-4157-9d9c-8806b666d646",
"background_id": "6e27a709-633c-4300-9c26-6e6eaf5b6238",
"editor_definition": {},
"is_default": false,
"customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
"service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
"address_id": "a32b0e3d-a5f5-48d8-a572-6ae561815055",
"subject": "string",
"document_date": "2019-08-24",
"values": {
"property1": null,
"property2": null
}
}'# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/correspondence/resources' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/delivery-notes?customer_id=497f6eca-6276-4993-bfeb-53cbbbba6f08&offset=0&limit=100' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Successful Response
[ { "delivery_note_id": "f67acc39-150f-4aa9-bc89-72cd8ba38c9d", "order_confirmation_id": "5ac4f745-d6dc-4e00-bdf0-25c1771c74cd", "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e", "delivery_date": "2019-08-24", "template_id": "c6d67e98-83ea-49f0-8812-e4abae2b68bc", "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "delivery_note_no": 0, "delivery_note_prefix": "string", "positions": [ … ] } ]
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/delivery-notes' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"order_confirmation_id": "5ac4f745-d6dc-4e00-bdf0-25c1771c74cd",
"address_id": "a32b0e3d-a5f5-48d8-a572-6ae561815055",
"delivery_date": "2019-08-24",
"template_id": "c6d67e98-83ea-49f0-8812-e4abae2b68bc",
"positions": [
{
"position_id": "a92aa83d-7963-4315-8d81-5d1c5b730d9d",
"quantity": 1
}
],
"idempotency_key": "string"
}'Successful Response
{ "delivery_note_id": "f67acc39-150f-4aa9-bc89-72cd8ba38c9d", "order_confirmation_id": "5ac4f745-d6dc-4e00-bdf0-25c1771c74cd", "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e", "delivery_date": "2019-08-24", "template_id": "c6d67e98-83ea-49f0-8812-e4abae2b68bc", "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "delivery_note_no": 0, "delivery_note_prefix": "string", "positions": [ { … } ] }
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/delivery-notes/497f6eca-6276-4993-bfeb-53cbbbba6f08' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Successful Response
{ "delivery_note_id": "f67acc39-150f-4aa9-bc89-72cd8ba38c9d", "order_confirmation_id": "5ac4f745-d6dc-4e00-bdf0-25c1771c74cd", "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e", "delivery_date": "2019-08-24", "template_id": "c6d67e98-83ea-49f0-8812-e4abae2b68bc", "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "delivery_note_no": 0, "delivery_note_prefix": "string", "positions": [ { … } ] }
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/delivery-notes/497f6eca-6276-4993-bfeb-53cbbbba6f08/preview' \
--header 'Accept: application/pdf' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/delivery-notes/497f6eca-6276-4993-bfeb-53cbbbba6f08/finalize' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Successful Response
{ "delivery_note_id": "f67acc39-150f-4aa9-bc89-72cd8ba38c9d", "order_confirmation_id": "5ac4f745-d6dc-4e00-bdf0-25c1771c74cd", "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e", "delivery_date": "2019-08-24", "template_id": "c6d67e98-83ea-49f0-8812-e4abae2b68bc", "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "delivery_note_no": 0, "delivery_note_prefix": "string", "positions": [ { … } ] }
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/delivery-notes/497f6eca-6276-4993-bfeb-53cbbbba6f08/file' \
--header 'Accept: application/pdf' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/document-delivery/settings' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Successful Response
{ "revision": 0, "enabled": true, "host": "string", "port": 0, "username": "string", "sender": "string", "sender_name": "string", "reply_to": "string", "password_set": false, "encryption_ready": false }
# Example only: replace the instance URL, token and sample values before use.
curl --request PUT \
--url 'https://your-instance.example.invalid/document-delivery/settings' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"revision": 1,
"enabled": true,
"host": "string",
"port": 465,
"username": "string",
"password": "pa$$word",
"sender": "user@example.com",
"sender_name": "",
"reply_to": "user@example.com"
}'Successful Response
{ "revision": 0, "enabled": true, "host": "string", "port": 0, "username": "string", "sender": "string", "sender_name": "string", "reply_to": "string", "password_set": false, "encryption_ready": false }
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/document-delivery/connection-test' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/document-delivery/test-mail' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"recipient": "user@example.com",
"idempotency_key": "string"
}'Successful Response
{ "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f", "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e", "document_type": "string", "kind": "string", "status": "waiting", "allowed_actions": [ "release" ], "phase": "string", "snapshot": { "recipient": "string", "sender": "string", "sender_name": "string", "reply_to": "string", "language": "de", "subject": "string", "body": "string", "files": [ … ], "settings_revision": 0, "preference_revision": [ … ], "template_revision": 0 }, "previous_snapshots": [ { … } ], "settings_revision": 0, "retry_count": 0, "error_code": "string", "parent_job_id": "dd63d5e7-6727-402c-8127-3fd32aa9072a", "reason": "string", "created_at": "2019-08-24T14:15:22Z" }
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/document-delivery/customers/497f6eca-6276-4993-bfeb-53cbbbba6f08/preferences' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'[ { "document_type": "string", "recipient": "string", "language": "de", "automatic": true, "revision": 0 } ]
# Example only: replace the instance URL, token and sample values before use.
curl --request PUT \
--url 'https://your-instance.example.invalid/document-delivery/customers/497f6eca-6276-4993-bfeb-53cbbbba6f08/preferences/string' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"revision": 0,
"recipient": "user@example.com",
"language": "de",
"automatic": false
}'# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/document-delivery/templates/invoice/de' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'# Example only: replace the instance URL, token and sample values before use.
curl --request PUT \
--url 'https://your-instance.example.invalid/document-delivery/templates/invoice/de' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"revision": 0,
"subject": "string",
"body": "string"
}'# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/document-delivery/preview' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6",
"recipient": "user@example.com",
"subject": "string",
"body": "string"
}'{ "has_previous_delivery": false, "snapshot": { "recipient": "string", "sender": "string", "sender_name": "string", "reply_to": "string", "language": "de", "subject": "string", "body": "string", "files": [ … ], "settings_revision": 0, "preference_revision": [ … ], "template_revision": 0 }, "preview_digest": "string", "blocked_reason": "string" }
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/document-delivery/jobs?customer_id=497f6eca-6276-4993-bfeb-53cbbbba6f08&document_id=497f6eca-6276-4993-bfeb-53cbbbba6f08&status=waiting&document_type=invoice&date_from=2019-08-24&date_to=2019-08-24&offset=0&limit=100' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Successful Response
[ { "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f", "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e", "document_type": "string", "kind": "string", "status": "waiting", "allowed_actions": [ … ], "phase": "string", "snapshot": { … }, "previous_snapshots": [ … ], "settings_revision": 0, "retry_count": 0, "error_code": "string", "parent_job_id": "dd63d5e7-6727-402c-8127-3fd32aa9072a", "reason": "string", "created_at": "2019-08-24T14:15:22Z" } ]
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/document-delivery/jobs' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6",
"recipient": "user@example.com",
"subject": "string",
"body": "string",
"preview_digest": "string",
"idempotency_key": "string"
}'Successful Response
{ "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f", "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e", "document_type": "string", "kind": "string", "status": "waiting", "allowed_actions": [ "release" ], "phase": "string", "snapshot": { "recipient": "string", "sender": "string", "sender_name": "string", "reply_to": "string", "language": "de", "subject": "string", "body": "string", "files": [ … ], "settings_revision": 0, "preference_revision": [ … ], "template_revision": 0 }, "previous_snapshots": [ { … } ], "settings_revision": 0, "retry_count": 0, "error_code": "string", "parent_job_id": "dd63d5e7-6727-402c-8127-3fd32aa9072a", "reason": "string", "created_at": "2019-08-24T14:15:22Z" }
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/document-delivery/batch-preview' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '[
"497f6eca-6276-4993-bfeb-53cbbbba6f08"
]'Successful Response
[ { "has_previous_delivery": false, "snapshot": { … }, "preview_digest": "string", "blocked_reason": "string", "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6" } ]
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/document-delivery/batch' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6",
"recipient": "user@example.com",
"subject": "string",
"body": "string",
"preview_digest": "string",
"idempotency_key": "string"
}
]'Successful Response
[ { "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f", "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e", "document_type": "string", "kind": "string", "status": "waiting", "allowed_actions": [ … ], "phase": "string", "snapshot": { … }, "previous_snapshots": [ … ], "settings_revision": 0, "retry_count": 0, "error_code": "string", "parent_job_id": "dd63d5e7-6727-402c-8127-3fd32aa9072a", "reason": "string", "created_at": "2019-08-24T14:15:22Z" } ]
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/document-delivery/jobs/497f6eca-6276-4993-bfeb-53cbbbba6f08/attempts' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'[ { "number": 0, "result": "string", "error_code": "string", "created_at": "2019-08-24T14:15:22Z" } ]
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/document-delivery/jobs/497f6eca-6276-4993-bfeb-53cbbbba6f08/release' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6",
"recipient": "user@example.com",
"subject": "string",
"body": "string",
"preview_digest": "string",
"idempotency_key": "string"
}'Successful Response
{ "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f", "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e", "document_type": "string", "kind": "string", "status": "waiting", "allowed_actions": [ "release" ], "phase": "string", "snapshot": { "recipient": "string", "sender": "string", "sender_name": "string", "reply_to": "string", "language": "de", "subject": "string", "body": "string", "files": [ … ], "settings_revision": 0, "preference_revision": [ … ], "template_revision": 0 }, "previous_snapshots": [ { … } ], "settings_revision": 0, "retry_count": 0, "error_code": "string", "parent_job_id": "dd63d5e7-6727-402c-8127-3fd32aa9072a", "reason": "string", "created_at": "2019-08-24T14:15:22Z" }
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/document-delivery/jobs/497f6eca-6276-4993-bfeb-53cbbbba6f08/resend' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6",
"recipient": "user@example.com",
"subject": "string",
"body": "string",
"preview_digest": "string",
"idempotency_key": "string",
"confirmed": true,
"reason": "string"
}'Successful Response
{ "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f", "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e", "document_type": "string", "kind": "string", "status": "waiting", "allowed_actions": [ "release" ], "phase": "string", "snapshot": { "recipient": "string", "sender": "string", "sender_name": "string", "reply_to": "string", "language": "de", "subject": "string", "body": "string", "files": [ … ], "settings_revision": 0, "preference_revision": [ … ], "template_revision": 0 }, "previous_snapshots": [ { … } ], "settings_revision": 0, "retry_count": 0, "error_code": "string", "parent_job_id": "dd63d5e7-6727-402c-8127-3fd32aa9072a", "reason": "string", "created_at": "2019-08-24T14:15:22Z" }
