IBusinessObjectivesAndRecsFamily Class
Get and patch business objectives, or goals. Get, create, patch, and update recommended actions for business objectives.
These methods are for IBusinessObjectivesAndRecsFamily. All methods are static.
-
createRecommendations(busObjRecommendationInput)
Create recommended actions for a business objective, or goal.
-
getBusinessObjectives(webstoreId, channelId, kpiName, includeRecSummary, includeInsightSummary)
Get business objectives, or goals, for a webstore.
-
Get recommended actions for a business objective, or goal.
-
patchBusinessObjective(busObjRecommendationInput)
Partially update a business objective, or goal.
-
patchRecommendations(busObjRecommendationInput)
Partially update a recommended action associated with a business objective, or goal.
-
updateRecommendations(busObjRecommendationInput)
Update a recommended action for a business objective, or goal.
Create recommended actions for a business objective, or goal.
60.0
No
public static ConnectApi.RecRepresentation createRecommendations(ConnectApi.BusObjRecommendationInputRepresentation busObjRecommendationInput)
- busObjRecommendationInput
Type:
ConnectApi.BusObjRecommendationInputRepresentationA
ConnectApi.BusObjRecommendationInputRepresentationobject representing a recommended action for a business objective.
Type: ConnectApi.RecRepresentation
Get business objectives, or goals, for a webstore.
59.0
No
public static ConnectApi.BusinessObjectivesSummaryOutputRepresentation getBusinessObjectives(String webstoreId, String channelId, String kpiName, Boolean includeRecSummary, Boolean includeInsightSummary)
- webstoreId
Type: String
ID of the webstore.
- channelId
Type: String
ID of the channel.
- kpiName
Type: String
Name of the key performance indicator (KPI).
- includeRecSummary
Type: Boolean
Specifies whether to include a summary of recommended actions in the response.
- includeInsightSummary
Type: Boolean
Specifies whether to include insight summary information in the response.
Type: ConnectApi.BusinessObjectivesSummaryOutputRepresentation
Get recommended actions for a business objective, or goal.
59.0
No
public static ConnectApi.RecommendationsOutputRepresentation getRecommendations(String businessObjectiveId, String domain, String channelId, String externalName, String state, String secondaryState, String tertiaryState, String grouping)
- businessObjectiveId
Type: String
ID of the business objective.
- domain
Type: String
Recommendation domain.
- channelId
Type: String
ID of the channel.
- externalName
Type: String
External name of the recommended action.
- state
Type: String
State of the recommended action.
- secondaryState
Type: String
Secondary state of the recommended action.
- tertiaryState
Type: String
Tertiary state of the recommended action.
- grouping
Type: String
Grouping associated with the recommended action. This is a free-form categorization field.
Type: ConnectApi.RecommendationsOutputRepresentation
Partially update a business objective, or goal.
62.0
No
public static ConnectApi.BusObjSummaryOutputRepresentation patchBusinessObjective(ConnectApi.BusinessObjectivesInputRepresentation busObjRecommendationInput)
- busObjRecommendationInput
Type:
ConnectApi.BusinessObjectivesInputRepresentationA
ConnectApi.BusinessObjectivesInputRepresentationobject representing the business objective or objectives to update.
Type: ConnectApi.BusObjSummaryOutputRepresentation
Partially update a recommended action associated with a business objective, or goal.
61.0
No
public static ConnectApi.RecRepresentation patchRecommendations(ConnectApi.BusObjRecommendationInputRepresentation busObjRecommendationInput)
- busObjRecommendationInput
Type:
ConnectApi.BusObjRecommendationInputRepresentationA
ConnectApi.BusObjRecommendationInputRepresentationobject representing the recommended action to update.
Type: ConnectApi.RecRepresentation
Update a recommended action for a business objective, or goal.
60.0
No
public static ConnectApi.RecRepresentation updateRecommendations(ConnectApi.BusObjRecommendationInputRepresentation busObjRecommendationInput)
- busObjRecommendationInput
Type:
ConnectApi.BusObjRecommendationInputRepresentationA
ConnectApi.BusObjRecommendationInputRepresentationobject representing the recommended action to update.