openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/GRAPH_STRU_SET_PROFILES:
    post:
      tags:
      - GSUX
      summary: 'SAP Structural Graphics: Setting the profile table.'
      operationId: /rfc/GRAPH_STRU_SET_PROFILES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                PROFILES:
                  type: array
                  items:
                    type: object
                    properties:
                      PROFILEID:
                        type: string
                        maxLength: 2
                        description: Profile
                      PROFILETXT:
                        type: string
                        maxLength: 25
                        description: Profile name
                      RULEID:
                        type: string
                        maxLength: 2
                        description: Profile rule
                      DELETE:
                        type: string
                        maxLength: 1
                        description: 'Flag to delete the profile rule  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      OBJFIELD:
                        type: string
                        maxLength: 10
                        description: Object field to which settings refer
                      CONTENTS:
                        type: string
                        maxLength: 10
                        description: Contents of object field
                      SEARCHSTR:
                        type: string
                        maxLength: 40
                        description: Specifying search text
                      LINECOLOUR:
                        type: integer
                        format: int64
                        description: Line color
                      LINESTYLE:
                        type: integer
                        format: int64
                        description: Line type
                      TEXTCOLOUR:
                        type: integer
                        format: int64
                        description: Text color
                      BOXCOLOUR:
                        type: integer
                        format: int64
                        description: Background color
                      SHAPE:
                        type: integer
                        format: int64
                        description: Form
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  PROFILES:
                    type: array
                    items:
                      type: object
                      properties:
                        PROFILEID:
                          type: string
                          maxLength: 2
                          description: Profile
                        PROFILETXT:
                          type: string
                          maxLength: 25
                          description: Profile name
                        RULEID:
                          type: string
                          maxLength: 2
                          description: Profile rule
                        DELETE:
                          type: string
                          maxLength: 1
                          description: 'Flag to delete the profile rule  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        OBJFIELD:
                          type: string
                          maxLength: 10
                          description: Object field to which settings refer
                        CONTENTS:
                          type: string
                          maxLength: 10
                          description: Contents of object field
                        SEARCHSTR:
                          type: string
                          maxLength: 40
                          description: Specifying search text
                        LINECOLOUR:
                          type: integer
                          format: int64
                          description: Line color
                        LINESTYLE:
                          type: integer
                          format: int64
                          description: Line type
                        TEXTCOLOUR:
                          type: integer
                          format: int64
                          description: Text color
                        BOXCOLOUR:
                          type: integer
                          format: int64
                          description: Background color
                        SHAPE:
                          type: integer
                          format: int64
                          description: Form
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
