Global Config API
Manage default project settings for your organization. These values are applied when creating new projects.
GET /api/v1/global-config
Returns the global project configuration for the current tenant. Creates default configuration if none exists.
Response (200 - Success)
{
"success": true,
"data": {
"config": {
"laborRate": 45.00,
"laborSell": 125.00,
"unionRate": 65.00,
"programmingRate": 75.00,
"programmingSell": 175.00,
"configurationRate": 65.00,
"configurationSell": 150.00,
"equipmentMarkup": 25.00,
"avDrawingsPercentage": 5.00,
"designFeeBase": 0,
"projectManagementPercentage": 10.00,
"shippingPct": 3.00,
"taxRate": 8.25,
"schematicsCostRate": 50.00,
"shippingCostRate": 2.50,
"projectManagementCostRate": 8.00,
"c6AStpInRoom": 25.00,
"c6AUtpInRoom": 15.00,
"c6AUtpFromIdf": 100.00,
"c6AStpInRoomHours": 0.25,
"c6AUtpInRoomHours": 0.15,
"c6AIdFHours": 0.50,
"timeZoneId": "America/New_York",
"createdAt": "2024-01-15T10:00:00Z",
"updatedAt": "2024-12-25T12:00:00Z"
}
},
"timestamp": "2024-12-25T12:00:00Z"
}
Configuration Fields
| Field | Type | Description |
|---|---|---|
| Labor Configuration | ||
laborRate |
decimal | Hourly labor cost rate |
laborSell |
decimal | Hourly labor sell rate |
unionRate |
decimal | Union labor rate multiplier |
| Programming & Configuration | ||
programmingRate |
decimal | Hourly programming cost rate |
programmingSell |
decimal | Hourly programming sell rate |
configurationRate |
decimal | Hourly configuration cost rate |
configurationSell |
decimal | Hourly configuration sell rate |
| Project Percentages | ||
equipmentMarkup |
decimal | Default equipment markup percentage |
avDrawingsPercentage |
decimal | Default AV drawings (design fee) percentage |
designFeeBase |
integer or null | What the AV drawings percentage applies to on new projects: 0 = the equipment sell, 1 = the sell of the labor types ticked Design base. null (never set) reads as 0. |
projectManagementPercentage |
decimal | Project management percentage |
shippingPct |
decimal | Default shipping percentage |
taxRate |
decimal | Default tax rate percentage |
| Cost Rate Configuration | ||
schematicsCostRate |
decimal | AV Drawings cost rate percentage (your cost for the design fee) |
shippingCostRate |
decimal | Shipping cost rate percentage |
projectManagementCostRate |
decimal | PM cost rate percentage |
| Cable Configuration (Cat6A) | ||
c6AStpInRoom |
decimal | Cat6A STP in-room cable length (ft) |
c6AUtpInRoom |
decimal | Cat6A UTP in-room cable length (ft) |
c6AUtpFromIdf |
decimal | Cat6A UTP from IDF cable length (ft) |
| Cabling Hours | ||
c6AStpInRoomHours |
decimal | Hours per Cat6A STP in-room run |
c6AUtpInRoomHours |
decimal | Hours per Cat6A UTP in-room run |
c6AIdFHours |
decimal | Hours per Cat6A IDF run |
| Time Tracking | ||
timeZoneId |
string or null | The company time zone as an IANA time zone id, such as America/New_York. Time entries are shown in it and Monday–Sunday weeks are cut in it. null means not set, which is UTC. On PUT: leave it out or send null to keep the stored zone, send "" (an empty string) to clear it, or send a zone id to set it. A Windows zone id that the server recognises is stored as its IANA equivalent. Only an administrator of your company may change it. |
PUT /api/v1/global-config
Updates the global project configuration. Only include fields you want to update. All fields are optional - any field not included will retain its current value.
The fee fields (avDrawingsPercentage, designFeeBase, projectManagementPercentage, the shipping fields and the three fee cost rates) are still accepted. They are the defaults for projects created before summary lines: Load global defaults copies them onto those projects, and they write your company's starter summary lines once. New projects take their fees from your summary lines.
Request Body
Use any combination of the fields documented in the Configuration Fields table above. All fields are optional.
Example Request
{
"laborRate": 50.00,
"laborSell": 135.00,
"equipmentMarkup": 30.00,
"taxRate": 8.50
}
Response (200 - Success)
{
"success": true,
"data": {
"config": {
"laborRate": 50.00,
"laborSell": 135.00,
"equipmentMarkup": 30.00,
"taxRate": 8.50,
...
}
},
"message": "Global configuration updated successfully",
"timestamp": "2024-12-25T12:00:00Z"
}
Time Zone Errors
When the request changes timeZoneId and the change is refused, nothing in the request is saved. Sending the zone that is already stored is not a change and is never refused.
| Status | Code | When |
|---|---|---|
| 403 | ADMIN_REQUIRED | The caller is not an administrator of the company. Whether the caller is an administrator is read from your team's records at the time of the request, not from the token. Message: Only an administrator can change the company time zone. |
| 400 | INVALID_TIME_ZONE | The server does not recognise the zone id. Message: '{id}' is not a time zone this server knows. Use an IANA time zone id such as America/New_York. |
{
"success": false,
"error": {
"code": "ADMIN_REQUIRED",
"message": "Only an administrator can change the company time zone.",
"details": null
},
"timestamp": "2026-11-21T12:00:00Z"
}
These settings are applied as defaults when creating new projects. Existing projects are not affected when you update the global configuration.
