AgentCommissionStatementNote Data Type

Notes that agents can use to comment on commissions they are expecting to receive. Notes can be added to commissions themselves, or particular statements (the transactional ins & outs of the system). Created by jeremiah on 9/6/16.

Properties
name data type constraints description
text string max size: 2048, min size: 0 The text the agent can enter in for their note.
statement AgentCommissionStatement   The statement that this note is attached to, if it is attached to a particular statement.
author User   The agent that entered in the note.
created number   The time that the note was entered.
commission AgentCommission   The commission that this note is attached to.
Properties inherited from BaseHibernateEntity
id number   The unique internal ID of the object.
version number   For internal use only. This is the serialization recorder for optimistic locking of several objects between sessions.
Properties inherited from BaseEntity
violations array of SimpleViolation   A list of constraint violations, if any, that this object has.

Example

{
  "text" : "...",
  "statement" : {
    "status" : {
      "description" : "...",
      "name" : "...",
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "paidAmount" : 12345.0,
    "expectedAmount" : 12345.0,
    "appliedDate" : 12345,
    "paymentDate" : 12345,
    "closeDate" : 12345,
    "agent" : {
      "user" : { },
      "agentCode" : "...",
      "office" : { },
      "workEmail" : "...",
      "active" : "...",
      "type" : "...",
      "emailList" : "...",
      "category" : "...",
      "directLine" : "...",
      "hours" : "...",
      "onlineAgent" : true,
      "recheckEmails" : true,
      "serviceFeesPct" : 12345.0,
      "otherServiceFeesPct" : 12345.0,
      "internationalAirCommissionPct" : 12345.0,
      "miscCommissionPct" : 12345.0,
      "airCommissionPct" : 12345.0,
      "hotelCommissionPct" : 12345.0,
      "carCommissionPct" : 12345.0,
      "employeeType" : { },
      "ticketingAgent" : true,
      "supportAgent" : true,
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "commission" : {
      "type" : { },
      "segmentNumber" : 12345,
      "invoice" : { },
      "vendorName" : "...",
      "confirmationNumber" : "...",
      "travelerName" : "...",
      "ticketNumber" : "...",
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "id" : 12345,
    "version" : 12345,
    "violations" : [ {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    }, {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    } ]
  },
  "author" : {
    "answer" : "...",
    "emailed" : true,
    "newUser" : true,
    "question" : "...",
    "obeUserName" : "...",
    "obePassword" : "...",
    "obeSyncId" : "...",
    "created" : 12345,
    "emailedWhen" : 12345,
    "travelgpaLogin" : "...",
    "groups" : [ {
      "name" : "...",
      "permissions" : [ { }, { } ],
      "description" : "...",
      "role" : { },
      "type" : "...",
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    }, {
      "name" : "...",
      "permissions" : [ { }, { } ],
      "description" : "...",
      "role" : { },
      "type" : "...",
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    } ],
    "active" : true,
    "prefix" : "...",
    "firstName" : "...",
    "lastName" : "...",
    "middleName" : "...",
    "suffix" : "...",
    "email" : "...",
    "tripitAuthorized" : true,
    "supportTitle" : "...",
    "automatedNotifications" : true,
    "enableHotelAttachment" : true,
    "atHomeNotificationMethod" : {
      "name" : "...",
      "code" : "...",
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "inTravelNotificationMethod" : {
      "name" : "...",
      "code" : "...",
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "cellPhoneNumber" : "...",
    "defaultClient" : {
      "status" : { },
      "parentClient" : { },
      "accountNumber" : "...",
      "name" : "...",
      "type" : { },
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "defaultPlannerGroup" : {
      "status" : { },
      "parentClient" : { },
      "accountNumber" : "...",
      "name" : "...",
      "type" : { },
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "showWelcomeDialog" : true,
    "siteTour" : true,
    "unusedTicketEmail" : true,
    "surveyEmail" : true,
    "wt0EmailEnabled" : true,
    "wt0EmailDaily" : true,
    "wt0EmailDay" : 12345,
    "wt0EmailHour" : 12345,
    "marketingSubscribed" : true,
    "responsive" : true,
    "id" : 12345,
    "version" : 12345,
    "violations" : [ {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    }, {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    } ]
  },
  "created" : 12345,
  "commission" : {
    "type" : {
      "name" : "...",
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "segmentNumber" : 12345,
    "invoice" : {
      "itinerary" : { },
      "number" : "...",
      "reservations" : [ { }, { } ],
      "lowFare" : 12345.0,
      "highFare" : 12345.0,
      "agent" : { },
      "airJustification" : { },
      "hotelJustification" : { },
      "carJustification" : { },
      "feeJustification" : { },
      "assistingAgent" : { },
      "issueDate" : 12345,
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "vendorName" : "...",
    "confirmationNumber" : "...",
    "travelerName" : "...",
    "ticketNumber" : "...",
    "id" : 12345,
    "version" : 12345,
    "violations" : [ {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    }, {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    } ]
  },
  "id" : 12345,
  "version" : 12345,
  "violations" : [ {
    "propertyName" : "...",
    "failureMessage" : "...",
    "stackTrace" : "..."
  }, {
    "propertyName" : "...",
    "failureMessage" : "...",
    "stackTrace" : "..."
  } ]
}