openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWU_START_WITH_OBJECT:
    post:
      tags:
      - SWUA
      operationId: /rfc/SWU_START_WITH_OBJECT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                AD_HOC:
                  type: string
                  default: X
                  maxLength: 1
                  description: Checkbox Field
                IBF_OBJECT:
                  type: object
                  properties:
                    INSTID:
                      type: string
                      maxLength: 70
                      description: Instance Ident. in BOR Compat. Persistent Object References
                    TYPEID:
                      type: string
                      maxLength: 32
                      description: Type of Objects in Persistent Object References
                    CATID:
                      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
                IBF_OBJECTS:
                  type: array
                  items:
                    type: object
                    properties:
                      INSTID:
                        type: string
                        maxLength: 70
                        description: Instance Ident. in BOR Compat. Persistent Object References
                      TYPEID:
                        type: string
                        maxLength: 32
                        description: Type of Objects in Persistent Object References
                      CATID:
                        type: string
                        maxLength: 2
                        description: Category of Objects in Persistent Object References
                OBJECTKEY:
                  type: string
                  default: ' '
                  maxLength: 70
                  description: Workflow object key
                OBJECTTYPE:
                  type: string
                  maxLength: 10
                  description: Workflow object type
                PARENT:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Checkbox Field
                POPUP:
                  type: string
                  default: X
                  maxLength: 1
                EXCLUDED_FUNCTIONS:
                  type: array
                  items:
                    type: object
                    properties:
                      FCODE:
                        type: string
                        maxLength: 70
                        description: Function code that PAI triggered
                OBJECTS:
                  type: array
                  items:
                    type: object
                    properties:
                      LOGSYS:
                        type: string
                        maxLength: 10
                        description: Logical system
                      OBJTYPE:
                        type: string
                        maxLength: 10
                        description: Object Type
                      OBJKEY:
                        type: string
                        maxLength: 70
                        description: Object key
                      DESCRIBE:
                        type: string
                        maxLength: 10
                        description: Describe flag
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EXCLUDED_FUNCTIONS:
                    type: array
                    items:
                      type: object
                      properties:
                        FCODE:
                          type: string
                          maxLength: 70
                          description: Function code that PAI triggered
                  OBJECTS:
                    type: array
                    items:
                      type: object
                      properties:
                        LOGSYS:
                          type: string
                          maxLength: 10
                          description: Logical system
                        OBJTYPE:
                          type: string
                          maxLength: 10
                          description: Object Type
                        OBJKEY:
                          type: string
                          maxLength: 70
                          description: Object key
                        DESCRIBE:
                          type: string
                          maxLength: 10
                          description: Describe flag
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
