Added idx to api-create table with data for json representation