Back to AsanaGet Time Periods
Returns compact time period records.
Input
type: object
properties:
parameters:
type: object
properties:
start_on:
type: string
format: date
description: ISO 8601 date string
end_on:
type: string
format: date
description: ISO 8601 date string
workspace:
type: string
description: Globally unique identifier for the workspace.
required:
- workspace
title: Parameters
Output
type: object
properties:
data:
type: array
items:
type: object
properties:
gid:
description: Globally unique identifier of the resource, as a string.
type: string
readOnly: true
example: '12345'
x-insert-after: false
resource_type:
description: The base type of this resource.
type: string
readOnly: true
example: task
x-insert-after: gid
end_on:
type: string
description: The localized end date of the time period in `YYYY-MM-DD` format.
example: '2019-09-14T00:00:00.000Z'
start_on:
type: string
description: The localized start date of the time period in `YYYY-MM-DD` format.
example: '2019-09-13T00:00:00.000Z'
period:
type: string
description: >-
The cadence and index of the time period. The value is one of: `FY`,
`H1`, `H2`, `Q1`, `Q2`, `Q3`, or `Q4`.
enum:
- FY
- H1
- H2
- Q1
- Q2
- Q3
- Q4
example: Q1
display_name:
type: string
description: A string representing the cadence code and the fiscal year.
example: Q1 FY22