Create or edit a survey
post
/hcmRestApi/resources/11.13.18.05/communicateUIQuickCampaigns/{CampaignId}/child/assetDetails/action/createOrEditSurvey
Creates or edits a survey for a campaign asset in the quick campaign setup. This action allows users to define or modify survey details associated with a specific campaign asset.
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.
Supported Media Types
- application/vnd.oracle.adf.action+json
Root Schema : schema
Type:
Show Source
object-
assetId: number
Unique identifier for the asset.
-
assetName: string
Name of the asset associated with the campaign.
-
assetSegments: array
assetSegments
Asset segments associated with the campaign for targeted communication.
-
campaignId: number
Unique identifier for the campaign associated with the asset details.
-
finalBody: string
Final content of the survey body after edits.
-
finalSubject: string
Final subject line for the campaign asset.
-
followupDelay: number
Follow-up delay for the survey in the campaign asset details.
-
initialBody: string
Initial body content for the survey in the campaign asset details.
-
initialSubject: string
Initial subject line for the survey in the quick campaign.
-
lastDeliveryDate: string
(date-time)
Last delivery date for the survey in the campaign asset details.
-
reminderBody: string
Reminder body content for the survey in the campaign asset details.
-
reminderSubject: string
Reminder subject for the survey in the quick campaign.
-
selectedTemplateId: number
Selected template identifier for the survey in the campaign asset details.
-
sendImmediatelyFlag: boolean
Flag to determine if the survey should be sent immediately.
-
startDeliveryDate: string
(date-time)
Start delivery date for the campaign asset.
Nested Schema : assetSegments
Type:
arrayAsset segments associated with the campaign for targeted communication.
Show Source
Response
Supported Media Types
- application/json
- application/vnd.oracle.adf.actionresult+json
Default Response
The following table describes the default response for this task.
Root Schema : schema
Type:
Show Source
object-
result(required): object
result
Additional Properties Allowed: additionalPropertiesReturn value for the create or edit survey action.
Nested Schema : result
Type:
objectAdditional Properties Allowed
Show Source
Return value for the create or edit survey action.