Newer Version Available

This content describes an older version of this product. View Latest

IBusinessObjectivesAndRecsFamily Class

Get and patch business objectives, or goals. Get, create, patch, and update recommended actions for business objectives.

Namespace

ConnectApi

IBusinessObjectivesAndRecsFamily Methods

These methods are for IBusinessObjectivesAndRecsFamily. All methods are static.

createRecommendations(busObjRecommendationInput)

Create recommended actions for a business objective, or goal.

API Version

60.0

Requires Chatter

No

Signature

public static ConnectApi.RecRepresentation createRecommendations(ConnectApi.BusObjRecommendationInputRepresentation busObjRecommendationInput)

Parameters

busObjRecommendationInput
Type: ConnectApi.BusObjRecommendationInputRepresentation
A ConnectApi.BusObjRecommendationInputRepresentation object representing a recommended action for a business objective.

Return Value

Type: ConnectApi.RecRepresentation

getBusinessObjectives(webstoreId, channelId, kpiName, includeRecSummary, includeInsightSummary)

Get business objectives, or goals, for a webstore.

API Version

59.0

Requires Chatter

No

Signature

public static ConnectApi.BusinessObjectivesSummaryOutputRepresentation getBusinessObjectives(String webstoreId, String channelId, String kpiName, Boolean includeRecSummary, Boolean includeInsightSummary)

Parameters

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.

getRecommendations(businessObjectiveId, domain, channelId, externalName, state, secondaryState, tertiaryState, grouping)

Get recommended actions for a business objective, or goal.

API Version

59.0

Requires Chatter

No

Signature

public static ConnectApi.RecommendationsOutputRepresentation getRecommendations(String businessObjectiveId, String domain, String channelId, String externalName, String state, String secondaryState, String tertiaryState, String grouping)

Parameters

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.

patchBusinessObjective(busObjRecommendationInput)

Partially update a business objective, or goal.

API Version

62.0

Requires Chatter

No

Signature

public static ConnectApi.BusObjSummaryOutputRepresentation patchBusinessObjective(ConnectApi.BusinessObjectivesInputRepresentation busObjRecommendationInput)

Parameters

busObjRecommendationInput
Type: ConnectApi.BusinessObjectivesInputRepresentation
A ConnectApi.BusinessObjectivesInputRepresentation object representing the business objective or objectives to update.

patchRecommendations(busObjRecommendationInput)

Partially update a recommended action associated with a business objective, or goal.

API Version

61.0

Requires Chatter

No

Signature

public static ConnectApi.RecRepresentation patchRecommendations(ConnectApi.BusObjRecommendationInputRepresentation busObjRecommendationInput)

Parameters

busObjRecommendationInput
Type: ConnectApi.BusObjRecommendationInputRepresentation
A ConnectApi.BusObjRecommendationInputRepresentation object representing the recommended action to update.

Return Value

Type: ConnectApi.RecRepresentation

updateRecommendations(busObjRecommendationInput)

Update a recommended action for a business objective, or goal.

API Version

60.0

Requires Chatter

No

Signature

public static ConnectApi.RecRepresentation updateRecommendations(ConnectApi.BusObjRecommendationInputRepresentation busObjRecommendationInput)

Parameters

busObjRecommendationInput
Type: ConnectApi.BusObjRecommendationInputRepresentation
A ConnectApi.BusObjRecommendationInputRepresentation object representing the recommended action to update.

Return Value

Type: ConnectApi.RecRepresentation