put https://api.w2globaldata.com/cases/
Situations where you may need to update a case include:
- If an individual gets married and their surname changes.
- If a subject moved house.
- If there was a error in the original case creation
- If you get additional information you want to include in the case.
How to use
To call the endpoint you will need to perform a HTTP PUT request to the URL:
URL | API Version |
---|---|
<https://api.w2globaldata.com/cases/business> | 1.3 + |
Request
PUT endpoint
Please note that this is a PUT endpoint. Updates to a case via this endpoint by replace its attributes entirely. Any missing or empty properties from your request will wipe the corresponding case property.
Creation or Deletion of Tags is not available through this endpoint, see create tag or delete tag for more information on creating and deleting tags on a cas
This endpoint takes a JSON body. See Casesto see the full list of the case properties available.
Example Update Case Request
{
"Forename": "TEST_FORENAME_NEW",
"Surname": "TEST_SURNAME_NEW",
"DayOfBirth": 2,
"MonthOfBirth": 2,
"YearOfBirth": 2002,
"ClientReference": "REST_TEST_NEW",
"HouseNumber": "22",
"Country": "GBR",
"Postcode": "CF3 3CA",
"Type": "Person",
"OngoingMonitoring":false,
"Email": "[email protected]",
"Region":"South West",
"TaxCode":"124",
"PlaceOfBirth":"Cardiff, United Kingdom",
"DrivingLicenceNumber":"RUSSF802087TG9EV12",
"MRZ":"P<CZESPECIMIN<<VZOR<<<<<<<<<<<<<<<<<<<<<<<<<99003853<1CZE1101018M120704611010111<<<<<<94",
"Gender":"M"
}
Example Update Case Response
Updating a case returns a Case Id for the updated case.
{
"caseId": "cd35f8a0-f30c-4cfc-9bcb-12bf58d44876"
}