openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SLS_CUST_GET_LOCATION_LIST:
    post:
      tags:
      - SLS8
      summary: Read locations of Learningscape
      operationId: /rfc/SLS_CUST_GET_LOCATION_LIST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                P_PLVAR:
                  type: string
                  maxLength: 2
                P_LOC:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      LOCID:
                        type: integer
                        format: int64
                        description: Location identification from HR (PAW)
                      LOCSH:
                        type: string
                        maxLength: 12
                        description: PAW - Location short description
                      LOCTX:
                        type: string
                        maxLength: 40
                        description: PAW  - Description of event location
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  P_LOC:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        LOCID:
                          type: integer
                          format: int64
                          description: Location identification from HR (PAW)
                        LOCSH:
                          type: string
                          maxLength: 12
                          description: PAW - Location short description
                        LOCTX:
                          type: string
                          maxLength: 40
                          description: PAW  - Description of event location
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
