GET api/company/{id}/agentdetails

This method gets the details of a specified agent

Error Messages
  • 401/Unauthorised - Access Denied - User does not have required permissions
  • 404/Not Found - Company with id : x not found - Company with specified ID does not exist.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id The agent company ID integer

Required

Body Parameters

None.

Response Information

Resource Description

AgentDetailsView
NameDescriptionTypeAdditional information
CommissionPayOn 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.