GET api/company/{id}/primaryagent

The purpose of this method is to get primary agents for a specified site. Primary agents are agents linked to a company via the agent_id field.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id The unique identifer for the company being queried. integer

Required

Body Parameters

None.

Response Information

Resource Description

CompanyPrimaryAgentView
NameDescriptionTypeAdditional information
Agent Details of the primary agent CompanyView

None.

AgentContact Agent's contact detauks SiteContactView

None.

CommissionOn What the Agent is paid commission on integer

None.

CommissionRate The rate of commission decimal number

None.

CommissionPlan The ID of the commission plan assigned to this agent integer

None.