Audit
state can be 'managed', 'ignored' or 'detected'
Body
idstringRequired
statestringRequired
Responses
200
Successful Response
application/json
422
Validation Error
application/json
post
POST /api/audit/conflict-information/set-state HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 28
{
"id": "text",
"state": "text"
}
{
"response": true
}
state can be 'managed', 'ignored' or 'detected'
Body
idstringRequired
statestringRequired
Responses
200
Successful Response
application/json
422
Validation Error
application/json
post
POST /api/audit/duplicated-information/set-state HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 28
{
"id": "text",
"state": "text"
}
{
"response": true
}
list all conflicts
Body
queryany ofOptional
stringOptional
nullOptional
limitany ofOptionalDefault:
200
integerOptional
nullOptional
offsetany ofOptionalDefault:
0
integerOptional
nullOptional
Responses
200
Successful Response
application/json
422
Validation Error
application/json
post
POST /api/audit/conflict-information HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 39
{
"query": "text",
"limit": 200,
"offset": 0
}
{
"response": [
{
"id": "text",
"subject": "text",
"state": "DETECTED",
"documents": [
{
"doc_id": "text",
"information_involved": "text"
}
],
"explanation": "text"
}
]
}
list all duplicates
Body
queryany ofOptional
stringOptional
nullOptional
limitany ofOptionalDefault:
200
integerOptional
nullOptional
offsetany ofOptionalDefault:
0
integerOptional
nullOptional
Responses
200
Successful Response
application/json
422
Validation Error
application/json
post
POST /api/audit/duplicated-information HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 39
{
"query": "text",
"limit": 200,
"offset": 0
}
{
"response": [
{
"id": "text",
"subject": "text",
"state": "DETECTED",
"documents": [
{
"doc_id": "text",
"information_involved": "text"
}
],
"explanation": "text"
}
]
}
retrieve all conflicts and duplicates associated to the document
Body
idany ofOptional
stringOptional
nullOptional
Responses
200
Successful Response
application/json
422
Validation Error
application/json
post
POST /api/audit/get-anomalies-for-document HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 13
{
"id": "text"
}
{
"response": {
"conflicts": [
{
"id": "text",
"subject": "text",
"state": "DETECTED",
"documents": [
{
"doc_id": "text",
"information_involved": "text"
}
],
"explanation": "text"
}
],
"duplicated": [
{
"id": "text",
"subject": "text",
"state": "DETECTED",
"documents": [
{
"doc_id": "text",
"information_involved": "text"
}
],
"explanation": "text"
}
]
}
}
counnt conflict anomalies by date
Body
begin_dateany ofOptional
stringOptional
nullOptional
end_dateany ofOptional
stringOptional
nullOptional
stateany ofOptional
stringOptional
nullOptional
Responses
200
Successful Response
application/json
422
Validation Error
application/json
post
POST /api/audit/count-conflict-by-date HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 54
{
"begin_date": "text",
"end_date": "text",
"state": "text"
}
{
"response": {
"ANY_ADDITIONAL_PROPERTY": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}
}
counnt duplicate anomalies by date
Body
begin_dateany ofOptional
stringOptional
nullOptional
end_dateany ofOptional
stringOptional
nullOptional
stateany ofOptional
stringOptional
nullOptional
Responses
200
Successful Response
application/json
422
Validation Error
application/json
post
POST /api/audit/count-duplicate-by-date HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 54
{
"begin_date": "text",
"end_date": "text",
"state": "text"
}
{
"response": {
"ANY_ADDITIONAL_PROPERTY": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}
}
retrieve all conflicts anomalies by subject
Body
subjectany ofOptional
stringOptional
nullOptional
limitany ofOptionalDefault:
200
integerOptional
nullOptional
offsetany ofOptionalDefault:
0
integerOptional
nullOptional
Responses
200
Successful Response
application/json
422
Validation Error
application/json
post
POST /api/audit/get-conflict-information-by-subject HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 41
{
"subject": "text",
"limit": 200,
"offset": 0
}
{
"response": [
{
"id": "text",
"subject": "text",
"state": "DETECTED",
"documents": [
{
"doc_id": "text",
"information_involved": "text"
}
],
"explanation": "text"
}
]
}
retrieve all duplicates anomalies by subject
Body
subjectany ofOptional
stringOptional
nullOptional
limitany ofOptionalDefault:
200
integerOptional
nullOptional
offsetany ofOptionalDefault:
0
integerOptional
nullOptional
Responses
200
Successful Response
application/json
422
Validation Error
application/json
post
POST /api/audit/get-duplicate-information-by-subject HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 41
{
"subject": "text",
"limit": 200,
"offset": 0
}
{
"response": [
{
"id": "text",
"subject": "text",
"state": "DETECTED",
"documents": [
{
"doc_id": "text",
"information_involved": "text"
}
],
"explanation": "text"
}
]
}
True if the document is already audited, else False
Body
idany ofOptional
stringOptional
nullOptional
Responses
200
Successful Response
application/json
422
Validation Error
application/json
post
POST /api/audit/document-is-analyzed HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 13
{
"id": "text"
}
{
"response": true
}
Last updated