openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MYO_COLLECT_MY_OBJECTS_WP:
    post:
      tags:
      - SMYO5
      operationId: /rfc/MYO_COLLECT_MY_OBJECTS_WP
      requestBody:
        content:
          application/json:
            schema:
              properties:
                FILTER_NODE:
                  type: string
                  default: ' '
                  maxLength: 10
                FILTER_OBJTYPE:
                  type: string
                  default: ' '
                  maxLength: 10
                MAX_COUNT:
                  type: integer
                  format: int32
                  default: 0
                  description: Natural Number
                UNAME:
                  type: string
                  default: SY-UNAME
                  maxLength: 12
                  description: User Name
                WFCLASS:
                  type: string
                  default: MO
                  maxLength: 2
                  description: Class in Workflow Inbox
                MY_OBJECTS:
                  type: array
                  items:
                    type: object
                    properties:
                      PARENT:
                        type: string
                        maxLength: 10
                        description: Name of Folder for My Objects (Key)
                      OBJKEY:
                        type: string
                        maxLength: 70
                        description: Object key
                      OBJTYPE:
                        type: string
                        maxLength: 10
                        description: Object Type
                      LOGSYS:
                        type: string
                        maxLength: 10
                        description: Logical system
                      TEXT:
                        type: string
                        maxLength: 132
                        description: Description of Folder for My Objects
                      POSI:
                        type: integer
                        format: int32
                        description: Position Within a Node
                      TIMESTAMP:
                        type: integer
                        format: int64
                        description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  OBJ_COUNT:
                    type: integer
                    format: int32
                    description: Natural Number
                  MY_OBJECTS:
                    type: array
                    items:
                      type: object
                      properties:
                        PARENT:
                          type: string
                          maxLength: 10
                          description: Name of Folder for My Objects (Key)
                        OBJKEY:
                          type: string
                          maxLength: 70
                          description: Object key
                        OBJTYPE:
                          type: string
                          maxLength: 10
                          description: Object Type
                        LOGSYS:
                          type: string
                          maxLength: 10
                          description: Logical system
                        TEXT:
                          type: string
                          maxLength: 132
                          description: Description of Folder for My Objects
                        POSI:
                          type: integer
                          format: int32
                          description: Position Within a Node
                        TIMESTAMP:
                          type: integer
                          format: int64
                          description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
