arrows-rotateValidate & Update

Address Processing Workflow

The batch process consists of the following steps:

1

inbox-full Create a Batch

2

Upload File and Start Batch

4

magnifying-glass Retrieve details

5

Download results

Functions

inbox-full Create

A batch serves as the container that defines the processing frame. A new batch must be created for each address run.

Request-Parameter

orderNr

Custom reference number that can be assigned for the unique identification of an order, e.g., for later inquiries or clarifications.

dataGroupCode

Unique identification of the Data Group.

→ Generated during the creation of the Data Group (/dataGroups/create). Must be referenced here.

userDescription

Name of the campaign or batch.

processId

System-assigned ID for the process.

→ Default value: 400

processingDate

Defines when the batch should be started (e.g., create the batch today, process over the weekend).

businessCase

Defines the process flow based on predefined presets.

→ Default value: 0

product

Selection of the desired product, e.g.:

  • 1 Enrich: Enrich existing data.

  • 2 Reference: Only analyze the data against available data sources, no data changes → Result: Analysis report from multisource and, if applicable, from Swiss Post.

  • 3 AddressUpdate: Update existing addresses.

notificationEmail

Email address for notifications. If no specific email address is provided, the default email address of the currently logged-in user will be used.

post
/addressprocessing/Create
Authorizations
auth-keystringRequired

API Key required for authorized endpoints

Body
orderNrstringRequired
dataGroupIdinteger · int32Optional
dataGroupCodestring · nullableOptional
userDescriptionstring · nullableRequired
processIdinteger · int32Required
businessCaseinteger · int32Optional
productinteger · enumRequiredPossible values:
notificationEmailstringOptional
processingDatestring · date-timeOptional
runParallelbooleanOptional
Responses
chevron-right
200

OK

batchIdinteger · int32Optional
batchUniqueIdstring · uuidOptional
processGroupinteger · int32Optional
insertBystring · nullableOptional
insertAtstring · date-time · nullableOptional
descriptionstring · nullableOptional
userDescriptionstring · nullableOptional
statusstring · nullableOptional
startDatestring · date-time · nullableOptional
endDatestring · date-time · nullableOptional
processingDatestring · date-time · nullableOptional
durationinteger · int32 · nullableOptional
errorCountinteger · int32 · nullableOptional
warningCountinteger · int32 · nullableOptional
warningRejectCountinteger · int32 · nullableOptional
createTypeIdinteger · int32Optional
runSingleboolean · nullableOptional
agentstring · nullableOptional
datagroupIdinteger · int32 · nullableOptional
orderNrstring · nullableOptional
post
/addressprocessing/Create
200

OK

upload FileUpload

Adds a file for processing.

post
/addressprocessing/FileUpload
Authorizations
auth-keystringRequired

API Key required for authorized endpoints

Query parameters
batchIdinteger · int32Optional
batchUidstring · uuidOptional
descriptionstringOptional
Body
filestring · binaryOptional
Responses
chevron-right
200

OK

stringOptional
post
/addressprocessing/FileUpload
200

OK

file-circle-plus AddRecords

This function can be used to upload new records individually or to supplement an existing upload with additional records.

put
/addressprocessing/AddRecords
Authorizations
auth-keystringRequired

API Key required for authorized endpoints

Query parameters
idinteger · int32Optional
uidstring · uuidOptional
Bodyobject[]
customerIdstring · nullableOptional
classificationstring · nullableOptional
dwhIdstring · nullableOptional
kbbCompanyIdinteger · int32 · nullableOptional
kbcPersonIdinteger · int32 · nullableOptional
kbcHouseholdIdinteger · int32 · nullableOptional
beacinteger · int32 · nullableOptional
egidstring · nullableOptional
edidstring · nullableOptional
postAddressIdstring · nullableOptional
freetext1string · nullableOptional
freetext2string · nullableOptional
freetext3string · nullableOptional
freetext4string · nullableOptional
freetext5string · nullableOptional
firstnamestring · nullableOptional
companyNamestring · nullableOptional
namestring · nullableOptional
birthDatestring · nullableOptional
streetstring · nullableOptional
streetNostring · nullableOptional
streetAddstring · nullableOptional
careOfstring · nullableOptional
poBoxstring · nullableOptional
poZipstring · nullableOptional
poTownstring · nullableOptional
zipstring · nullableOptional
townstring · nullableOptional
mobileNostring · nullableOptional
phoneNostring · nullableOptional
emailstring · nullableOptional
uidstring · nullableOptional
chnrstring · nullableOptional
Responses
chevron-right
200

OK

stringOptional
put
/addressprocessing/AddRecords
200

OK

play Start

Starts the processing.

post
/addressprocessing/Start
Authorizations
auth-keystringRequired

API Key required for authorized endpoints

Query parameters
idinteger · int32Optional
uidstring · uuidOptional
Responses
chevron-right
200

OK

stringOptional
post
/addressprocessing/Start
200

OK

magnifying-glass Detail

Provides an overview of all available files and their processing steps. It also includes the unique identification number (fileUniqueId) for each file.

Batch Status

Status ID
Name
Description

0

Created

Created, not yet processed

1

Execute

Queued; processing starts once resources are available

2

Processing

Processing in progress

3

Marked for processing

Intermediate state between Execute and Processing

4

Done

Successfully completed

6

Error

An error occurred during processing

8

Skipped

Certain modules were skipped

get
/addressprocessing/Detail
Authorizations
auth-keystringRequired

API Key required for authorized endpoints

Query parameters
idinteger · int32Optional
uidstring · uuidOptional
Responses
chevron-right
200

OK

batchIdinteger · int32Optional
batchUniqueIdstring · uuidOptional
processGroupinteger · int32Optional
insertBystring · nullableOptional
insertAtstring · date-time · nullableOptional
descriptionstring · nullableOptional
userDescriptionstring · nullableOptional
statusstring · nullableOptional
startDatestring · date-time · nullableOptional
endDatestring · date-time · nullableOptional
processingDatestring · date-time · nullableOptional
durationinteger · int32 · nullableOptional
errorCountinteger · int32 · nullableOptional
warningCountinteger · int32 · nullableOptional
warningRejectCountinteger · int32 · nullableOptional
createTypeIdinteger · int32Optional
runSingleboolean · nullableOptional
agentstring · nullableOptional
datagroupIdinteger · int32 · nullableOptional
orderNrstring · nullableOptional
get
/addressprocessing/Detail
200

OK

download FileDownload

Downloads the results of an AdressProcessing batch as a file.

The output is provided in TSV format (tab-separated values).

The parameter compressed controls whether the file is delivered compressed (.txt.gz) (false) or uncompressed (.txt) (true).

get
/addressprocessing/FileDownload
Authorizations
auth-keystringRequired

API Key required for authorized endpoints

Query parameters
idinteger · int32Optional
uidstring · uuidOptional
decompressbooleanOptionalDefault: false
Responses
chevron-right
200

OK

No content

get
/addressprocessing/FileDownload
200

OK

No content

memo-circle-check GetRecords

Retrieves the results of an AdressProcessing batch directly as JSON.

This endpoint is useful if the data should be processed directly within the system without downloading a file.

get
/addressprocessing/GetRecords
Authorizations
auth-keystringRequired

API Key required for authorized endpoints

Query parameters
uidstring · uuidOptional
filebooleanOptionalDefault: false
fileDecompressbooleanOptionalDefault: false
Responses
chevron-right
200

OK

No content

get
/addressprocessing/GetRecords
200

OK

No content

Optional Steps (for Advanced Use Cases)

AddDatagroup

Adds a data group.

Les données sont organisées en Data Groups. Celles-ci permettent, si nécessaire, de séparer logiquement les enregistrements. Vous pouvez ainsi traiter et analyser séparément, par exemple, les clients existants, les nouveaux clients ou les campagnes.

Dans de nombreux cas, une seule Data Group suffit : les données y sont simplement chargées et mises à jour en continu.

Remarque : Dès qu’une Data Group est lancée, les données existantes dans ce groupe sont remplacées.

put
/addressprocessing/AddDatagroup
Authorizations
auth-keystringRequired

API Key required for authorized endpoints

Query parameters
descriptionstringOptional
Responses
chevron-right
200

OK

No content

put
/addressprocessing/AddDatagroup
200

OK

No content

GetDataGroups

Lists the available data groups.

get
/addressprocessing/GetDatagroups
Authorizations
auth-keystringRequired

API Key required for authorized endpoints

Responses
chevron-right
200

OK

No content

get
/addressprocessing/GetDatagroups
200

OK

No content

SetBatchSettings

Sets batch settings.

Request-Parameter

property-name

Setting values

  • InputMapping Defines which data mapping will be applied to data processing.

  • RangeBack For address changes to be considered (e.g., moves from the last 12 months). → Default value: 36 months.

  • WebhookUrl For automation after the batch completion (currently only as a GET request with query string parameters). Can be used for further process automation to trigger actions for the customer after the batch completion (e.g., updating reports in PowerBI).

  • webhookmethod Defines the HTTP method to be used for the call (e.g., POST or PUT).

  • webhookheader Optional – defines the HTTP headers as a stringified JSON object, e.g. for passing authentication tokens.

  • webhookbody Optional – defines the HTTP body as a stringified JSON object, e.g. for transmitting custom data or payloads.

post
/addressprocessing/SetBatchSettings
Authorizations
auth-keystringRequired

API Key required for authorized endpoints

Query parameters
uidstring · uuidOptional
Body
Other propertiesstringOptional
Responses
chevron-right
200

OK

stringOptional
post
/addressprocessing/SetBatchSettings
200

OK

Last updated