Lite Case Creation

Added

The ability to create Lite AML cases has been added to the Public API. Lite cases allow a quicker and easier process for Cases covering a single Individual. You can read more about First AML Lite cases in our Help Centre.

To create a Lite Case we use the new mutation createLiteCase, this mutation has a similar structure to the other Case creation mutations but only allows for a single Individual specified. This Individual will also automatically be the Case Contact and set to Needs Verification, so these will not need to be specified.

An example operation using this mutation is as follows:

mutation CreateCase($input: CreateLiteCaseInput!) {
	createLiteCase(input: $input) {
		__typename
		... on CaseInformation {
			caseId
			name
			caseType
			caseStatus
			individuals {
				individualId
				preferredName {
					firstName
					lastName
				}
			}
		}
		... on ValidationErrors {
			errors {
				message
				fieldPath
			}
		}
	}
}

Where the input for the above operation would be

{
	"input": {
		"reference": "ABC123",
		"name": "Lite Case Reference",
		"initialState": "SUBMIT_TO_FIRST_AML",
		"organizationId": "89d56aa7de574455bf8492b3ecfc79cf",
		"officeId": "785f46bb14c34d9ea87eded35bc65d67",
		"individual": {
			"preferredName": {
				"firstName": "Jane",
				"lastName": "Doe"
			},
			"emailAddress": "jane.doe@example.com",
			"phoneNumber": "+64 21 1234567"
		}
	}
}

Getting Started
Authentication
Domain Concepts
API Features
Zapier
Embedded EIV
Help