> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tangoanalytics.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Initiate delta location export (async)



## OpenAPI

````yaml /tango_common/integrations/guides/location-outbound.yaml get /v1/spacemgmt/delta/buildings
openapi: 3.1.0
info:
  title: Tango Locations Outbound API
  version: '2.0'
  description: |
    Async **delta** REST API: client GETs Property / Building / Floor /
    Location-Store records that were updated in Tango since the last
    integration run. Single endpoint returns all four entity types; an
    optional query param scopes the response.

    Records created via "conversion" are excluded. Updates to `building_id`,
    `floor_id`, and `lease_number` do NOT trigger an export — only updates
    to other fields do.

    For STORE and BUILDING records, `associated_property` carries the linked
    property information.

    Direction NOTE: source header says `Source: CLIENT SYSTEM / Destination:
    TANGO` but description is "outbound Building/Floor data from Tango to
    client's system". Treated as outbound (Tango → Client).

    Field schema NOTE: the source data-mapping table didn't extract into the
    text dump; the schema below is a thin permissive scaffold pending a
    fuller field list.
  x-direction: outbound
  x-source: Tango
  x-destination: Client System
servers:
  - url: https://api.tangoanalytics.com
    description: Production
  - url: https://testapi.tangoanalytics.com
    description: Test (SIT/UAT)
security:
  - xClientHeader: []
    xApiKeyHeader: []
tags:
  - name: Locations (Delta)
  - name: Status
paths:
  /v1/spacemgmt/delta/buildings:
    get:
      tags:
        - Locations (Delta)
      summary: Initiate delta location export (async)
      operationId: getLocationsDelta
      parameters:
        - $ref: '#/components/parameters/XClient'
        - $ref: '#/components/parameters/XApiKey'
        - in: query
          name: Entity Type
          required: false
          schema:
            type: string
            enum:
              - Buildings
              - Floors
              - Stores
              - Properties
          description: |
            Optional. NOTE: source documents this param with a literal
            space — `Entity Type` — rather than snake/camel case.
            Preserved verbatim; confirm wire format (most likely a
            doc-formatting artifact, real param is probably `entity_type`).
            If omitted, all entity types with updates are returned.
      responses:
        '200':
          description: Async ack with gu_id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AcceptedResponse'
components:
  parameters:
    XClient:
      name: x-client
      in: header
      required: true
      schema:
        type: string
    XApiKey:
      name: x-api-key
      in: header
      required: true
      schema:
        type: string
  schemas:
    AcceptedResponse:
      type: object
      required:
        - status
      properties:
        status:
          type: string
          enum:
            - OK
            - Error
        status_message:
          type: string
        gu_id:
          type: string
          format: uuid
  securitySchemes:
    xClientHeader:
      type: apiKey
      in: header
      name: x-client
    xApiKeyHeader:
      type: apiKey
      in: header
      name: x-api-key

````