Create a calendar
post
/fscmRestApi/resources/11.13.18.05/hedCalendars
Request
Header Parameters
-
Metadata-Context: string
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version: string
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
-
Upsert-Mode: string
Contains one of the following values: true or false. If true, the server performs an Upsert operation instead of a Create operation. During an Upsert operation, the server attempts to find an existing resource that matches the payload. If a match is found, the server updates the existing resource instead of creating a new one. If not found or false (default), the server performs a Create operation. Note that the Upsert operation isn't supported for date-effective REST resources.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object
-
ActiveFlag(required): boolean
Title:
Active
Maximum Length:1
Indicates whether the calendar is active. The default value is N. -
CalendarCode(required): string
Title:
Calendar Code
Maximum Length:32
The code of a calendar. -
CalendarEndDate(required): string
(date)
Title:
End Date
The date when a calendar ends. -
calendarEvents: array
Calendar Events
Title:
Calendar Events
Calendar events for a calendar, such as calendar events for an academic calendar. -
CalendarName(required): string
Title:
Calendar Name
Maximum Length:240
The name of a calendar. -
CalendarStartDate(required): string
(date)
Title:
Start Date
The date when a calendar starts. -
Description: string
Title:
Description
Maximum Length:1000
The description of a calendar. -
entityAssignments: array
Entity Assignments
Title:
Entity Assignments
Academic entities which have been assigned to calendars. -
SourceCalendarId: integer
Title:
Source Calendar ID
The unique identifier of a source calendar. -
tagAssignments: array
Calendar Tags
Title:
Calendar Tags
Tag assignments of calendars, for example, an undergraduate tag assigned to a calendar.
Nested Schema : Calendar Events
Type:
array
Title:
Calendar Events
Calendar events for a calendar, such as calendar events for an academic calendar.
Show Source
Nested Schema : Entity Assignments
Type:
array
Title:
Entity Assignments
Academic entities which have been assigned to calendars.
Show Source
Nested Schema : Calendar Tags
Type:
array
Title:
Calendar Tags
Tag assignments of calendars, for example, an undergraduate tag assigned to a calendar.
Show Source
Nested Schema : hedCalendars-calendarEvents-item-post-request
Type:
Show Source
object
-
AllDayFlag: boolean
Title:
All Day
Maximum Length:1
Default Value:false
Indicates whether the calendar event is an all-day event. -
CalendarEventCode(required): string
Title:
Calendar Event Code
Maximum Length:30
The code of the calendar event. -
CalendarEventDescription: string
(byte)
Title:
Calendar Event Description
The description of a calendar event. -
CalendarEventEndDate: string
(date-time)
Title:
End Date
The date when a calendar event ends. -
CalendarEventName(required): string
Title:
Calendar Event Name
Maximum Length:240
The name of a calendar event. -
CalendarEventStartDate(required): string
(date-time)
Title:
Start Date
The date when a calendar event starts. -
calendarEventTagAssignments: array
Calendar Event Tags
Title:
Calendar Event Tags
Tag assignments of calendar events. -
Location: string
Title:
Location
Maximum Length:1000
The location of the calendar event.
Nested Schema : Calendar Event Tags
Type:
array
Title:
Calendar Event Tags
Tag assignments of calendar events.
Show Source
Nested Schema : hedCalendars-calendarEvents-calendarEventTagAssignments-item-post-request
Type:
Show Source
object
-
TagId: integer
(int64)
Title:
Tag ID
The identifier of the tag.
Nested Schema : hedCalendars-entityAssignments-item-post-request
Type:
Show Source
object
-
AssignedEntityCode: string
Title:
Entity Code
Maximum Length:100
The user defined identifier of the associated entity. -
AssignedEntityId: integer
(int64)
Title:
Entity ID
The unique identifier of the associated entity. -
AssignedEntityTypeCode: string
Title:
Entity Type Code
Maximum Length:30
The entity type code of the associated entity. A list of accepted values is defined in the lookup type ORA_HER_ASSOCIATED_OBJECT_TYPE. -
RequestAction: string
Title:
Request Action
Maximum Length:80
The request action that's performed when passed by the user during an update. When set to DELETE, the record is deleted. The only accepted value for request action is DELETE.
Nested Schema : schema
Type:
Show Source
object
-
RequestAction: string
Title:
Request Action
Maximum Length:80
The request action that's performed by the resource when passed by the client during an update. When set to DELETE, the record is deleted. The only accepted value for request action is DELETE. -
TagCode: string
Title:
Tag Code
Maximum Length:30
The code of the tag. -
TagId: integer
(int64)
Title:
Tag ID
The identifier of the tag.
Response
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
Metadata-Context:
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version:
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Root Schema : hedCalendars-item-response
Type:
Show Source
object
-
ActiveFlag: boolean
Title:
Active
Maximum Length:1
Indicates whether the calendar is active. The default value is N. -
CalendarCode: string
Title:
Calendar Code
Maximum Length:32
The code of a calendar. -
CalendarCodeLockFlag: boolean
Title:
Calendar Code Lock Indicator
Read Only:true
Maximum Length:1
Default Value:false
Indicates whether calendar code is editable. -
CalendarEndDate: string
(date)
Title:
End Date
The date when a calendar ends. -
calendarEvents: array
Calendar Events
Title:
Calendar Events
Calendar events for a calendar, such as calendar events for an academic calendar. -
CalendarId: integer
(int64)
Title:
Calendar ID
Read Only:true
The unique identifier of a calendar. -
CalendarName: string
Title:
Calendar Name
Maximum Length:240
The name of a calendar. -
CalendarStartDate: string
(date)
Title:
Start Date
The date when a calendar starts. -
CalendarTypeCode: string
Title:
Calendar Type Code
Read Only:true
Maximum Length:30
Default Value:ORA_HEY_GENERAL
The code of the calendar type. -
Description: string
Title:
Description
Maximum Length:1000
The description of a calendar. -
entityAssignments: array
Entity Assignments
Title:
Entity Assignments
Academic entities which have been assigned to calendars. -
LastUpdateDate: string
(date-time)
Title:
Last Updated Date
Read Only:true
The date and time when the calendar was last updated. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
SourceCalendarId: integer
Title:
Source Calendar ID
The unique identifier of a source calendar. -
tagAssignments: array
Calendar Tags
Title:
Calendar Tags
Tag assignments of calendars, for example, an undergraduate tag assigned to a calendar. -
TimezoneCode: string
Title:
Time Zone Code
Read Only:true
Maximum Length:50
Time zone code selected by a user when specifying calendar start and end dates. -
TimezoneName: string
Title:
Time Zone Name
Read Only:true
Maximum Length:80
Time zone name selected by a user when specifying a date time.
Nested Schema : Calendar Events
Type:
array
Title:
Calendar Events
Calendar events for a calendar, such as calendar events for an academic calendar.
Show Source
Nested Schema : Entity Assignments
Type:
array
Title:
Entity Assignments
Academic entities which have been assigned to calendars.
Show Source
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : Calendar Tags
Type:
array
Title:
Calendar Tags
Tag assignments of calendars, for example, an undergraduate tag assigned to a calendar.
Show Source
Nested Schema : hedCalendars-calendarEvents-item-response
Type:
Show Source
object
-
AllDayFlag: boolean
Title:
All Day
Maximum Length:1
Default Value:false
Indicates whether the calendar event is an all-day event. -
CalendarEventCode: string
Title:
Calendar Event Code
Maximum Length:30
The code of the calendar event. -
CalendarEventDescription: string
(byte)
Title:
Calendar Event Description
The description of a calendar event. -
CalendarEventEndDate: string
(date-time)
Title:
End Date
The date when a calendar event ends. -
CalendarEventId: integer
(int64)
Title:
Calendar Event ID
Read Only:true
The unique identifier of a calendar event. -
CalendarEventName: string
Title:
Calendar Event Name
Maximum Length:240
The name of a calendar event. -
CalendarEventStartDate: string
(date-time)
Title:
Start Date
The date when a calendar event starts. -
calendarEventTagAssignments: array
Calendar Event Tags
Title:
Calendar Event Tags
Tag assignments of calendar events. -
DisplayTimezoneCode: string
Title:
Time Zone Code
Read Only:true
Maximum Length:50
Default Value:UTC
Time zone code selected by a user when specifying calendar start and end dates. -
DisplayTimezoneName: string
Title:
Time Zone Name
Read Only:true
Maximum Length:80
Time zone name selected by a user when specifying a date time. -
EventSeriesId: integer
(int64)
Title:
Event Series ID
Read Only:true
The unique identifier of the calendar series which contains the calendar event. -
EventSeriesName: string
Title:
Event Series Name
Read Only:true
Maximum Length:240
The name of the calendar series which contains the calendar event. -
LastUpdateDate: string
(date-time)
Title:
Last Updated Date
Read Only:true
The date and time when the calendar event was last updated. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
Location: string
Title:
Location
Maximum Length:1000
The location of the calendar event. -
RecurrenceRule: string
Title:
Recurrence Rule
Read Only:true
Maximum Length:256
The recurrence rule of the associated calendar series. -
RecurringFlag: boolean
Title:
Recurring
Read Only:true
Maximum Length:1
Indicates whether the calendar event is a recurring event. The default value is Does not repeat.
Nested Schema : Calendar Event Tags
Type:
array
Title:
Calendar Event Tags
Tag assignments of calendar events.
Show Source
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : hedCalendars-calendarEvents-calendarEventTagAssignments-item-response
Type:
Show Source
object
-
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
TagAssignmentId: integer
(int64)
Title:
Tag Assignment ID
Read Only:true
Unique identifier of the tag assignment. -
TagId: integer
(int64)
Title:
Tag ID
The identifier of the tag. -
TagName: string
Title:
Tag Name
Read Only:true
Maximum Length:64
The name of the tag.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : link
Type:
Show Source
object
-
href: string
Title:
hyperlink reference
The URI to the related resource. -
kind: string
Title:
kind
Allowed Values:[ "collection", "item", "describe", "other" ]
The kind of the related resource. -
name: string
Title:
name
The name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relation
Allowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]
The name of the relation to the resource instance. Example: self.
Nested Schema : properties
Type:
Show Source
object
-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
Nested Schema : hedCalendars-entityAssignments-item-response
Type:
Show Source
object
-
AssignedEntityCode: string
Title:
Entity Code
Maximum Length:100
The user defined identifier of the associated entity. -
AssignedEntityId: integer
(int64)
Title:
Entity ID
The unique identifier of the associated entity. -
AssignedEntityName: string
Title:
Entity Name
Read Only:true
Maximum Length:100
The name of the associated entity. -
AssignedEntityTypeCode: string
Title:
Entity Type Code
Maximum Length:30
The entity type code of the associated entity. A list of accepted values is defined in the lookup type ORA_HER_ASSOCIATED_OBJECT_TYPE. -
AssignedEntityTypeMeaning: string
Title:
Entity Type
Read Only:true
Maximum Length:80
The entity type of the associated entity. -
LastUpdateDate: string
(date-time)
Title:
Last Update Date
Read Only:true
The date the row was last updated. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
RequestAction: string
Title:
Request Action
Maximum Length:80
The request action that's performed when passed by the user during an update. When set to DELETE, the record is deleted. The only accepted value for request action is DELETE. -
SettingsAssignmentId: integer
(int64)
Title:
Settings Assignment ID
Read Only:true
The unique identifier for the setup association record.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : hedCalendars-tagAssignments-item-response
Type:
Show Source
object
-
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
RequestAction: string
Title:
Request Action
Maximum Length:80
The request action that's performed by the resource when passed by the client during an update. When set to DELETE, the record is deleted. The only accepted value for request action is DELETE. -
TagAssignmentId: integer
(int64)
Title:
Tag Assignment ID
Read Only:true
The identifier of the tag assignment. -
TagCode: string
Title:
Tag Code
Maximum Length:30
The code of the tag. -
TagId: integer
(int64)
Title:
Tag ID
The identifier of the tag. -
TagName: string
Title:
Tag Name
Read Only:true
Maximum Length:64
The name of the tag.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Links
- calendarEvents
-
Parameters:
- CalendarId:
$request.path.CalendarId
Calendar events for a calendar, such as calendar events for an academic calendar. - CalendarId:
- entityAssignments
-
Parameters:
- CalendarId:
$request.path.CalendarId
Academic entities which have been assigned to calendars. - CalendarId:
- tagAssignments
-
Parameters:
- CalendarId:
$request.path.CalendarId
Tag assignments of calendars, for example, an undergraduate tag assigned to a calendar. - CalendarId:
- timezoneCodesLOV
-
The following properties are defined on the LOV link relation:
- Source Attribute: TimezoneCode; Target Attribute: TimezoneCode
- Display Attribute: Name