Adds Next of Kin details for a User.
The ID of the User.
The type of detail to be set for the Next of Kin. This can be name, phone_mobile, phone_landline or address.
The value of the details to be set for the Next of Kin detail.
FM_api('User_setNextOfKin', ['id' => '82878', 'name' => 'name', 'val' => 'Test name']);
FM_api('User_setNextOfKin', ['id' => '82878', 'name' => 'phone_mobile', 'val' => '07731623498']);
Last updated 3 years ago
FM_api('User_setNextOfKin', ['id' => '82878', 'name' => 'phone_landline', 'val' => '02830242983']);
FM_api('User_setNextOfKin', ['id' => '82878', 'name' => 'address', 'val' => '18 Test steet']);
{"ok":1}