openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/STREE_FAVORITES_GET:
    post:
      tags:
      - SHI5
      summary: Read favorites list for structure maintenance
      operationId: /rfc/STREE_FAVORITES_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                FAVORITES_TYPE:
                  type: string
                  default: ' '
                  maxLength: 1
                UNAME:
                  type: string
                  default: SY-UNAME
                  maxLength: 12
                FAVORITES:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 32
                        description: Unique ID - 32 characters
                      TEXT:
                        type: string
                        maxLength: 75
                        description: Explanatory text
                      SEQUENCE:
                        type: integer
                        format: int32
                        description: Counter
                      TYPE:
                        type: string
                        maxLength: 5
                        description: Structure Type
                      APPL_FLAG1:
                        type: string
                        maxLength: 1
                        description: 'Flag: Use by application only'
                      APPL_FLAG2:
                        type: string
                        maxLength: 1
                        description: 'Flag: Use by application only'
                      APPL_FLAG3:
                        type: string
                        maxLength: 1
                        description: 'Flag: Use by application only'
                      APPL_FLAG4:
                        type: string
                        maxLength: 1
                        description: 'Flag: Use by application only'
                      APPL_FLAG5:
                        type: string
                        maxLength: 1
                        description: 'Flag: Use by application only'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  MESSAGE:
                    type: object
                    properties:
                      MSGID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      MSGTY:
                        type: string
                        maxLength: 1
                        description: Message Type
                      MSGNO:
                        type: integer
                        format: int64
                        description: Message Number
                      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
                      MSGTXT:
                        type: string
                        maxLength: 256
                        description: Text, 256 Characters
                  FAVORITES:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: string
                          maxLength: 32
                          description: Unique ID - 32 characters
                        TEXT:
                          type: string
                          maxLength: 75
                          description: Explanatory text
                        SEQUENCE:
                          type: integer
                          format: int32
                          description: Counter
                        TYPE:
                          type: string
                          maxLength: 5
                          description: Structure Type
                        APPL_FLAG1:
                          type: string
                          maxLength: 1
                          description: 'Flag: Use by application only'
                        APPL_FLAG2:
                          type: string
                          maxLength: 1
                          description: 'Flag: Use by application only'
                        APPL_FLAG3:
                          type: string
                          maxLength: 1
                          description: 'Flag: Use by application only'
                        APPL_FLAG4:
                          type: string
                          maxLength: 1
                          description: 'Flag: Use by application only'
                        APPL_FLAG5:
                          type: string
                          maxLength: 1
                          description: 'Flag: Use by application only'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
