GET api/rep/{RepDID}/Attribute?BCDID={BCDID}&localeID={localeID}
Returns the collection of Comp Attributes for the given rep.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
RepDID |
Given representative number. |
string |
Required |
BCDID |
Optional. Used when Multiple BCs feature is enabled. |
integer |
Default value is 1 |
localeID |
Optional. Locale identifier to get translated descriptions. |
integer |
Default value is 1 |
Body Parameters
None.
Response Information
Resource Description
Collection of RepCompAttributeValueViewModelName | Description | Type | Additional information |
---|---|---|---|
ID |
Unique ID for the compensation attribute. |
integer |
None. |
Description |
The description of the compensation attribute. |
string |
None. |
CompAttributeValueID |
Unique ID for the compensation attribute value. |
integer |
None. |
Value |
The value of the compensation attribute for the given rep. |
string |
None. |
DropdownValueLabel |
Only returned if the attribute is a Drop Down data type. This is the label of the stored value. |
string |
None. |
Start Period |
The starting period for the attribute being active for the given rep. |
string |
None. |
End Period |
The ending period for the attribute being active for the given rep. |
string |
None. |
Response Formats
application/xml, text/xml
<ListOfRepCompAttributeValueViewModel> <RepCompAttributeValueViewModel> <ID>1</ID> <Attribute>sample string 2</Attribute> <CompAttributeValueID>3</CompAttributeValueID> <Value>sample string 4</Value> <DropdownValueLabel>sample string 5</DropdownValueLabel> <StartPeriod>sample string 6</StartPeriod> <EndPeriod>sample string 7</EndPeriod> </RepCompAttributeValueViewModel> <RepCompAttributeValueViewModel> <ID>1</ID> <Attribute>sample string 2</Attribute> <CompAttributeValueID>3</CompAttributeValueID> <Value>sample string 4</Value> <DropdownValueLabel>sample string 5</DropdownValueLabel> <StartPeriod>sample string 6</StartPeriod> <EndPeriod>sample string 7</EndPeriod> </RepCompAttributeValueViewModel> </ListOfRepCompAttributeValueViewModel>
application/json, text/json
[ { "ID": 1, "Description": "sample string 2", "CompAttributeValueID": 3, "Value": "sample string 4", "DropdownValueLabel": "sample string 5", "Start Period": "sample string 6", "End Period": "sample string 7" }, { "ID": 1, "Description": "sample string 2", "CompAttributeValueID": 3, "Value": "sample string 4", "DropdownValueLabel": "sample string 5", "Start Period": "sample string 6", "End Period": "sample string 7" } ]