Add/Update Union
Use this service to add or update existing Union information.
Connection Information
URL = https://<SPECTRUM-SERVER>:8482/payroll/union
Authentication: Basic Authentication, Enhanced Authentication
Supported methods: POST
Supported formats: JSON
Sample JSON Body
{
"unions": [
{
"Company_Code": "ABC",
"Union_Code": "DF001",
"Union_Name": "Test Union",
"Craft_Description": "",
"Certified_Craft_Code": "",
"Status": "A",
"Auto_Overtime": "",
"Override_Overtime_Rules": "Y",
"Daily_Overtime_Start_Hours": 10,
"Weekly_Overtime_Start_Hours" : 50,
"Saturday_Rules": "",
"Sunday_Rules": ""
}
]
}
Underlying File Maintenance
Field Descriptions
Use the table below for reference when using this service.
Excel |
Element Name | Description | Req | Type | Max | Format | Validation |
---|---|---|---|---|---|---|---|
B |
Company_Code | YES | Text | 3 | Valid Company in Spectrum | ||
C |
Union_Code | YES | Text | 10 | Union | ||
D |
Union_Name | Description | Text | 30 | |||
E |
Craft_Description | Craft | Text | 20 | |||
F |
Certified_Craft_Code | Certified craft code | Text | 20 | |||
G |
Status | Status | Text | 1 | (A)ctive or (I)nactive. Defaults to Active if blank. | ||
H |
Auto_Overtime | Auto-Overtime | Text | 1 | "Y" or "N". | ||
I |
Override_Overtime_Rules | Overrides job rules | Text | 1 | "Y" or "N". If blank, and Auto_Overtime = "Y", defaults to "Y". | ||
J |
Daily_Overtime_Start_Hours | Daily overtime start at how many hours | Numeric | 7 | Positive numbers only. Format = 4.2 | 24 hours max | |
K |
Weekly_Overtime_Start_Hours | Weekly overtime starts at how many hours | Numeric | 8 | Positive numbers only. Format = 5.2 | 168 hours max | |
L |
Saturday_Rules | Saturday rules | Text | 1 | Set all hours to (O)vertime, Set all hours to (D)oubletime, defaults to "Same rules as weekday" if blank. | ||
M |
Sunday_Rules | Sunday rules | Text | 1 | Set all hours to (O)vertime, Set all hours to (D)oubletime, defaults to "Same rules as weekday" if blank. |