Skip to main content
(experimental) Create calendar

Authorizations

Authorization
string
header
required

HTTP Basic authentication using global administrator credentials (username and password).

Body

application/vnd.composer.v3+json

(experimental) Calendar Resource object

type
enum<string>
required

Defines calendar type

Available options:
MONTH_SHIFT,
FISCAL_445
Example:

"MONTH_SHIFT"

name
string
required

Defines unique calendar name across account

Required string length: 1 - 255
Example:

"Calendar name"

monthShift
integer<int32>

(Month shift type specific param) Defines the difference in months between a start month of this and the default calendar. Should contain an integer value from -11 to 11 excluding zero.

Example:

-4

fiscal445
object

(Fiscal445 type specific param) Defines the week-based fiscal 445 calendar configuration.

Response

The calendar was created

(experimental) Calendar Resource object

type
enum<string>
required

Defines calendar type

Available options:
MONTH_SHIFT,
FISCAL_445
Example:

"MONTH_SHIFT"

name
string
required

Defines unique calendar name across account

Required string length: 1 - 255
Example:

"Calendar name"

id
string
read-only

Defines calendar identifier

monthShift
integer<int32>

(Month shift type specific param) Defines the difference in months between a start month of this and the default calendar. Should contain an integer value from -11 to 11 excluding zero.

Example:

-4

fiscal445
object

(Fiscal445 type specific param) Defines the week-based fiscal 445 calendar configuration.

auditable
object
read-only

Contains information about users and time of creating and updating this object