We’re happy to announce a number of significant updates to the First AML Public API to better enable case workflow enhancements as well as querying risk assessment results.
Case Workflow
We’ve added two new mutations to allow integrators to progress cases through a case workflow in a more automated fashion. These are:
submitCase
to allow moving a case from theDRAFT
status toIN_PROGRESS
.completeCase
to allow moving a case fromREADY_FOR_REVIEW
toCOMPLETED
.
Also added is an extension to the case creation mutations to allow the assigning of users to a case. The first step would be requesting the users available to your organizations and offices
query OrganizationDetails {
me {
accessibleOrganizations {
organizationId
name
offices {
key
name
users {
... userDetails
}
}
users {
... userDetails
}
}
}
}
fragment userDetails on User {
id
name
emailAddress
disabled
canBeAssignedToCases
}
These user ids can be passed into the case creation mutations via the assignedUsers
fields.
Risk Assessment
We’ve also added the ability to query risk assessment questionnaire results for a case.
query RiskAssessment($caseId: String!) {
case: caseDetails(caseId: $caseId) {
... on CaseInformation {
caseId
riskAssessmentSubmission {
completedOn
comment
totalScore
answers {
question
score
comment
evaluation
}
}
}
}
}