openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/GCFB_TASK_RUNNER:
    post:
      tags:
      - GCFB
      summary: 'GBC: Execute Task (Portal)'
      operationId: /rfc/GCFB_TASK_RUNNER
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_ASYNCFLG:
                  type: string
                  default: GCTP1_UNMARKED
                  maxLength: 1
                  description: Indicator
                I_HOME:
                  type: string
                  maxLength: 3
                  description: Original System of Object
                I_OBJKEY:
                  type: string
                  maxLength: 70
                  description: Object Key
                I_RELART:
                  type: string
                  maxLength: 3
                  description: Type of Object Relationship
                I_TASK:
                  type: string
                  maxLength: 4
                  description: Task
                E_PARATAB:
                  type: array
                  items:
                    type: object
                    properties:
                      STRUCTUR:
                        type: string
                        maxLength: 32
                        description: Element
                      NAME:
                        type: string
                        maxLength: 32
                        description: Element
                      VALUE:
                        type: string
                        maxLength: 255
                        description: Value of a Field
                      TABFLG:
                        type: string
                        maxLength: 1
                        description: 'Indicators  enumValues: ""=Unselected,X=Selected'
                        enum:
                        - ''
                        - X
                      TABROW:
                        type: integer
                        format: int64
                        description: Consecutive Number
                      STRUCFLG:
                        type: string
                        maxLength: 1
                        description: 'Indicators  enumValues: ""=Unselected,X=Selected'
                        enum:
                        - ''
                        - X
                      STRUCDEEP:
                        type: integer
                        format: int64
                        description: Consecutive Number
                      FIELDFLG:
                        type: string
                        maxLength: 1
                        description: 'Indicators  enumValues: ""=Unselected,X=Selected'
                        enum:
                        - ''
                        - X
              required:
              - I_HOME
              - I_OBJKEY
              - I_RELART
              - I_TASK
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_PARATAB:
                    type: array
                    items:
                      type: object
                      properties:
                        STRUCTUR:
                          type: string
                          maxLength: 32
                          description: Element
                        NAME:
                          type: string
                          maxLength: 32
                          description: Element
                        VALUE:
                          type: string
                          maxLength: 255
                          description: Value of a Field
                        TABFLG:
                          type: string
                          maxLength: 1
                          description: 'Indicators  enumValues: ""=Unselected,X=Selected'
                          enum:
                          - ''
                          - X
                        TABROW:
                          type: integer
                          format: int64
                          description: Consecutive Number
                        STRUCFLG:
                          type: string
                          maxLength: 1
                          description: 'Indicators  enumValues: ""=Unselected,X=Selected'
                          enum:
                          - ''
                          - X
                        STRUCDEEP:
                          type: integer
                          format: int64
                          description: Consecutive Number
                        FIELDFLG:
                          type: string
                          maxLength: 1
                          description: 'Indicators  enumValues: ""=Unselected,X=Selected'
                          enum:
                          - ''
                          - X
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
