openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSSDK_DATA_ASYN_RECEIVED:
    post:
      tags:
      - RSSDK
      operationId: /rfc/RSSDK_DATA_ASYN_RECEIVED
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_S_HEADER:
                  type: object
                  properties:
                    REQUNR:
                      type: string
                      maxLength: 30
                      description: Request number for the data transfer
                    REQOBJTYPE:
                      type: string
                      maxLength: 1
                      description: 'Type of requested data  enumValues: T=Master data text (language dependent description),D=Transaction data,M=Master data attributes,H=Hierachies'
                      enum:
                      - T
                      - D
                      - M
                      - H
                    IOBJECT:
                      type: string
                      maxLength: 30
                      description: Object of the data import (InfoSource / InfoObject)
                    REQDATE:
                      type: string
                      format: date
                      description: Date on which the data was requested (UTC)
                    REQTIME:
                      type: string
                      maxLength: 6
                      description: Time at which the data was requested (UTC)
                    REQUSER:
                      type: string
                      maxLength: 12
                      description: User Name
                    DATAPAKID:
                      type: integer
                      format: int64
                      description: Data packet number
                    LOGSYS:
                      type: string
                      maxLength: 10
                      description: Source system
                    SELDATE:
                      type: string
                      format: date
                      description: Date upon which the data was selected (UTC)
                    SELTIME:
                      type: string
                      maxLength: 6
                      description: Time at which the data was selected (UTC)
                I_T_DATA:
                  type: array
                  items:
                    type: object
                    properties:
                      SEGNAM:
                        type: string
                        maxLength: 27
                        description: Segment type
                      SEQUELFLAG:
                        type: string
                        maxLength: 1
                        description: 'Flag: Update segment  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      LENGTH:
                        type: integer
                        format: int32
                        description: Length field for VARC field
                      DATA:
                        type: string
                        maxLength: 1000
                        description: Application data
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key
                I_T_MSG:
                  type: array
                  items:
                    type: object
                    properties:
                      MSGID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      MSGNO:
                        type: integer
                        format: int64
                        description: Message Number
                      MSGTY:
                        type: string
                        maxLength: 1
                        description: Message Type
                      MSGV1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV4:
                        type: string
                        maxLength: 50
                        description: Message Variable
              required:
              - I_S_HEADER
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  I_T_DATA:
                    type: array
                    items:
                      type: object
                      properties:
                        SEGNAM:
                          type: string
                          maxLength: 27
                          description: Segment type
                        SEQUELFLAG:
                          type: string
                          maxLength: 1
                          description: 'Flag: Update segment  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        LENGTH:
                          type: integer
                          format: int32
                          description: Length field for VARC field
                        DATA:
                          type: string
                          maxLength: 1000
                          description: Application data
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key
                  I_T_MSG:
                    type: array
                    items:
                      type: object
                      properties:
                        MSGID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        MSGNO:
                          type: integer
                          format: int64
                          description: Message Number
                        MSGTY:
                          type: string
                          maxLength: 1
                          description: Message Type
                        MSGV1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV4:
                          type: string
                          maxLength: 50
                          description: Message Variable
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
