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"
            ],
     : {
      "orgHierarchyaffiliation" : [
               {
                  "code" "uhUuid": "TI10967714",
                  "description" "affID": "Technical Infrastructure12345",
               },
    "orgHierarchy": [
          {
 
                "code" : "TI-SYSES",
                  "description" : "TI -Enterprise Systems Services"
               },
    
          {

                 "code" : "TIES-SYS-MID3",
     
            "description" : "TI-SYS-MIDES-Software Engineering"
               }
        ],
        "role": "staff",
        ],
		    "topofficeLocation" : "TI",
		{
    "team" : "TI-SYS-MID",
		    "rolebuilding" : "staff.noDetailsITC",
		    "beginDate" : "2015-12-25", 		    "endDatefloor" : "6",
		    "officeLocation" : "ITC-Floor 6 / 602",
		    "phoneAsEnteredcubicle" : "(808) 555-9128",
		615"
    "faxesAsEntered" : "(808) 555-9130"  }
       }
 
    }
  }
}



Code Block
ROUTING KEY: 

   {
      "modifySubAffiliation" : {
         "messageData" : {
            "uhUuid" : "12345678",
            "uids" : [
               "johndoe"
            ],
            "orgHierarchy" : [
               {
                  "code" : "TI",
                  "description" : "Technical Infrastructure"
               },
               {
         affiliation.modify.{role}.{orgRootCode}.{any-middle-org-codes}.{orgLeafCode} (account for periods in role values) 

modifyAffiliation
	messageData
		affiliation
	messageDataBefore
		affiliation

{
  "modifyAffiliation": {
    "messageData": {
        "codeaffiliation" : "TI-SYS",
                  "description" : "TI - Systems Services"
               },
               {
         
        "codeuhUuid" : "TI-SYS-MID10967714",
      
           "descriptionaffID" : "TI-SYS-MID"
               }               
            ],
		    "top" : "TI",
		12345",
        "teamofficeLocation" : "TI-SYS-MID",
		{
    "role" : "staff.noDetails", 		    "beginDatebuilding" : "2015-12-25ITC",
		    "endDate" : "", 		    "officeLocationfloor" : "ITC-Floor 6 / 602",
		    "phoneAsEntered" : "(808) 555-9128", 		    "faxesAsEnteredcubicle" : "(808) 555-9130615"
         }
      }
    }
Code Block
ROUTING KEY: ,
     {
      "deleteSubAffiliation" "messageDataBefore": {

        "messageDataaffiliation" : {
  
         "uhUuid" : "1234567810967714",

           "uidsaffID" : [
               "johndoe"
            ],
"12345",
           "orgHierarchyofficeLocation" : [                {
  
               "codebuilding" : "TIITC",
       
          "descriptionfloor" : "Technical Infrastructure"
               },
          3",
    {                   "code" "cubicle": "TI-SYS315",
        }
      }
  "description" : "TI}
- Systems Services"
               },
               {
                  "code" : "TI-SYS-MID",
                  "description" : "TI-SYS-MID"
               }               
            ],
		    "top" : "TI",
		    "team" : "TI-SYS-MID",
		    "role" : "staff.noDetails",
		    "beginDate" : "2015-12-25",
		    "endDate" : "2017-01-25",
		    "officeLocation" : "ITC-Floor 6 / 602",
		    "phoneAsEntered" : "(808) 555-9128",
		    "faxesAsEntered" : "(808) 555-9130}
}


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

deleteAffiliation
	messageData
		affiliation

{
  "deleteAffiliation": {
    "messageData": {
      "affiliation": {
        "uhUuid": "10967714",
        "affID": "12345"
         }

     }
  }
}