openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/WP_LANGUAGE_DEFAULTS_GET:
    post:
      tags:
      - WP_PERS
      summary: Defines the languages set
      operationId: /rfc/WP_LANGUAGE_DEFAULTS_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                LANGUAGE:
                  type: string
                  default: ' '
                  maxLength: 2
                  description: Language ID (ISO Standard)
                USER_NAME:
                  type: string
                  maxLength: 12
                  description: Workplace User, R/3 Logon Name
                LANGUAGE_SETTINGS:
                  type: array
                  items:
                    type: object
                    properties:
                      TARGET_SYS:
                        type: string
                        maxLength: 10
                        description: Logical system
                      LANGUAGE:
                        type: string
                        maxLength: 1
                        description: Logon Language for the Component System
                      SYS_TEXT:
                        type: string
                        maxLength: 40
                        description: Text, 40 Characters Long
                      WORKPLACE:
                        type: string
                        maxLength: 1
                        description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                      LANG_TEXT:
                        type: string
                        maxLength: 16
                        description: Language
                      USER_DFLT:
                        type: string
                        maxLength: 1
                        description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                      ISO_LANG:
                        type: string
                        maxLength: 2
                        description: Language ID (ISO Standard)
              required:
              - USER_NAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  LANGUAGE_SETTINGS:
                    type: array
                    items:
                      type: object
                      properties:
                        TARGET_SYS:
                          type: string
                          maxLength: 10
                          description: Logical system
                        LANGUAGE:
                          type: string
                          maxLength: 1
                          description: Logon Language for the Component System
                        SYS_TEXT:
                          type: string
                          maxLength: 40
                          description: Text, 40 Characters Long
                        WORKPLACE:
                          type: string
                          maxLength: 1
                          description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
                        LANG_TEXT:
                          type: string
                          maxLength: 16
                          description: Language
                        USER_DFLT:
                          type: string
                          maxLength: 1
                          description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
                        ISO_LANG:
                          type: string
                          maxLength: 2
                          description: Language ID (ISO Standard)
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
