Create a campaign external workspace
post
/hcmRestApi/resources/11.13.18.05/communicateUICampaignDetails/{CampaignId}/child/externalWorkspaces
Request
Path Parameters
-
CampaignId(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-
CampaignId(required): integer
(int64)
Unique identifier for the campaign associated with the external workspace.
-
CampExternalWorkspaceId: integer
(int64)
Unique identifier for the external workspace associated with the campaign.
-
CampTeamExternalMsgSenderId(required): integer
(int64)
Unique identifier for the external message sender in the campaign team.
-
channels: array
Campaign External Channels
Title:
Campaign External ChannelsThe channels resource provides access to external communication channels for campaigns. -
ObjectVersionNumber: integer
(int32)
Unique identifier for the version of the external workspace object. This value helps in tracking changes to the workspace.
-
TeamId(required): string
Maximum Length:
64Unique identifier for the team associated with the external workspace. -
TeamName: string
Maximum Length:
128Name of the team associated with the external workspace.
Nested Schema : Campaign External Channels
Type:
arrayTitle:
Campaign External ChannelsThe channels resource provides access to external communication channels for campaigns.
Show Source
Nested Schema : schema
Type:
Show Source
object-
CampExternalChannelId: integer
(int64)
Unique identifier for the external channel used in the campaign.
-
CampExternalWorkspaceId: integer
(int64)
Unique identifier for the external workspace channel associated with the campaign.
-
ChannelId: string
Maximum Length:
128Unique identifier for the external channel used in the campaign. -
ChannelName: string
Maximum Length:
128Name of the external channel used in the campaign communication. -
ObjectVersionNumber: integer
(int32)
Unique identifier for the version of the campaign external channel object. This value helps in tracking changes to the object.
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 : communicateUICampaignDetails-externalWorkspaces-item-response
Type:
Show Source
object-
CampaignId: integer
(int64)
Unique identifier for the campaign associated with the external workspace.
-
CampExternalWorkspaceId: integer
(int64)
Unique identifier for the external workspace associated with the campaign.
-
CampTeamExternalMsgSenderId: integer
(int64)
Unique identifier for the external message sender in the campaign team.
-
channels: array
Campaign External Channels
Title:
Campaign External ChannelsThe channels resource provides access to external communication channels for campaigns. -
CreatedBy: string
Read Only:
trueMaximum Length:64Identifies the user who created the external workspace. -
CreationDate: string
(date-time)
Read Only:
trueDate when the external workspace was created. -
LastUpdateDate: string
(date-time)
Read Only:
trueLast updated date and time of the external workspace. -
LastUpdatedBy: string
Read Only:
trueMaximum Length:64Last updated by information for the external workspace in the campaign. -
LastUpdateLogin: string
Read Only:
trueMaximum Length:32Last update login identifier for the external workspace. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
ObjectVersionNumber: integer
(int32)
Unique identifier for the version of the external workspace object. This value helps in tracking changes to the workspace.
-
TeamId: string
Maximum Length:
64Unique identifier for the team associated with the external workspace. -
TeamName: string
Maximum Length:
128Name of the team associated with the external workspace.
Nested Schema : Campaign External Channels
Type:
arrayTitle:
Campaign External ChannelsThe channels resource provides access to external communication channels for campaigns.
Show Source
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : communicateUICampaignDetails-externalWorkspaces-channels-item-response
Type:
Show Source
object-
CampExternalChannelId: integer
(int64)
Unique identifier for the external channel used in the campaign.
-
CampExternalWorkspaceId: integer
(int64)
Unique identifier for the external workspace channel associated with the campaign.
-
ChannelId: string
Maximum Length:
128Unique identifier for the external channel used in the campaign. -
ChannelName: string
Maximum Length:
128Name of the external channel used in the campaign communication. -
CreatedBy: string
Read Only:
trueMaximum Length:64Indicates who created the external channel for the campaign. This field is read-only and automatically populated by the application. -
CreationDate: string
(date-time)
Read Only:
trueDate when the external channel was created. -
LastUpdateDate: string
(date-time)
Read Only:
trueLast updated date and time of the external channel for the campaign. -
LastUpdatedBy: string
Read Only:
trueMaximum Length:64Last updated by information for the campaign external channel. -
LastUpdateLogin: string
Read Only:
trueMaximum Length:32Last updated login identifier for the external channel. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
ObjectVersionNumber: integer
(int32)
Unique identifier for the version of the campaign external channel object. This value helps in tracking changes to the object.
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
- channels
-
Parameters:
- CampExternalWorkspaceId:
$request.path.CampExternalWorkspaceId - CampaignId:
$request.path.CampaignId
The channels resource provides access to external communication channels for campaigns. - CampExternalWorkspaceId: