Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 4 Next »

Draft - In progress

Message Specs

*** VALUES FOR "role" ***
    staff.noDetails
    studentEmployee.studentHire
 
*** SUBAFFILIATION MESSAGES ***
All attributes should be non-empty except for the "endDate" which should be filled when a "deleteSubAffiliation" message is sent.

Employee (Staff & Student)

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"
         }
      }
   }


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"
         }
      }
   }
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"
         }
      }
   }
  • No labels