openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MYO_COLLECT_ALL_MY_OBJECTS_WP:
    post:
      tags:
      - SMYO5
      operationId: /rfc/MYO_COLLECT_ALL_MY_OBJECTS_WP
      requestBody:
        content:
          application/json:
            schema:
              properties:
                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:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      USER_NAME:
                        type: string
                        maxLength: 12
                        description: User Name
                      GUID:
                        type: string
                        format: byte
                        description: Globally Unique Identifier
                      PARENT:
                        type: string
                        maxLength: 10
                        description: Name of Folder for My Objects (Key)
                      FOLDER:
                        type: string
                        maxLength: 10
                        description: Name of Folder for My Objects (Key)
                      FOLDERFLAG:
                        type: string
                        maxLength: 1
                        description: Flag
                      OBJKEY:
                        type: string
                        maxLength: 70
                        description: Object key
                      OBJTYPE:
                        type: string
                        maxLength: 10
                        description: Object Type
                      LOGSYS:
                        type: string
                        maxLength: 10
                        description: Logical system
                      POSI:
                        type: integer
                        format: int32
                        description: Position Within a Node
                      TEXT:
                        type: string
                        maxLength: 132
                        description: Description of Folder for My Objects
                      TIMESTAMP:
                        type: integer
                        format: int64
                        description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                      RFCDEST:
                        type: string
                        maxLength: 32
                        description: Logical Destination (Specified in Function Call)
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  MY_OBJECTS:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        USER_NAME:
                          type: string
                          maxLength: 12
                          description: User Name
                        GUID:
                          type: string
                          format: byte
                          description: Globally Unique Identifier
                        PARENT:
                          type: string
                          maxLength: 10
                          description: Name of Folder for My Objects (Key)
                        FOLDER:
                          type: string
                          maxLength: 10
                          description: Name of Folder for My Objects (Key)
                        FOLDERFLAG:
                          type: string
                          maxLength: 1
                          description: Flag
                        OBJKEY:
                          type: string
                          maxLength: 70
                          description: Object key
                        OBJTYPE:
                          type: string
                          maxLength: 10
                          description: Object Type
                        LOGSYS:
                          type: string
                          maxLength: 10
                          description: Logical system
                        POSI:
                          type: integer
                          format: int32
                          description: Position Within a Node
                        TEXT:
                          type: string
                          maxLength: 132
                          description: Description of Folder for My Objects
                        TIMESTAMP:
                          type: integer
                          format: int64
                          description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                        RFCDEST:
                          type: string
                          maxLength: 32
                          description: Logical Destination (Specified in Function Call)
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
