Questions/Comments
add would be coming into a new position or reactivated, switch from student to staff
delete would be leaving ITSĀ or leaving a position
modify would be changing the phone number/office locations/section
- need to provide the before data so folks know what's changing
can a ITS person have multiple affiliations?
look at UHIMS phones / list of "phone" (ask Dana where she updates the phone number - does she update ITSADMIN and WPMS)
publisher confirm, onAck means that it was published
...
Message Specifications
affiliation | (json data specs, not a message) | |||||
uhUuid | non-empty, single value | |||||
affID | non-empty, single value; persPositionID | |||||
orgHierarchy | non-empty optional list | |||||
| ||||||
role | non-emptyoptional, single value | |||||
officeLocation | optional, single object | |||||
| phonesAsEntered | optional, single value | faxesAsEntered | optional, single value |
Element | Values |
---|---|
role |
|
code (under orgHierarchy) |
|
building |
|
Employee (Staff & Student)
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" : { "messageData": { "messageDataaffiliation" : { "uhUuid" : "1234567810967714", "affID" : "2343212345", "orgHierarchy" : [ { "code" : "TIES", "description" : "TechnicalEnterprise InfrastructureSystems" }, }, { { "code": "ES-3", "codedescription" : "TIES-SYSSoftware Engineering", } "description" :], "TI - Systems Services" "role": "staff", },"officeLocation": { "building": "ITC", { "floor": "6", "codecubicle" : "TI-SYS-MID615", } } "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": { ], "roleuhUuid" : "staff10967714", "officeLocation" : [ { "buildingaffID" : ITC, "floor" : 6, "cubicle" : 610 } ], "12345", "officeLocation": { "phonesAsEnteredbuilding" : "(808) 555-9128ITC", "faxesAsEnteredfloor" : "(808) 555-9130"6", } "cubicle": "615" } } |
Code Block |
ROUTING KEY: affiliation.modify.{role}.{orgRootCode}.{any-middle-org-codes}.{orgLeafCode} (account for periods in role values) } {}, "modifyAffiliationmessageDataBefore" : { "messageDataaffiliation" : { "uhUuid" : "1234567810967714", "affID" : "2343212345", "phonesAsEntered" : "(808) 555-5555" officeLocation": { } "messageDataBeforebuilding" : {"ITC", "uhUuidfloor" : "123456783", "affID" : "23432", "phonesAsEnteredcubicle" : "(808) 555-9128315" } } } } } |
Code Block |
---|
ROUTING KEY: affiliation.delete.{role}.{orgRootCode}.{any-middle-org-codes}.{orgLeafCode} (account for periods in role values) provide everythingdeleteAffiliation that we provide for the add { messageData affiliation { "deleteAffiliation": { "deleteAffiliationmessageData" : { "messageDataaffiliation" : { "uhUuid" : "1234567810967714", "affID" : "23432", "roleaffID" : "staff12345" } } } } |