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

addAffiliation
	messageData
		affiliation

{
  "messageDataaddAffiliation" : {
       
    "uhUuidmessageData" : "12345678",
     {
      "uidsaffiliation" : [
      {
        "johndoe"
            ],
            "orgHierarchy" : [
               {
         uhUuid": "10967714",
        "codeaffID" : "TI12345",
         
        "descriptionorgHierarchy" : "Technical Infrastructure"
               },
    [
          {
     
            "code" : "TI-SYSES",
     
            "description" : "TI -Enterprise Systems Services"
    
          },
    
          {
     
            "code" : "TIES-SYS-MID3",
                  "description" : "TI-SYS-MID"
    ES-Software Engineering"
          }               
   
        ],
		    "orgRoot" : {
         
        "coderole" : "TIstaff",
         
        "description" : "Technical Infrastructure"
            },
		    "orgLeaf" : {
       officeLocation": {
          "codebuilding" : "TI-SYS-MIDITC",
       
          "descriptionfloor" : "TI-SYS-MID"
            },
		6",
   "role" : "staff.noDetails", 		    "beginDatecubicle" : "2015-12-25",
		    "endDate615"
: "", 		    "officeLocation" : "ITC-Floor 6 / 602",
		    "phonesAsEntered" : "(808) 555-9128",
		    "faxesAsEntered" : "(808) 555-9130"
     }
      }
    }
   
  }
  
}



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

modifyAffiliation
	messageData
		affiliation
{	messageDataBefore
		affiliation

 {
  "modifySubAffiliationmodifyAffiliation" : {
    
    "messageData" : {
     
      "uhUuidaffiliation" : "12345678",
   {
        "uidsuhUuid" : [
               "johndoe"
            ],
   10967714",
        "orgHierarchy" : [
               {
                  "code" affID": "TI12345",
         
        "descriptionofficeLocation" : "Technical Infrastructure"
               },
               {
       
          "codebuilding" : "TI-SYSITC",
       
          "descriptionfloor" : "TI - Systems Services"
               },
               {
       6",
          "codecubicle" : "TI-SYS-MID615",
        }
         "description" : "TI-SYS-MID"
          }
    }               
            ],
		    "orgRootmessageDataBefore" : {
           
      "codeaffiliation" : "TI",
         {
        "descriptionuhUuid" : "Technical Infrastructure"
            },
		    "orgLeaf" : {
         10967714",
        "codeaffID" : "TI-SYS-MID12345",
         
        "descriptionofficeLocation" : "TI-SYS-MID"
      {
     }, 		    "rolebuilding" : "staff.noDetailsITC",
		
   "beginDate" : "2015-12-25", 		    "endDatefloor" : "3",
		   
"officeLocation" : "ITC-Floor 6 / 602", 		    "phonesAsEnteredcubicle" : "(808) 555-9128",
		 315"
  "faxesAsEntered" : "(808) 555-9130"   }
      }
 
    }
  }
}


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

   {
      "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" : {
           deleteAffiliation
	messageData
		affiliation

{
  "deleteAffiliation": {
    "messageData": {
      "code" : "TI",
                  "description" : "Technical Infrastructure"
            },
		    "orgLeaf" : {
         affiliation": {
        "codeuhUuid" : "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"
    
    }
   
  }
  
}