Last updated: 2024-06-07
GetAdvisorCommission Method
In this topic:
Overview
The GetAdvisorCommission method retrieves all payable commission records linked to a specified SmartView for Advisors user account.
The GetAdvisorCommission method is invoked using the method operation.
This method returns a variety of information about each payable commission record, including the policy number, the advisor's role on the policy, the receivable amount, the payable due date, the paid amount, the status of the payable commission transaction and the commission type.
Parameters
| Parameter Name | Type | Required? | Description |
|---|---|---|---|
UserID | String | Yes | This is the object ID of the advisor's SmartView for Advisors user account. |
Example
The following example request retrieves the payable commission records for a SmartView for Advisor user account with object ID User.1.16:
XML
<request version='1.0'>
<header>...</header>
<method>
<GetAdvisorCommission>
<UserID>User.1.16</UserID>
</GetAdvisorCommission>
</method>
</request>In this example, the response returns details of one commission transaction:
XML
<response version="1.0">
<header/>
<method>
<GetAdvisorCommission>
<Contact id="Contact.1.112" _type="obj">
<FirstName>Phil</FirstName>
<LastName>Anderson</LastName>
<CommPayables _type="objs">
<CommPayable id="CommPayable.1.11" _type="obj">
<CurrentRole>Primary Advisor</CurrentRole>
<PolicyNo>4323452</PolicyNo>
<Receivable>50</Receivable>
<PayableDueDate>2015-10-28</PayableDueDate>
<PaidAmt>0</PaidAmt>
<Status>Open</Status>
<CommType>Base</CommType>
<ComponentPrem>0</ComponentPrem>
<ReceivablePerc>50</ReceivablePerc>
<ReceivablePercOf>Premium</ReceivablePercOf>
</CommPayable>
</CommPayables>
</Contact>
</GetAdvisorCommission>
</method>
<_status>OK</_status>
<_systime>2015-10-20T22:00:07</_systime>
<!--Cost 19 mill seconds.-->
</response>