Tango Location Inbound API
Generated fromTango Location Inbound API Integration Design Specification V2.0.docxin SharePoint folder01 Common Integrations. OAS spec:location-inbound.yaml
Overview
Async REST API: client inserts/updates Property / Building / Floor / Location-Store records in Tango. Single endpoint handles all four entity types — Tango disambiguates by which entity-type key fields are present in each record. Two-call pattern withgu_id polling.
Owner: Tango Analytics
Spec version: 2.0
Status: Draft (auto-generated — needs review). Full field mapping was not extracted from source.
Base URLs
Authentication
Headersx-client + x-api-key.
Endpoints
Integration logic
Insert/update
- One of
store_id/store_numbermust be present. - If the identifier exists, the record is updated.
- If not, a new record is created.
Brand resolution
- If
brand_idis sent → used. - If absent and the client has one brand → that brand is used.
- If absent and the client has multiple brands → error.
Geo-coding
geo_code = Y→ Tango auto-populateslatitude/longitudefrom the address fields.geo_code = Nor null → Tango uses the provided coordinates or leaves them blank.- When an address field changes, the client should pass
geo_code = Yto trigger re-geocoding.
Lookups
- For any dropdown / lookup field, only the codes documented in the Appendix are accepted.
Required-field rules (from validations, since data-mapping table wasn’t extractable)
Validations (per source doc — 26 listed)
Lookup-validation errors forproperty_type, dev_type, facility_type, location_type, ownership_type, contractual_type, measurement_type, occupancy_status, plus client-defined user-defined lookup fields. Date-format validations enforce MM/DD/YYYY on purchase_date / open_date / close_date and on any user-defined date fields.
If geocoding logic fails, returns unable to retrieve coordinates.
Open Questions / Assumptions
- Full field mapping not extracted from source — the data-mapping table appears in the source doc but didn’t surface in the text extraction (likely in a multi-page Word table that python-docx didn’t capture cleanly). The schema lists only fields named in the validations and adds
additionalProperties: trueso unknown fields aren’t rejected. A real consumer will need the full Tango Location field list. - Direction inconsistency: source header
Source: TANGO / Destination: Client Systemcontradicts the description (“Insert/Update Property/Building/Store/Floor information in Tango”). Treated as inbound. - Custom extension attributes (
c_ext_attr1..104,t_ext_attr4, etc.) are referenced in the changelog but their full enumeration isn’t in the extracted text. - No example request body was extractable.

