openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TWPN_GET_SSM_VAR:
    post:
      tags:
      - PWP2
      operationId: /rfc/TWPN_GET_SSM_VAR
      requestBody:
        content:
          application/json:
            schema:
              properties:
                SSM_VAR_VALUES:
                  type: array
                  items:
                    type: object
                    properties:
                      ATTRKEY:
                        type: string
                        maxLength: 30
                        description: Entry key
                      OBJECT_ID:
                        type: integer
                        format: int64
                        description: Object ID of a menu entry
                      ATTRLANGU:
                        type: string
                        maxLength: 1
                        description: Language Key of Current Text Environment
                      ATTRVALUE:
                        type: string
                        maxLength: 255
                        description: Entry value
                      PARENT_ID:
                        type: integer
                        format: int64
                        description: ID of the superior node
                      TYPE:
                        type: string
                        maxLength: 15
                        description: Menu entry type
                      SUBTYPE:
                        type: string
                        maxLength: 15
                        description: Menu entry subtype
                      SERVICEID:
                        type: string
                        maxLength: 255
                        description: ID of a service in the menu
                      ATTRIBUTES:
                        type: string
                        maxLength: 255
                        description: Entry attributes
                      TARGET_SYS:
                        type: string
                        maxLength: 32
                        description: Logical Destination (Specified in Function Call)
                      SORT_ORDER:
                        type: integer
                        format: int64
                        description: Sort sequence
                      ITEMNUMBER:
                        type: integer
                        format: int64
                        description: Sequence in entire menu
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  LOGSYS:
                    type: string
                    maxLength: 10
                  SSM_VAR_VALUES:
                    type: array
                    items:
                      type: object
                      properties:
                        ATTRKEY:
                          type: string
                          maxLength: 30
                          description: Entry key
                        OBJECT_ID:
                          type: integer
                          format: int64
                          description: Object ID of a menu entry
                        ATTRLANGU:
                          type: string
                          maxLength: 1
                          description: Language Key of Current Text Environment
                        ATTRVALUE:
                          type: string
                          maxLength: 255
                          description: Entry value
                        PARENT_ID:
                          type: integer
                          format: int64
                          description: ID of the superior node
                        TYPE:
                          type: string
                          maxLength: 15
                          description: Menu entry type
                        SUBTYPE:
                          type: string
                          maxLength: 15
                          description: Menu entry subtype
                        SERVICEID:
                          type: string
                          maxLength: 255
                          description: ID of a service in the menu
                        ATTRIBUTES:
                          type: string
                          maxLength: 255
                          description: Entry attributes
                        TARGET_SYS:
                          type: string
                          maxLength: 32
                          description: Logical Destination (Specified in Function Call)
                        SORT_ORDER:
                          type: integer
                          format: int64
                          description: Sort sequence
                        ITEMNUMBER:
                          type: integer
                          format: int64
                          description: Sequence in entire menu
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
