Decision Log

Clear Decisions

Deletes decisions of a given type. Deletes all if type not provided.

SecurityapiKey
Request
path Parameters
storageId
required
string
Request Body schema: application/json
Array of objects (DecisionClearDataSourceParam)
object (DecisionLogType)
Responses
200

OK

400

Bad Request

post/storages/{storageId}/decisions/clear
Request samples
application/json
{
  • "type": {
    },
  • "dataSources": [
    ]
}
Response samples
application/json
{
  • "numberOfDeleted": 0
}

Delete Decisions

Deletes decisions of a given ids.

SecurityapiKey
Request
path Parameters
storageId
required
string
Request Body schema: application/json
required
Array of objects (DecisionDelete) non-empty
Responses
200

OK

400

Bad Request

post/storages/{storageId}/decisions/delete
Request samples
application/json
{
  • "decisions": [
    ]
}
Response samples
application/json
{
  • "numberOfDeleted": 0
}

Poll Curation Decision Import Job

Poll curation decision import job.

SecurityapiKey
Request
path Parameters
jobId
required
string
Responses
200

OK

400

Bad Request

get/jobs/curationdecisionimportjobs/{jobId}
Request samples
Response samples
application/json
{
  • "id": "35f23c03-1c22-45fe-9484-3ffe769325de",
  • "name": "Process vendor data",
  • "description": "I started this job to improve quality of our data.",
  • "status": "RUNNING",
  • "statusMessage": "string",
  • "createdAt": "string",
  • "user": "string",
  • "progress": 0,
  • "attachments": [
    ]
}

Read Decisions

Read decisions from given storage.

SecurityapiKey
Request
path Parameters
storageId
required
string
query Parameters
businessPartnerIds
Array of strings (DecisionLogBusinessPartnerId) <= 500 items

Only show decisions for listed business partner IDs.

limit
integer <int32> >= 1
Default: 500

Number of items to be returned on the page.

startAfter
string

Only items with an ID greater than the given one will be retrieved.

When nextStartAfter provided in the response, should be used instead of the ID as an indicator for a next page.

type
string (DecisionLogTypeTechnicalKeyParam)
Enum: "CURATIONS" "NATURAL_PERSONS" "DUPLICATES"
Responses
200

OK

400

Bad Request

get/storages/{storageId}/decisions
Request samples
Response samples
application/json
{
  • "values": [
    ],
  • "limit": 100,
  • "startAfter": 5712566172571652,
  • "nextStartAfter": 5712566172571652,
  • "total": 67
}

Start Curation Decision Import Job

Starts curation decision import job

SecurityapiKey
Request
Request Body schema: application/json
dataSourceId
string
onlyNotReviewed
boolean
Default: false
required
object (CurationDecisionImportJobScope)
storageId
required
string
Responses
200

OK

400

Bad Request

post/jobs/curationdecisionimportjobs
Request samples
application/json
{
  • "storageId": "string",
  • "dataSourceId": "string",
  • "onlyNotReviewed": false,
  • "scope": {
    }
}
Response samples
application/json
{
  • "id": "35f23c03-1c22-45fe-9484-3ffe769325de",
  • "name": "Process vendor data",
  • "description": "I started this job to improve quality of our data.",
  • "status": "RUNNING",
  • "statusMessage": "string",
  • "createdAt": "string",
  • "user": "string",
  • "progress": 0,
  • "attachments": [
    ]
}

Upsert Decisions

Upsert decisions for given storage. Decisions are distinguished by business partner id and type. Already existing decision will be replaced.

SecurityapiKey
Request
path Parameters
storageId
required
string
Request Body schema: application/json
required
Array of objects (DecisionsUpsertEntry) non-empty
Responses
200

OK

400

Bad Request

post/storages/{storageId}/decisions
Request samples
application/json
{
  • "decisions": [
    ]
}
Response samples
application/json
{
  • "numberOfProvidedDecisions": 0,
  • "numberOfInserts": 0,
  • "numberOfUpdates": 0
}