Skip to main content
Get Target Assignment For Year

Headers

Accept-Language
string

Convert string references and multi-language values into a specified language (iso2) code.

SO-Language
string

Convert string references and multi-language values into a specified language (iso2) code. Overrides Accept-Language value.

SO-Culture
string

Number, date formatting in a specified culture (iso2 language) code. Partially overrides SO-Language/Accept-Language value. Ignored if no Language set.

SO-TimeZone
string

Specify the timezone code that you would like date/time responses converted to.

SO-AppToken
string

The application token that identifies the partner app. Used when calling Online WebAPI from a server.

Query Parameters

$select
string

Optional comma separated list of properties to include in the result. Other fields are then nulled out to reduce payload size: "Name,department,category". Default = show all fields.

Body

TargetYear, EntityType, TargetLevel, Id

GetTargetAssignmentForYear: Returns the target assignment for the specified year and entity type.

TargetYear
integer<int32>
EntityType
enum<string>
Available options:
None,
Sale
TargetLevel
enum<string>
Available options:
None,
Global,
Company,
UserGroup,
Associate
Id
integer<int32>

Response

OK

Target Period Assignment carrier Carrier object for TargetAssignment. Services for the TargetAssignment Carrier is available from the Targets Agent.

TargetAssignmentInfoId
integer<int32>

Primary key

Values
number<double>[]

Values of the target; all periods; in ascending order.

Locked
boolean

Locked, should not be editable

TargetAssociate
object

Carrier object for Associate. Services for the Associate Carrier is available from the Associate Agent.

TargetContact
object

Carrier object for Contact. Services for the Contact Carrier is available from the Contact Agent.

TargetUserGroup
object

The main user group that this user belongs to Carrier object for UserGroup. Services for the UserGroup Carrier is available from the User Agent.

Currency
object

Carrier object for Currency. Services for the Currency Carrier is available from the List Agent.

DimensionListItem
integer<int32>

Id of the dimension list item this assignement is for

DimensionListItemDisplayName
string

Display name of the dimension list item this assignement is for.

TableRight
object

Wraps a table right together with an explanatory reason. Code can indicate why access is restricted.

FieldProperties
object

Field property dictionary mapping field names to field access rights.