Create a calendar
post
/fscmRestApi/resources/11.13.18.05/hedCalendars
Request
Header Parameters
-
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.
-
Upsert-Mode:
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:
ActiveMaximum Length:1Indicates whether the calendar is active. The default value is N. -
CalendarCode(required): string
Title:
Calendar CodeMaximum Length:32The code of a calendar. -
CalendarEndDate(required): string
(date)
Title:
End DateThe date when a calendar ends. -
CalendarName(required): string
Title:
Calendar NameMaximum Length:240The name of a calendar. -
CalendarStartDate(required): string
(date)
Title:
Start DateThe date when a calendar starts. -
Description: string
Title:
DescriptionMaximum Length:1000The description of a calendar. -
tagAssignments: array
Calendar Tags
Title:
Calendar TagsTag assignments of calendars, for example, an undergraduate tag assigned to a calendar.
Nested Schema : Calendar Tags
Type:
arrayTitle:
Calendar TagsTag assignments of calendars, for example, an undergraduate tag assigned to a calendar.
Show Source
Nested Schema : schema
Type:
Show Source
object-
TagCode: string
Title:
Tag CodeMaximum Length:30The code of the tag. -
TagId: integer
(int64)
Title:
Tag IDThe 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:
ActiveMaximum Length:1Indicates whether the calendar is active. The default value is N. -
CalendarCode: string
Title:
Calendar CodeMaximum Length:32The code of a calendar. -
CalendarCodeLockFlag: boolean
Title:
Calendar Code Lock IndicatorRead Only:trueMaximum Length:1Default Value:falseIndicates whether calendar code is editable. -
CalendarEndDate: string
(date)
Title:
End DateThe date when a calendar ends. -
CalendarId: integer
(int64)
Title:
Calendar IDRead Only:trueThe unique identifier of a calendar. -
CalendarName: string
Title:
Calendar NameMaximum Length:240The name of a calendar. -
CalendarStartDate: string
(date)
Title:
Start DateThe date when a calendar starts. -
Description: string
Title:
DescriptionMaximum Length:1000The description of a calendar. -
LastUpdateDate: string
(date-time)
Title:
Last Updated DateRead Only:trueThe date and time when the calendar was last updated. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
tagAssignments: array
Calendar Tags
Title:
Calendar TagsTag assignments of calendars, for example, an undergraduate tag assigned to a calendar. -
TimezoneCode: string
Title:
Time Zone CodeRead Only:trueMaximum Length:50Default Value:UTCTime zone code selected by a user when specifying calendar start and end dates. -
TimezoneName: string
Title:
Time Zone NameRead Only:trueMaximum Length:80Time zone name selected by a user when specifying a date time.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : Calendar Tags
Type:
arrayTitle:
Calendar TagsTag assignments of calendars, for example, an undergraduate tag assigned to a calendar.
Show Source
Nested Schema : link
Type:
Show Source
object-
href: string
Title:
hyperlink referenceThe URI to the related resource. -
kind: string
Title:
kindAllowed Values:[ "collection", "item", "describe", "other" ]The kind of the related resource. -
name: string
Title:
nameThe name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relationAllowed 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-tagAssignments-item-response
Type:
Show Source
object-
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
TagAssignmentId: integer
(int64)
Title:
Tag Assignment IDRead Only:trueThe identifier of the tag assignment. -
TagCode: string
Title:
Tag CodeMaximum Length:30The code of the tag. -
TagId: integer
(int64)
Title:
Tag IDThe identifier of the tag. -
TagName: string
Title:
Tag NameRead Only:trueMaximum Length:64The name of the tag.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Links
- 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