Class JourneyApi

java.lang.Object
com.mypurecloud.sdk.v2.api.JourneyApi

public class JourneyApi extends Object
  • Constructor Details

    • JourneyApi

      public JourneyApi()
    • JourneyApi

      public JourneyApi(ApiClient apiClient)
  • Method Details

    • deleteJourneyActionmap

      public void deleteJourneyActionmap(String actionMapId) throws IOException, ApiException
      Delete single action map.
      Parameters:
      actionMapId - ID of the action map. (required)
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteJourneyActionmapWithHttpInfo

      public ApiResponse<Void> deleteJourneyActionmapWithHttpInfo(String actionMapId) throws IOException
      Delete single action map.
      Parameters:
      actionMapId - ID of the action map. (required)
      Throws:
      IOException - if the request fails to be processed
    • deleteJourneyActionmap

      public void deleteJourneyActionmap(DeleteJourneyActionmapRequest request) throws IOException, ApiException
      Delete single action map.
      Parameters:
      request - The request object
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteJourneyActionmap

      public ApiResponse<Void> deleteJourneyActionmap(ApiRequest<Void> request) throws IOException
      Delete single action map.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • deleteJourneyActiontemplate

      public void deleteJourneyActiontemplate(String actionTemplateId, Boolean hardDelete) throws IOException, ApiException
      Delete a single action template.
      Parameters:
      actionTemplateId - ID of the action template. (required)
      hardDelete - Determines whether Action Template should be soft-deleted (have it's state set to deleted) or hard-deleted (permanently removed). Set to false (soft-delete) by default. (optional)
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteJourneyActiontemplateWithHttpInfo

      public ApiResponse<Void> deleteJourneyActiontemplateWithHttpInfo(String actionTemplateId, Boolean hardDelete) throws IOException
      Delete a single action template.
      Parameters:
      actionTemplateId - ID of the action template. (required)
      hardDelete - Determines whether Action Template should be soft-deleted (have it's state set to deleted) or hard-deleted (permanently removed). Set to false (soft-delete) by default. (optional)
      Throws:
      IOException - if the request fails to be processed
    • deleteJourneyActiontemplate

      public void deleteJourneyActiontemplate(DeleteJourneyActiontemplateRequest request) throws IOException, ApiException
      Delete a single action template.
      Parameters:
      request - The request object
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteJourneyActiontemplate

      public ApiResponse<Void> deleteJourneyActiontemplate(ApiRequest<Void> request) throws IOException
      Delete a single action template.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • deleteJourneyOutcome

      public void deleteJourneyOutcome(String outcomeId) throws IOException, ApiException
      Delete an outcome.
      Parameters:
      outcomeId - ID of the outcome. (required)
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteJourneyOutcomeWithHttpInfo

      public ApiResponse<Void> deleteJourneyOutcomeWithHttpInfo(String outcomeId) throws IOException
      Delete an outcome.
      Parameters:
      outcomeId - ID of the outcome. (required)
      Throws:
      IOException - if the request fails to be processed
    • deleteJourneyOutcome

      public void deleteJourneyOutcome(DeleteJourneyOutcomeRequest request) throws IOException, ApiException
      Delete an outcome.
      Parameters:
      request - The request object
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteJourneyOutcome

      public ApiResponse<Void> deleteJourneyOutcome(ApiRequest<Void> request) throws IOException
      Delete an outcome.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • deleteJourneyOutcomesPredictor

      public void deleteJourneyOutcomesPredictor(String predictorId) throws IOException, ApiException
      Delete an outcome predictor.
      Parameters:
      predictorId - ID of predictor (required)
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteJourneyOutcomesPredictorWithHttpInfo

      public ApiResponse<Void> deleteJourneyOutcomesPredictorWithHttpInfo(String predictorId) throws IOException
      Delete an outcome predictor.
      Parameters:
      predictorId - ID of predictor (required)
      Throws:
      IOException - if the request fails to be processed
    • deleteJourneyOutcomesPredictor

      public void deleteJourneyOutcomesPredictor(DeleteJourneyOutcomesPredictorRequest request) throws IOException, ApiException
      Delete an outcome predictor.
      Parameters:
      request - The request object
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteJourneyOutcomesPredictor

      public ApiResponse<Void> deleteJourneyOutcomesPredictor(ApiRequest<Void> request) throws IOException
      Delete an outcome predictor.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • deleteJourneySegment

      public void deleteJourneySegment(String segmentId) throws IOException, ApiException
      Delete a segment.
      Parameters:
      segmentId - ID of the segment. (required)
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteJourneySegmentWithHttpInfo

      public ApiResponse<Void> deleteJourneySegmentWithHttpInfo(String segmentId) throws IOException
      Delete a segment.
      Parameters:
      segmentId - ID of the segment. (required)
      Throws:
      IOException - if the request fails to be processed
    • deleteJourneySegment

      public void deleteJourneySegment(DeleteJourneySegmentRequest request) throws IOException, ApiException
      Delete a segment.
      Parameters:
      request - The request object
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteJourneySegment

      public ApiResponse<Void> deleteJourneySegment(ApiRequest<Void> request) throws IOException
      Delete a segment.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • deleteJourneyView

      public void deleteJourneyView(String viewId) throws IOException, ApiException
      Delete a Journey View by ID deletes all versions deleteJourneyView is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      viewId - viewId (required)
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteJourneyViewWithHttpInfo

      public ApiResponse<Void> deleteJourneyViewWithHttpInfo(String viewId) throws IOException
      Delete a Journey View by ID deletes all versions deleteJourneyView is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      viewId - viewId (required)
      Throws:
      IOException - if the request fails to be processed
    • deleteJourneyView

      public void deleteJourneyView(DeleteJourneyViewRequest request) throws IOException, ApiException
      Delete a Journey View by ID deletes all versions deleteJourneyView is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteJourneyView

      public ApiResponse<Void> deleteJourneyView(ApiRequest<Void> request) throws IOException
      Delete a Journey View by ID deletes all versions deleteJourneyView is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getAnalyticsJourneysAggregatesJob

      public AsyncQueryStatus getAnalyticsJourneysAggregatesJob(String jobId) throws IOException, ApiException
      Get status for async query for journey aggregates getAnalyticsJourneysAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      jobId - jobId (required)
      Returns:
      AsyncQueryStatus
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getAnalyticsJourneysAggregatesJobWithHttpInfo

      public ApiResponse<AsyncQueryStatus> getAnalyticsJourneysAggregatesJobWithHttpInfo(String jobId) throws IOException
      Get status for async query for journey aggregates getAnalyticsJourneysAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      jobId - jobId (required)
      Returns:
      AsyncQueryStatus
      Throws:
      IOException - if the request fails to be processed
    • getAnalyticsJourneysAggregatesJob

      public AsyncQueryStatus getAnalyticsJourneysAggregatesJob(GetAnalyticsJourneysAggregatesJobRequest request) throws IOException, ApiException
      Get status for async query for journey aggregates getAnalyticsJourneysAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      AsyncQueryStatus
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getAnalyticsJourneysAggregatesJob

      public ApiResponse<AsyncQueryStatus> getAnalyticsJourneysAggregatesJob(ApiRequest<Void> request) throws IOException
      Get status for async query for journey aggregates getAnalyticsJourneysAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getAnalyticsJourneysAggregatesJobResults

      public JourneyAsyncAggregateQueryResponse getAnalyticsJourneysAggregatesJobResults(String jobId, String cursor) throws IOException, ApiException
      Fetch a page of results for an async aggregates query getAnalyticsJourneysAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      jobId - jobId (required)
      cursor - Cursor token to retrieve next page (optional)
      Returns:
      JourneyAsyncAggregateQueryResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getAnalyticsJourneysAggregatesJobResultsWithHttpInfo

      public ApiResponse<JourneyAsyncAggregateQueryResponse> getAnalyticsJourneysAggregatesJobResultsWithHttpInfo(String jobId, String cursor) throws IOException
      Fetch a page of results for an async aggregates query getAnalyticsJourneysAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      jobId - jobId (required)
      cursor - Cursor token to retrieve next page (optional)
      Returns:
      JourneyAsyncAggregateQueryResponse
      Throws:
      IOException - if the request fails to be processed
    • getAnalyticsJourneysAggregatesJobResults

      public JourneyAsyncAggregateQueryResponse getAnalyticsJourneysAggregatesJobResults(GetAnalyticsJourneysAggregatesJobResultsRequest request) throws IOException, ApiException
      Fetch a page of results for an async aggregates query getAnalyticsJourneysAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      JourneyAsyncAggregateQueryResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getAnalyticsJourneysAggregatesJobResults

      public ApiResponse<JourneyAsyncAggregateQueryResponse> getAnalyticsJourneysAggregatesJobResults(ApiRequest<Void> request) throws IOException
      Fetch a page of results for an async aggregates query getAnalyticsJourneysAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getExternalcontactsContactJourneySessions

      public SessionListing getExternalcontactsContactJourneySessions(String contactId, String pageSize, String after, Boolean includeMerged) throws IOException, ApiException
      Retrieve all sessions for a given external contact.
      Parameters:
      contactId - ExternalContact ID (required)
      pageSize - Number of entities to return. Maximum of 200. (optional)
      after - The cursor that points to the end of the set of entities that has been returned. (optional)
      includeMerged - Indicates whether to return sessions from all external contacts in the merge-set of the given one. (optional)
      Returns:
      SessionListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getExternalcontactsContactJourneySessionsWithHttpInfo

      public ApiResponse<SessionListing> getExternalcontactsContactJourneySessionsWithHttpInfo(String contactId, String pageSize, String after, Boolean includeMerged) throws IOException
      Retrieve all sessions for a given external contact.
      Parameters:
      contactId - ExternalContact ID (required)
      pageSize - Number of entities to return. Maximum of 200. (optional)
      after - The cursor that points to the end of the set of entities that has been returned. (optional)
      includeMerged - Indicates whether to return sessions from all external contacts in the merge-set of the given one. (optional)
      Returns:
      SessionListing
      Throws:
      IOException - if the request fails to be processed
    • getExternalcontactsContactJourneySessions

      public SessionListing getExternalcontactsContactJourneySessions(GetExternalcontactsContactJourneySessionsRequest request) throws IOException, ApiException
      Retrieve all sessions for a given external contact.
      Parameters:
      request - The request object
      Returns:
      SessionListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getExternalcontactsContactJourneySessions

      public ApiResponse<SessionListing> getExternalcontactsContactJourneySessions(ApiRequest<Void> request) throws IOException
      Retrieve all sessions for a given external contact.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getJourneyActionmap

      public ActionMap getJourneyActionmap(String actionMapId) throws IOException, ApiException
      Retrieve a single action map.
      Parameters:
      actionMapId - ID of the action map. (required)
      Returns:
      ActionMap
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getJourneyActionmapWithHttpInfo

      public ApiResponse<ActionMap> getJourneyActionmapWithHttpInfo(String actionMapId) throws IOException
      Retrieve a single action map.
      Parameters:
      actionMapId - ID of the action map. (required)
      Returns:
      ActionMap
      Throws:
      IOException - if the request fails to be processed
    • getJourneyActionmap

      public ActionMap getJourneyActionmap(GetJourneyActionmapRequest request) throws IOException, ApiException
      Retrieve a single action map.
      Parameters:
      request - The request object
      Returns:
      ActionMap
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getJourneyActionmap

      public ApiResponse<ActionMap> getJourneyActionmap(ApiRequest<Void> request) throws IOException
      Retrieve a single action map.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getJourneyActionmaps

      public ActionMapListing getJourneyActionmaps(Integer pageNumber, Integer pageSize, String sortBy, String filterField, String filterValue, List<String> actionMapIds, List<String> queryFields, String queryValue) throws IOException, ApiException
      Retrieve all action maps.
      Parameters:
      pageNumber - Page number (optional, default to 1)
      pageSize - Page size (optional, default to 25)
      sortBy - Field(s) to sort by. Prefix with '-' for descending (e.g. sortBy=displayName,-createdDate). (optional)
      filterField - Field to filter by (e.g. filterField=weight or filterField=action.actionTemplate.id). Requires 'filterField' to also be set. (optional)
      filterValue - Value to filter by. Requires 'filterValue' to also be set. (optional)
      actionMapIds - IDs of action maps to return. Use of this parameter is not compatible with pagination, filtering, sorting or querying. A maximum of 100 action maps are allowed per request. (optional)
      queryFields - Action Map field(s) to query on. Requires 'queryValue' to also be set. (optional)
      queryValue - Value to query on. Requires 'queryFields' to also be set. (optional)
      Returns:
      ActionMapListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getJourneyActionmapsWithHttpInfo

      public ApiResponse<ActionMapListing> getJourneyActionmapsWithHttpInfo(Integer pageNumber, Integer pageSize, String sortBy, String filterField, String filterValue, List<String> actionMapIds, List<String> queryFields, String queryValue) throws IOException
      Retrieve all action maps.
      Parameters:
      pageNumber - Page number (optional, default to 1)
      pageSize - Page size (optional, default to 25)
      sortBy - Field(s) to sort by. Prefix with '-' for descending (e.g. sortBy=displayName,-createdDate). (optional)
      filterField - Field to filter by (e.g. filterField=weight or filterField=action.actionTemplate.id). Requires 'filterField' to also be set. (optional)
      filterValue - Value to filter by. Requires 'filterValue' to also be set. (optional)
      actionMapIds - IDs of action maps to return. Use of this parameter is not compatible with pagination, filtering, sorting or querying. A maximum of 100 action maps are allowed per request. (optional)
      queryFields - Action Map field(s) to query on. Requires 'queryValue' to also be set. (optional)
      queryValue - Value to query on. Requires 'queryFields' to also be set. (optional)
      Returns:
      ActionMapListing
      Throws:
      IOException - if the request fails to be processed
    • getJourneyActionmaps

      public ActionMapListing getJourneyActionmaps(GetJourneyActionmapsRequest request) throws IOException, ApiException
      Retrieve all action maps.
      Parameters:
      request - The request object
      Returns:
      ActionMapListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getJourneyActionmaps

      public ApiResponse<ActionMapListing> getJourneyActionmaps(ApiRequest<Void> request) throws IOException
      Retrieve all action maps.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getJourneyActionmapsEstimatesJob

      public String getJourneyActionmapsEstimatesJob(String jobId) throws IOException, ApiException
      Get status of job.
      Parameters:
      jobId - ID of the job. (required)
      Returns:
      String
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getJourneyActionmapsEstimatesJobWithHttpInfo

      public ApiResponse<String> getJourneyActionmapsEstimatesJobWithHttpInfo(String jobId) throws IOException
      Get status of job.
      Parameters:
      jobId - ID of the job. (required)
      Returns:
      String
      Throws:
      IOException - if the request fails to be processed
    • getJourneyActionmapsEstimatesJob

      public String getJourneyActionmapsEstimatesJob(GetJourneyActionmapsEstimatesJobRequest request) throws IOException, ApiException
      Get status of job.
      Parameters:
      request - The request object
      Returns:
      String
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getJourneyActionmapsEstimatesJob

      public ApiResponse<String> getJourneyActionmapsEstimatesJob(ApiRequest<Void> request) throws IOException
      Get status of job.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getJourneyActionmapsEstimatesJobResults

      public ActionMapEstimateResult getJourneyActionmapsEstimatesJobResults(String jobId) throws IOException, ApiException
      Get estimates from completed job.
      Parameters:
      jobId - ID of the job. (required)
      Returns:
      ActionMapEstimateResult
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getJourneyActionmapsEstimatesJobResultsWithHttpInfo

      public ApiResponse<ActionMapEstimateResult> getJourneyActionmapsEstimatesJobResultsWithHttpInfo(String jobId) throws IOException
      Get estimates from completed job.
      Parameters:
      jobId - ID of the job. (required)
      Returns:
      ActionMapEstimateResult
      Throws:
      IOException - if the request fails to be processed
    • getJourneyActionmapsEstimatesJobResults

      public ActionMapEstimateResult getJourneyActionmapsEstimatesJobResults(GetJourneyActionmapsEstimatesJobResultsRequest request) throws IOException, ApiException
      Get estimates from completed job.
      Parameters:
      request - The request object
      Returns:
      ActionMapEstimateResult
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getJourneyActionmapsEstimatesJobResults

      public ApiResponse<ActionMapEstimateResult> getJourneyActionmapsEstimatesJobResults(ApiRequest<Void> request) throws IOException
      Get estimates from completed job.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getJourneyActiontarget

      public ActionTarget getJourneyActiontarget(String actionTargetId) throws IOException, ApiException
      Retrieve a single action target.
      Parameters:
      actionTargetId - ID of the action target. (required)
      Returns:
      ActionTarget
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getJourneyActiontargetWithHttpInfo

      public ApiResponse<ActionTarget> getJourneyActiontargetWithHttpInfo(String actionTargetId) throws IOException
      Retrieve a single action target.
      Parameters:
      actionTargetId - ID of the action target. (required)
      Returns:
      ActionTarget
      Throws:
      IOException - if the request fails to be processed
    • getJourneyActiontarget

      public ActionTarget getJourneyActiontarget(GetJourneyActiontargetRequest request) throws IOException, ApiException
      Retrieve a single action target.
      Parameters:
      request - The request object
      Returns:
      ActionTarget
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getJourneyActiontarget

      public ApiResponse<ActionTarget> getJourneyActiontarget(ApiRequest<Void> request) throws IOException
      Retrieve a single action target.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getJourneyActiontargets

      public ActionTargetListing getJourneyActiontargets(Integer pageNumber, Integer pageSize) throws IOException, ApiException
      Retrieve all action targets.
      Parameters:
      pageNumber - Page number (optional, default to 1)
      pageSize - Page size (optional, default to 25)
      Returns:
      ActionTargetListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getJourneyActiontargetsWithHttpInfo

      public ApiResponse<ActionTargetListing> getJourneyActiontargetsWithHttpInfo(Integer pageNumber, Integer pageSize) throws IOException
      Retrieve all action targets.
      Parameters:
      pageNumber - Page number (optional, default to 1)
      pageSize - Page size (optional, default to 25)
      Returns:
      ActionTargetListing
      Throws:
      IOException - if the request fails to be processed
    • getJourneyActiontargets

      public ActionTargetListing getJourneyActiontargets(GetJourneyActiontargetsRequest request) throws IOException, ApiException
      Retrieve all action targets.
      Parameters:
      request - The request object
      Returns:
      ActionTargetListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getJourneyActiontargets

      public ApiResponse<ActionTargetListing> getJourneyActiontargets(ApiRequest<Void> request) throws IOException
      Retrieve all action targets.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getJourneyActiontemplate

      public ActionTemplate getJourneyActiontemplate(String actionTemplateId) throws IOException, ApiException
      Retrieve a single action template.
      Parameters:
      actionTemplateId - ID of the action template. (required)
      Returns:
      ActionTemplate
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getJourneyActiontemplateWithHttpInfo

      public ApiResponse<ActionTemplate> getJourneyActiontemplateWithHttpInfo(String actionTemplateId) throws IOException
      Retrieve a single action template.
      Parameters:
      actionTemplateId - ID of the action template. (required)
      Returns:
      ActionTemplate
      Throws:
      IOException - if the request fails to be processed
    • getJourneyActiontemplate

      public ActionTemplate getJourneyActiontemplate(GetJourneyActiontemplateRequest request) throws IOException, ApiException
      Retrieve a single action template.
      Parameters:
      request - The request object
      Returns:
      ActionTemplate
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getJourneyActiontemplate

      public ApiResponse<ActionTemplate> getJourneyActiontemplate(ApiRequest<Void> request) throws IOException
      Retrieve a single action template.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getJourneyActiontemplates

      public ActionTemplateListing getJourneyActiontemplates(Integer pageNumber, Integer pageSize, String sortBy, String mediaType, String state, List<String> queryFields, String queryValue) throws IOException, ApiException
      Retrieve all action templates.
      Parameters:
      pageNumber - Page number (optional, default to 1)
      pageSize - Page size (optional, default to 25)
      sortBy - Field(s) to sort by. Prefix with '-' for descending (e.g. sortBy=name,-createdDate). (optional)
      mediaType - Media type (optional)
      state - Action template state. (optional)
      queryFields - ActionTemplate field(s) to query on. Requires 'queryValue' to also be set. (optional)
      queryValue - Value to query on. Requires 'queryFields' to also be set. (optional)
      Returns:
      ActionTemplateListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getJourneyActiontemplatesWithHttpInfo

      public ApiResponse<ActionTemplateListing> getJourneyActiontemplatesWithHttpInfo(Integer pageNumber, Integer pageSize, String sortBy, String mediaType, String state, List<String> queryFields, String queryValue) throws IOException
      Retrieve all action templates.
      Parameters:
      pageNumber - Page number (optional, default to 1)
      pageSize - Page size (optional, default to 25)
      sortBy - Field(s) to sort by. Prefix with '-' for descending (e.g. sortBy=name,-createdDate). (optional)
      mediaType - Media type (optional)
      state - Action template state. (optional)
      queryFields - ActionTemplate field(s) to query on. Requires 'queryValue' to also be set. (optional)
      queryValue - Value to query on. Requires 'queryFields' to also be set. (optional)
      Returns:
      ActionTemplateListing
      Throws:
      IOException - if the request fails to be processed
    • getJourneyActiontemplates

      public ActionTemplateListing getJourneyActiontemplates(GetJourneyActiontemplatesRequest request) throws IOException, ApiException
      Retrieve all action templates.
      Parameters:
      request - The request object
      Returns:
      ActionTemplateListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getJourneyActiontemplates

      public ApiResponse<ActionTemplateListing> getJourneyActiontemplates(ApiRequest<Void> request) throws IOException
      Retrieve all action templates.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getJourneyDeploymentCustomerPing

      public DeploymentPing getJourneyDeploymentCustomerPing(String deploymentId, String customerCookieId, String dl, String dt, String appNamespace, String sessionId, Long sinceLastBeaconMilliseconds) throws IOException, ApiException
      Send a ping.
      Parameters:
      deploymentId - The ID of the deployment sending the ping. (required)
      customerCookieId - ID of the customer associated with the ping. (required)
      dl - Document Location: 1) Web Page URL if overridden or URL fragment identifier (window.location.hash). OR 2) Application screen name that the ping request was sent from in the app. e.g. 'home' or 'help. Pings without this parameter will not return actions. (optional)
      dt - Document Title. A human readable name for the page or screen (optional)
      appNamespace - Namespace of the application (e.g. com.genesys.bancodinero). Used for domain filtering in application sessions (optional)
      sessionId - UUID of the customer session. Use the same Session Id for all pings, AppEvents and ActionEvents in the session (optional)
      sinceLastBeaconMilliseconds - How long (milliseconds) since the last app event or beacon was sent. The response may return a pollInternvalMilliseconds to reduce the frequency of pings. (optional)
      Returns:
      DeploymentPing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getJourneyDeploymentCustomerPingWithHttpInfo

      public ApiResponse<DeploymentPing> getJourneyDeploymentCustomerPingWithHttpInfo(String deploymentId, String customerCookieId, String dl, String dt, String appNamespace, String sessionId, Long sinceLastBeaconMilliseconds) throws IOException
      Send a ping.
      Parameters:
      deploymentId - The ID of the deployment sending the ping. (required)
      customerCookieId - ID of the customer associated with the ping. (required)
      dl - Document Location: 1) Web Page URL if overridden or URL fragment identifier (window.location.hash). OR 2) Application screen name that the ping request was sent from in the app. e.g. 'home' or 'help. Pings without this parameter will not return actions. (optional)
      dt - Document Title. A human readable name for the page or screen (optional)
      appNamespace - Namespace of the application (e.g. com.genesys.bancodinero). Used for domain filtering in application sessions (optional)
      sessionId - UUID of the customer session. Use the same Session Id for all pings, AppEvents and ActionEvents in the session (optional)
      sinceLastBeaconMilliseconds - How long (milliseconds) since the last app event or beacon was sent. The response may return a pollInternvalMilliseconds to reduce the frequency of pings. (optional)
      Returns:
      DeploymentPing
      Throws:
      IOException - if the request fails to be processed
    • getJourneyDeploymentCustomerPing

      public DeploymentPing getJourneyDeploymentCustomerPing(GetJourneyDeploymentCustomerPingRequest request) throws IOException, ApiException
      Send a ping.
      Parameters:
      request - The request object
      Returns:
      DeploymentPing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getJourneyDeploymentCustomerPing

      public ApiResponse<DeploymentPing> getJourneyDeploymentCustomerPing(ApiRequest<Void> request) throws IOException
      Send a ping.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getJourneyOutcome

      public Outcome getJourneyOutcome(String outcomeId) throws IOException, ApiException
      Retrieve a single outcome.
      Parameters:
      outcomeId - ID of the outcome. (required)
      Returns:
      Outcome
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getJourneyOutcomeWithHttpInfo

      public ApiResponse<Outcome> getJourneyOutcomeWithHttpInfo(String outcomeId) throws IOException
      Retrieve a single outcome.
      Parameters:
      outcomeId - ID of the outcome. (required)
      Returns:
      Outcome
      Throws:
      IOException - if the request fails to be processed
    • getJourneyOutcome

      public Outcome getJourneyOutcome(GetJourneyOutcomeRequest request) throws IOException, ApiException
      Retrieve a single outcome.
      Parameters:
      request - The request object
      Returns:
      Outcome
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getJourneyOutcome

      public ApiResponse<Outcome> getJourneyOutcome(ApiRequest<Void> request) throws IOException
      Retrieve a single outcome.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getJourneyOutcomes

      public OutcomeListing getJourneyOutcomes(Integer pageNumber, Integer pageSize, String sortBy, List<String> outcomeIds, List<String> queryFields, String queryValue) throws IOException, ApiException
      Retrieve all outcomes.
      Parameters:
      pageNumber - Page number (optional, default to 1)
      pageSize - Page size (optional, default to 25)
      sortBy - Field(s) to sort by. The response can be sorted by any first level property on the Outcome response. Prefix with '-' for descending (e.g. sortBy=displayName,-createdDate). (optional)
      outcomeIds - IDs of outcomes to return. Use of this parameter is not compatible with pagination, sorting or querying. A maximum of 20 outcomes are allowed per request. (optional)
      queryFields - Outcome field(s) to query on. Requires 'queryValue' to also be set. (optional)
      queryValue - Value to query on. Requires 'queryFields' to also be set. (optional)
      Returns:
      OutcomeListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getJourneyOutcomesWithHttpInfo

      public ApiResponse<OutcomeListing> getJourneyOutcomesWithHttpInfo(Integer pageNumber, Integer pageSize, String sortBy, List<String> outcomeIds, List<String> queryFields, String queryValue) throws IOException
      Retrieve all outcomes.
      Parameters:
      pageNumber - Page number (optional, default to 1)
      pageSize - Page size (optional, default to 25)
      sortBy - Field(s) to sort by. The response can be sorted by any first level property on the Outcome response. Prefix with '-' for descending (e.g. sortBy=displayName,-createdDate). (optional)
      outcomeIds - IDs of outcomes to return. Use of this parameter is not compatible with pagination, sorting or querying. A maximum of 20 outcomes are allowed per request. (optional)
      queryFields - Outcome field(s) to query on. Requires 'queryValue' to also be set. (optional)
      queryValue - Value to query on. Requires 'queryFields' to also be set. (optional)
      Returns:
      OutcomeListing
      Throws:
      IOException - if the request fails to be processed
    • getJourneyOutcomes

      public OutcomeListing getJourneyOutcomes(GetJourneyOutcomesRequest request) throws IOException, ApiException
      Retrieve all outcomes.
      Parameters:
      request - The request object
      Returns:
      OutcomeListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getJourneyOutcomes

      public ApiResponse<OutcomeListing> getJourneyOutcomes(ApiRequest<Void> request) throws IOException
      Retrieve all outcomes.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getJourneyOutcomesAttributionsJob

      public OutcomeAttributionJobStateResponse getJourneyOutcomesAttributionsJob(String jobId) throws IOException, ApiException
      Get job status. getJourneyOutcomesAttributionsJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      jobId - ID of the job. (required)
      Returns:
      OutcomeAttributionJobStateResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getJourneyOutcomesAttributionsJobWithHttpInfo

      public ApiResponse<OutcomeAttributionJobStateResponse> getJourneyOutcomesAttributionsJobWithHttpInfo(String jobId) throws IOException
      Get job status. getJourneyOutcomesAttributionsJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      jobId - ID of the job. (required)
      Returns:
      OutcomeAttributionJobStateResponse
      Throws:
      IOException - if the request fails to be processed
    • getJourneyOutcomesAttributionsJob

      Get job status. getJourneyOutcomesAttributionsJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      OutcomeAttributionJobStateResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getJourneyOutcomesAttributionsJob

      public ApiResponse<OutcomeAttributionJobStateResponse> getJourneyOutcomesAttributionsJob(ApiRequest<Void> request) throws IOException
      Get job status. getJourneyOutcomesAttributionsJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getJourneyOutcomesAttributionsJobResults

      public OutcomeAttributionResponseListing getJourneyOutcomesAttributionsJobResults(String jobId) throws IOException, ApiException
      Get outcome attribution entities from completed job. getJourneyOutcomesAttributionsJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      jobId - ID of the job. (required)
      Returns:
      OutcomeAttributionResponseListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getJourneyOutcomesAttributionsJobResultsWithHttpInfo

      public ApiResponse<OutcomeAttributionResponseListing> getJourneyOutcomesAttributionsJobResultsWithHttpInfo(String jobId) throws IOException
      Get outcome attribution entities from completed job. getJourneyOutcomesAttributionsJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      jobId - ID of the job. (required)
      Returns:
      OutcomeAttributionResponseListing
      Throws:
      IOException - if the request fails to be processed
    • getJourneyOutcomesAttributionsJobResults

      public OutcomeAttributionResponseListing getJourneyOutcomesAttributionsJobResults(GetJourneyOutcomesAttributionsJobResultsRequest request) throws IOException, ApiException
      Get outcome attribution entities from completed job. getJourneyOutcomesAttributionsJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      OutcomeAttributionResponseListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getJourneyOutcomesAttributionsJobResults

      public ApiResponse<OutcomeAttributionResponseListing> getJourneyOutcomesAttributionsJobResults(ApiRequest<Void> request) throws IOException
      Get outcome attribution entities from completed job. getJourneyOutcomesAttributionsJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getJourneyOutcomesPredictor

      public OutcomePredictor getJourneyOutcomesPredictor(String predictorId) throws IOException, ApiException
      Retrieve a single outcome predictor.
      Parameters:
      predictorId - ID of predictor (required)
      Returns:
      OutcomePredictor
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getJourneyOutcomesPredictorWithHttpInfo

      public ApiResponse<OutcomePredictor> getJourneyOutcomesPredictorWithHttpInfo(String predictorId) throws IOException
      Retrieve a single outcome predictor.
      Parameters:
      predictorId - ID of predictor (required)
      Returns:
      OutcomePredictor
      Throws:
      IOException - if the request fails to be processed
    • getJourneyOutcomesPredictor

      public OutcomePredictor getJourneyOutcomesPredictor(GetJourneyOutcomesPredictorRequest request) throws IOException, ApiException
      Retrieve a single outcome predictor.
      Parameters:
      request - The request object
      Returns:
      OutcomePredictor
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getJourneyOutcomesPredictor

      public ApiResponse<OutcomePredictor> getJourneyOutcomesPredictor(ApiRequest<Void> request) throws IOException
      Retrieve a single outcome predictor.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getJourneyOutcomesPredictors

      public OutcomePredictorListing getJourneyOutcomesPredictors() throws IOException, ApiException
      Retrieve all outcome predictors.
      Returns:
      OutcomePredictorListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getJourneyOutcomesPredictorsWithHttpInfo

      public ApiResponse<OutcomePredictorListing> getJourneyOutcomesPredictorsWithHttpInfo() throws IOException
      Retrieve all outcome predictors.
      Returns:
      OutcomePredictorListing
      Throws:
      IOException - if the request fails to be processed
    • getJourneyOutcomesPredictors

      public OutcomePredictorListing getJourneyOutcomesPredictors(GetJourneyOutcomesPredictorsRequest request) throws IOException, ApiException
      Retrieve all outcome predictors.
      Parameters:
      request - The request object
      Returns:
      OutcomePredictorListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getJourneyOutcomesPredictors

      public ApiResponse<OutcomePredictorListing> getJourneyOutcomesPredictors(ApiRequest<Void> request) throws IOException
      Retrieve all outcome predictors.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getJourneySegment

      public JourneySegment getJourneySegment(String segmentId) throws IOException, ApiException
      Retrieve a single segment.
      Parameters:
      segmentId - ID of the segment. (required)
      Returns:
      JourneySegment
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getJourneySegmentWithHttpInfo

      public ApiResponse<JourneySegment> getJourneySegmentWithHttpInfo(String segmentId) throws IOException
      Retrieve a single segment.
      Parameters:
      segmentId - ID of the segment. (required)
      Returns:
      JourneySegment
      Throws:
      IOException - if the request fails to be processed
    • getJourneySegment

      public JourneySegment getJourneySegment(GetJourneySegmentRequest request) throws IOException, ApiException
      Retrieve a single segment.
      Parameters:
      request - The request object
      Returns:
      JourneySegment
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getJourneySegment

      public ApiResponse<JourneySegment> getJourneySegment(ApiRequest<Void> request) throws IOException
      Retrieve a single segment.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getJourneySegments

      public SegmentListing getJourneySegments(String sortBy, Integer pageSize, Integer pageNumber, Boolean isActive, List<String> segmentIds, List<String> queryFields, String queryValue) throws IOException, ApiException
      Retrieve all segments.
      Parameters:
      sortBy - Field(s) to sort by. The response can be sorted by any first level property on the Outcome response. Prefix with '-' for descending (e.g. sortBy=displayName,-createdDate). (optional)
      pageSize - Page size (optional, default to 25)
      pageNumber - Page number (optional, default to 1)
      isActive - Determines whether or not to show only active segments. (optional)
      segmentIds - IDs of segments to return. Use of this parameter is not compatible with pagination, sorting or querying. A maximum of 100 segments are allowed per request. (optional)
      queryFields - Segment field(s) to query on. Requires 'queryValue' to also be set. (optional)
      queryValue - Value to query on. Requires 'queryFields' to also be set. (optional)
      Returns:
      SegmentListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getJourneySegmentsWithHttpInfo

      public ApiResponse<SegmentListing> getJourneySegmentsWithHttpInfo(String sortBy, Integer pageSize, Integer pageNumber, Boolean isActive, List<String> segmentIds, List<String> queryFields, String queryValue) throws IOException
      Retrieve all segments.
      Parameters:
      sortBy - Field(s) to sort by. The response can be sorted by any first level property on the Outcome response. Prefix with '-' for descending (e.g. sortBy=displayName,-createdDate). (optional)
      pageSize - Page size (optional, default to 25)
      pageNumber - Page number (optional, default to 1)
      isActive - Determines whether or not to show only active segments. (optional)
      segmentIds - IDs of segments to return. Use of this parameter is not compatible with pagination, sorting or querying. A maximum of 100 segments are allowed per request. (optional)
      queryFields - Segment field(s) to query on. Requires 'queryValue' to also be set. (optional)
      queryValue - Value to query on. Requires 'queryFields' to also be set. (optional)
      Returns:
      SegmentListing
      Throws:
      IOException - if the request fails to be processed
    • getJourneySegments

      public SegmentListing getJourneySegments(GetJourneySegmentsRequest request) throws IOException, ApiException
      Retrieve all segments.
      Parameters:
      request - The request object
      Returns:
      SegmentListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getJourneySegments

      public ApiResponse<SegmentListing> getJourneySegments(ApiRequest<Void> request) throws IOException
      Retrieve all segments.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getJourneySession

      public Session getJourneySession(String sessionId) throws IOException, ApiException
      Retrieve a single session.
      Parameters:
      sessionId - ID of the session. (required)
      Returns:
      Session
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getJourneySessionWithHttpInfo

      public ApiResponse<Session> getJourneySessionWithHttpInfo(String sessionId) throws IOException
      Retrieve a single session.
      Parameters:
      sessionId - ID of the session. (required)
      Returns:
      Session
      Throws:
      IOException - if the request fails to be processed
    • getJourneySession

      public Session getJourneySession(GetJourneySessionRequest request) throws IOException, ApiException
      Retrieve a single session.
      Parameters:
      request - The request object
      Returns:
      Session
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getJourneySession

      public ApiResponse<Session> getJourneySession(ApiRequest<Void> request) throws IOException
      Retrieve a single session.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getJourneySessionEvents

      public EventListing getJourneySessionEvents(String sessionId, String pageSize, String after) throws IOException, ApiException
      Retrieve all events for a given session. getJourneySessionEvents is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      sessionId - System-generated UUID that represents the session the event is a part of. (required)
      pageSize - Number of entities to return. Maximum of 200. (optional)
      after - The cursor that points to the end of the set of entities that has been returned. (optional)
      Returns:
      EventListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getJourneySessionEventsWithHttpInfo

      public ApiResponse<EventListing> getJourneySessionEventsWithHttpInfo(String sessionId, String pageSize, String after) throws IOException
      Retrieve all events for a given session. getJourneySessionEvents is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      sessionId - System-generated UUID that represents the session the event is a part of. (required)
      pageSize - Number of entities to return. Maximum of 200. (optional)
      after - The cursor that points to the end of the set of entities that has been returned. (optional)
      Returns:
      EventListing
      Throws:
      IOException - if the request fails to be processed
    • getJourneySessionEvents

      public EventListing getJourneySessionEvents(GetJourneySessionEventsRequest request) throws IOException, ApiException
      Retrieve all events for a given session. getJourneySessionEvents is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      EventListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getJourneySessionEvents

      public ApiResponse<EventListing> getJourneySessionEvents(ApiRequest<Void> request) throws IOException
      Retrieve all events for a given session. getJourneySessionEvents is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getJourneySessionOutcomescores

      public OutcomeScoresResult getJourneySessionOutcomescores(String sessionId) throws IOException, ApiException
      Retrieve latest outcome score associated with a session for all outcomes.
      Parameters:
      sessionId - ID of the session. (required)
      Returns:
      OutcomeScoresResult
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getJourneySessionOutcomescoresWithHttpInfo

      public ApiResponse<OutcomeScoresResult> getJourneySessionOutcomescoresWithHttpInfo(String sessionId) throws IOException
      Retrieve latest outcome score associated with a session for all outcomes.
      Parameters:
      sessionId - ID of the session. (required)
      Returns:
      OutcomeScoresResult
      Throws:
      IOException - if the request fails to be processed
    • getJourneySessionOutcomescores

      public OutcomeScoresResult getJourneySessionOutcomescores(GetJourneySessionOutcomescoresRequest request) throws IOException, ApiException
      Retrieve latest outcome score associated with a session for all outcomes.
      Parameters:
      request - The request object
      Returns:
      OutcomeScoresResult
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getJourneySessionOutcomescores

      public ApiResponse<OutcomeScoresResult> getJourneySessionOutcomescores(ApiRequest<Void> request) throws IOException
      Retrieve latest outcome score associated with a session for all outcomes.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getJourneyView

      public JourneyView getJourneyView(String viewId) throws IOException, ApiException
      Get a Journey View by ID returns the latest version getJourneyView is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      viewId - viewId (required)
      Returns:
      JourneyView
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getJourneyViewWithHttpInfo

      public ApiResponse<JourneyView> getJourneyViewWithHttpInfo(String viewId) throws IOException
      Get a Journey View by ID returns the latest version getJourneyView is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      viewId - viewId (required)
      Returns:
      JourneyView
      Throws:
      IOException - if the request fails to be processed
    • getJourneyView

      public JourneyView getJourneyView(GetJourneyViewRequest request) throws IOException, ApiException
      Get a Journey View by ID returns the latest version getJourneyView is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      JourneyView
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getJourneyView

      public ApiResponse<JourneyView> getJourneyView(ApiRequest<Void> request) throws IOException
      Get a Journey View by ID returns the latest version getJourneyView is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getJourneyViewVersion

      public JourneyView getJourneyViewVersion(String viewId, String versionId) throws IOException, ApiException
      Get a Journey View by ID and version getJourneyViewVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      viewId - viewId (required)
      versionId - versionId (required)
      Returns:
      JourneyView
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getJourneyViewVersionWithHttpInfo

      public ApiResponse<JourneyView> getJourneyViewVersionWithHttpInfo(String viewId, String versionId) throws IOException
      Get a Journey View by ID and version getJourneyViewVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      viewId - viewId (required)
      versionId - versionId (required)
      Returns:
      JourneyView
      Throws:
      IOException - if the request fails to be processed
    • getJourneyViewVersion

      public JourneyView getJourneyViewVersion(GetJourneyViewVersionRequest request) throws IOException, ApiException
      Get a Journey View by ID and version getJourneyViewVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      JourneyView
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getJourneyViewVersion

      public ApiResponse<JourneyView> getJourneyViewVersion(ApiRequest<Void> request) throws IOException
      Get a Journey View by ID and version getJourneyViewVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getJourneyViewVersionJob

      public JourneyViewJob getJourneyViewVersionJob(String viewId, String journeyVersionId, String jobId) throws IOException, ApiException
      Get the job for a journey view version. used for long descriptions getJourneyViewVersionJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      viewId - Journey View Id (required)
      journeyVersionId - Journey View Version (required)
      jobId - JobId (required)
      Returns:
      JourneyViewJob
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getJourneyViewVersionJobWithHttpInfo

      public ApiResponse<JourneyViewJob> getJourneyViewVersionJobWithHttpInfo(String viewId, String journeyVersionId, String jobId) throws IOException
      Get the job for a journey view version. used for long descriptions getJourneyViewVersionJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      viewId - Journey View Id (required)
      journeyVersionId - Journey View Version (required)
      jobId - JobId (required)
      Returns:
      JourneyViewJob
      Throws:
      IOException - if the request fails to be processed
    • getJourneyViewVersionJob

      public JourneyViewJob getJourneyViewVersionJob(GetJourneyViewVersionJobRequest request) throws IOException, ApiException
      Get the job for a journey view version. used for long descriptions getJourneyViewVersionJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      JourneyViewJob
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getJourneyViewVersionJob

      public ApiResponse<JourneyViewJob> getJourneyViewVersionJob(ApiRequest<Void> request) throws IOException
      Get the job for a journey view version. used for long descriptions getJourneyViewVersionJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getJourneyViewVersionJobResults

      public JourneyViewResult getJourneyViewVersionJobResults(String viewId, String journeyViewVersion, String jobId) throws IOException, ApiException
      Get the result of a job for a journey view version. used for long descriptions getJourneyViewVersionJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      viewId - JourneyViewResult id (required)
      journeyViewVersion - Journey View Version (required)
      jobId - Id of the executing job (required)
      Returns:
      JourneyViewResult
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getJourneyViewVersionJobResultsWithHttpInfo

      public ApiResponse<JourneyViewResult> getJourneyViewVersionJobResultsWithHttpInfo(String viewId, String journeyViewVersion, String jobId) throws IOException
      Get the result of a job for a journey view version. used for long descriptions getJourneyViewVersionJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      viewId - JourneyViewResult id (required)
      journeyViewVersion - Journey View Version (required)
      jobId - Id of the executing job (required)
      Returns:
      JourneyViewResult
      Throws:
      IOException - if the request fails to be processed
    • getJourneyViewVersionJobResults

      public JourneyViewResult getJourneyViewVersionJobResults(GetJourneyViewVersionJobResultsRequest request) throws IOException, ApiException
      Get the result of a job for a journey view version. used for long descriptions getJourneyViewVersionJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      JourneyViewResult
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getJourneyViewVersionJobResults

      public ApiResponse<JourneyViewResult> getJourneyViewVersionJobResults(ApiRequest<Void> request) throws IOException
      Get the result of a job for a journey view version. used for long descriptions getJourneyViewVersionJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getJourneyViewVersionJobsLatest

      public JourneyViewJob getJourneyViewVersionJobsLatest(String viewId, String journeyVersionId) throws IOException, ApiException
      Get the latest job of a journey view version. used for long descriptions getJourneyViewVersionJobsLatest is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      viewId - Journey View Id (required)
      journeyVersionId - Journey View Version (required)
      Returns:
      JourneyViewJob
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getJourneyViewVersionJobsLatestWithHttpInfo

      public ApiResponse<JourneyViewJob> getJourneyViewVersionJobsLatestWithHttpInfo(String viewId, String journeyVersionId) throws IOException
      Get the latest job of a journey view version. used for long descriptions getJourneyViewVersionJobsLatest is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      viewId - Journey View Id (required)
      journeyVersionId - Journey View Version (required)
      Returns:
      JourneyViewJob
      Throws:
      IOException - if the request fails to be processed
    • getJourneyViewVersionJobsLatest

      public JourneyViewJob getJourneyViewVersionJobsLatest(GetJourneyViewVersionJobsLatestRequest request) throws IOException, ApiException
      Get the latest job of a journey view version. used for long descriptions getJourneyViewVersionJobsLatest is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      JourneyViewJob
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getJourneyViewVersionJobsLatest

      public ApiResponse<JourneyViewJob> getJourneyViewVersionJobsLatest(ApiRequest<Void> request) throws IOException
      Get the latest job of a journey view version. used for long descriptions getJourneyViewVersionJobsLatest is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getJourneyViews

      public AddressableEntityListing getJourneyViews() throws IOException, ApiException
      Get a list of Journey Views getJourneyViews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Returns:
      AddressableEntityListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getJourneyViewsWithHttpInfo

      public ApiResponse<AddressableEntityListing> getJourneyViewsWithHttpInfo() throws IOException
      Get a list of Journey Views getJourneyViews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Returns:
      AddressableEntityListing
      Throws:
      IOException - if the request fails to be processed
    • getJourneyViews

      public AddressableEntityListing getJourneyViews(GetJourneyViewsRequest request) throws IOException, ApiException
      Get a list of Journey Views getJourneyViews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      AddressableEntityListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getJourneyViews

      public ApiResponse<AddressableEntityListing> getJourneyViews(ApiRequest<Void> request) throws IOException
      Get a list of Journey Views getJourneyViews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getJourneyViewsEventdefinition

      public JourneyEventDefinition getJourneyViewsEventdefinition(String eventDefinitionId) throws IOException, ApiException
      Get an Event Definition getJourneyViewsEventdefinition is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      eventDefinitionId - Event Definition ID (required)
      Returns:
      JourneyEventDefinition
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getJourneyViewsEventdefinitionWithHttpInfo

      public ApiResponse<JourneyEventDefinition> getJourneyViewsEventdefinitionWithHttpInfo(String eventDefinitionId) throws IOException
      Get an Event Definition getJourneyViewsEventdefinition is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      eventDefinitionId - Event Definition ID (required)
      Returns:
      JourneyEventDefinition
      Throws:
      IOException - if the request fails to be processed
    • getJourneyViewsEventdefinition

      public JourneyEventDefinition getJourneyViewsEventdefinition(GetJourneyViewsEventdefinitionRequest request) throws IOException, ApiException
      Get an Event Definition getJourneyViewsEventdefinition is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      JourneyEventDefinition
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getJourneyViewsEventdefinition

      public ApiResponse<JourneyEventDefinition> getJourneyViewsEventdefinition(ApiRequest<Void> request) throws IOException
      Get an Event Definition getJourneyViewsEventdefinition is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getJourneyViewsEventdefinitions

      public JourneyEventDefinitionListing getJourneyViewsEventdefinitions() throws IOException, ApiException
      Get a list of Event Definitions getJourneyViewsEventdefinitions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Returns:
      JourneyEventDefinitionListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getJourneyViewsEventdefinitionsWithHttpInfo

      public ApiResponse<JourneyEventDefinitionListing> getJourneyViewsEventdefinitionsWithHttpInfo() throws IOException
      Get a list of Event Definitions getJourneyViewsEventdefinitions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Returns:
      JourneyEventDefinitionListing
      Throws:
      IOException - if the request fails to be processed
    • getJourneyViewsEventdefinitions

      public JourneyEventDefinitionListing getJourneyViewsEventdefinitions(GetJourneyViewsEventdefinitionsRequest request) throws IOException, ApiException
      Get a list of Event Definitions getJourneyViewsEventdefinitions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      JourneyEventDefinitionListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getJourneyViewsEventdefinitions

      public ApiResponse<JourneyEventDefinitionListing> getJourneyViewsEventdefinitions(ApiRequest<Void> request) throws IOException
      Get a list of Event Definitions getJourneyViewsEventdefinitions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • patchJourneyActionmap

      public ActionMap patchJourneyActionmap(String actionMapId, PatchActionMap body) throws IOException, ApiException
      Update single action map.
      Parameters:
      actionMapId - ID of the action map. (required)
      body - (optional)
      Returns:
      ActionMap
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • patchJourneyActionmapWithHttpInfo

      public ApiResponse<ActionMap> patchJourneyActionmapWithHttpInfo(String actionMapId, PatchActionMap body) throws IOException
      Update single action map.
      Parameters:
      actionMapId - ID of the action map. (required)
      body - (optional)
      Returns:
      ActionMap
      Throws:
      IOException - if the request fails to be processed
    • patchJourneyActionmap

      public ActionMap patchJourneyActionmap(PatchJourneyActionmapRequest request) throws IOException, ApiException
      Update single action map.
      Parameters:
      request - The request object
      Returns:
      ActionMap
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • patchJourneyActionmap

      public ApiResponse<ActionMap> patchJourneyActionmap(ApiRequest<PatchActionMap> request) throws IOException
      Update single action map.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • patchJourneyActiontarget

      public ActionTarget patchJourneyActiontarget(String actionTargetId, PatchActionTarget body) throws IOException, ApiException
      Update a single action target.
      Parameters:
      actionTargetId - ID of the action target. (required)
      body - (optional)
      Returns:
      ActionTarget
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • patchJourneyActiontargetWithHttpInfo

      public ApiResponse<ActionTarget> patchJourneyActiontargetWithHttpInfo(String actionTargetId, PatchActionTarget body) throws IOException
      Update a single action target.
      Parameters:
      actionTargetId - ID of the action target. (required)
      body - (optional)
      Returns:
      ActionTarget
      Throws:
      IOException - if the request fails to be processed
    • patchJourneyActiontarget

      public ActionTarget patchJourneyActiontarget(PatchJourneyActiontargetRequest request) throws IOException, ApiException
      Update a single action target.
      Parameters:
      request - The request object
      Returns:
      ActionTarget
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • patchJourneyActiontarget

      public ApiResponse<ActionTarget> patchJourneyActiontarget(ApiRequest<PatchActionTarget> request) throws IOException
      Update a single action target.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • patchJourneyActiontemplate

      public ActionTemplate patchJourneyActiontemplate(String actionTemplateId, PatchActionTemplate body) throws IOException, ApiException
      Update a single action template.
      Parameters:
      actionTemplateId - ID of the action template. (required)
      body - (optional)
      Returns:
      ActionTemplate
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • patchJourneyActiontemplateWithHttpInfo

      public ApiResponse<ActionTemplate> patchJourneyActiontemplateWithHttpInfo(String actionTemplateId, PatchActionTemplate body) throws IOException
      Update a single action template.
      Parameters:
      actionTemplateId - ID of the action template. (required)
      body - (optional)
      Returns:
      ActionTemplate
      Throws:
      IOException - if the request fails to be processed
    • patchJourneyActiontemplate

      public ActionTemplate patchJourneyActiontemplate(PatchJourneyActiontemplateRequest request) throws IOException, ApiException
      Update a single action template.
      Parameters:
      request - The request object
      Returns:
      ActionTemplate
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • patchJourneyActiontemplate

      public ApiResponse<ActionTemplate> patchJourneyActiontemplate(ApiRequest<PatchActionTemplate> request) throws IOException
      Update a single action template.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • patchJourneyOutcome

      public Outcome patchJourneyOutcome(String outcomeId, PatchOutcome body) throws IOException, ApiException
      Update an outcome.
      Parameters:
      outcomeId - ID of the outcome. (required)
      body - (optional)
      Returns:
      Outcome
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • patchJourneyOutcomeWithHttpInfo

      public ApiResponse<Outcome> patchJourneyOutcomeWithHttpInfo(String outcomeId, PatchOutcome body) throws IOException
      Update an outcome.
      Parameters:
      outcomeId - ID of the outcome. (required)
      body - (optional)
      Returns:
      Outcome
      Throws:
      IOException - if the request fails to be processed
    • patchJourneyOutcome

      public Outcome patchJourneyOutcome(PatchJourneyOutcomeRequest request) throws IOException, ApiException
      Update an outcome.
      Parameters:
      request - The request object
      Returns:
      Outcome
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • patchJourneyOutcome

      public ApiResponse<Outcome> patchJourneyOutcome(ApiRequest<PatchOutcome> request) throws IOException
      Update an outcome.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • patchJourneySegment

      public JourneySegment patchJourneySegment(String segmentId, PatchSegment body) throws IOException, ApiException
      Update a segment.
      Parameters:
      segmentId - ID of the segment. (required)
      body - (optional)
      Returns:
      JourneySegment
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • patchJourneySegmentWithHttpInfo

      public ApiResponse<JourneySegment> patchJourneySegmentWithHttpInfo(String segmentId, PatchSegment body) throws IOException
      Update a segment.
      Parameters:
      segmentId - ID of the segment. (required)
      body - (optional)
      Returns:
      JourneySegment
      Throws:
      IOException - if the request fails to be processed
    • patchJourneySegment

      public JourneySegment patchJourneySegment(PatchJourneySegmentRequest request) throws IOException, ApiException
      Update a segment.
      Parameters:
      request - The request object
      Returns:
      JourneySegment
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • patchJourneySegment

      public ApiResponse<JourneySegment> patchJourneySegment(ApiRequest<PatchSegment> request) throws IOException
      Update a segment.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postAnalyticsJourneysAggregatesJobs

      public AsyncQueryResponse postAnalyticsJourneysAggregatesJobs(JourneyAsyncAggregationQuery body) throws IOException, ApiException
      Query for journey aggregates asynchronously postAnalyticsJourneysAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      body - query (required)
      Returns:
      AsyncQueryResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postAnalyticsJourneysAggregatesJobsWithHttpInfo

      public ApiResponse<AsyncQueryResponse> postAnalyticsJourneysAggregatesJobsWithHttpInfo(JourneyAsyncAggregationQuery body) throws IOException
      Query for journey aggregates asynchronously postAnalyticsJourneysAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      body - query (required)
      Returns:
      AsyncQueryResponse
      Throws:
      IOException - if the request fails to be processed
    • postAnalyticsJourneysAggregatesJobs

      public AsyncQueryResponse postAnalyticsJourneysAggregatesJobs(PostAnalyticsJourneysAggregatesJobsRequest request) throws IOException, ApiException
      Query for journey aggregates asynchronously postAnalyticsJourneysAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      AsyncQueryResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postAnalyticsJourneysAggregatesJobs

      public ApiResponse<AsyncQueryResponse> postAnalyticsJourneysAggregatesJobs(ApiRequest<JourneyAsyncAggregationQuery> request) throws IOException
      Query for journey aggregates asynchronously postAnalyticsJourneysAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postAnalyticsJourneysAggregatesQuery

      public JourneyAggregateQueryResponse postAnalyticsJourneysAggregatesQuery(JourneyAggregationQuery body) throws IOException, ApiException
      Query for journey aggregates
      Parameters:
      body - query (required)
      Returns:
      JourneyAggregateQueryResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postAnalyticsJourneysAggregatesQueryWithHttpInfo

      public ApiResponse<JourneyAggregateQueryResponse> postAnalyticsJourneysAggregatesQueryWithHttpInfo(JourneyAggregationQuery body) throws IOException
      Query for journey aggregates
      Parameters:
      body - query (required)
      Returns:
      JourneyAggregateQueryResponse
      Throws:
      IOException - if the request fails to be processed
    • postAnalyticsJourneysAggregatesQuery

      public JourneyAggregateQueryResponse postAnalyticsJourneysAggregatesQuery(PostAnalyticsJourneysAggregatesQueryRequest request) throws IOException, ApiException
      Query for journey aggregates
      Parameters:
      request - The request object
      Returns:
      JourneyAggregateQueryResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postAnalyticsJourneysAggregatesQuery

      public ApiResponse<JourneyAggregateQueryResponse> postAnalyticsJourneysAggregatesQuery(ApiRequest<JourneyAggregationQuery> request) throws IOException
      Query for journey aggregates
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postJourneyActionmaps

      public ActionMap postJourneyActionmaps(ActionMap body) throws IOException, ApiException
      Create an action map.
      Parameters:
      body - (optional)
      Returns:
      ActionMap
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postJourneyActionmapsWithHttpInfo

      public ApiResponse<ActionMap> postJourneyActionmapsWithHttpInfo(ActionMap body) throws IOException
      Create an action map.
      Parameters:
      body - (optional)
      Returns:
      ActionMap
      Throws:
      IOException - if the request fails to be processed
    • postJourneyActionmaps

      public ActionMap postJourneyActionmaps(PostJourneyActionmapsRequest request) throws IOException, ApiException
      Create an action map.
      Parameters:
      request - The request object
      Returns:
      ActionMap
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postJourneyActionmaps

      public ApiResponse<ActionMap> postJourneyActionmaps(ApiRequest<ActionMap> request) throws IOException
      Create an action map.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postJourneyActionmapsEstimatesJobs

      public EstimateJobAsyncResponse postJourneyActionmapsEstimatesJobs(ActionMapEstimateRequest body) throws IOException, ApiException
      Query for estimates
      Parameters:
      body - audience estimator request (required)
      Returns:
      EstimateJobAsyncResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postJourneyActionmapsEstimatesJobsWithHttpInfo

      public ApiResponse<EstimateJobAsyncResponse> postJourneyActionmapsEstimatesJobsWithHttpInfo(ActionMapEstimateRequest body) throws IOException
      Query for estimates
      Parameters:
      body - audience estimator request (required)
      Returns:
      EstimateJobAsyncResponse
      Throws:
      IOException - if the request fails to be processed
    • postJourneyActionmapsEstimatesJobs

      public EstimateJobAsyncResponse postJourneyActionmapsEstimatesJobs(PostJourneyActionmapsEstimatesJobsRequest request) throws IOException, ApiException
      Query for estimates
      Parameters:
      request - The request object
      Returns:
      EstimateJobAsyncResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postJourneyActionmapsEstimatesJobs

      public ApiResponse<EstimateJobAsyncResponse> postJourneyActionmapsEstimatesJobs(ApiRequest<ActionMapEstimateRequest> request) throws IOException
      Query for estimates
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postJourneyActiontemplates

      public ActionTemplate postJourneyActiontemplates(ActionTemplate body) throws IOException, ApiException
      Create a single action template.
      Parameters:
      body - (optional)
      Returns:
      ActionTemplate
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postJourneyActiontemplatesWithHttpInfo

      public ApiResponse<ActionTemplate> postJourneyActiontemplatesWithHttpInfo(ActionTemplate body) throws IOException
      Create a single action template.
      Parameters:
      body - (optional)
      Returns:
      ActionTemplate
      Throws:
      IOException - if the request fails to be processed
    • postJourneyActiontemplates

      public ActionTemplate postJourneyActiontemplates(PostJourneyActiontemplatesRequest request) throws IOException, ApiException
      Create a single action template.
      Parameters:
      request - The request object
      Returns:
      ActionTemplate
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postJourneyActiontemplates

      public ApiResponse<ActionTemplate> postJourneyActiontemplates(ApiRequest<ActionTemplate> request) throws IOException
      Create a single action template.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postJourneyDeploymentActionevent

      public void postJourneyDeploymentActionevent(String deploymentId, ActionEventRequest body) throws IOException, ApiException
      Sends an action event, which is used for changing the state of actions that have been offered to the user.
      Parameters:
      deploymentId - The ID of the deployment sending the beacon. (required)
      body - (required)
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postJourneyDeploymentActioneventWithHttpInfo

      public ApiResponse<Void> postJourneyDeploymentActioneventWithHttpInfo(String deploymentId, ActionEventRequest body) throws IOException
      Sends an action event, which is used for changing the state of actions that have been offered to the user.
      Parameters:
      deploymentId - The ID of the deployment sending the beacon. (required)
      body - (required)
      Throws:
      IOException - if the request fails to be processed
    • postJourneyDeploymentActionevent

      public void postJourneyDeploymentActionevent(PostJourneyDeploymentActioneventRequest request) throws IOException, ApiException
      Sends an action event, which is used for changing the state of actions that have been offered to the user.
      Parameters:
      request - The request object
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postJourneyDeploymentActionevent

      public ApiResponse<Void> postJourneyDeploymentActionevent(ApiRequest<ActionEventRequest> request) throws IOException
      Sends an action event, which is used for changing the state of actions that have been offered to the user.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postJourneyDeploymentAppevents

      public AppEventResponse postJourneyDeploymentAppevents(String deploymentId, AppEventRequest body) throws IOException, ApiException
      Send a journey app event, used for tracking customer activity on an application.
      Parameters:
      deploymentId - The ID of the deployment sending the app event. (required)
      body - (optional)
      Returns:
      AppEventResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postJourneyDeploymentAppeventsWithHttpInfo

      public ApiResponse<AppEventResponse> postJourneyDeploymentAppeventsWithHttpInfo(String deploymentId, AppEventRequest body) throws IOException
      Send a journey app event, used for tracking customer activity on an application.
      Parameters:
      deploymentId - The ID of the deployment sending the app event. (required)
      body - (optional)
      Returns:
      AppEventResponse
      Throws:
      IOException - if the request fails to be processed
    • postJourneyDeploymentAppevents

      public AppEventResponse postJourneyDeploymentAppevents(PostJourneyDeploymentAppeventsRequest request) throws IOException, ApiException
      Send a journey app event, used for tracking customer activity on an application.
      Parameters:
      request - The request object
      Returns:
      AppEventResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postJourneyDeploymentAppevents

      public ApiResponse<AppEventResponse> postJourneyDeploymentAppevents(ApiRequest<AppEventRequest> request) throws IOException
      Send a journey app event, used for tracking customer activity on an application.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postJourneyFlowsPathsQuery

      public FlowPaths postJourneyFlowsPathsQuery(FlowPathsQuery body) throws IOException, ApiException
      Query for flow paths. postJourneyFlowsPathsQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      body - (optional)
      Returns:
      FlowPaths
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postJourneyFlowsPathsQueryWithHttpInfo

      public ApiResponse<FlowPaths> postJourneyFlowsPathsQueryWithHttpInfo(FlowPathsQuery body) throws IOException
      Query for flow paths. postJourneyFlowsPathsQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      body - (optional)
      Returns:
      FlowPaths
      Throws:
      IOException - if the request fails to be processed
    • postJourneyFlowsPathsQuery

      public FlowPaths postJourneyFlowsPathsQuery(PostJourneyFlowsPathsQueryRequest request) throws IOException, ApiException
      Query for flow paths. postJourneyFlowsPathsQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      FlowPaths
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postJourneyFlowsPathsQuery

      public ApiResponse<FlowPaths> postJourneyFlowsPathsQuery(ApiRequest<FlowPathsQuery> request) throws IOException
      Query for flow paths. postJourneyFlowsPathsQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postJourneyOutcomes

      public Outcome postJourneyOutcomes(OutcomeRequest body) throws IOException, ApiException
      Create an outcome.
      Parameters:
      body - (optional)
      Returns:
      Outcome
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postJourneyOutcomesWithHttpInfo

      public ApiResponse<Outcome> postJourneyOutcomesWithHttpInfo(OutcomeRequest body) throws IOException
      Create an outcome.
      Parameters:
      body - (optional)
      Returns:
      Outcome
      Throws:
      IOException - if the request fails to be processed
    • postJourneyOutcomes

      public Outcome postJourneyOutcomes(PostJourneyOutcomesRequest request) throws IOException, ApiException
      Create an outcome.
      Parameters:
      request - The request object
      Returns:
      Outcome
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postJourneyOutcomes

      public ApiResponse<Outcome> postJourneyOutcomes(ApiRequest<OutcomeRequest> request) throws IOException
      Create an outcome.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postJourneyOutcomesAttributionsJobs

      public OutcomeAttributionAsyncResponse postJourneyOutcomesAttributionsJobs(OutcomeAttributionListing body) throws IOException, ApiException
      Create Outcome Attributions postJourneyOutcomesAttributionsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      body - outcome attribution request (optional)
      Returns:
      OutcomeAttributionAsyncResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postJourneyOutcomesAttributionsJobsWithHttpInfo

      public ApiResponse<OutcomeAttributionAsyncResponse> postJourneyOutcomesAttributionsJobsWithHttpInfo(OutcomeAttributionListing body) throws IOException
      Create Outcome Attributions postJourneyOutcomesAttributionsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      body - outcome attribution request (optional)
      Returns:
      OutcomeAttributionAsyncResponse
      Throws:
      IOException - if the request fails to be processed
    • postJourneyOutcomesAttributionsJobs

      public OutcomeAttributionAsyncResponse postJourneyOutcomesAttributionsJobs(PostJourneyOutcomesAttributionsJobsRequest request) throws IOException, ApiException
      Create Outcome Attributions postJourneyOutcomesAttributionsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      OutcomeAttributionAsyncResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postJourneyOutcomesAttributionsJobs

      public ApiResponse<OutcomeAttributionAsyncResponse> postJourneyOutcomesAttributionsJobs(ApiRequest<OutcomeAttributionListing> request) throws IOException
      Create Outcome Attributions postJourneyOutcomesAttributionsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postJourneyOutcomesPredictors

      public OutcomePredictor postJourneyOutcomesPredictors(OutcomePredictorRequest body) throws IOException, ApiException
      Create an outcome predictor.
      Parameters:
      body - (optional)
      Returns:
      OutcomePredictor
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postJourneyOutcomesPredictorsWithHttpInfo

      public ApiResponse<OutcomePredictor> postJourneyOutcomesPredictorsWithHttpInfo(OutcomePredictorRequest body) throws IOException
      Create an outcome predictor.
      Parameters:
      body - (optional)
      Returns:
      OutcomePredictor
      Throws:
      IOException - if the request fails to be processed
    • postJourneyOutcomesPredictors

      public OutcomePredictor postJourneyOutcomesPredictors(PostJourneyOutcomesPredictorsRequest request) throws IOException, ApiException
      Create an outcome predictor.
      Parameters:
      request - The request object
      Returns:
      OutcomePredictor
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postJourneyOutcomesPredictors

      public ApiResponse<OutcomePredictor> postJourneyOutcomesPredictors(ApiRequest<OutcomePredictorRequest> request) throws IOException
      Create an outcome predictor.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postJourneySegments

      public JourneySegment postJourneySegments(JourneySegmentRequest body) throws IOException, ApiException
      Create a segment.
      Parameters:
      body - (optional)
      Returns:
      JourneySegment
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postJourneySegmentsWithHttpInfo

      public ApiResponse<JourneySegment> postJourneySegmentsWithHttpInfo(JourneySegmentRequest body) throws IOException
      Create a segment.
      Parameters:
      body - (optional)
      Returns:
      JourneySegment
      Throws:
      IOException - if the request fails to be processed
    • postJourneySegments

      public JourneySegment postJourneySegments(PostJourneySegmentsRequest request) throws IOException, ApiException
      Create a segment.
      Parameters:
      request - The request object
      Returns:
      JourneySegment
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postJourneySegments

      public ApiResponse<JourneySegment> postJourneySegments(ApiRequest<JourneySegmentRequest> request) throws IOException
      Create a segment.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postJourneyViewVersionJobs

      public JourneyViewJob postJourneyViewVersionJobs(String viewId, String journeyVersionId) throws IOException, ApiException
      Submit a job request for a journey view version. used for long descriptions postJourneyViewVersionJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      viewId - Journey View Id (required)
      journeyVersionId - Journey View Version (required)
      Returns:
      JourneyViewJob
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postJourneyViewVersionJobsWithHttpInfo

      public ApiResponse<JourneyViewJob> postJourneyViewVersionJobsWithHttpInfo(String viewId, String journeyVersionId) throws IOException
      Submit a job request for a journey view version. used for long descriptions postJourneyViewVersionJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      viewId - Journey View Id (required)
      journeyVersionId - Journey View Version (required)
      Returns:
      JourneyViewJob
      Throws:
      IOException - if the request fails to be processed
    • postJourneyViewVersionJobs

      public JourneyViewJob postJourneyViewVersionJobs(PostJourneyViewVersionJobsRequest request) throws IOException, ApiException
      Submit a job request for a journey view version. used for long descriptions postJourneyViewVersionJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      JourneyViewJob
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postJourneyViewVersionJobs

      public ApiResponse<JourneyViewJob> postJourneyViewVersionJobs(ApiRequest<Void> request) throws IOException
      Submit a job request for a journey view version. used for long descriptions postJourneyViewVersionJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postJourneyViewVersions

      public JourneyView postJourneyViewVersions(String viewId, JourneyView body) throws IOException, ApiException
      Update a Journey View by ID creates a new version postJourneyViewVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      viewId - viewId (required)
      body - JourneyView (required)
      Returns:
      JourneyView
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postJourneyViewVersionsWithHttpInfo

      public ApiResponse<JourneyView> postJourneyViewVersionsWithHttpInfo(String viewId, JourneyView body) throws IOException
      Update a Journey View by ID creates a new version postJourneyViewVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      viewId - viewId (required)
      body - JourneyView (required)
      Returns:
      JourneyView
      Throws:
      IOException - if the request fails to be processed
    • postJourneyViewVersions

      public JourneyView postJourneyViewVersions(PostJourneyViewVersionsRequest request) throws IOException, ApiException
      Update a Journey View by ID creates a new version postJourneyViewVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      JourneyView
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postJourneyViewVersions

      public ApiResponse<JourneyView> postJourneyViewVersions(ApiRequest<JourneyView> request) throws IOException
      Update a Journey View by ID creates a new version postJourneyViewVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postJourneyViews

      public JourneyView postJourneyViews(JourneyView body) throws IOException, ApiException
      Create a new Journey View postJourneyViews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      body - JourneyView (required)
      Returns:
      JourneyView
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postJourneyViewsWithHttpInfo

      public ApiResponse<JourneyView> postJourneyViewsWithHttpInfo(JourneyView body) throws IOException
      Create a new Journey View postJourneyViews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      body - JourneyView (required)
      Returns:
      JourneyView
      Throws:
      IOException - if the request fails to be processed
    • postJourneyViews

      public JourneyView postJourneyViews(PostJourneyViewsRequest request) throws IOException, ApiException
      Create a new Journey View postJourneyViews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      JourneyView
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postJourneyViews

      public ApiResponse<JourneyView> postJourneyViews(ApiRequest<JourneyView> request) throws IOException
      Create a new Journey View postJourneyViews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postJourneyViewsEncodingsValidate

      public EntityListing postJourneyViewsEncodingsValidate(List<Label> body) throws IOException, ApiException
      Validate whether an encoding exist for a label/value combination. True indicates a valid encoding postJourneyViewsEncodingsValidate is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      body - (optional)
      Returns:
      EntityListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postJourneyViewsEncodingsValidateWithHttpInfo

      public ApiResponse<EntityListing> postJourneyViewsEncodingsValidateWithHttpInfo(List<Label> body) throws IOException
      Validate whether an encoding exist for a label/value combination. True indicates a valid encoding postJourneyViewsEncodingsValidate is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      body - (optional)
      Returns:
      EntityListing
      Throws:
      IOException - if the request fails to be processed
    • postJourneyViewsEncodingsValidate

      public EntityListing postJourneyViewsEncodingsValidate(PostJourneyViewsEncodingsValidateRequest request) throws IOException, ApiException
      Validate whether an encoding exist for a label/value combination. True indicates a valid encoding postJourneyViewsEncodingsValidate is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      EntityListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postJourneyViewsEncodingsValidate

      public ApiResponse<EntityListing> postJourneyViewsEncodingsValidate(ApiRequest<List<Label>> request) throws IOException
      Validate whether an encoding exist for a label/value combination. True indicates a valid encoding postJourneyViewsEncodingsValidate is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed