WSE · Schnittstellen

Weitere Schnittstellen

Verbinden Sie WSE mit Ihren Anwendungen. Entdecken Sie Endpunkte, Datenmodelle und Schnittstellen – nach Funktionsbereichen und Add-ons geordnet.

OpenAPI herunterladen ↓
REST · JSONBearer-Authentifizierung

Weitere Schnittstellen

ERP API Dokumentation

List Documents

Request

Security
BearerAuth
Query
customer_idstring or null(Customer Id)
Any of:
string (uuid)
service_idstring or null(Service Id)
Any of:
string (uuid)
document_typeDocumentTypeEnum (string) or string or null(Document Type)
Any of:

Supported fixed business document types.

string(DocumentTypeEnum)
Enum:"invoice""corrective_invoice""order_confirmation""quotation""self_billing_invoice""payment_reminder""delivery_note"
originstring or null(Origin)
Any of:
string
Enum:"generated""upload"
date_fromstring or null(Date From)
Any of:
string (date)
date_tostring or null(Date To)
Any of:
string (date)
offsetinteger(Offset)
Default:0
limitinteger(Limit)
Default:100
GET
/document-library
# 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'

Responses

Successful Response

Bodyapplication/json
Array [
document_idstring, (uuid)(Document Id)required
domainstring(Domain)required
originstring(Origin)required
display_namestring(Display Name)required
descriptionstring or null(Description)required
Any of:
string
is_finalboolean(Is Final)required
customer_idstring or null(Customer Id)required
Any of:
string (uuid)
service_idstring or null(Service Id)required
Any of:
string (uuid)
document_type_keyDocumentTypeEnum (string) or null
Any of:

Supported fixed business document types.

string(DocumentTypeEnum)
Enum:"invoice""corrective_invoice""order_confirmation""quotation""self_billing_invoice""payment_reminder""delivery_note"
document_datestring or null(Document Date)
Any of:
string (date)
uploaded_atstring or null(Uploaded At)
Any of:
string (date-time)
mime_typestring or null(Mime Type)
Any of:
string
size_bytesinteger or null(Size Bytes)
Any of:
integer
allowed_actionsArray of strings(Allowed Actions)
Default:[]
Items Enum:"preview""download""edit""delete""send"
]
Response
[ { "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" } ]

Detail

Request

Security
BearerAuth
Path
document_idstring, (uuid)(Document Id)required
GET
/document-library/{document_id}
# 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'

Responses

Successful Response

Bodyapplication/json
document_idstring, (uuid)(Document Id)required
domainstring(Domain)required
originstring(Origin)required
display_namestring(Display Name)required
descriptionstring or null(Description)required
Any of:
string
is_finalboolean(Is Final)required
customer_idstring or null(Customer Id)required
Any of:
string (uuid)
service_idstring or null(Service Id)required
Any of:
string (uuid)
document_type_keyDocumentTypeEnum (string) or null
Any of:

Supported fixed business document types.

string(DocumentTypeEnum)
Enum:"invoice""corrective_invoice""order_confirmation""quotation""self_billing_invoice""payment_reminder""delivery_note"
document_datestring or null(Document Date)
Any of:
string (date)
uploaded_atstring or null(Uploaded At)
Any of:
string (date-time)
mime_typestring or null(Mime Type)
Any of:
string
size_bytesinteger or null(Size Bytes)
Any of:
integer
allowed_actionsArray of strings(Allowed Actions)
Default:[]
Items Enum:"preview""download""edit""delete""send"
Response
{ "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" }

Associations

Request

Security
BearerAuth
Path
document_idstring, (uuid)(Document Id)required
GET
/document-library/{document_id}/associations
# 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'

Responses

Successful Response

Bodyapplication/json
Array [
customer_idstring, (uuid)(Customer Id)required
service_idstring or null(Service Id)required
Any of:
string (uuid)
]
Response
[ { "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e", "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0" } ]

Download

Request

Security
BearerAuth
Path
document_idstring, (uuid)(Document Id)required
GET
/document-library/{document_id}/file
# 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'

Responses

Successful Response

Bodyapplication/octet-stream
string, (binary)
Response
string

Preview

Request

Security
BearerAuth
Path
document_idstring, (uuid)(Document Id)required
GET
/document-library/{document_id}/preview
# 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'

Responses

Successful Response

Bodyapplication/octet-stream
string, (binary)
Response
string

List Types

Request

Security
BearerAuth
GET
/correspondence/types
# 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'

Responses

Successful Response

Bodyapplication/json
Array [
keystring(Key)^[a-z][a-z0-9_]{0,99}$required
namestring, [ 1 .. 200 ] characters(Name)required
type_idstring, (uuid)(Type Id)required
descriptionstring or null(Description)
Any of:
<= 1000 characters
string
contextstring(Context)
Default:"customer"
Enum:"customer""service"
activeboolean(Active)
Default:true
revisioninteger or null(Revision)
Any of:
integer
]
Response
[ { "key": "string", "name": "string", "description": "string", "context": "customer", "active": true, "revision": 0, "type_id": "d9779ea4-ba95-4824-86d7-4f1ac083a564" } ]

Create Type

Request

Security
BearerAuth
Bodyapplication/jsonrequired
keystring(Key)^[a-z][a-z0-9_]{0,99}$required
namestring, [ 1 .. 200 ] characters(Name)required
descriptionstring or null(Description)
Any of:
<= 1000 characters
string
contextstring(Context)
Default:"customer"
Enum:"customer""service"
activeboolean(Active)
Default:true
revisioninteger or null(Revision)
Any of:
integer
POST
/correspondence/types
# 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
}'

Responses

Successful Response

Bodyapplication/json
keystring(Key)^[a-z][a-z0-9_]{0,99}$required
namestring, [ 1 .. 200 ] characters(Name)required
type_idstring, (uuid)(Type Id)required
descriptionstring or null(Description)
Any of:
<= 1000 characters
string
contextstring(Context)
Default:"customer"
Enum:"customer""service"
activeboolean(Active)
Default:true
revisioninteger or null(Revision)
Any of:
integer
Response
{ "key": "string", "name": "string", "description": "string", "context": "customer", "active": true, "revision": 0, "type_id": "d9779ea4-ba95-4824-86d7-4f1ac083a564" }

Update Type

Request

Security
BearerAuth
Path
type_idstring, (uuid)(Type Id)required
Bodyapplication/jsonrequired
keystring(Key)^[a-z][a-z0-9_]{0,99}$required
namestring, [ 1 .. 200 ] characters(Name)required
descriptionstring or null(Description)
Any of:
<= 1000 characters
string
contextstring(Context)
Default:"customer"
Enum:"customer""service"
activeboolean(Active)
Default:true
revisioninteger or null(Revision)
Any of:
integer
PUT
/correspondence/types/{type_id}
# 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
}'

Responses

Successful Response

Bodyapplication/json
keystring(Key)^[a-z][a-z0-9_]{0,99}$required
namestring, [ 1 .. 200 ] characters(Name)required
type_idstring, (uuid)(Type Id)required
descriptionstring or null(Description)
Any of:
<= 1000 characters
string
contextstring(Context)
Default:"customer"
Enum:"customer""service"
activeboolean(Active)
Default:true
revisioninteger or null(Revision)
Any of:
integer
Response
{ "key": "string", "name": "string", "description": "string", "context": "customer", "active": true, "revision": 0, "type_id": "d9779ea4-ba95-4824-86d7-4f1ac083a564" }

Templates

Request

Security
BearerAuth
Path
type_idstring, (uuid)(Type Id)required
Query
include_versionsboolean(Include Versions)
Default:false
GET
/correspondence/types/{type_id}/templates
# 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'

Responses

Successful Response

Bodyapplication/json
Array [
template_idstring, (uuid)(Template Id)required
type_idstring, (uuid)(Type Id)required
keystring(Key)required
versioninteger(Version)required
is_defaultboolean(Is Default)required
fieldsArray of objects(Fields)required
]
Response
[ { "template_id": "c6d67e98-83ea-49f0-8812-e4abae2b68bc", "type_id": "d9779ea4-ba95-4824-86d7-4f1ac083a564", "key": "string", "version": 0, "is_default": true, "fields": [ … ] } ]

Create Template

Request

Security
BearerAuth
Path
type_idstring, (uuid)(Type Id)required
Bodyapplication/jsonrequired
keystring(Key)^[a-z][a-z0-9_]{0,99}$required
sourcestring, [ 1 .. 500000 ] characters(Source)required
fieldsArray of objects, <= 100 items(Fields)
sectionsArray of objects, <= 100 items(Sections)
previous_template_idstring or null(Previous Template Id)
Any of:
string (uuid)
style_idstring or null(Style Id)
Any of:
string (uuid)
background_idstring or null(Background Id)
Any of:
string (uuid)
editor_definitionobject or null(Editor Definition)
Any of:
is_defaultboolean(Is Default)
Default:false
POST
/correspondence/types/{type_id}/templates
# 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
}'

Responses

Successful Response

Bodyapplication/json
template_idstring, (uuid)(Template Id)required
type_idstring, (uuid)(Type Id)required
keystring(Key)required
versioninteger(Version)required
is_defaultboolean(Is Default)required
fieldsArray of objects(Fields)required
Response
{ "template_id": "c6d67e98-83ea-49f0-8812-e4abae2b68bc", "type_id": "d9779ea4-ba95-4824-86d7-4f1ac083a564", "key": "string", "version": 0, "is_default": true, "fields": [ { … } ] }

Template Source

Request

Security
BearerAuth
Path
template_idstring, (uuid)(Template Id)required
GET
/correspondence/templates/{template_id}/source
# 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'

Responses

Successful Response

Bodyapplication/json
template_idstring, (uuid)(Template Id)required
keystring(Key)required
versioninteger(Version)required
previous_template_idstring or null(Previous Template Id)required
Any of:
string (uuid)
style_idstring or null(Style Id)required
Any of:
string (uuid)
background_idstring or null(Background Id)required
Any of:
string (uuid)
is_defaultboolean(Is Default)required
sourcestring(Source)required
fieldsArray of objects(Fields)required
sectionsArray of objects(Sections)required
editor_definitionobject or null(Editor Definition)required
Any of:
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": {} }

Placeholders

Request

Security
BearerAuth
GET
/correspondence/placeholders
# 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'

Responses

Successful Response

Bodyapplication/json
<property name>anyadditional property
Response
{}

Drafts

Request

Security
BearerAuth
Query
customer_idstring or null(Customer Id)
Any of:
string (uuid)
service_idstring or null(Service Id)
Any of:
string (uuid)
type_idstring or null(Type Id)
Any of:
string (uuid)
finalizedboolean or null(Finalized)
Any of:
boolean
offsetinteger(Offset)
Default:0
limitinteger(Limit)
Default:100
GET
/correspondence/drafts
# 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'

Responses

Successful Response

Bodyapplication/json
Array [
type_idstring, (uuid)(Type Id)required
template_idstring, (uuid)(Template Id)required
customer_idstring, (uuid)(Customer Id)required
draft_idstring, (uuid)(Draft Id)required
document_idstring or null(Document Id)required
Any of:
string (uuid)
preview_digeststring or null(Preview Digest)required
Any of:
string
service_idstring or null(Service Id)
Any of:
string (uuid)
address_idstring or null(Address Id)
Any of:
string (uuid)
subjectstring, <= 500 characters(Subject)
Default:""
document_datestring, (date)(Document Date)
valuesobject(Values)
revisioninteger or null(Revision)
Any of:
integer
contextBusinessRenderContext (object) or null
Any of:
]
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": { … } } ]

Create Draft

Request

Security
BearerAuth
Bodyapplication/jsonrequired
type_idstring, (uuid)(Type Id)required
template_idstring, (uuid)(Template Id)required
customer_idstring, (uuid)(Customer Id)required
service_idstring or null(Service Id)
Any of:
string (uuid)
address_idstring or null(Address Id)
Any of:
string (uuid)
subjectstring, <= 500 characters(Subject)
Default:""
document_datestring, (date)(Document Date)
valuesobject(Values)
revisioninteger or null(Revision)
Any of:
integer
POST
/correspondence/drafts
# 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
}'

Responses

Successful Response

Bodyapplication/json
type_idstring, (uuid)(Type Id)required
template_idstring, (uuid)(Template Id)required
customer_idstring, (uuid)(Customer Id)required
draft_idstring, (uuid)(Draft Id)required
document_idstring or null(Document Id)required
Any of:
string (uuid)
preview_digeststring or null(Preview Digest)required
Any of:
string
service_idstring or null(Service Id)
Any of:
string (uuid)
address_idstring or null(Address Id)
Any of:
string (uuid)
subjectstring, <= 500 characters(Subject)
Default:""
document_datestring, (date)(Document Date)
valuesobject(Values)
revisioninteger or null(Revision)
Any of:
integer
contextBusinessRenderContext (object) or null
Any of:
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": { … } } }

Get Draft

Request

Security
BearerAuth
Path
draft_idstring, (uuid)(Draft Id)required
GET
/correspondence/drafts/{draft_id}
# 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'

Responses

Successful Response

Bodyapplication/json
type_idstring, (uuid)(Type Id)required
template_idstring, (uuid)(Template Id)required
customer_idstring, (uuid)(Customer Id)required
draft_idstring, (uuid)(Draft Id)required
document_idstring or null(Document Id)required
Any of:
string (uuid)
preview_digeststring or null(Preview Digest)required
Any of:
string
service_idstring or null(Service Id)
Any of:
string (uuid)
address_idstring or null(Address Id)
Any of:
string (uuid)
subjectstring, <= 500 characters(Subject)
Default:""
document_datestring, (date)(Document Date)
valuesobject(Values)
revisioninteger or null(Revision)
Any of:
integer
contextBusinessRenderContext (object) or null
Any of:
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": { … } } }

Update Draft

Request

Security
BearerAuth
Path
draft_idstring, (uuid)(Draft Id)required
Bodyapplication/jsonrequired
type_idstring, (uuid)(Type Id)required
template_idstring, (uuid)(Template Id)required
customer_idstring, (uuid)(Customer Id)required
service_idstring or null(Service Id)
Any of:
string (uuid)
address_idstring or null(Address Id)
Any of:
string (uuid)
subjectstring, <= 500 characters(Subject)
Default:""
document_datestring, (date)(Document Date)
valuesobject(Values)
revisioninteger or null(Revision)
Any of:
integer
PUT
/correspondence/drafts/{draft_id}
# 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
}'

Responses

Successful Response

Bodyapplication/json
type_idstring, (uuid)(Type Id)required
template_idstring, (uuid)(Template Id)required
customer_idstring, (uuid)(Customer Id)required
draft_idstring, (uuid)(Draft Id)required
document_idstring or null(Document Id)required
Any of:
string (uuid)
preview_digeststring or null(Preview Digest)required
Any of:
string
service_idstring or null(Service Id)
Any of:
string (uuid)
address_idstring or null(Address Id)
Any of:
string (uuid)
subjectstring, <= 500 characters(Subject)
Default:""
document_datestring, (date)(Document Date)
valuesobject(Values)
revisioninteger or null(Revision)
Any of:
integer
contextBusinessRenderContext (object) or null
Any of:
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": { … } } }

Delete Draft

Request

Security
BearerAuth
Path
draft_idstring, (uuid)(Draft Id)required
Query
revisioninteger(Revision)required
DELETE
/correspondence/drafts/{draft_id}
# 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'

Responses

Successful Response

Response
No content

Preview

Request

Security
BearerAuth
Path
draft_idstring, (uuid)(Draft Id)required
Bodyapplication/jsonrequired
revisioninteger, >= 1(Revision)required
preview_digeststring or null(Preview Digest)
Any of:
string
POST
/correspondence/drafts/{draft_id}/preview
# 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"
}'

Responses

Successful Response

Headers
X-Preview-Digeststring
Bodyapplication/pdf
string, (binary)
Response
string

Finalize

Request

Security
BearerAuth
Path
draft_idstring, (uuid)(Draft Id)required
Bodyapplication/jsonrequired
revisioninteger, >= 1(Revision)required
preview_digeststring or null(Preview Digest)
Any of:
string
POST
/correspondence/drafts/{draft_id}/finalize
# 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"
}'

Responses

Successful Response

Bodyapplication/json
type_idstring, (uuid)(Type Id)required
template_idstring, (uuid)(Template Id)required
customer_idstring, (uuid)(Customer Id)required
draft_idstring, (uuid)(Draft Id)required
document_idstring or null(Document Id)required
Any of:
string (uuid)
preview_digeststring or null(Preview Digest)required
Any of:
string
service_idstring or null(Service Id)
Any of:
string (uuid)
address_idstring or null(Address Id)
Any of:
string (uuid)
subjectstring, <= 500 characters(Subject)
Default:""
document_datestring, (date)(Document Date)
valuesobject(Values)
revisioninteger or null(Revision)
Any of:
integer
contextBusinessRenderContext (object) or null
Any of:
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": { … } } }

File

Request

Security
BearerAuth
Path
draft_idstring, (uuid)(Draft Id)required
GET
/correspondence/drafts/{draft_id}/file
# 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'

Responses

Successful Response

Headers
X-Preview-Digeststring
Bodyapplication/pdf
string, (binary)
Response
string

Upload

Request

Security
BearerAuth
Query
customer_idstring or null(Customer Id)
Any of:
string (uuid)
service_idstring or null(Service Id)
Any of:
string (uuid)
Bodymultipart/form-datarequired
filestring, (binary)(File)required
POST
/correspondence/uploads
# 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'

Responses

Successful Response

Bodyapplication/json
document_idstring, (uuid)(Document Id)required
domainstring(Domain)required
originstring(Origin)required
display_namestring(Display Name)required
descriptionstring or null(Description)required
Any of:
string
is_finalboolean(Is Final)required
customer_idstring or null(Customer Id)required
Any of:
string (uuid)
service_idstring or null(Service Id)required
Any of:
string (uuid)
document_type_keyDocumentTypeEnum (string) or null
Any of:

Supported fixed business document types.

string(DocumentTypeEnum)
Enum:"invoice""corrective_invoice""order_confirmation""quotation""self_billing_invoice""payment_reminder""delivery_note"
document_datestring or null(Document Date)
Any of:
string (date)
uploaded_atstring or null(Uploaded At)
Any of:
string (date-time)
mime_typestring or null(Mime Type)
Any of:
string
size_bytesinteger or null(Size Bytes)
Any of:
integer
allowed_actionsArray of strings(Allowed Actions)
Default:[]
Items Enum:"preview""download""edit""delete""send"
Response
{ "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" }

Update Upload

Request

Security
BearerAuth
Path
document_idstring, (uuid)(Document Id)required
Bodyapplication/jsonrequired
display_namestring, [ 1 .. 255 ] characters(Display Name)required
descriptionstring or null(Description)
Any of:
<= 500 characters
string
associationsArray of objects, <= 100 items(Associations)
PUT
/correspondence/uploads/{document_id}
# 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"
    }
  ]
}'

Responses

Successful Response

Bodyapplication/json
document_idstring, (uuid)(Document Id)required
domainstring(Domain)required
originstring(Origin)required
display_namestring(Display Name)required
descriptionstring or null(Description)required
Any of:
string
is_finalboolean(Is Final)required
customer_idstring or null(Customer Id)required
Any of:
string (uuid)
service_idstring or null(Service Id)required
Any of:
string (uuid)
document_type_keyDocumentTypeEnum (string) or null
Any of:

Supported fixed business document types.

string(DocumentTypeEnum)
Enum:"invoice""corrective_invoice""order_confirmation""quotation""self_billing_invoice""payment_reminder""delivery_note"
document_datestring or null(Document Date)
Any of:
string (date)
uploaded_atstring or null(Uploaded At)
Any of:
string (date-time)
mime_typestring or null(Mime Type)
Any of:
string
size_bytesinteger or null(Size Bytes)
Any of:
integer
allowed_actionsArray of strings(Allowed Actions)
Default:[]
Items Enum:"preview""download""edit""delete""send"
Response
{ "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" }

Delete Upload

Request

Security
BearerAuth
Path
document_idstring, (uuid)(Document Id)required
DELETE
/correspondence/uploads/{document_id}
# 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'

Responses

Successful Response

Response
No content

Preview Template

Request

Security
BearerAuth
Path
type_idstring, (uuid)(Type Id)required
Bodyapplication/jsonrequired
keystring(Key)^[a-z][a-z0-9_]{0,99}$required
sourcestring, [ 1 .. 500000 ] characters(Source)required
customer_idstring, (uuid)(Customer Id)required
subjectstring, [ 1 .. 500 ] characters(Subject)required
fieldsArray of objects, <= 100 items(Fields)
sectionsArray of objects, <= 100 items(Sections)
previous_template_idstring or null(Previous Template Id)
Any of:
string (uuid)
style_idstring or null(Style Id)
Any of:
string (uuid)
background_idstring or null(Background Id)
Any of:
string (uuid)
editor_definitionobject or null(Editor Definition)
Any of:
is_defaultboolean(Is Default)
Default:false
service_idstring or null(Service Id)
Any of:
string (uuid)
address_idstring or null(Address Id)
Any of:
string (uuid)
document_datestring, (date)(Document Date)
valuesobject(Values)
POST
/correspondence/types/{type_id}/preview
# 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
  }
}'

Responses

Successful Response

Bodyapplication/pdf
string, (binary)
Response
string

Resources

Request

Security
BearerAuth
GET
/correspondence/resources
# 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'

Responses

Successful Response

Bodyapplication/json
stylesArray of objects(Styles)required
backgroundsArray of objects(Backgrounds)required
assetsArray of objects(Assets)required
Response
{ "styles": [ { … } ], "backgrounds": [ { … } ], "assets": [ { … } ] }

List Notes

Request

Security
BearerAuth
Query
customer_idstring, (uuid)(Customer Id)required
offsetinteger(Offset)
Default:0
limitinteger(Limit)
Default:100
GET
/delivery-notes
# 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'

Responses

Successful Response

Bodyapplication/json
Array [
delivery_note_idstring, (uuid)(Delivery Note Id)required
order_confirmation_idstring, (uuid)(Order Confirmation Id)required
customer_idstring, (uuid)(Customer Id)required
delivery_datestring, (date)(Delivery Date)required
template_idstring, (uuid)(Template Id)required
document_idstring or null(Document Id)required
Any of:
string (uuid)
delivery_note_nointeger or null(Delivery Note No)required
Any of:
integer
delivery_note_prefixstring or null(Delivery Note Prefix)required
Any of:
string
positionsArray of objects(Positions)required
]
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": [ … ] } ]

Create

Request

Security
BearerAuth
Bodyapplication/jsonrequired
order_confirmation_idstring, (uuid)(Order Confirmation Id)required
address_idstring, (uuid)(Address Id)required
delivery_datestring, (date)(Delivery Date)required
positionsArray of objects, [ 1 .. 1000 ] items(Positions)required
idempotency_keystring, [ 1 .. 200 ] characters(Idempotency Key)required
template_idstring or null(Template Id)
Any of:
string (uuid)
POST
/delivery-notes
# 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"
}'

Responses

Successful Response

Bodyapplication/json
delivery_note_idstring, (uuid)(Delivery Note Id)required
order_confirmation_idstring, (uuid)(Order Confirmation Id)required
customer_idstring, (uuid)(Customer Id)required
delivery_datestring, (date)(Delivery Date)required
template_idstring, (uuid)(Template Id)required
document_idstring or null(Document Id)required
Any of:
string (uuid)
delivery_note_nointeger or null(Delivery Note No)required
Any of:
integer
delivery_note_prefixstring or null(Delivery Note Prefix)required
Any of:
string
positionsArray of objects(Positions)required
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": [ { … } ] }

Detail

Request

Security
BearerAuth
Path
note_idstring, (uuid)(Note Id)required
GET
/delivery-notes/{note_id}
# 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'

Responses

Successful Response

Bodyapplication/json
delivery_note_idstring, (uuid)(Delivery Note Id)required
order_confirmation_idstring, (uuid)(Order Confirmation Id)required
customer_idstring, (uuid)(Customer Id)required
delivery_datestring, (date)(Delivery Date)required
template_idstring, (uuid)(Template Id)required
document_idstring or null(Document Id)required
Any of:
string (uuid)
delivery_note_nointeger or null(Delivery Note No)required
Any of:
integer
delivery_note_prefixstring or null(Delivery Note Prefix)required
Any of:
string
positionsArray of objects(Positions)required
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": [ { … } ] }

Preview

Request

Security
BearerAuth
Path
note_idstring, (uuid)(Note Id)required
POST
/delivery-notes/{note_id}/preview
# 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'

Responses

Successful Response

Headers
X-Preview-Digeststring
Bodyapplication/pdf
string, (binary)
Response
string

Finalize

Request

Security
BearerAuth
Path
note_idstring, (uuid)(Note Id)required
POST
/delivery-notes/{note_id}/finalize
# 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'

Responses

Successful Response

Bodyapplication/json
delivery_note_idstring, (uuid)(Delivery Note Id)required
order_confirmation_idstring, (uuid)(Order Confirmation Id)required
customer_idstring, (uuid)(Customer Id)required
delivery_datestring, (date)(Delivery Date)required
template_idstring, (uuid)(Template Id)required
document_idstring or null(Document Id)required
Any of:
string (uuid)
delivery_note_nointeger or null(Delivery Note No)required
Any of:
integer
delivery_note_prefixstring or null(Delivery Note Prefix)required
Any of:
string
positionsArray of objects(Positions)required
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": [ { … } ] }

File

Request

Security
BearerAuth
Path
note_idstring, (uuid)(Note Id)required
GET
/delivery-notes/{note_id}/file
# 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'

Responses

Successful Response

Headers
X-Preview-Digeststring
Bodyapplication/pdf
string, (binary)
Response
string

Settings

Request

Security
BearerAuth
GET
/document-delivery/settings
# 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'

Responses

Successful Response

Bodyapplication/json
revisioninteger(Revision)required
enabledboolean(Enabled)required
hoststring(Host)required
portinteger(Port)required
usernamestring(Username)required
senderstring(Sender)required
sender_namestring(Sender Name)required
reply_tostring or null(Reply To)required
Any of:
string
password_setboolean(Password Set)
Default:false
encryption_readyboolean(Encryption Ready)
Default:false
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 }

Update Settings

Request

Security
BearerAuth
Bodyapplication/jsonrequired
revisioninteger, >= 1(Revision)required
enabledboolean(Enabled)required
hoststring, [ 1 .. 253 ] characters(Host)required
portinteger(Port)required
Enum:465587
usernamestring, [ 1 .. 320 ] characters(Username)required
senderstring, (email)(Sender)required
passwordstring or null(Password)
Any of:
string (password)write-only
sender_namestring, <= 200 characters(Sender Name)
Default:""
reply_tostring or null(Reply To)
Any of:
string (email)
PUT
/document-delivery/settings
# 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"
}'

Responses

Successful Response

Bodyapplication/json
revisioninteger(Revision)required
enabledboolean(Enabled)required
hoststring(Host)required
portinteger(Port)required
usernamestring(Username)required
senderstring(Sender)required
sender_namestring(Sender Name)required
reply_tostring or null(Reply To)required
Any of:
string
password_setboolean(Password Set)
Default:false
encryption_readyboolean(Encryption Ready)
Default:false
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 }

Connection Test

Request

Security
BearerAuth
POST
/document-delivery/connection-test
# 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'

Responses

Successful Response

Bodyapplication/json
<property name>anyadditional property
Response
{}

Test Mail

Request

Security
BearerAuth
Bodyapplication/jsonrequired
recipientstring, (email)(Recipient)required
idempotency_keystring, [ 1 .. 200 ] characters(Idempotency Key)required
POST
/document-delivery/test-mail
# 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"
}'

Responses

Successful Response

Bodyapplication/json
job_idstring, (uuid)(Job Id)required
document_idstring or null(Document Id)required
Any of:
string (uuid)
customer_idstring or null(Customer Id)required
Any of:
string (uuid)
document_typestring(Document Type)required
kindstring(Kind)required
statusstring(Status)required
Enum:"waiting""blocked""paused""processing""accepted""failed""unknown"
phasestring(Phase)required
snapshotobject(DeliverySnapshot)required
previous_snapshotsArray of objects(Previous Snapshots)required
settings_revisioninteger(Settings Revision)required
retry_countinteger(Retry Count)required
error_codestring or null(Error Code)required
Any of:
string
parent_job_idstring or null(Parent Job Id)required
Any of:
string (uuid)
reasonstring or null(Reason)required
Any of:
string
created_atstring, (date-time)(Created At)required
allowed_actionsArray of strings(Allowed Actions)
Items Enum:"release""resend"
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" }

Get Preferences

Request

Security
BearerAuth
Path
customer_idstring, (uuid)(Customer Id)required
GET
/document-delivery/customers/{customer_id}/preferences
# 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'

Responses

Successful Response

Bodyapplication/json
Array [
document_typestring(Document Type)required
recipientstring or null(Recipient)required
Any of:
string
languagestring(Language)required
Enum:"de""en"
automaticboolean(Automatic)required
revisioninteger(Revision)required
]
Response
[ { "document_type": "string", "recipient": "string", "language": "de", "automatic": true, "revision": 0 } ]

Update Preference

Request

Security
BearerAuth
Path
customer_idstring, (uuid)(Customer Id)required
document_typestring(Document Type)required
Bodyapplication/jsonrequired
revisioninteger, >= 0(Revision)
Default:0
recipientstring or null(Recipient)
Any of:
string (email)
languagestring(Language)
Default:"de"
Enum:"de""en"
automaticboolean(Automatic)
Default:false
PUT
/document-delivery/customers/{customer_id}/preferences/{document_type}
# 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
}'

Responses

Successful Response

Bodyapplication/json
revisioninteger(Revision)required
Response
{ "revision": 0 }

Get Template

Request

Security
BearerAuth
Path
document_typestring(DocumentTypeEnum)required

Supported fixed business document types.

Enum:"invoice""corrective_invoice""order_confirmation""quotation""self_billing_invoice""payment_reminder""delivery_note"
languagestring(Language)required
Enum:"de""en"
GET
/document-delivery/templates/{document_type}/{language}
# 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'

Responses

Successful Response

Bodyapplication/json
subjectstring(Subject)required
bodystring(Body)required
revisioninteger(Revision)required
placeholdersArray of strings(Placeholders)required
Response
{ "subject": "string", "body": "string", "revision": 0, "placeholders": [ "string" ] }

Update Template

Request

Security
BearerAuth
Path
document_typestring(DocumentTypeEnum)required

Supported fixed business document types.

Enum:"invoice""corrective_invoice""order_confirmation""quotation""self_billing_invoice""payment_reminder""delivery_note"
languagestring(Language)required
Enum:"de""en"
Bodyapplication/jsonrequired
subjectstring, [ 1 .. 500 ] characters(Subject)required
bodystring, [ 1 .. 20000 ] characters(Body)required
revisioninteger, >= 0(Revision)
Default:0
PUT
/document-delivery/templates/{document_type}/{language}
# 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"
}'

Responses

Successful Response

Bodyapplication/json
revisioninteger(Revision)required
Response
{ "revision": 0 }

Preview

Request

Security
BearerAuth
Bodyapplication/jsonrequired
document_idstring, (uuid)(Document Id)required
recipientstring or null(Recipient)
Any of:
string (email)
subjectstring or null(Subject)
Any of:
<= 500 characters
string
bodystring or null(Body)
Any of:
<= 20000 characters
string
POST
/document-delivery/preview
# 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"
}'

Responses

Successful Response

Bodyapplication/json
snapshotobject(DeliverySnapshot)required
preview_digeststring(Preview Digest)required
blocked_reasonstring or null(Blocked Reason)required
Any of:
string
has_previous_deliveryboolean(Has Previous Delivery)
Default:false
Response
{ "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" }

History

Request

Security
BearerAuth
Query
customer_idstring or null(Customer Id)
Any of:
string (uuid)
document_idstring or null(Document Id)
Any of:
string (uuid)
statusstring or null(Status)
Any of:
string
Enum:"waiting""blocked""paused""processing""accepted""failed""unknown"
document_typeDocumentTypeEnum (string) or null(Document Type)
Any of:

Supported fixed business document types.

string(DocumentTypeEnum)
Enum:"invoice""corrective_invoice""order_confirmation""quotation""self_billing_invoice""payment_reminder""delivery_note"
date_fromstring or null(Date From)
Any of:
string (date)
date_tostring or null(Date To)
Any of:
string (date)
offsetinteger(Offset)
Default:0
limitinteger(Limit)
Default:100
GET
/document-delivery/jobs
# 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'

Responses

Successful Response

Bodyapplication/json
Array [
job_idstring, (uuid)(Job Id)required
document_idstring or null(Document Id)required
Any of:
string (uuid)
customer_idstring or null(Customer Id)required
Any of:
string (uuid)
document_typestring(Document Type)required
kindstring(Kind)required
statusstring(Status)required
Enum:"waiting""blocked""paused""processing""accepted""failed""unknown"
phasestring(Phase)required
snapshotobject(DeliverySnapshot)required
previous_snapshotsArray of objects(Previous Snapshots)required
settings_revisioninteger(Settings Revision)required
retry_countinteger(Retry Count)required
error_codestring or null(Error Code)required
Any of:
string
parent_job_idstring or null(Parent Job Id)required
Any of:
string (uuid)
reasonstring or null(Reason)required
Any of:
string
created_atstring, (date-time)(Created At)required
allowed_actionsArray of strings(Allowed Actions)
Items Enum:"release""resend"
]
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" } ]

Send

Request

Security
BearerAuth
Bodyapplication/jsonrequired
document_idstring, (uuid)(Document Id)required
preview_digeststring(Preview Digest)required
idempotency_keystring, [ 1 .. 200 ] characters(Idempotency Key)required
recipientstring or null(Recipient)
Any of:
string (email)
subjectstring or null(Subject)
Any of:
<= 500 characters
string
bodystring or null(Body)
Any of:
<= 20000 characters
string
POST
/document-delivery/jobs
# 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"
}'

Responses

Successful Response

Bodyapplication/json
job_idstring, (uuid)(Job Id)required
document_idstring or null(Document Id)required
Any of:
string (uuid)
customer_idstring or null(Customer Id)required
Any of:
string (uuid)
document_typestring(Document Type)required
kindstring(Kind)required
statusstring(Status)required
Enum:"waiting""blocked""paused""processing""accepted""failed""unknown"
phasestring(Phase)required
snapshotobject(DeliverySnapshot)required
previous_snapshotsArray of objects(Previous Snapshots)required
settings_revisioninteger(Settings Revision)required
retry_countinteger(Retry Count)required
error_codestring or null(Error Code)required
Any of:
string
parent_job_idstring or null(Parent Job Id)required
Any of:
string (uuid)
reasonstring or null(Reason)required
Any of:
string
created_atstring, (date-time)(Created At)required
allowed_actionsArray of strings(Allowed Actions)
Items Enum:"release""resend"
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" }

Batch Preview

Request

Security
BearerAuth
Bodyapplication/jsonrequired
Array of strings, (uuid)(Document Ids)
POST
/document-delivery/batch-preview
# 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"
]'

Responses

Successful Response

Bodyapplication/json
Array [
snapshotobject(DeliverySnapshot)required
preview_digeststring(Preview Digest)required
blocked_reasonstring or null(Blocked Reason)required
Any of:
string
document_idstring, (uuid)(Document Id)required
has_previous_deliveryboolean(Has Previous Delivery)
Default:false
]
Response
[ { "has_previous_delivery": false, "snapshot": { … }, "preview_digest": "string", "blocked_reason": "string", "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6" } ]

Batch

Request

Security
BearerAuth
Bodyapplication/jsonrequired
Array [
document_idstring, (uuid)(Document Id)required
preview_digeststring(Preview Digest)required
idempotency_keystring, [ 1 .. 200 ] characters(Idempotency Key)required
recipientstring or null(Recipient)
Any of:
string (email)
subjectstring or null(Subject)
Any of:
<= 500 characters
string
bodystring or null(Body)
Any of:
<= 20000 characters
string
]
POST
/document-delivery/batch
# 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"
  }
]'

Responses

Successful Response

Bodyapplication/json
Array [
job_idstring, (uuid)(Job Id)required
document_idstring or null(Document Id)required
Any of:
string (uuid)
customer_idstring or null(Customer Id)required
Any of:
string (uuid)
document_typestring(Document Type)required
kindstring(Kind)required
statusstring(Status)required
Enum:"waiting""blocked""paused""processing""accepted""failed""unknown"
phasestring(Phase)required
snapshotobject(DeliverySnapshot)required
previous_snapshotsArray of objects(Previous Snapshots)required
settings_revisioninteger(Settings Revision)required
retry_countinteger(Retry Count)required
error_codestring or null(Error Code)required
Any of:
string
parent_job_idstring or null(Parent Job Id)required
Any of:
string (uuid)
reasonstring or null(Reason)required
Any of:
string
created_atstring, (date-time)(Created At)required
allowed_actionsArray of strings(Allowed Actions)
Items Enum:"release""resend"
]
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" } ]

Attempts

Request

Security
BearerAuth
Path
job_idstring, (uuid)(Job Id)required
GET
/document-delivery/jobs/{job_id}/attempts
# 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'

Responses

Successful Response

Bodyapplication/json
Array [
numberinteger(Number)required
resultstring(Result)required
error_codestring or null(Error Code)required
Any of:
string
created_atstring, (date-time)(Created At)required
]
Response
[ { "number": 0, "result": "string", "error_code": "string", "created_at": "2019-08-24T14:15:22Z" } ]

Release

Request

Security
BearerAuth
Path
job_idstring, (uuid)(Job Id)required
Bodyapplication/jsonrequired
document_idstring, (uuid)(Document Id)required
preview_digeststring(Preview Digest)required
idempotency_keystring, [ 1 .. 200 ] characters(Idempotency Key)required
recipientstring or null(Recipient)
Any of:
string (email)
subjectstring or null(Subject)
Any of:
<= 500 characters
string
bodystring or null(Body)
Any of:
<= 20000 characters
string
POST
/document-delivery/jobs/{job_id}/release
# 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"
}'

Responses

Successful Response

Bodyapplication/json
job_idstring, (uuid)(Job Id)required
document_idstring or null(Document Id)required
Any of:
string (uuid)
customer_idstring or null(Customer Id)required
Any of:
string (uuid)
document_typestring(Document Type)required
kindstring(Kind)required
statusstring(Status)required
Enum:"waiting""blocked""paused""processing""accepted""failed""unknown"
phasestring(Phase)required
snapshotobject(DeliverySnapshot)required
previous_snapshotsArray of objects(Previous Snapshots)required
settings_revisioninteger(Settings Revision)required
retry_countinteger(Retry Count)required
error_codestring or null(Error Code)required
Any of:
string
parent_job_idstring or null(Parent Job Id)required
Any of:
string (uuid)
reasonstring or null(Reason)required
Any of:
string
created_atstring, (date-time)(Created At)required
allowed_actionsArray of strings(Allowed Actions)
Items Enum:"release""resend"
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" }

Resend

Request

Security
BearerAuth
Path
job_idstring, (uuid)(Job Id)required
Bodyapplication/jsonrequired
document_idstring, (uuid)(Document Id)required
preview_digeststring(Preview Digest)required
idempotency_keystring, [ 1 .. 200 ] characters(Idempotency Key)required
confirmedboolean(Confirmed)required
Value:true
reasonstring, [ 1 .. 1000 ] characters(Reason)required
recipientstring or null(Recipient)
Any of:
string (email)
subjectstring or null(Subject)
Any of:
<= 500 characters
string
bodystring or null(Body)
Any of:
<= 20000 characters
string
POST
/document-delivery/jobs/{job_id}/resend
# 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"
}'

Responses

Successful Response

Bodyapplication/json
job_idstring, (uuid)(Job Id)required
document_idstring or null(Document Id)required
Any of:
string (uuid)
customer_idstring or null(Customer Id)required
Any of:
string (uuid)
document_typestring(Document Type)required
kindstring(Kind)required
statusstring(Status)required
Enum:"waiting""blocked""paused""processing""accepted""failed""unknown"
phasestring(Phase)required
snapshotobject(DeliverySnapshot)required
previous_snapshotsArray of objects(Previous Snapshots)required
settings_revisioninteger(Settings Revision)required
retry_countinteger(Retry Count)required
error_codestring or null(Error Code)required
Any of:
string
parent_job_idstring or null(Parent Job Id)required
Any of:
string (uuid)
reasonstring or null(Reason)required
Any of:
string
created_atstring, (date-time)(Created At)required
allowed_actionsArray of strings(Allowed Actions)
Items Enum:"release""resend"
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" }