SimpleClientHeader Data Type

Created with IntelliJ IDEA. User: jeremiahs Date: 8/18/14 Time: 3:22 PM This object is used on the admin tools as the header containing the clients contact info.

Properties
name data type description
id number
name string
accountNumber string
active boolean
salesPeople array of SimpleUser
managers array of SimpleUser
contactInfo SimpleClientContactInfo
tmcName string
status string

Example

{
  "id" : 12345,
  "name" : "...",
  "accountNumber" : "...",
  "active" : true,
  "salesPeople" : [ {
    "clientId" : 12345,
    "clientName" : "...",
    "id" : 12345,
    "firstName" : "...",
    "lastName" : "...",
    "middleName" : "...",
    "email" : "...",
    "active" : true,
    "phone" : "...",
    "hours" : "...",
    "schedules" : [ {
      "startDay" : 12345,
      "endDay" : 12345,
      "startHour" : 12345,
      "startMinute" : 12345,
      "endHour" : 12345,
      "endMinute" : 12345,
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    }, {
      "startDay" : 12345,
      "endDay" : 12345,
      "startHour" : 12345,
      "startMinute" : 12345,
      "endHour" : 12345,
      "endMinute" : 12345,
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    } ],
    "roleName" : "...",
    "lastLogin" : 12345,
    "lastEmailed" : 12345,
    "created" : 12345,
    "obeName" : "...",
    "canProxy" : true,
    "approver" : {
      "id" : 12345,
      "manager" : { },
      "client" : { },
      "role" : { },
      "email" : "...",
      "directLine" : "...",
      "hidden" : true,
      "order" : 12345,
      "travelAlertManager" : true,
      "enrollmentApprover" : true,
      "cardExpireNotify" : true,
      "domoUser" : true
    }
  }, {
    "clientId" : 12345,
    "clientName" : "...",
    "id" : 12345,
    "firstName" : "...",
    "lastName" : "...",
    "middleName" : "...",
    "email" : "...",
    "active" : true,
    "phone" : "...",
    "hours" : "...",
    "schedules" : [ {
      "startDay" : 12345,
      "endDay" : 12345,
      "startHour" : 12345,
      "startMinute" : 12345,
      "endHour" : 12345,
      "endMinute" : 12345,
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    }, {
      "startDay" : 12345,
      "endDay" : 12345,
      "startHour" : 12345,
      "startMinute" : 12345,
      "endHour" : 12345,
      "endMinute" : 12345,
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    } ],
    "roleName" : "...",
    "lastLogin" : 12345,
    "lastEmailed" : 12345,
    "created" : 12345,
    "obeName" : "...",
    "canProxy" : true,
    "approver" : {
      "id" : 12345,
      "manager" : { },
      "client" : { },
      "role" : { },
      "email" : "...",
      "directLine" : "...",
      "hidden" : true,
      "order" : 12345,
      "travelAlertManager" : true,
      "enrollmentApprover" : true,
      "cardExpireNotify" : true,
      "domoUser" : true
    }
  } ],
  "managers" : [ {
    "clientId" : 12345,
    "clientName" : "...",
    "id" : 12345,
    "firstName" : "...",
    "lastName" : "...",
    "middleName" : "...",
    "email" : "...",
    "active" : true,
    "phone" : "...",
    "hours" : "...",
    "schedules" : [ {
      "startDay" : 12345,
      "endDay" : 12345,
      "startHour" : 12345,
      "startMinute" : 12345,
      "endHour" : 12345,
      "endMinute" : 12345,
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    }, {
      "startDay" : 12345,
      "endDay" : 12345,
      "startHour" : 12345,
      "startMinute" : 12345,
      "endHour" : 12345,
      "endMinute" : 12345,
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    } ],
    "roleName" : "...",
    "lastLogin" : 12345,
    "lastEmailed" : 12345,
    "created" : 12345,
    "obeName" : "...",
    "canProxy" : true,
    "approver" : {
      "id" : 12345,
      "manager" : { },
      "client" : { },
      "role" : { },
      "email" : "...",
      "directLine" : "...",
      "hidden" : true,
      "order" : 12345,
      "travelAlertManager" : true,
      "enrollmentApprover" : true,
      "cardExpireNotify" : true,
      "domoUser" : true
    }
  }, {
    "clientId" : 12345,
    "clientName" : "...",
    "id" : 12345,
    "firstName" : "...",
    "lastName" : "...",
    "middleName" : "...",
    "email" : "...",
    "active" : true,
    "phone" : "...",
    "hours" : "...",
    "schedules" : [ {
      "startDay" : 12345,
      "endDay" : 12345,
      "startHour" : 12345,
      "startMinute" : 12345,
      "endHour" : 12345,
      "endMinute" : 12345,
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    }, {
      "startDay" : 12345,
      "endDay" : 12345,
      "startHour" : 12345,
      "startMinute" : 12345,
      "endHour" : 12345,
      "endMinute" : 12345,
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    } ],
    "roleName" : "...",
    "lastLogin" : 12345,
    "lastEmailed" : 12345,
    "created" : 12345,
    "obeName" : "...",
    "canProxy" : true,
    "approver" : {
      "id" : 12345,
      "manager" : { },
      "client" : { },
      "role" : { },
      "email" : "...",
      "directLine" : "...",
      "hidden" : true,
      "order" : 12345,
      "travelAlertManager" : true,
      "enrollmentApprover" : true,
      "cardExpireNotify" : true,
      "domoUser" : true
    }
  } ],
  "contactInfo" : {
    "address1" : "...",
    "address2" : "...",
    "city" : "...",
    "state" : "...",
    "zip" : "...",
    "phone" : "..."
  },
  "tmcName" : "...",
  "status" : "..."
}