---
title: "UserContextInfo"
url: "https://developer.tesma.com/apis/logistics-api-26/versions/484d1e1b-3201-4f8b-800b-867280d5b6a4/schemas/UserContextInfo"
---

> Full API specification: https://developer.tesma.com/apis/logistics-api-26/versions/484d1e1b-3201-4f8b-800b-867280d5b6a4.md

# UserContextInfo

## OpenAPI definition

```yaml
openapi: 3.1.1
info:
  title: " API v1"
  version: 26.13.0.0
components:
  schemas:
    JobProfileAssignment:
      properties:
        company:
          $ref: "#/components/schemas/Company"
        isDefault:
          type: boolean
        jobProfile:
          $ref: "#/components/schemas/JobProfile"
      type: object
    Company:
      properties:
        _changedProperties:
          type:
            - "null"
            - object
        _changedPropertyNames:
          items:
            type: string
          type:
            - "null"
            - array
        _internalReferenceID:
          type:
            - "null"
            - string
        active:
          type: boolean
        additionalProperties:
          type:
            - "null"
            - object
        addressCompany:
          format: int16
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - integer
            - string
        country:
          format: int32
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - integer
            - string
        dataState:
          $ref: "#/components/schemas/BusinessObjectState"
        documentCompany:
          format: int16
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - integer
            - string
        leaseCompany:
          format: int16
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - integer
            - string
        localCurrency:
          type:
            - "null"
            - string
        maintenanceMode:
          type:
            - "null"
            - boolean
        name:
          type:
            - "null"
            - string
        sapCompanyCode:
          type:
            - "null"
            - string
        stockCompany:
          format: int16
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - integer
            - string
      type: object
    JobProfile:
      properties:
        description:
          type:
            - "null"
            - string
        id:
          format: int32
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - integer
            - string
        name:
          type:
            - "null"
            - string
      type: object
    BusinessObjectState:
      type: integer
    UserContextInfo:
      properties:
        assignments:
          items:
            $ref: "#/components/schemas/JobProfileAssignment"
          type:
            - "null"
            - array
        email:
          type:
            - "null"
            - string
        userId:
          format: int32
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - integer
            - string
        userName:
          type:
            - "null"
            - string
      type: object
```
