Create a communication channel
post
/fscmRestApi/resources/11.13.18.05/hedCommunicationSetups/{CommunicationSetupId}/child/commVersions
Request
Path Parameters
-
CommunicationSetupId(required): integer(int64)
The value of this parameter could be a hash of the key that is used to uniquely identify the resource item. The client should not generate the hash key value. Instead, the client should query on the collection resource with a filter to navigate to a specific resource item. For example: products?q=InventoryItemId=
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-
commChannels: array
Communication Channel Setups
Title:
Communication Channel SetupsThe list of channels that are supported by the communication template. -
VersionDescription: string
Title:
Communication Version DescriptionMaximum Length:240The description of a communication version record. -
VersionId: integer
(int64)
Title:
Communication Setup Version IDThe unique identifier for the communication version record. -
VersionName(required): string
Title:
Communication Version NameMaximum Length:50The name of a communication version record. -
VersionNumber(required): integer
(int32)
Title:
Communication Version NumberDenotes version number of the communication. -
VersionStatusCode(required): string
Title:
Communication Version Status CodeMaximum Length:30The status code of the communication.
Nested Schema : Communication Channel Setups
Type:
arrayTitle:
Communication Channel SetupsThe list of channels that are supported by the communication template.
Show Source
Nested Schema : hedCommunicationSetups-commVersions-commChannels-item-post-request
Type:
Show Source
object-
CommChannelTypeCode(required): string
Title:
Communication Channel Type CodeMaximum Length:30Code for the communication channel type. -
commContentProperties: array
Communication Content Properties
Title:
Communication Content PropertiesThe properties for a communication that hold information about the communication template for specific channels. For example, information for From, Reply to, and Subject.
Nested Schema : Communication Content Properties
Type:
arrayTitle:
Communication Content PropertiesThe properties for a communication that hold information about the communication template for specific channels. For example, information for From, Reply to, and Subject.
Show Source
Nested Schema : hedCommunicationSetups-commVersions-commChannels-commContentProperties-item-post-request
Type:
Show Source
object-
PropertyLongValue: string
(byte)
Title:
Property Long ValueCommunication content property long value. -
PropertyName: string
Title:
Property NameMaximum Length:64Name of the property. -
PropertyTypeCode: string
Title:
Property Type CodeMaximum Length:30Type of the communication content property. -
PropertyValue: string
Title:
Property ValueMaximum Length:1000Communication content property value.
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 : hedCommunicationSetups-commVersions-item-response
Type:
Show Source
object-
commChannels: array
Communication Channel Setups
Title:
Communication Channel SetupsThe list of channels that are supported by the communication template. -
ContractConfiguration: string
(byte)
Title:
Contract ConfigurationRead Only:trueThe contract configuration of the communication. This includes all the expected parameters. -
CreationDate: string
(date-time)
Title:
Creation DateRead Only:trueThe date and time when the communication version was created. -
LastUpdateDate: string
(date-time)
Title:
Last Updated DateRead Only:trueThe date and time when the communication version was updated. -
LastUpdatedBy: string
Title:
Last Updated ByRead Only:trueMaximum Length:64The user who last updated the communication version. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
VersionDescription: string
Title:
Communication Version DescriptionMaximum Length:240The description of a communication version record. -
VersionId: integer
(int64)
Title:
Communication Setup Version IDThe unique identifier for the communication version record. -
VersionName: string
Title:
Communication Version NameMaximum Length:50The name of a communication version record. -
VersionNumber: integer
(int32)
Title:
Communication Version NumberDenotes version number of the communication. -
VersionStatusCode: string
Title:
Communication Version Status CodeMaximum Length:30The status code of the communication. -
VersionStatusMeaning: string
Title:
Communication Version Status MeaningRead Only:trueMaximum Length:80The meaning of the status of the communication.
Nested Schema : Communication Channel Setups
Type:
arrayTitle:
Communication Channel SetupsThe list of channels that are supported by the communication template.
Show Source
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : hedCommunicationSetups-commVersions-commChannels-item-response
Type:
Show Source
object-
CommChannelId: integer
(int64)
Title:
Communication Channel IDRead Only:trueThe unique identifier for a communication's email content for a channel. -
CommChannelTypeCode: string
Title:
Communication Channel Type CodeMaximum Length:30Code for the communication channel type. -
CommChannelTypeMeaning: string
Title:
Communication Channel Type Code MeaningRead Only:trueMaximum Length:80The meaning of the communication channel type code. Examples of channels are email and SMS. -
commContentProperties: array
Communication Content Properties
Title:
Communication Content PropertiesThe properties for a communication that hold information about the communication template for specific channels. For example, information for From, Reply to, and Subject. -
LastUpdateDate: string
(date-time)
Title:
Last Updated DateRead Only:trueThe date and time when the communication channel was updated. -
LastUpdatedBy: string
Title:
Last Updated ByRead Only:trueMaximum Length:64The user who last updated the communication channel. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance.
Nested Schema : Communication Content Properties
Type:
arrayTitle:
Communication Content PropertiesThe properties for a communication that hold information about the communication template for specific channels. For example, information for From, Reply to, and Subject.
Show Source
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : hedCommunicationSetups-commVersions-commChannels-commContentProperties-item-response
Type:
Show Source
object-
LastUpdateDate: string
(date-time)
Title:
Last Updated DateRead Only:trueThe date and time when the communication content property was updated. -
LastUpdatedBy: string
Title:
Last Updated ByRead Only:trueMaximum Length:64The user who last updated the communication content property. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
PropertyId: integer
(int64)
Title:
Property IDRead Only:trueCommunication setup content identifier for a channel property. -
PropertyLongValue: string
(byte)
Title:
Property Long ValueCommunication content property long value. -
PropertyName: string
Title:
Property NameMaximum Length:64Name of the property. -
PropertyTypeCode: string
Title:
Property Type CodeMaximum Length:30Type of the communication content property. -
PropertyTypeMeaning: string
Title:
Property Type Code MeaningRead Only:trueMaximum Length:80Meaning of the communication content property type. Example of content types are short and long. -
PropertyValue: string
Title:
Property ValueMaximum Length:1000Communication content property value.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
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.
Links
- VersionStatusCodeLOV
-
Parameters:
- finder:
ByLookupTypeFinder%3BLookupCode%3D{VersionStatusCode}%2CLookupType%3DORA_HEY_VERSION_STATUS
The following properties are defined on the LOV link relation:- Source Attribute: VersionStatusCode; Target Attribute: LookupCode
- Display Attribute: Meaning
- finder:
- commChannels
-
Parameters:
- CommunicationSetupId:
$request.path.CommunicationSetupId - VersionId:
$request.path.VersionId
The list of channels that are supported by the communication template. - CommunicationSetupId: