added custom API_AddRecord parsing