openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BAPI_KW_KEP_STATUS_GET:
    post:
      tags:
      - SKEP
      summary: KEP Determine KEPlicator Status for Course
      operationId: /rfc/BAPI_KW_KEP_STATUS_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CONTEXT:
                  type: array
                  items:
                    type: object
                    properties:
                      HR_KEY:
                        type: string
                        maxLength: 12
                        description: Key of course in the HR system
                      LOG_DEST:
                        type: string
                        maxLength: 70
                        description: 'KEPlicator: Logical Destination (PC Equi No.)'
                      NAME:
                        type: string
                        maxLength: 25
                        description: Attribute of a document or a relationship
                      VALUE:
                        type: string
                        maxLength: 64
                        description: Attribute Value
                COURSE:
                  type: array
                  items:
                    type: object
                    properties:
                      HR_KEY:
                        type: string
                        maxLength: 12
                        description: Key of course in the HR system
                      LOG_DEST:
                        type: string
                        maxLength: 70
                        description: 'KEPlicator: Logical Destination (PC Equi No.)'
                      COURSE:
                        type: string
                        maxLength: 40
                        description: Technical name of an information object
                      BEGIN_DATE:
                        type: string
                        format: date
                        description: Date data element for SYST
                      BEGIN_TIME:
                        type: string
                        maxLength: 6
                        description: TIME Data Element for SYST
                      END_DATE:
                        type: string
                        format: date
                        description: Date data element for SYST
                      END_TIME:
                        type: string
                        maxLength: 6
                        description: TIME Data Element for SYST
                      TIME_ZONE:
                        type: string
                        maxLength: 6
                        description: Time Zone
                      OPERATION:
                        type: string
                        maxLength: 2
                        description: Version Number Component
                      LOCATION:
                        type: string
                        maxLength: 40
                        description: Object Name
                      BUILDING:
                        type: string
                        maxLength: 8
                        description: Building
                      ROOM:
                        type: string
                        maxLength: 8
                        description: Physical Room Number
                STATUS:
                  type: array
                  items:
                    type: object
                    properties:
                      HR_KEY:
                        type: string
                        maxLength: 12
                        description: Key of course in the HR system
                      LOG_DEST:
                        type: string
                        maxLength: 70
                        description: 'KEPlicator: Logical Destination (PC Equi No.)'
                      MSG_TYPE:
                        type: string
                        maxLength: 1
                        description: 'Message type: S Success, E Error, W Warning, I Info, A Abort'
                      MSG_ID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      MSG_NO:
                        type: integer
                        format: int64
                        description: Message Number
                      MSG_TEXT:
                        type: string
                        maxLength: 70
                        description: Character field, length 70
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CONTEXT:
                    type: array
                    items:
                      type: object
                      properties:
                        HR_KEY:
                          type: string
                          maxLength: 12
                          description: Key of course in the HR system
                        LOG_DEST:
                          type: string
                          maxLength: 70
                          description: 'KEPlicator: Logical Destination (PC Equi No.)'
                        NAME:
                          type: string
                          maxLength: 25
                          description: Attribute of a document or a relationship
                        VALUE:
                          type: string
                          maxLength: 64
                          description: Attribute Value
                  COURSE:
                    type: array
                    items:
                      type: object
                      properties:
                        HR_KEY:
                          type: string
                          maxLength: 12
                          description: Key of course in the HR system
                        LOG_DEST:
                          type: string
                          maxLength: 70
                          description: 'KEPlicator: Logical Destination (PC Equi No.)'
                        COURSE:
                          type: string
                          maxLength: 40
                          description: Technical name of an information object
                        BEGIN_DATE:
                          type: string
                          format: date
                          description: Date data element for SYST
                        BEGIN_TIME:
                          type: string
                          maxLength: 6
                          description: TIME Data Element for SYST
                        END_DATE:
                          type: string
                          format: date
                          description: Date data element for SYST
                        END_TIME:
                          type: string
                          maxLength: 6
                          description: TIME Data Element for SYST
                        TIME_ZONE:
                          type: string
                          maxLength: 6
                          description: Time Zone
                        OPERATION:
                          type: string
                          maxLength: 2
                          description: Version Number Component
                        LOCATION:
                          type: string
                          maxLength: 40
                          description: Object Name
                        BUILDING:
                          type: string
                          maxLength: 8
                          description: Building
                        ROOM:
                          type: string
                          maxLength: 8
                          description: Physical Room Number
                  STATUS:
                    type: array
                    items:
                      type: object
                      properties:
                        HR_KEY:
                          type: string
                          maxLength: 12
                          description: Key of course in the HR system
                        LOG_DEST:
                          type: string
                          maxLength: 70
                          description: 'KEPlicator: Logical Destination (PC Equi No.)'
                        MSG_TYPE:
                          type: string
                          maxLength: 1
                          description: 'Message type: S Success, E Error, W Warning, I Info, A Abort'
                        MSG_ID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        MSG_NO:
                          type: integer
                          format: int64
                          description: Message Number
                        MSG_TEXT:
                          type: string
                          maxLength: 70
                          description: Character field, length 70
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
