Submit draft changes for review
Submit draft changes for review by creating a review task.
Use the review workflow for governed data or changes that require approval, and for sensitive or business-critical reference data.
Optionally accepts a filter to submit only specific records. If no filter is provided, all eligible draft records are submitted.
Submitting copies the matching draft records into a new review dataset, so a table can have more than one open review. When a review is published, the remaining draft records are rebased onto the latest published version.
Save the reviewDatasetUrn returned in the response, as you need it to list, approve, or reject the records under review.
Returns 409 Conflict when the submission cannot proceed in the current state of the draft. The problem type tells why:
- NO_ELIGIBLE_RECORDS: the draft contains no changes to submit, or the filter matches none.
- DQ_BLOCKING_RULES_VIOLATED: data quality blocking rules fail, on this table or on a referencing table whose records reference the changed records.
- EFFECTIVE_DATE_RULES_VIOLATED: records break the effective date rules of the table.
Request
- Base URLhttps://your-environment.ataccama.one/api
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
A URN identifying a table resource in the Reference Data API.
Format: urn:ata:{tenant}:reference-data:table:{uuid}
Example: urn:ata:acme-corp:reference-data:table:123e4567-e89b-12d3-a456-426614174000.
Table URN identifier.
Request body
Example request
{
"priority": "LOW",
"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
Review created successfully.
Example response
{
"reviewDatasetUrn": "urn:ata:acme-corp:reference-data:review:423e4567-e89b-12d3-a456-426614174003",
"taskMetadata": {
"priority": "LOW"
},
"createdByUrn": "urn:ata:acme-corp:iam:user:jane.doe@acme-corp.com"
}Changes
No recorded changes to this operation across all 1 revision of this API.