OBJECT

Agent

Agent details

link GraphQL Schema definition

  • type Agent {
  • # Agent is active or not
  • active: Boolean!
  • # Agent ledger of the agent
  • activeAgentLedger: AgentLedger
  • # afterHours of the agent
  • afterHours: String
  • # Agent ledger of the agent
  • #
  • # Arguments
  • # after: Returns the elements in the list that come after the
  • # specified cursor.
  • # before: Returns the elements in the list that come before the
  • # specified cursor.
  • # first: Returns the first _n_ elements from the list.
  • # last: Returns the last _n_ elements from the list.
  • agentLedgers(after: String, before: String, first: Int, last: Int): AgentLedgerConnection
  • # AvatarUrl of the agent
  • #
  • # Arguments
  • # width: [Not documented]
  • # height: [Not documented]
  • # smart: [Not documented]
  • avatarUrl(width: Int, height: Int, smart: Boolean): String
  • # Contract allocations of the Agent
  • #
  • # Arguments
  • # after: Returns the elements in the list that come after the
  • # specified cursor.
  • # before: Returns the elements in the list that come before the
  • # specified cursor.
  • # first: Returns the first _n_ elements from the list.
  • # last: Returns the last _n_ elements from the list.
  • # query: Search query of the Contract Allocations
  • # unpaid: Search all unpaid Contract Allocations
  • contractAllocations(
  • after: String,
  • before: String,
  • first: Int,
  • last: Int,
  • query: String,
  • unpaid: Boolean
  • ): ContractAllocationConnection
  • # Contracts of the agent
  • #
  • # Arguments
  • # after: Returns the elements in the list that come after the
  • # specified cursor.
  • # before: Returns the elements in the list that come before the
  • # specified cursor.
  • # first: Returns the first _n_ elements from the list.
  • # last: Returns the last _n_ elements from the list.
  • contracts(after: String, before: String, first: Int, last: Int): ContractConnection
  • # When the agent was created
  • createdAt: ISO8601DateTime!
  • # customFields of the Agent
  • customFields: [CustomField!]
  • # default commission split type of the agent
  • defaultCommissionSplitType: String
  • # default commission split value of the agent
  • defaultCommissionSplitValue: Float
  • # Department of the agent
  • department: String
  • # AvatarUrl of the agent
  • description: String
  • # phone email
  • email: String
  • # FacebookUrl of the agent
  • facebookUrl: String
  • # GoogleplusUrl of the agent
  • googleplusUrl: String
  • # ID of the agent
  • id: ID!
  • # InstagramUrl of the agent
  • instagramUrl: String
  • # LinkedinUrl of the agent
  • linkedinUrl: String
  • # mobile no of the agent
  • mobile: String
  • # Name of the agent
  • name: String!
  • # The office which agent is belongs_to
  • office: Office
  • # phone no of the agent
  • phone: String
  • # position of the agent
  • position: Int
  • # whether the agent is registered for GST
  • registeredForGst: Boolean
  • # Agent is showOnWebsite or not
  • showOnWebsite: Boolean
  • # Superannuation rate of the agent
  • superannuationRate: Float
  • # Title of the agent
  • title: String
  • # TwitterUrl of the agent
  • twitterUrl: String
  • # When the agent was last updated
  • updatedAt: ISO8601DateTime!
  • # The user to which agent is belongs_to
  • user: User
  • }