# Show place

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /v1/locations/places/{id}:
    get:
      summary: Show place
      deprecated: false
      description: Show information about single place by id
      tags:
        - API Reference/Reporting API/Geo API
      parameters:
        - name: id
          in: path
          description: ''
          required: true
          example: 0
          schema:
            type: integer
        - name: Content-Type
          in: header
          description: '[Details](doc-341635)'
          required: true
          example: application/json
          schema:
            type: string
            default: application/json
            const: application/json
        - name: X-User-Agent
          in: header
          description: Arbitrary identifier of your client. [Details](doc-341635)
          required: true
          example: '{{X_USER_AGENT}}'
          schema:
            type: string
            default: '{{X_USER_AGENT}}'
        - name: X-Product-Name
          in: header
          description: API Product for API context. [Details](doc-341635)
          required: true
          example: '{{PRODUCT_NAME}}'
          schema:
            type: string
            default: '{{PRODUCT_NAME}}'
        - name: Authorization
          in: header
          description: '[Member](doc-342129) or [User](doc-342130) Authorization.'
          required: false
          example: Bearer {{_OAUTH_TOKEN}}
          schema:
            type: string
            default: Bearer {{_OAUTH_TOKEN}}
        - name: X-Client-Authorization
          in: header
          description: '[Token](doc-342128) Authorization.'
          example: '{{API_TOKEN}}'
          schema:
            type: string
            default: '{{API_TOKEN}}'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  place:
                    properties:
                      id: &ref_0
                        $ref: '#/components/schemas/id'
                      precision:
                        type: string
                        enum:
                          - city
                          - postcode
                        x-apidog-enum:
                          - value: city
                            name: ''
                            description: ''
                          - value: postcode
                            name: ''
                            description: ''
                      country: &ref_1
                        $ref: '#/components/schemas/country'
                      postcode:
                        type: string
                        x-apidog-mock: '{{$location.zipCode}}'
                        nullable: true
                      city:
                        type: string
                        x-apidog-mock: '{{$location.city}}'
                        nullable: true
                      district:
                        type: string
                        x-apidog-mock: '{{$location.city}}'
                        nullable: true
                      state:
                        type: string
                        x-apidog-mock: '{{$location.state}}'
                        nullable: true
                      suburb:
                        type: string
                        x-apidog-mock: '{{$location.street}}'
                        nullable: true
                      county:
                        type: string
                        x-apidog-mock: '{{$location.county}}'
                        nullable: true
                      latitude:
                        type: string
                        x-apidog-mock: '{{$location.latitude}}'
                      longitude:
                        type: string
                        x-apidog-mock: '{{$location.longitude}}'
                      polygon:
                        type: array
                        items:
                          type: array
                          items:
                            type: number
                            x-apidog-mock: '{{$location.latitude}}'
                          minItems: 2
                          maxItems: 2
                        nullable: true
                      created_at: &ref_2
                        $ref: '#/components/schemas/date_time.created_at'
                      updated_at: &ref_3
                        $ref: '#/components/schemas/date_time.updated_at'
                    x-apidog-orders:
                      - id
                      - precision
                      - country
                      - postcode
                      - city
                      - district
                      - state
                      - suburb
                      - county
                      - latitude
                      - longitude
                      - polygon
                      - created_at
                      - updated_at
                    required:
                      - id
                      - precision
                      - country
                      - city
                      - district
                      - state
                      - suburb
                      - county
                      - latitude
                      - longitude
                      - polygon
                      - created_at
                      - updated_at
                      - postcode
                    $ref: '#/components/schemas/Place'
                x-apidog-orders:
                  - place
                required:
                  - place
                x-apidog-ignore-properties: []
              example:
                place:
                  id: 1
                  precision: city
                  country: 'NO'
                  postcode: 15887-8207
                  city: New Mariana
                  district: Colthaven
                  state: New Jersey
                  suburb: Anika Expressway
                  county: Clark County
                  latitude: '3.7269'
                  longitude: '-137.5605'
                  polygon:
                    - - -43.1404
                      - -29.7503
                    - - -29.0275
                      - -66.685
                    - - -86.3984
                      - -31.4684
                  created_at: '2022-11-05T16:25:58.099512Z'
                  updated_at: '2022-11-15T16:25:58.099512Z'
          headers: {}
          x-apidog-name: Success
        '404':
          description: ''
          content:
            application/json:
              schema:
                title: ''
                type: object
                properties:
                  error:
                    type: string
                    examples:
                      - Record not found
                x-apidog-orders:
                  - error
                required:
                  - error
                x-apidog-ignore-properties: []
          headers: {}
          x-apidog-name: Record Not Found
      security: []
      x-apidog-folder: API Reference/Reporting API/Geo API
      x-apidog-status: pending
      x-run-in-apidog: https://app.eu.apidog.com/web/project/346351/apis/api-3667105-run
components:
  schemas:
    date_time.updated_at:
      type: string
      description: Time of the last record update
      format: date-time
      examples:
        - '2022-11-15T16:25:58.099512Z'
      readOnly: true
      x-apidog-folder: ''
    date_time.created_at:
      type: string
      description: Time of record creation
      format: date-time
      examples:
        - '2022-11-05T16:25:58.099512Z'
      readOnly: true
      x-apidog-folder: ''
    country:
      type: string
      description: '[ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)'
      examples:
        - 'NO'
      x-apidog-folder: ''
    id:
      type: integer
      description: Primary identifier of the record
      format: uint64
      readOnly: true
      examples:
        - 1
      x-apidog-folder: ''
    Place:
      type: object
      properties:
        id: *ref_0
        precision:
          type: string
          enum:
            - city
            - postcode
          x-apidog-enum:
            - value: city
              name: ''
              description: ''
            - value: postcode
              name: ''
              description: ''
        country: *ref_1
        postcode:
          type: string
          x-apidog-mock: '{{$location.zipCode}}'
          nullable: true
        city:
          type: string
          x-apidog-mock: '{{$location.city}}'
          nullable: true
        district:
          type: string
          x-apidog-mock: '{{$location.city}}'
          nullable: true
        state:
          type: string
          x-apidog-mock: '{{$location.state}}'
          nullable: true
        suburb:
          type: string
          x-apidog-mock: '{{$location.street}}'
          nullable: true
        county:
          type: string
          x-apidog-mock: '{{$location.county}}'
          nullable: true
        latitude:
          type: string
          x-apidog-mock: '{{$location.latitude}}'
        longitude:
          type: string
          x-apidog-mock: '{{$location.longitude}}'
        polygon:
          type: array
          items:
            type: array
            items:
              type: number
              x-apidog-mock: '{{$location.latitude}}'
            minItems: 2
            maxItems: 2
          nullable: true
        created_at: *ref_2
        updated_at: *ref_3
      x-apidog-orders:
        - id
        - precision
        - country
        - postcode
        - city
        - district
        - state
        - suburb
        - county
        - latitude
        - longitude
        - polygon
        - created_at
        - updated_at
      required:
        - id
        - precision
        - country
        - postcode
        - city
        - district
        - state
        - suburb
        - county
        - latitude
        - longitude
        - polygon
        - created_at
        - updated_at
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
  securitySchemes: {}
servers:
  - url: https://api.mpc.dev.placewise.com
    description: Staging
security: []

```