Get all campaigns

get

/hcmRestApi/resources/11.13.18.05/communicateUICampaignDetails

Request

Query Parameters
  • When this parameter is provided, the specified children are included in the resource payload (instead of just a link). The value of this query parameter is "all" or "". More than one child can be specified using comma as a separator. Example: ?expand=Employees,Localizations. Nested children can also be provided following the format "Child.NestedChild" (Example: ?expand=Employees.Managers). If a nested child is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?expand=Employees.Managers" is the same as "?expand=Employees,Employees.Managers" (which will expand Employees and Managers).
  • This parameter filters the resource fields. Only the specified fields are returned, which means that if no fields are specified, no fields are returned (useful to get only the links). If an indirect child resource is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?fields=Employees.Managers:Empname" is the same as "?fields=;Employees:;Employees.Managers:Empname" (which will only return the "Empname" field for Managers). the value of this query parameter is a list of resource fields. The attribute can be a direct (Example: Employees) or indirect (Example: Employees.Managers) child. It cannot be combined with expand query parameter. If both are provided, only fields will be considered.

    Format: ?fields=Attribute1,Attribute2

    Format for fields in child resource: ?fields=Accessor1:Attribute1,Attribute2
  • Used as a predefined finder to search the collection.

    Format ?finder=<finderName>;<variableName>=<variableValue>,<variableName2>=<variableValue2>

    The following are the available finder names and corresponding finder variables

    • PrimaryKey Finds all campaigns using a unique identifier.
      Finder Variables
      • CampaignId; integer; Internal identifier for the campaign.
    • RowFinder Finds all campaigns using a row finder.
      Finder Variables
    • This parameter restricts the number of resources returned inside the resource collection. If the limit exceeds the resource count then the framework will only return the available resources.
    • This parameter can be used to show only certain links while accessing a singular resource or a resource collection. The parameter value format is a comma-separated list of : <link_relation>

      Example:
      self,canonical
    • Used to define the starting position of the resource collection. If offset exceeds the resource count then no resources are returned. Default value is 0.
    • The resource item payload will be filtered in order to contain only data (no links section, for example).
    • This parameter orders a resource collection based on the specified fields. The parameter value is a comma-separated string of attribute names, each optionally followed by a colon and "asc" or "desc". Specify "asc" for ascending and "desc" for descending. The default value is "asc". For example, ?orderBy=field1:asc,field2:desc
    • This query parameter defines the where clause. The resource collection will be queried using the provided expressions. The value of this query parameter is one or more expressions. Example: ?q=Deptno>=10 and <= 30;Loc!=NY

      Format: ?q=expression1;expression2

      You can use these queryable attributes to filter this collection resource using the q query parameter:
      • ActivatedOnDate; string; Date on which campaign was scheduled.
      • AudEmailLimitEnabledFlag; boolean; Indicates whether the audience email limit is enabled or not.
      • AudienceCount; integer; Total audience count associated with a campaign.
      • AudienceSavedSearchId; integer; Audience based search criteria saved by the user.
      • CampaignCode; string; Campaign number.
      • CampaignDurationCode; string; Identifies whether the campaign is ongoing or one-time.
      • CampaignId; integer; Internal identifier for the campaign.
      • CampaignLanguageCode; string; Language associated with the campaign.
      • CampaignMediumCode; string; Indicates whether the campaign is an email and message or post based campaign.
      • CampaignName; string; Name of the campaign.
      • CampaignStatusCode; string; Lookup code associated with campaign status.
      • CampaignStatusMeaning; string; Campaign status.
      • CampaignTypeCode; string; Indicates whether the campaign is recruiting or communicate campaign.
      • CancelledOnDate; string; Date on which the campaign was canceled.
      • ClosedOnDate; string; Date on which the campaign was closed.
      • CreatedBy; string; Person who created the campaign.
      • CreationDate; string; Date on which the campaign was created.
      • EligObjId; integer; Internal key defined for the combination of the campaign and audience selection.
      • EligPrflId; integer; Internal identifier for the eligibility profile associated with a campaign audience.
      • HCMListExtractionDate; string; Date when the HCM list was extracted.
      • HCMListId; integer; Internal identifier for the HCM list associated with a campaign audience.
      • LastUpdateDate; string; Date on which the campaign was last updated.
      • LastUpdateLogin; string; Session login associated to the user who last updated the campaign.
      • LastUpdatedBy; string; Person who last updated the campaign.
      • ObjectVersionNumber; integer; Version number of the campaign row that the user retrieved.
      • PurposeCode; string; Campaign purpose.
      • RequisitionSavedSearchId; integer; Requisition based search criteria saved by the user.
      • ResponseOption; string; Setting which allows the campaign manager to show or hide responses from the audience.
      • SearchRequisitionsFlag; boolean; Indicates whether the associated job requisition is fetched by a query or not.
      • TargetGoalValue; integer; Target goal value for a campaign.
      • TeamId; integer; Internal identifier for the communication team.
      • TeamName; string; Communication team name.
      • VanityConfigId; integer; Internal identifier for a sender profile associated with a campaign.
    • The resource collection representation will include the "estimated row count" when "?totalResults=true", otherwise the count is not included. The default value is "false".
    Header Parameters
    • 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".
    • 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.

    There's no request body for this operation.

    Back to Top

    Response

    Supported Media Types

    Default Response

    The following table describes the default response for this task.
    Headers
    • 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".
    • 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.
    Body ()
    Root Schema : communicateUICampaignDetails
    Type: object
    Show Source
    Nested Schema : Items
    Type: array
    Title: Items
    The items in the collection.
    Show Source
    Nested Schema : communicateUICampaignDetails-item-response
    Type: object
    Show Source
    Nested Schema : Campaign Channel Details
    Type: array
    Title: Campaign Channel Details
    The assetDetails resource provides details on how to create and update channels on the campaign.
    Show Source
    Nested Schema : Campaign Channel Metrics
    Type: array
    Title: Campaign Channel Metrics
    The assetMetrics resource provides details on how to retrieve the metrics associated with one or more channels defined within a campaign.
    Show Source
    Nested Schema : Campaign Audience Details
    Type: array
    Title: Campaign Audience Details
    The audienceDetails resource provides details on how to add and update the audience for a campaign.
    Show Source
    Nested Schema : Campaign Business Object Association
    Type: array
    Title: Campaign Business Object Association
    The boAssociation resource creates and updates a campaign.
    Show Source
    Nested Schema : Campaigns Goals
    Type: array
    Title: Campaigns Goals
    The goals resource provides details on how to create and update the goals of a campaign.
    Show Source
    Nested Schema : Campaign Owners
    Type: array
    Title: Campaign Owners
    The owners resource provides details on how to add and update the owners of a campaign.
    Show Source
    Nested Schema : Campaign Job Requisition Metrics
    Type: array
    Title: Campaign Job Requisition Metrics
    The requisitionMetrics resource provides details on how to retrieve the metrics associated with the requisition of a campaign.
    Show Source
    Nested Schema : Campaign Requisitions
    Type: array
    Title: Campaign Requisitions
    The requisitions resource provides details on how to create and update the job requisition of a campaign.
    Show Source
    Nested Schema : Campaign Languages
    Type: array
    Title: Campaign Languages
    The selectedLanguages resource provides details on how to add and update the languages selected for a campaign.
    Show Source
    Nested Schema : communicateUICampaignDetails-assetDetails-item-response
    Type: object
    Show Source
    Nested Schema : Campaign Channel Metrics
    Type: array
    Title: Campaign Channel Metrics
    The assetMetrics resource provides details on how to retrieve the metrics associated with one or more channels defined within a campaign.
    Show Source
    Nested Schema : Campaign Audience Segments
    Type: array
    Title: Campaign Audience Segments
    The audienceSegments resource provides details on how to retrieve the segments associated with one or more channels defined within a campaign.
    Show Source
    Nested Schema : Grow Notification Metrics
    Type: array
    Title: Grow Notification Metrics
    The notificationMetrics resource provides details on how to retrieve the metrics associated with one or more notification email cycles.
    Show Source
    Nested Schema : Campaign Banner Details
    Type: array
    Title: Campaign Banner Details
    The postContent resource provides details on how to create and update the banner associated with a post based campaign.
    Show Source
    Nested Schema : communicateUICampaignDetails-assetDetails-assetMetrics-item-response
    Type: object
    Show Source
    Nested Schema : communicateUICampaignDetails-assetDetails-audienceSegments-item-response
    Type: object
    Show Source
    Nested Schema : communicateUICampaignDetails-assetDetails-notificationMetrics-item-response
    Type: object
    Show Source
    Nested Schema : communicateUICampaignDetails-assetDetails-postContent-item-response
    Type: object
    Show Source
    Nested Schema : Links
    Type: array
    Title: Links
    The link relations associated with the resource instance.
    Show Source
    Nested Schema : communicateUICampaignDetails-assetMetrics-item-response
    Type: object
    Show Source
    Nested Schema : communicateUICampaignDetails-audienceDetails-item-response
    Type: object
    Show Source
    Nested Schema : Campaign Target Audience Details
    Type: array
    Title: Campaign Target Audience Details
    The CampaignAudienceSourceItems resource provides the target audience for a campaign.
    Show Source
    Nested Schema : Campaign Audience Details Metrics
    Type: array
    Title: Campaign Audience Details Metrics
    The metrics resource retrieves the metrics associated with the audience for a campaign.
    Show Source
    Nested Schema : communicateUICampaignDetails-audienceDetails-CampaignAudienceSourceItems-item-response
    Type: object
    Show Source
    Nested Schema : communicateUICampaignDetails-audienceDetails-metrics-item-response
    Type: object
    Show Source
    Nested Schema : communicateUICampaignDetails-boAssociation-item-response
    Type: object
    Show Source
    Nested Schema : Campaign Business Object Association Items
    Type: array
    Title: Campaign Business Object Association Items
    The boAssocItems resource retrieves the items associated with the business object association for a campaign.
    Show Source
    Nested Schema : communicateUICampaignDetails-boAssociation-boAssocItems-item-response
    Type: object
    Show Source
    Nested Schema : Campaign Business Object Association Metrics
    Type: array
    Title: Campaign Business Object Association Metrics
    The campaignBoMetrics resource retrieves the metrics associated with the business object association for a campaign.
    Show Source
    Nested Schema : communicateUICampaignDetails-boAssociation-boAssocItems-campaignBoMetrics-item-response
    Type: object
    Show Source
    Nested Schema : communicateUICampaignDetails-goals-item-response
    Type: object
    Show Source
    Nested Schema : Campaign Goal Response Choices
    Type: array
    Title: Campaign Goal Response Choices
    The responseChoices resource provides details on how to retrieve the response choices associated with the goals of a campaign.
    Show Source
    Nested Schema : Campaign Goal Response Metrics
    Type: array
    Title: Campaign Goal Response Metrics
    The responseMetrics resource provides details on how to retrieve the response metrics associated with the goals of a campaign.
    Show Source
    Nested Schema : communicateUICampaignDetails-goals-responseChoices-item-response
    Type: object
    Show Source
    Nested Schema : communicateUICampaignDetails-goals-responseMetrics-item-response
    Type: object
    Show Source
    Nested Schema : communicateUICampaignDetails-owners-item-response
    Type: object
    Show Source
    Nested Schema : communicateUICampaignDetails-requisitionMetrics-item-response
    Type: object
    Show Source
    Nested Schema : communicateUICampaignDetails-requisitions-item-response
    Type: object
    Show Source
    Nested Schema : communicateUICampaignDetails-selectedLanguages-item-response
    Type: object
    Show Source
    Back to Top