How to supply events
You will first need to generate an access token, as described in How to generate an access token.
All requests to the below endpoint must be authorised by including an Authorization: Bearer <access_token>
header.
Service API urls
environment | url |
---|---|
integration | https://life-events.integration.account.gov.uk |
Basic procedure
- Call POST /events/deathNotification to supply an event
Supply an event
life-events-deployment v1.0
Servers
/events/deathNotification
post
Request Body
Description | Schema |
---|---|
|
DeathNotification |
Responses
Status | Description | Schema |
---|---|---|
201 |
Event accepted |
|
400 |
Bad request. Object body failed validation. |
Schemas
DeathNotification
Name | Type | Required | Description | Schema |
---|---|---|---|---|
RegistrationID | integer | false | ||
RegistrationType | integer | false | ||
RecordLockedDateTime | string | false | ||
RecordUpdateDateTime | string | false | ||
RecordUpdateReason | integer | false | ||
DeceasedName | object | false | DeceasedName | |
DeceasedAliasName | array | false | DeceasedName | |
DeceasedAliasNameType | array | false | ||
DeceasedMaidenName | string | false | ||
DeceasedGender | integer | false | ||
DeceasedDeathDate | object | false | DeceasedDeathDate | |
PartialMonthOfDeath | integer | false | ||
PartialYearOfDeath | integer | false | ||
QualifierText | string | false | ||
FreeFormatDeathDate | string | false | ||
DeceasedBirthDate | object | false | DeceasedBirthDate | |
PartialMonthOfBirth | integer | false | ||
PartialYearOfBirth | integer | false | ||
FreeFormatBirthDate | string | false | ||
DeceasedAddress | object | false | DeceasedAddress |
DeceasedName
Name | Type | Required | Description | Schema |
---|---|---|---|---|
PersonNameTitle | string | false | ||
PersonGivenName | array | false | ||
PersonFamilyName | string | false | ||
PersonNameSuffix | string | false |
DeceasedDeathDate
Name | Type | Required | Description | Schema |
---|---|---|---|---|
PersonDeathDate | string | false | ||
VerificationLevel | string | false | VerificationLevel |
DeceasedBirthDate
Name | Type | Required | Description | Schema |
---|---|---|---|---|
PersonBirthDate | string | false | ||
VerificationLevel | string | false | VerificationLevel |
DeceasedAddress
Name | Type | Required | Description | Schema |
---|---|---|---|---|
Flat | string | false | ||
Building | string | false | ||
Line | array | false | ||
Postcode | string | false |