Page tree
Skip to end of metadata
Go to start of metadata

Creates a new agent in Rev.io.

Input

  • Agent – Agent object.
    • ID As Integer – Prohibited for this API function.
    • Name As String – Agent's Name.
    • Number As String – Agent's account number. Leave blank for auto-generated account number.
    • Phone As String - Agent's telephone number.
    • Fax As String – Agent's fax number.
    • Email As String – Agent's email address.
    • HoursOfOperation As String – Hours of operation.
    • LocationDetails As String – Details of agent location.
    • CommissionPlanID As Integer – Commission plan ID of agent.
    • ParentAgentID As Integer – The parent agent of this agent. Only three levels of agent hierarchy are allowed.
    • Address – Address object
      • ID As Integer – Prohibited for this API function.
      • FirstName As String – Unused.
      • LastName As String – Unused.
      • Address1 As String – First line of Agent's address.
      • Address2 As String – Second line of Agent's address.
      • City As String – City.
      • State As String – State.
      • Zip As String – Zip Code (first 5 digits only).
      • Zip4 As String – +4 portion of zip code.
      • Country As String – 3 character Country ISO code. Defaults to USA if not specified.

Output

  • ID As Integer – ID of new agent created.
  • No labels