openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SLS_AEI_GET_PET_BY_EVID_TESTID:
    post:
      tags:
      - SLS5
      summary: 'Reading table SLS_PET with key:  Event-ID & Test-ID'
      operationId: /rfc/SLS_AEI_GET_PET_BY_EVID_TESTID
      requestBody:
        content:
          application/json:
            schema:
              properties:
                P_NO_TEM:
                  type: string
                  maxLength: 1
                  description: PAW - Event  either from TEM or not
                P_PLVAR:
                  type: string
                  maxLength: 2
                P_PET:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      PETID:
                        type: integer
                        format: int64
                        description: PAW identifier
                      PATYP:
                        type: string
                        maxLength: 2
                        description: Participant type (PAW)
                      PARID:
                        type: string
                        maxLength: 45
                        description: Participant ID
                      PLVAR:
                        type: string
                        maxLength: 2
                        description: Plan Version
                      EVEID:
                        type: integer
                        format: int64
                        description: PAW - Business event
                      NO_TEM:
                        type: string
                        maxLength: 1
                        description: 'PAW - Event  either from TEM or not  enumValues: X=Yes (Event does not exist in TEM),""=No (Event exist in TEM)'
                        enum:
                        - X
                        - ''
                      TESTID:
                        type: integer
                        format: int64
                        description: PAW identifier
                      TFORM:
                        type: string
                        maxLength: 2
                        description: PAW - Testform
                      TTYID:
                        type: integer
                        format: int64
                        description: PAW test type ID
                      TLIGHT:
                        type: string
                        maxLength: 1
                        description: 'PAW - Participant Level - Status Signal  enumValues: 1=red,3=green,2=yellow'
                        enum:
                        - '1'
                        - '3'
                        - '2'
                      NBOOK:
                        type: string
                        maxLength: 1
                        description: 'PAW - ''No Booking''  Flag - as checkbox (''X'' = yes)  enumValues: ""=no,X=yes'
                        enum:
                        - ''
                        - X
                      RESID:
                        type: string
                        maxLength: 15
                        description: PAW - Reserve Id
                      REFLAG:
                        type: string
                        maxLength: 1
                        description: PAW - Reserve Flag (Unknown Person)
                      REFIRS:
                        type: string
                        maxLength: 25
                        description: PAW - Reserve First Name
                      RELAST:
                        type: string
                        maxLength: 25
                        description: PAW - Reserve Family Name
                      POSTED:
                        type: string
                        maxLength: 1
                        description: PAW - Post Edit for Free Text or Essay
                      ERROR:
                        type: string
                        maxLength: 1
                        description: 'PAW - ''Error''  Flag - as checkbox (''X'' = yes)  enumValues: ""=no,X=yes'
                        enum:
                        - ''
                        - X
                      DELET:
                        type: string
                        maxLength: 1
                        description: 'PAW - ''Deleted''  Flag - as checkbox (''X'' = yes)  enumValues: ""=no,X=yes'
                        enum:
                        - ''
                        - X
                      IMPORT:
                        type: string
                        maxLength: 1
                        description: 'PAW - Import Flag  enumValues: 1=Automated,2=Manual'
                        enum:
                        - '1'
                        - '2'
                      UTIME:
                        type: string
                        maxLength: 6
                        description: Time
                      RFLAG:
                        type: string
                        maxLength: 1
                        description: 'PAW - ''Read Permitted''  Flag - as checkbox (''X'' = yes,  '''' =  enumValues: ""=no,X=yes'
                        enum:
                        - ''
                        - X
                      TPORT:
                        type: string
                        maxLength: 1
                        description: 'PAW - ''Transfered to HR''  Flag - as checkbox (''X'' = yes)  enumValues: ""=no,X=yes'
                        enum:
                        - ''
                        - X
                      CFLAG:
                        type: string
                        maxLength: 1
                        description: 'PAW - ''Manually Changed''  Flag - as checkbox (''X'' = yes)  enumValues: ""=no,X=yes'
                        enum:
                        - ''
                        - X
                      TDATE:
                        type: string
                        format: date
                        description: PAW - Test execution date
                      STARTTIME:
                        type: string
                        maxLength: 6
                        description: PAW - Test starting time
                P_PET_KEY:
                  type: array
                  items:
                    type: object
                    properties:
                      EVENT_ID:
                        type: integer
                        format: int64
                        description: PAW - Object ID (referencing TEM Object IDs)
                      TEST_ID:
                        type: integer
                        format: int64
                        description: PAW identifier
              required:
              - P_NO_TEM
              - P_PLVAR
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  P_PET:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        PETID:
                          type: integer
                          format: int64
                          description: PAW identifier
                        PATYP:
                          type: string
                          maxLength: 2
                          description: Participant type (PAW)
                        PARID:
                          type: string
                          maxLength: 45
                          description: Participant ID
                        PLVAR:
                          type: string
                          maxLength: 2
                          description: Plan Version
                        EVEID:
                          type: integer
                          format: int64
                          description: PAW - Business event
                        NO_TEM:
                          type: string
                          maxLength: 1
                          description: 'PAW - Event  either from TEM or not  enumValues: X=Yes (Event does not exist in TEM),""=No (Event exist in TEM)'
                          enum:
                          - X
                          - ''
                        TESTID:
                          type: integer
                          format: int64
                          description: PAW identifier
                        TFORM:
                          type: string
                          maxLength: 2
                          description: PAW - Testform
                        TTYID:
                          type: integer
                          format: int64
                          description: PAW test type ID
                        TLIGHT:
                          type: string
                          maxLength: 1
                          description: 'PAW - Participant Level - Status Signal  enumValues: 1=red,3=green,2=yellow'
                          enum:
                          - '1'
                          - '3'
                          - '2'
                        NBOOK:
                          type: string
                          maxLength: 1
                          description: 'PAW - ''No Booking''  Flag - as checkbox (''X'' = yes)  enumValues: ""=no,X=yes'
                          enum:
                          - ''
                          - X
                        RESID:
                          type: string
                          maxLength: 15
                          description: PAW - Reserve Id
                        REFLAG:
                          type: string
                          maxLength: 1
                          description: PAW - Reserve Flag (Unknown Person)
                        REFIRS:
                          type: string
                          maxLength: 25
                          description: PAW - Reserve First Name
                        RELAST:
                          type: string
                          maxLength: 25
                          description: PAW - Reserve Family Name
                        POSTED:
                          type: string
                          maxLength: 1
                          description: PAW - Post Edit for Free Text or Essay
                        ERROR:
                          type: string
                          maxLength: 1
                          description: 'PAW - ''Error''  Flag - as checkbox (''X'' = yes)  enumValues: ""=no,X=yes'
                          enum:
                          - ''
                          - X
                        DELET:
                          type: string
                          maxLength: 1
                          description: 'PAW - ''Deleted''  Flag - as checkbox (''X'' = yes)  enumValues: ""=no,X=yes'
                          enum:
                          - ''
                          - X
                        IMPORT:
                          type: string
                          maxLength: 1
                          description: 'PAW - Import Flag  enumValues: 1=Automated,2=Manual'
                          enum:
                          - '1'
                          - '2'
                        UTIME:
                          type: string
                          maxLength: 6
                          description: Time
                        RFLAG:
                          type: string
                          maxLength: 1
                          description: 'PAW - ''Read Permitted''  Flag - as checkbox (''X'' = yes,  '''' =  enumValues: ""=no,X=yes'
                          enum:
                          - ''
                          - X
                        TPORT:
                          type: string
                          maxLength: 1
                          description: 'PAW - ''Transfered to HR''  Flag - as checkbox (''X'' = yes)  enumValues: ""=no,X=yes'
                          enum:
                          - ''
                          - X
                        CFLAG:
                          type: string
                          maxLength: 1
                          description: 'PAW - ''Manually Changed''  Flag - as checkbox (''X'' = yes)  enumValues: ""=no,X=yes'
                          enum:
                          - ''
                          - X
                        TDATE:
                          type: string
                          format: date
                          description: PAW - Test execution date
                        STARTTIME:
                          type: string
                          maxLength: 6
                          description: PAW - Test starting time
                  P_PET_KEY:
                    type: array
                    items:
                      type: object
                      properties:
                        EVENT_ID:
                          type: integer
                          format: int64
                          description: PAW - Object ID (referencing TEM Object IDs)
                        TEST_ID:
                          type: integer
                          format: int64
                          description: PAW identifier
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
