openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/LXE_PC1_GET_TRANS_LANGS:
    post:
      tags:
      - LXE_PC1
      operationId: /rfc/LXE_PC1_GET_TRANS_LANGS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CUSTMNR:
                  type: string
                  maxLength: 6
                  description: Customer Number
                OBJNAME:
                  type: string
                  maxLength: 70
                  description: Name of Translation Object
                LT_LANGUAGE:
                  type: array
                  items:
                    type: object
                    properties:
                      LANGUAGE:
                        type: string
                        maxLength: 4
                        description: ISO Language ID
                      LAISO:
                        type: string
                        maxLength: 2
                        description: Language according to ISO 639
              required:
              - CUSTMNR
              - OBJNAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ORIG_LANG:
                    type: string
                    maxLength: 4
                    description: ISO Language ID
                  STATPRC:
                    type: string
                    maxLength: 1
                    description: Process Status
                  LT_LANGUAGE:
                    type: array
                    items:
                      type: object
                      properties:
                        LANGUAGE:
                          type: string
                          maxLength: 4
                          description: ISO Language ID
                        LAISO:
                          type: string
                          maxLength: 2
                          description: Language according to ISO 639
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
