Generating create index request