Let the platform do the work

/TimePeriods/:date GET

Return a Timeperiod by a given date

Summary:

This endpoint is used to get a TimePeriod for a given date. If one is not found a 404 is returned.

Output Example:

{ "id":"e394485a-5889-ea75-84c8-51543bd1a5ba", "name":"Q1 (01\/01\/2013 - 03\/31\/2013)", "parent_id":"e28efe2d-c51c-be45-3d84-51543b4d2910", "start_date":"2013-01-01", "start_date_timestamp":"1356998400", "end_date":"2013-03-31", "end_date_timestamp":"1364774399", "created_by":"1", "date_entered":"2013-03-28 12:46:36", "date_modified":"2013-03-28 12:46:36", "deleted":"0", "is_fiscal":"0", "is_fiscal_year":"0", "leaf_cycle":"1", "type":"Quarter", "related_timeperiods":"" }