Platform › Connections and API
Connections and API
How Relay authenticates
- Cityworks
POST /Services/General/Authentication/Authenticatereturns a token; read only integration account- ArcGIS Enterprise
- Feature service query with an ArcGIS user named for the migration
- Unity Maintain
- Token from
General/Authentication/Authenticate, sent asAuthorization: bearer; employee record set to API only - Secrets
- Held in the City's key store, never in the workbook or the repository
Where it runs
- Hosting
- Inside the City's network or a City-approved cloud subscription
- Staging
- SQL Server staging database (raw, clean, ready)
- City data
- Never on a laptop; the City owns the repository and every report
- Reruns
- Idempotent: each record carries its Cityworks ID as LegacyId
EndpointsOpen interactive API reference
| System | Method | Path | Used in |
|---|---|---|---|
| Cityworks | POST | /cityworks/Services/Ams/{object}/Search | Extract |
| ArcGIS Enterprise | GET | /arcgis/rest/services/Gilroy/{layer}/FeatureServer/0/query | Extract |
| Unity Maintain | POST | /unity/services/Ams/{object}/Create | Load |
| Unity Maintain | POST | /unity/services/Ams/Storeroom/SetStock | Load |
| Unity Maintain | POST | /unity/services/General/Query | Reconcile |