Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Warning

Draft - In progress

Message Specs

*** VALUES FOR "role" ***
    staff.noDetails
    studentEmployee.studentHire
 
*** SUBAFFILIATION MESSAGES ***

...

Message Specifications





affiliation(json data specs, not a message)

uhUuidnon-empty, single value

affIDnon-empty, single value; persPositionID

orgHierarchyoptional list

  • code
  • description


roleoptional, single value

officeLocationoptional, single object

  • building
  • floor
  • cubicle



ElementValues
role
  • staff
  • student
code (under orgHierarchy)
  • CIO
  • CIO-1
  • ADM
  • AT
  • AT-1
  • AT-2
  • AT-3
  • AT-4
  • AT-5
  • AT-SS
  • CSOC
  • CYB
  • ES
  • ES-1
  • ES-2
  • ES-3
  • ES-4
  • ES-5
  • ES-6
  • TI
  • TI-SYS
  • TI-SYS-DBA
  • TI-SYS-MID
  • TI-SYS-SAA
  • TI-DCTR
  • TI-NETWK
  • TI-PROJ
  • TI-APC
  • TI-SEC
  • TI-TEL-US
building
  • ITC
  • Kuydendall
  • Keller
  • Bilger Addition
  • Sinclair Library
  • Building 37
  • Queen Lili'uokalani Center

Employee (Staff & Student)

Code Block
ROUTING KEY: 

   {
      "addSubAffiliation" : {
         "messageData" : {
     affiliation.add.{role}.{orgRootCode}.{any-middle-org-codes}.{orgLeafCode} (account for periods in role values)
    ex.  "uhUuid" : "12345678",
         affiliation.add.staff.ES.ES-1
    ex. affiliation.add.student.ES.ES-2

addAffiliation
	messageData
		affiliation

{
  "uidsaddAffiliation" : [
          {
    "johndoemessageData": {
           ],
            "orgHierarchy" : [
               {
         "affiliation": {
        "codeuhUuid" : "TI10967714",
         
        "descriptionaffID" : "Technical Infrastructure12345",
        "orgHierarchy":  [
    },                {
    
             "code" : "TI-SYSES",
     
            "description" : "TI -Enterprise Systems Services"
    
          },
    
          {
  
               "code" : "TIES-SYS-MID3",
                  "description" : "TI-SYS-MID"
    ES-Software Engineering"
          }   
           
            ],
		    "orgRoot" : {
   
              "code" "role": "TIstaff",
   
              "description" : "Technical Infrastructure"
            },
		    "orgLeaf" : {
       "officeLocation": {
          "codebuilding" : "TI-SYS-MIDITC",
     
            "descriptionfloor" : "TI-SYS-MID"
            },
		6",
   "role" : "staff.noDetails", 		    "beginDatecubicle" : "2015-12-25615",
		    "endDate" : "", 		 }
  "officeLocation" : "ITC-Floor 6 / 602",
		    "phonesAsEntered" : "(808) 555-9128",
		    "faxesAsEntered" : "(808) 555-9130"
 }
         }
  
   }
   }



Code Block
ROUTING KEY: 

   {
      "modifySubAffiliation" : {
         "messageData" : {
            "uhUuid" : "12345678",
       affiliation.modify.{role}.{orgRootCode}.{any-middle-org-codes}.{orgLeafCode} (account for periods in role values) 

modifyAffiliation
	messageData
		affiliation
	messageDataBefore
		affiliation

{
  "modifyAffiliation": {
    "uidsmessageData" : [
        {
      "johndoe"
            ],
            "orgHierarchy" : [
               {
         affiliation": {
        "codeuhUuid" : "TI10967714",
       
          "descriptionaffID" : "Technical Infrastructure"
               },
    12345",
          {
                  "code" : "TI-SYS",
 "officeLocation": {
                "description" "building": "TI - Systems Services"
               }ITC",
               {
                  "code" "floor": "TI-SYS-MID6",
                  "description" "cubicle": "TI-SYS-MID615"
        }
      }
              
            ],
		},
    "orgRootmessageDataBefore" : {
           
      "codeaffiliation" : "TI",
 {
                "description" "uhUuid": "Technical Infrastructure"
            },
		    "orgLeaf" : {
         10967714",
        "codeaffID" : "TI-SYS-MID12345",
                  "description" : "TI-SYS-MID"
  "officeLocation": {
         }, 		    "role" "building": "staff.noDetailsITC",
		
   "beginDate" : "2015-12-25", 		    "endDatefloor" : "3",
		    "officeLocation" : "ITC-Floor 6 / 602", 		    "phonesAsEntered" "cubicle": "(808) 555-9128",
		 315"
   "faxesAsEntered" : "(808) 555-9130"   }
      }
 
    }
  }
}


Code Block
ROUTING KEY: 

   {
      "deleteSubAffiliation" : {
         "messageData" : {
            "uhUuid" : "12345678",
            "uids" : [
               "johndoe"
            ],
            "orgHierarchy" : [
               {
                  "code" : "TI",
                  "description" : "Technical Infrastructure"
               },
               {
                  "code" : "TI-SYS",
                  "description" : "TI - Systems Services"
               },
               {
                  "code" : "TI-SYS-MID",
                  "description" : "TI-SYS-MID"
               }               
            ],
		    "orgRoot" : {
                  "code" : "TI",
                  "description" : "Technical Infrastructure"
            },
		    "orgLeaf" : {
affiliation.delete.{role}.{orgRootCode}.{any-middle-org-codes}.{orgLeafCode} (account for periods in role values) 

deleteAffiliation
	messageData
		affiliation

{
  "deleteAffiliation": {
    "messageData": {
      "affiliation": {
                 "code" "uhUuid": "TI-SYS-MID10967714",
     
            "descriptionaffID" : "TI-SYS-MID"
     12345"
      },
		    "role" : "staff.noDetails",
		    "beginDate" : "2015-12-25",
		    "endDate" : "2017-01-25",
		    "officeLocation" : "ITC-Floor
6 / 602", 		    "phonesAsEntered" : "(808) 555-9128",
		    "faxesAsEntered" : "(808) 555-9130"
         }
   
  }
  
}