Batch Create Report Cycles
post
/api/restapi/reportCycle/batch
Send a request to this endpoint to create one or more report cycles.
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Root Schema : List<ApiEntityReportCycleInput>
Type:
arrayTitle:
Show Source
List<ApiEntityReportCycleInput>-
Array of:
object ApiEntityReportCycleInput
Title:
ApiEntityReportCycleInputThis entity represents a ReportCycle object, a unique ReportCycle object can be identified by the following combinations of the fields.- reportCycleId
- cycleName,workspaceId
- cycleName,workspaceCode
Nested Schema : ApiEntityReportCycleInput
Type:
objectTitle:
ApiEntityReportCycleInputThis entity represents a ReportCycle object, a unique ReportCycle object can be identified by the following combinations of the fields.
Show Source
- reportCycleId
- cycleName,workspaceId
- cycleName,workspaceCode
-
baseDate(required): string
(date-time)
The date used as the starting point for generating the period start and end dates in a reporting cycle.
-
cycleName(required): string
Minimum Length:
1Maximum Length:255The name of the reporting cycle. -
granularity(required): string
Allowed Values:
[ "REPORTING_PERIOD", "YEARLY", "QUARTERLY", "MONTHLY", "SEMIMONTHLY", "WEEKLY", "DAILY" ]The level of granularity for the workspace report. -
periodId: integer
(int64)
The unique identifier of a period.
-
prefix: string
Maximum Length:
255The prefix for the period naming convention label, which is used to distinguish individual time periods when viewing reporting cycles in a time phased view. -
pushDownType: string
Allowed Values:
[ "MANUAL", "AUTOMATIC" ]The push down type of the workspace report. -
reportCycleId: integer
(int64)
The unique identifier of a report cycle.
-
suffix(required): integer
(int32)
The numerical suffix for the period naming convention label, which is used to distinguish individual time periods when viewing reporting cycles in a time phased view.
-
suffixIncrement(required): integer
(int32)
The number to increment the suffix by in each period naming convention label, which is used to distinguish individual time periods when viewing reporting cycles in a time phased view.
-
workspaceCode: string
Minimum Length:
0Maximum Length:60The user-specified identifier of a workspace. -
workspaceId(required): integer
(int64)
The unique identifier for the workspace.The workspace object can also be identified by its unique criteria.
Examples
Back to Top
Response
Supported Media Types
- application/json
201 Response
The object was successfully created.
Root Schema : List<ApiEntityReportCycle>
Type:
arrayTitle:
Show Source
List<ApiEntityReportCycle>-
Array of:
object ApiEntityReportCycle
Title:
ApiEntityReportCycle
Nested Schema : ApiEntityReportCycle
Type:
objectTitle:
Show Source
ApiEntityReportCycle-
associationType: string
Allowed Values:
[ "OWNED", "INHERITED" ]The type of association in the relationship between the report cycle and the workspace. Possible values are Owned and Inherited. -
baseDate: string
(date-time)
The date used as the starting point for generating the period start and end dates in a reporting cycle.
-
cycleName: string
Minimum Length:
1Maximum Length:255The name of the reporting cycle. -
granularity: string
Allowed Values:
[ "REPORTING_PERIOD", "YEARLY", "QUARTERLY", "MONTHLY", "SEMIMONTHLY", "WEEKLY", "DAILY" ]The level of granularity for the workspace report. -
link: string
(url)
The self-link to the object. This field is populated only in the responses generated by the batch create APIs.
-
periodId: integer
(int64)
The unique identifier of a period.
-
prefix: string
Maximum Length:
255The prefix for the period naming convention label, which is used to distinguish individual time periods when viewing reporting cycles in a time phased view. -
pushDownType: string
Allowed Values:
[ "MANUAL", "AUTOMATIC" ]The push down type of the workspace report. -
reportCycleId: integer
(int64)
The unique identifier of a report cycle.
-
suffix: integer
(int32)
The numerical suffix for the period naming convention label, which is used to distinguish individual time periods when viewing reporting cycles in a time phased view.
-
suffixIncrement: integer
(int32)
The number to increment the suffix by in each period naming convention label, which is used to distinguish individual time periods when viewing reporting cycles in a time phased view.
-
updateDate: string
(date-time)
Date when the record was last updated.
-
workspaceCode: string
Minimum Length:
0Maximum Length:60The user-specified identifier of a workspace. -
workspaceId: integer
(int64)
The unique identifier for the workspace.The workspace object can also be identified by its unique criteria.
400 Response
Invalid input for the Report Cycle service.