openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWF_CREATE_CONTAINER_ELEMENT:
    post:
      tags:
      - SWF1
      operationId: /rfc/SWF_CREATE_CONTAINER_ELEMENT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                BLOCK_ID:
                  type: integer
                  format: int64
                ELEMENT_DESCRIPTION:
                  type: object
                  properties:
                    EDITELEM:
                      type: string
                      maxLength: 32
                      description: Element name in upper/lower case
                    DESCRIPT:
                      type: string
                      maxLength: 20
                      description: Name
                    SHORTTEXT:
                      type: string
                      maxLength: 80
                      description: Description
                    TABELEM:
                      type: string
                      maxLength: 1
                      description: 'Multiline element  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    REFTYPE:
                      type: string
                      maxLength: 1
                      description: 'Dictionary  enumValues: R=Organizational object type,D=Data Dictionary table field or table,""=No data type reference,M=Microsoft OLE data type,O=Object type'
                      enum:
                      - R
                      - D
                      - ''
                      - M
                      - O
                    REFSTRUCT:
                      type: string
                      maxLength: 30
                      description: Reference table
                    REFFIELD:
                      type: string
                      maxLength: 30
                      description: Reference field
                    MCODE:
                      type: string
                      maxLength: 30
                      description: Search Help (Formerly Matchcode)
                    REFOBJTYPE:
                      type: string
                      maxLength: 32
                      description: Type of Objects in Persistent Object References
                    REFOBJCAT:
                      type: string
                      maxLength: 2
                      description: 'Category of Objects in Persistent Object References  enumValues: NN=Category (still) Not Known - Internal use only!!!,BC=Instances of Business Classes (ABAP Objects),BO=Instances of BOR Object Types,CL=Instances of ABAP Objects Classes - Internal Use Only!'
                      enum:
                      - NN
                      - BC
                      - BO
                      - CL
                    ELEMTYPE:
                      type: string
                      maxLength: 1
                      description: 'Element type  enumValues: I=Import,A=Export and import,E=Export'
                      enum:
                      - I
                      - A
                      - E
                    OBLIGIMP:
                      type: string
                      maxLength: 1
                      description: 'Required  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    DDIC:
                      type: string
                      maxLength: 80
                      description: Text (80 Characters)
              required:
              - ELEMENT_DESCRIPTION
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
