Time periods

A time period is an object that represents a domain-scoped date range that can be set on goals.


TimePeriodCompact

PropertyTypeDescription
gidstringGlobally unique identifier of the resource, as a string.
resource_typestringThe base type of this resource.
end_onstringThe localized end date of the time period in YYYY-MM-DD format.
start_onstringThe localized start date of the time period in YYYY-MM-DD format.
periodstringThe cadence and index of the time period.
Click to show all enum values
  • FY
  • H1
  • H2
  • Q1
  • Q2
  • Q3
  • Q4
display_namestringA string representing the cadence code and the fiscal year.

Example JSON for TimePeriodCompact:

{
  "gid": "12345",
  "resource_type": "time_period",
  "end_on": "2019-09-14",
  "start_on": "2019-09-13",
  "period": "Q1",
  "display_name": "Q1 FY22"
}

TimePeriod

PropertyTypeDescription
gidstringGlobally unique identifier of the resource, as a string.
resource_typestringThe base type of this resource.
end_onstringThe localized end date of the time period in YYYY-MM-DD format.
start_onstringThe localized start date of the time period in YYYY-MM-DD format.
periodstringThe cadence and index of the time period.
Click to show all enum values
  • FY
  • H1
  • H2
  • Q1
  • Q2
  • Q3
  • Q4
display_namestringA string representing the cadence code and the fiscal year.
parentobject

Full object requires scope: time_periods:read

A generic Asana Resource, containing a globally unique identifier.
parent.gidstringGlobally unique identifier of the resource, as a string.
parent.resource_typestringThe base type of this resource.
parent.end_onstringThe localized end date of the time period in YYYY-MM-DD format.
parent.start_onstringThe localized start date of the time period in YYYY-MM-DD format.
parent.periodstringThe cadence and index of the time period.
Click to show all enum values
  • FY
  • H1
  • H2
  • Q1
  • Q2
  • Q3
  • Q4
parent.display_namestringA string representing the cadence code and the fiscal year.

Example JSON for TimePeriod:

{
  "gid": "12345",
  "resource_type": "time_period",
  "end_on": "2019-09-14",
  "start_on": "2019-09-13",
  "period": "Q1",
  "display_name": "Q1 FY22",
  "parent": {
    "gid": "12345",
    "resource_type": "time_period",
    "end_on": "2019-09-14",
    "start_on": "2019-09-13",
    "period": "Q1",
    "display_name": "Q1 FY22"
  }
}
Asana Home
Asana helps you manage projects, focus on what's important, and organize work in one place for seamless collaboration.
© 2023 Asana, Inc.