openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/GRAPH_STRU_SET_TOOLBOX:
    post:
      tags:
      - GSUX
      summary: 'SAP Structural Graphics: Setting the tool table'
      operationId: /rfc/GRAPH_STRU_SET_TOOLBOX
      requestBody:
        content:
          application/json:
            schema:
              properties:
                UPDATE:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: <OUT OF USE>
                TOOLBOX:
                  type: array
                  items:
                    type: object
                    properties:
                      MENUEID:
                        type: string
                        maxLength: 2
                        description: ID of menu entry
                      MENUTITLE:
                        type: string
                        maxLength: 32
                        description: Title of new action bar entry
                      MENUETEXT:
                        type: string
                        maxLength: 25
                        description: Menu entry text
                      ACTIVATED:
                        type: string
                        maxLength: 1
                        description: Number of objects to be selected
                      OBJFIELDS:
                        type: string
                        maxLength: 17
                        description: Fields of selected objects required for processing
                      FORM:
                        type: string
                        maxLength: 30
                        description: Function module for editing
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  TOOLBOX:
                    type: array
                    items:
                      type: object
                      properties:
                        MENUEID:
                          type: string
                          maxLength: 2
                          description: ID of menu entry
                        MENUTITLE:
                          type: string
                          maxLength: 32
                          description: Title of new action bar entry
                        MENUETEXT:
                          type: string
                          maxLength: 25
                          description: Menu entry text
                        ACTIVATED:
                          type: string
                          maxLength: 1
                          description: Number of objects to be selected
                        OBJFIELDS:
                          type: string
                          maxLength: 17
                          description: Fields of selected objects required for processing
                        FORM:
                          type: string
                          maxLength: 30
                          description: Function module for editing
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
