openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SGOS_HISTORY_COLLECT_SYSTEMS:
    post:
      tags:
      - SGOSHIST
      operationId: /rfc/SGOS_HISTORY_COLLECT_SYSTEMS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                UNAME:
                  type: string
                  default: SY-UNAME
                  maxLength: 12
                  description: SAP System, User Logon Name
                OBJECTS:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJKEY:
                        type: string
                        maxLength: 70
                        description: Object key
                      OBJTYPE:
                        type: string
                        maxLength: 10
                        description: Object Type
                      LOGSYS:
                        type: string
                        maxLength: 10
                        description: Logical system
                      TIMESTAMP:
                        type: integer
                        format: int64
                        description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                      OBJTYPEDES:
                        type: string
                        maxLength: 20
                        description: Name
                      ATTRIBUTE:
                        type: string
                        maxLength: 255
                        description: Character value
                      TCODE:
                        type: string
                        maxLength: 20
                        description: Current Transaction Code
                      URL:
                        type: string
                        maxLength: 2048
                        description: URL for a service
                      TIMESTAMPS:
                        type: string
                        maxLength: 16
                        description: Formatted Time Stamp
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  OBJECTS:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJKEY:
                          type: string
                          maxLength: 70
                          description: Object key
                        OBJTYPE:
                          type: string
                          maxLength: 10
                          description: Object Type
                        LOGSYS:
                          type: string
                          maxLength: 10
                          description: Logical system
                        TIMESTAMP:
                          type: integer
                          format: int64
                          description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                        OBJTYPEDES:
                          type: string
                          maxLength: 20
                          description: Name
                        ATTRIBUTE:
                          type: string
                          maxLength: 255
                          description: Character value
                        TCODE:
                          type: string
                          maxLength: 20
                          description: Current Transaction Code
                        URL:
                          type: string
                          maxLength: 2048
                          description: URL for a service
                        TIMESTAMPS:
                          type: string
                          maxLength: 16
                          description: Formatted Time Stamp
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
