openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BAPI_SLS_TST_CHECK_EXISTANCE:
    post:
      tags:
      - SLSB
      summary: Check Existance (Test, Subtest, Performance Unit, Item)
      operationId: /rfc/BAPI_SLS_TST_CHECK_EXISTANCE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                P_EVID:
                  type: integer
                  format: int64
                P_NO_TEM:
                  type: string
                  maxLength: 1
                  description: PAW - Event  either from TEM or not
                P_CHECKT:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      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
                      PCLASS:
                        type: string
                        maxLength: 10
                        description: Logical info object class name from Knowledge Warehouse
                      PGUID:
                        type: string
                        maxLength: 32
                        description: PHIO unique info object key in Knowledge Warehouse
                      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'
                      VAR4:
                        type: string
                        maxLength: 2
                        description: Language according to ISO 639
                      CTYPE:
                        type: string
                        maxLength: 2
                        description: 'PAW - Checktype  enumValues: 4=Item,7=Info Object Assignment,11=Essay Results,1=Test,2=Subtest,9=Log,5=Event,10=Text,3=Performance Unit,8=Pet (Person Event TEST),6=Test Type'
                        enum:
                        - '4'
                        - '7'
                        - '11'
                        - '1'
                        - '2'
                        - '9'
                        - '5'
                        - '10'
                        - '3'
                        - '8'
                        - '6'
                      TCHECK:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
              required:
              - P_EVID
              - P_NO_TEM
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RETURN:
                    type: object
                    properties:
                      TYPE:
                        type: string
                        maxLength: 1
                        description: 'Message type: S Success, E Error, W Warning, I Info, A Abort'
                      ID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      NUMBER:
                        type: integer
                        format: int64
                        description: Message Number
                      MESSAGE:
                        type: string
                        maxLength: 220
                        description: Message Text
                      LOG_NO:
                        type: string
                        maxLength: 20
                        description: 'Application log: log number'
                      LOG_MSG_NO:
                        type: integer
                        format: int64
                        description: 'Application log: Internal message serial number'
                      MESSAGE_V1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                  P_CHECKT:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        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
                        PCLASS:
                          type: string
                          maxLength: 10
                          description: Logical info object class name from Knowledge Warehouse
                        PGUID:
                          type: string
                          maxLength: 32
                          description: PHIO unique info object key in Knowledge Warehouse
                        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'
                        VAR4:
                          type: string
                          maxLength: 2
                          description: Language according to ISO 639
                        CTYPE:
                          type: string
                          maxLength: 2
                          description: 'PAW - Checktype  enumValues: 4=Item,7=Info Object Assignment,11=Essay Results,1=Test,2=Subtest,9=Log,5=Event,10=Text,3=Performance Unit,8=Pet (Person Event TEST),6=Test Type'
                          enum:
                          - '4'
                          - '7'
                          - '11'
                          - '1'
                          - '2'
                          - '9'
                          - '5'
                          - '10'
                          - '3'
                          - '8'
                          - '6'
                        TCHECK:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
