Versions Compared

Key

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

...

Employee (Staff & Student)

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

   {
      "addSubAffiliation" : {
         "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" : {
                  "code" : "TI-SYS-MID",
                  "description" : "TI-SYS-MID"
            },
		    "role" : "staff.noDetails",
		    "beginDate" : "2015-12-25",
		    "endDate" : "",
		    "officeLocation" : "ITC-Floor 6 / 602",
		    "phonesAsEntered" : "(808) 555-9128",
		    "faxesAsEntered" : "(808) 555-9130"
         }
      }
   }


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

   {
      "modifySubAffiliation" : {
         "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" : {
                  "code" : "TI-SYS-MID",
                  "description" : "TI-SYS-MID"
            },
		    "role" : "staff.noDetails",
		    "beginDate" : "2015-12-25",
		    "endDate" : "",
		    "officeLocation" : "ITC-Floor 6 / 602",
		    "phonesAsEntered" : "(808) 555-9128",
		    "faxesAsEntered" : "(808) 555-9130"
         }
      }
   }
Code Block
ROUTING KEY: subAffiliation.delete.itsadmin.{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" : {
                  "code" : "TI",
                  "description" : "Technical Infrastructure"
            },
		    "orgLeaf" : {
                  "code" : "TI-SYS-MID",
                  "description" : "TI-SYS-MID"
            },
		    "role" : "staff.noDetails",
		    "beginDate" : "2015-12-25",
		    "endDate" : "2017-01-25",
		    "officeLocation" : "ITC-Floor 6 / 602",
		    "phonesAsEntered" : "(808) 555-9128",
		    "faxesAsEntered" : "(808) 555-9130"
         }
      }
   }