Versions Compared

Key

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

Questions/Comments

add would be coming into a new position or reactivated, switch from student to staff
delete would be leaving ITSĀ  or leaving a position
modify would be changing the phone number/office locations/section

  • need to provide the before data so folks know what's changing

can a ITS person have multiple affiliations?

look at UHIMS phones / list of "phone" (ask Dana where she updates the phone number - does she update ITSADMIN and WPMS)

publisher confirm, onAck means that it was published

...

Message Specifications





affiliation(json data specs, not a message)

uhUuidnon-empty, single value

affIDnon-empty, single value; persPositionID

orgHierarchynon-empty optional list

  • code
  • description


rolenon-emptyoptional, single value

officeLocationoptional, single object

  • building
  • floor
  • cubicle
phonesAsEnteredoptional, single valuefaxesAsEntered
optional, single value



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: affiliation.add.{role}.{orgRootCode}.{any-middle-org-codes}.{orgLeafCode} (account for periods in role values)
    ex. affiliation.add.staff.ES.ES-1
    ex. affiliation.add.student.ES.ES-2

addAffiliation
	messageData
		affiliation

{
  "addAffiliation": {
      "addAffiliationmessageData" : {
         "messageDataaffiliation" : {
   
        "uhUuid" : "1234567810967714",
			
        "affID" : "2343212345",
            "orgHierarchy" : [
   
           {
     
            "code" : "TIES",

                 "description" : "TechnicalEnterprise InfrastructureSystems"

              },
   
           {
 
                "code" : "TIES-SYS3",
 
                "description" : "TI ES-Software Systems ServicesEngineering"
          }
    },    ],
        "role": "staff",
 {       "officeLocation": {
          "codebuilding" : "TI-SYS-MIDITC",
          "floor": "6",
          "descriptioncubicle" : "TI-SYS-MID615"
        }
      }
    }
  }
}


Code Block
ROUTING KEY: affiliation.modify.{role}.{orgRootCode}.{any-middle-org-codes}.{orgLeafCode} (account for periods in role values) 

modifyAffiliation
	messageData
    ],		affiliation
	messageDataBefore
		affiliation

{
  "rolemodifyAffiliation": {
  :  "staff",
		messageData": {
      "officeLocationaffiliation": :{
   [ 			{ 				"building" : ITC, 				"flooruhUuid" : 6, 				"cubicle10967714",
: 610 			} 			], 		    "phonesAsEnteredaffID" : "(808) 555-912812345",
    		    "faxesAsEnteredofficeLocation": :{
"(808) 555-9130"          }"building": "ITC",
      }    }
"floor": "6",
 
Code Block
ROUTING KEY: affiliation.modify.{role}.{orgRootCode}.{any-middle-org-codes}.{orgLeafCode} (account for periods in role values) "cubicle": "615"
modifyAffiliation 	messageData 		affiliation 	messageDataBefore 		affiliation  	{  }
    "modifyAffiliation" : {}
    },
    "messageDatamessageDataBefore" : {
      "affiliation": {
        "uhUuid" : "1234567810967714",
			
        "affID" : "2343212345",
		      "phonesAsEntered" : "(808) 555-5555"
officeLocation": {
        } 		 "messageDataBeforebuilding" : {
 "ITC",
          "uhUuidfloor" : "123456783",
			"affID" : "23432",
		
          "phonesAsEnteredcubicle" : "(808) 555-9128"315"
        }
    }  }
    }
  }
}


Code Block
ROUTING KEY: affiliation.delete.{role}.{orgRootCode}.{any-middle-org-codes}.{orgLeafCode} (account for periods in role values) 

deleteAffiliation
	messageData
		affiliation

{
  "deleteAffiliation": {
      "deleteAffiliationmessageData" : {
 
       "messageDataaffiliation" : {
            "uhUuid" : "1234567810967714",
			
        "affID" : "2343212345"
 
       }
      }
  }
}