---
title: "Get import user locations analysis"
method: GET
path: "/work-locations/public/api/imports/user-locations/analysis"
tags: ["Imports"]
---

# Get import user locations analysis

`GET /work-locations/public/api/imports/user-locations/analysis`

## Request

- Base URL: `https://example.ilucca.net`
- URL: `https://example.ilucca.net/work-locations/public/api/imports/user-locations/analysis`
- Auth: none required
- TypeScript: <https://skmtc.dev/luccasoftware/apis/lucca-expenses/docs/work-locations/public/api/imports/user-locations/analysis/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve the analysis of the Import User Locations API request with the create parameter set to false.

## Query parameters

- `summaryId` string, required

## Response `200`

Response of analysis on work location import

- object
  - `summaryId` string
  - `validUserLocationsToCreateSummary` object
    - `count` integer
    - `descriptions` string[]
  - `validUserLocationsToDeleteSummary` object
    - `count` integer
  - `globalErrorSummary` string, nullable
  - `errorLines` object[]
    - `line` ImportedLine
      - `login` string
      - `firstname` string
      - `lastname` string
      - `worklocationName` string
      - `areaName` string
      - `date` string, date
      - `position` 'FullDay' | 'FirstHalf' | 'SecondHalf'
      - `comment` string, nullable
      - `isDeletion` boolean
    - `lineNumber` integer
    - `error` string
  - `warningLines` object[]
    - `line` ImportedLine
      - `login` string
      - `firstname` string
      - `lastname` string
      - `worklocationName` string
      - `areaName` string
      - `date` string, date
      - `position` 'FullDay' | 'FirstHalf' | 'SecondHalf'
      - `comment` string, nullable
      - `isDeletion` boolean
    - `lineNumber` integer
    - `warning` string
    - `isConflict` boolean
  - `errorFileUri` string, nullable

---

[API](https://skmtc.dev/luccasoftware/apis/lucca-expenses.md) - [All operations](https://skmtc.dev/luccasoftware/apis/lucca-expenses/llms.txt) - [OpenAPI document](https://skmtc.dev/luccasoftware/apis/lucca-expenses/revisions/110f9897756c?raw)
