Versions Compared

Key

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

...

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": "ES",
            "codedescription" : "TI",Enterprise Systems"
          },
          {
   "description" : "Technical Infrastructure"      "code": "ES-3",
        },    "description": "ES-Software Engineering"
         { }
        ],
        "coderole" : "TI-SYSstaff",
        "officeLocation": {
          "descriptionbuilding" : "TIITC",
- Systems Services"        "floor": "6",
      },    "cubicle": "615"
        },
 {         "phonesAsEntered": "808-111-2222",
         "codefaxesAsEntered" : "TI808-SYS101-MID3333",
      }
    }
  }
}

 "description" : "TI-SYS-MID"
               }


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

modifyAffiliation
	messageData
		affiliation
	messageDataBefore
		affiliation

{
  "modifyAffiliation": {
    "messageData": {
      "affiliation": {
        "uhUuid": "10967714",
   ], 		    "roleaffID" : "staff12345",
		        "officeLocationorgHierarchy" : [
			{
				"building" : ITC,
				"floor" : 6,
				"cubicle" : 610
			}
			],
		          {
            "code": "ES",
            "description": "Enterprise Systems"
          },
          {
            "phonesAsEnteredcode" : "(808) 555-9128",
		ES-1",
            "faxesAsEntereddescription" : "(808) 555-9130ES-PeopleSoft HR"
          }
        ]
  }    }
  
Code Block
ROUTING KEY: affiliation.modify.{role}.{orgRootCode}.{any-middle-org-codes}.{orgLeafCode} (account for periods in role values) 

modifyAffiliation
	messageData
		affiliation
	messageDataBefore
		affiliation

	{},
    "messageDataBefore": {
      "affiliation": {
        "modifyAffiliationuhUuid" : {"10967714",
        "affID": "messageData12345",
        "orgHierarchy": [
          {
            "uhUuidcode" : "12345678ES",
			"affID" : "23432",
		
            "phonesAsEntereddescription" : "(808) 555-5555Enterprise Systems"
          }
		 "messageDataBefore" :,
          {
            "uhUuidcode" : "12345678ES-3",
			"affID" : "23432",
		
            "phonesAsEntereddescription" : "(808) 555-9128ES-Software Engineering"
          }
        ]
      }
    }
  }
}


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