Reference data
Reject review records
Reject the changes submitted for review, instead of approving them.
Optionally accepts a filter to reject only specific records. If no filter is provided, all records in the review are rejected.
Returns 409 Conflict with problem type NO_ELIGIBLE_RECORDS when no records of the review match the request.
post/reference-data/v1/reviews/{reviewDatasetUrn}/reject
Request
- Base URLhttps://your-environment.ataccama.one/api
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
reviewDatasetUrnstring uri required
A URN identifying a review dataset resource in the Reference Data API.
Format: urn:ata:{tenant}:reference-data:review:{uuid}
Example: urn:ata:acme-corp:reference-data:review:423e4567-e89b-12d3-a456-426614174003.
Example:urn:ata:acme-corp:reference-data:review:423e4567-e89b-12d3-a456-426614174003
Review dataset URN identifier.
Request body
Example request
{
"filter": {
"recordUrn": {
"equals": "urn:ata:acme-corp:reference-data:table:123e4567-e89b-12d3-a456-426614174000",
"notEquals": "urn:ata:acme-corp:reference-data:table:123e4567-e89b-12d3-a456-426614174000",
"in": [
"urn:ata:acme-corp:reference-data:table:123e4567-e89b-12d3-a456-426614174000"
],
"notIn": [
"urn:ata:acme-corp:reference-data:table:123e4567-e89b-12d3-a456-426614174000"
]
},
"state": {
"in": [
"NEW"
],
"notIn": [
"NEW"
]
},
"lastChangedByUrn": {
"equals": "urn:ata:acme-corp:iam:user:jane.doe@acme-corp.com",
"notEquals": "urn:ata:acme-corp:iam:user:jane.doe@acme-corp.com",
"in": [
"urn:ata:acme-corp:iam:user:jane.doe@acme-corp.com"
],
"notIn": [
"urn:ata:acme-corp:iam:user:jane.doe@acme-corp.com"
]
}
}
}Response
Records rejected successfully.
Changes
No recorded changes to this operation across all 1 revision of this API.