openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SLS_GET_IOASSIGN_LIST:
    post:
      tags:
      - SLS3
      summary: Read Info Object Assignments from a location
      operationId: /rfc/SLS_GET_IOASSIGN_LIST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                P_LOCID:
                  type: integer
                  format: int64
                  description: Location id
                P_IOASGN:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      ASGNID:
                        type: integer
                        format: int64
                        description: PAW - Assignment identification
                      TTYID:
                        type: integer
                        format: int64
                        description: PAW test type ID
                      LOCID:
                        type: integer
                        format: int64
                        description: PAW - Business event location
                      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: 2
                        description: Language according to ISO 639
                      BEGDA:
                        type: string
                        format: date
                        description: Start Date
                      ENDDA:
                        type: string
                        format: date
                        description: End Date
                      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'
                      CVERS:
                        type: string
                        maxLength: 25
                        description: PAW - Info object content version
              required:
              - P_LOCID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  P_IOASGN:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        ASGNID:
                          type: integer
                          format: int64
                          description: PAW - Assignment identification
                        TTYID:
                          type: integer
                          format: int64
                          description: PAW test type ID
                        LOCID:
                          type: integer
                          format: int64
                          description: PAW - Business event location
                        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: 2
                          description: Language according to ISO 639
                        BEGDA:
                          type: string
                          format: date
                          description: Start Date
                        ENDDA:
                          type: string
                          format: date
                          description: End Date
                        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'
                        CVERS:
                          type: string
                          maxLength: 25
                          description: PAW - Info object content version
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
