openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SLS_IOA_GET_TEST_CATALOG:
    post:
      tags:
      - SLS3
      summary: Read locations of Learningscape
      operationId: /rfc/SLS_IOA_GET_TEST_CATALOG
      requestBody:
        content:
          application/json:
            schema:
              properties:
                P_PLVAR:
                  type: string
                  maxLength: 2
                P_LOCCAT:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      PLVAR:
                        type: string
                        maxLength: 2
                        description: Plan Version
                      LOCID:
                        type: integer
                        format: int64
                        description: Location identification from HR (PAW)
                      TTYID:
                        type: integer
                        format: int64
                        description: PAW test type ID
                      CLASS:
                        type: string
                        maxLength: 10
                        description: Logical info object class name from Knowledge Warehouse
                      GUID:
                        type: string
                        maxLength: 32
                        description: LOIO unique info object key in Knowledge Warehouse
                      VAR4:
                        type: string
                        maxLength: 1
                        description: 'Info object context variant 4: language'
                      BEGDA:
                        type: string
                        format: date
                        description: Start Date
                      ENDDA:
                        type: string
                        format: date
                        description: End Date
                      LOCSH:
                        type: string
                        maxLength: 12
                        description: PAW - Location short description
                      TTYSH:
                        type: string
                        maxLength: 12
                        description: PAW test type abbreviation
                      VAR1:
                        type: string
                        maxLength: 10
                        description: 'Info object context variant 1: enhancement'
                      VAR2:
                        type: string
                        maxLength: 12
                        description: 'Info object context variant 2: release'
                      VAR3:
                        type: string
                        maxLength: 3
                        description: 'Info object context variant 3: country'
                      VALUE:
                        type: string
                        maxLength: 64
                        description: PAW - Info object title
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  P_LOCCAT:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        PLVAR:
                          type: string
                          maxLength: 2
                          description: Plan Version
                        LOCID:
                          type: integer
                          format: int64
                          description: Location identification from HR (PAW)
                        TTYID:
                          type: integer
                          format: int64
                          description: PAW test type ID
                        CLASS:
                          type: string
                          maxLength: 10
                          description: Logical info object class name from Knowledge Warehouse
                        GUID:
                          type: string
                          maxLength: 32
                          description: LOIO unique info object key in Knowledge Warehouse
                        VAR4:
                          type: string
                          maxLength: 1
                          description: 'Info object context variant 4: language'
                        BEGDA:
                          type: string
                          format: date
                          description: Start Date
                        ENDDA:
                          type: string
                          format: date
                          description: End Date
                        LOCSH:
                          type: string
                          maxLength: 12
                          description: PAW - Location short description
                        TTYSH:
                          type: string
                          maxLength: 12
                          description: PAW test type abbreviation
                        VAR1:
                          type: string
                          maxLength: 10
                          description: 'Info object context variant 1: enhancement'
                        VAR2:
                          type: string
                          maxLength: 12
                          description: 'Info object context variant 2: release'
                        VAR3:
                          type: string
                          maxLength: 3
                          description: 'Info object context variant 3: country'
                        VALUE:
                          type: string
                          maxLength: 64
                          description: PAW - Info object title
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
