Risk Assessment Question Types

Risk Assessment Submissions

We’ve added the ability to query answers for the new question types that have been added to the matter risk assessment. This replaces the existing model that we had for the answers field on the RiskSubmission.

New types

Example query

query RiskSubmission($caseId: String!) {
	caseDetails(caseId: $caseId) {
		... on CaseInformation {
			riskAssessmentSubmission {
				completedOn
				comment
				totalScore
				answers {
					question
					comment
					notApplicable
					... on ScoredRiskSubmissionAnswer {
						score
					}
					... on YesNoRiskSubmissionAnswer {
						answer
					}
					... on TextRiskSubmissionAnswer {
						text
					}
					... on OptionsRiskSubmissionAnswer {
						selectedOptions
					}
				}
			}
		}
	}
}

Getting Started
Authentication
Domain Concepts
API Features
Zapier
Embedded EIV
Help