Warning |
---|
Draft - In progress |
Message Specs
*** VALUES FOR "r
ole"
***
staff
studentEmployee
*** SUBAFFILIATION MESSAGES ***
add would be coming into a new position or reactivated (
delete would be leaving ITS
refresh would be changing the phone number/office locations/, i.e if at the same position
...
Message Specifications
|
|
|
---|
affiliation | (json data specs, not a message) |
|
| uhUuid | non-empty, single value |
| affID | non-empty, single value; persPositionID |
| orgHierarchy | optional list |
| |
|
| role | optional, single value |
| officeLocation | optional, single object |
| |
|
Element | Values |
---|
role | |
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: 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.staffstudent.ES.ES-2
addAffiliation
messageData
{ affiliation
{
"addAffiliation" : {
"messageData": {
"messageDataaffiliation" : {
"uhUuid" : "1234567810967714",
"affID" : (check UHIMS - use perspositionID) "affID": "12345",
"orgHierarchy" : [
{
"code" : "TIES",
"description" : "TechnicalEnterprise InfrastructureSystems"
},
{
"code" : "TIES-SYS3",
"description" : "TI ES-Software Systems ServicesEngineering"
},
{
],
"coderole" : "TI-SYS-MIDstaff",
"descriptionofficeLocation" : "TI-SYS-MID"
{
}
],
"role" "building": "staffITC",
possibly a list "officeLocation" : [ {"building"
"floor": "cubicle"}]
look at UHIMS phones / list of "phone" (ask Dana where she updates the phone number - does she update ITSADMIN and WPMS)
"phonesAsEntered" : "(808) 555-9128",
"faxesAsEntered" : "(808) 555-9130"
6",
"cubicle": "615"
}
}
}
}
}
|
Code Block |
---|
ROUTING KEY: subAffiliationaffiliation.modify.itsadmin{role}.{orgRootCode}.{any-middle-org-codes}.{orgLeafCode}.{role} (account for periods in role values)
keep
messagemodifyAffiliation
to messageData
affiliation.modify.staff and provide what has changed
messageDataBefore
publisher confirm
onAck means that it was published
messageDataBefore
affiliation
{
"modifyAffiliation": {
"modifyAffiliationmessageData" : {
"messageDataaffiliation" : {
"uhUuid" : "1234567810967714",
required "affID" : required
"orgHierarchyaffID" : [
{
: "12345",
"codeofficeLocation" : "TI",
{
"description" "building": "Technical Infrastructure"
},
{
ITC",
"codefloor" : "TI-SYS6",
"descriptioncubicle" : "TI - Systems Services615"
}
},
},
"messageDataBefore": {
"affiliation": {
"codeuhUuid" : "TI-SYS-MID10967714",
"description" "affID": "TI-SYS-MID12345",
} "officeLocation": {
]
"role" "building": "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)
provide
everythingdeleteAffiliation
that we provide for the add
messageData
affiliation
{
"deleteSubAffiliationdeleteAffiliation" : {
"messageData" : {
"uhUuid" : "12345678",
"orgHierarchy" : [
{
"affiliation": {
"codeuhUuid" : "TI10967714",
"description" : "Technical Infrastructure"
},
{
"code" : "TI-SYS",
"description" : "TI - Systems Services"
},
{
"code" : "TI-SYS-MID",
"description" : "TI-SYS-MID"
"affID": "12345"
}
]
"role" : "staff"
}
}
} |