Source: As worded by Indian Railways, Government of India
You must apply to the Chief Passenger Transportation Manager at least 30 days in advance and not more than 6 months prior to the commencement of the journey.
You application must include details such as destination, route to be followed, halts en route and the specific train to which the Tourist Car/Railway Carriage is to be attached.