openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BAPI_SLS_IOA_TESTTYPE_LIST:
    post:
      tags:
      - SLSB
      summary: Read of Test types
      operationId: /rfc/BAPI_SLS_IOA_TESTTYPE_LIST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                P_ALLFLAG:
                  type: string
                  default: '0'
                  maxLength: 1
                  description: Location id
                P_LOCID:
                  type: integer
                  format: int64
                  description: Location id
                P_TTYPE:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      TTYID:
                        type: integer
                        format: int64
                        description: PAW test type ID
                      TTYSH:
                        type: string
                        maxLength: 12
                        description: PAW test type abbreviation
                      TTYTX:
                        type: string
                        maxLength: 40
                        description: Test type description
              required:
              - P_LOCID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  P_TTYPE:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        TTYID:
                          type: integer
                          format: int64
                          description: PAW test type ID
                        TTYSH:
                          type: string
                          maxLength: 12
                          description: PAW test type abbreviation
                        TTYTX:
                          type: string
                          maxLength: 40
                          description: Test type description
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
