openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BAPI_SLS_AEI_SET_EVENT_TEST:
    post:
      tags:
      - SLSB
      summary: Insert (SLS_EVENT, SLS_XET)
      operationId: /rfc/BAPI_SLS_AEI_SET_EVENT_TEST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                P_EVID:
                  type: integer
                  format: int64
                  description: PAW - Event ID
                P_NO_TEM:
                  type: string
                  maxLength: 1
                  description: PAW - Event  either from TEM or not
                P_EVTE:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      PLVAR:
                        type: string
                        maxLength: 2
                        description: Plan Version
                      EVID:
                        type: integer
                        format: int64
                        description: Event identification (PAW)
                      EGRID:
                        type: integer
                        format: int64
                        description: PAW -  Event Group ID
                      ETYID:
                        type: integer
                        format: int64
                        description: Event type ID (PAW)
                      EVSHT:
                        type: string
                        maxLength: 12
                        description: Event name (PAW)
                      EVSTX:
                        type: string
                        maxLength: 40
                        description: Event description (PAW)
                      EVBEG:
                        type: string
                        format: date
                        description: Start Date
                      EVEND:
                        type: string
                        format: date
                        description: End Date
                      LOCID:
                        type: integer
                        format: int64
                        description: Location identification from HR (PAW)
                      EVLOC:
                        type: string
                        maxLength: 12
                        description: Event location name (PAW)
                      TLIGHT:
                        type: string
                        maxLength: 1
                        description: 'PAW event signal  enumValues: 1=red,3=green,2=yellow'
                        enum:
                        - '1'
                        - '3'
                        - '2'
                      COEXPT:
                        type: string
                        maxLength: 1
                        description: 'Cut-off exception (PAW)  enumValues: 0=Not Reached,1=Reached'
                        enum:
                        - '0'
                        - '1'
                      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: Physical info object class in 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
                      TTYID:
                        type: integer
                        format: int64
                        description: PAW test type ID
                      TLIGHTX:
                        type: string
                        maxLength: 1
                        description: 'PAW event signal  enumValues: 1=red,3=green,2=yellow'
                        enum:
                        - '1'
                        - '3'
                        - '2'
                      COEXPTX:
                        type: string
                        maxLength: 1
                        description: 'Cut-off exception (PAW)  enumValues: 0=Not Reached,1=Reached'
                        enum:
                        - '0'
                        - '1'
                      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'
                      SAVEOK:
                        type: integer
                        format: int64
                        description: 'Boolean method (PAW)  enumValues: 0=No,1=Yes'
                        enum:
                        - '0'
                        - '1'
                      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
                        - ''
              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_EVTE:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        PLVAR:
                          type: string
                          maxLength: 2
                          description: Plan Version
                        EVID:
                          type: integer
                          format: int64
                          description: Event identification (PAW)
                        EGRID:
                          type: integer
                          format: int64
                          description: PAW -  Event Group ID
                        ETYID:
                          type: integer
                          format: int64
                          description: Event type ID (PAW)
                        EVSHT:
                          type: string
                          maxLength: 12
                          description: Event name (PAW)
                        EVSTX:
                          type: string
                          maxLength: 40
                          description: Event description (PAW)
                        EVBEG:
                          type: string
                          format: date
                          description: Start Date
                        EVEND:
                          type: string
                          format: date
                          description: End Date
                        LOCID:
                          type: integer
                          format: int64
                          description: Location identification from HR (PAW)
                        EVLOC:
                          type: string
                          maxLength: 12
                          description: Event location name (PAW)
                        TLIGHT:
                          type: string
                          maxLength: 1
                          description: 'PAW event signal  enumValues: 1=red,3=green,2=yellow'
                          enum:
                          - '1'
                          - '3'
                          - '2'
                        COEXPT:
                          type: string
                          maxLength: 1
                          description: 'Cut-off exception (PAW)  enumValues: 0=Not Reached,1=Reached'
                          enum:
                          - '0'
                          - '1'
                        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: Physical info object class in 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
                        TTYID:
                          type: integer
                          format: int64
                          description: PAW test type ID
                        TLIGHTX:
                          type: string
                          maxLength: 1
                          description: 'PAW event signal  enumValues: 1=red,3=green,2=yellow'
                          enum:
                          - '1'
                          - '3'
                          - '2'
                        COEXPTX:
                          type: string
                          maxLength: 1
                          description: 'Cut-off exception (PAW)  enumValues: 0=Not Reached,1=Reached'
                          enum:
                          - '0'
                          - '1'
                        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'
                        SAVEOK:
                          type: integer
                          format: int64
                          description: 'Boolean method (PAW)  enumValues: 0=No,1=Yes'
                          enum:
                          - '0'
                          - '1'
                        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
                          - ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
