openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWFMOD_GET_NEXT_ATTRIBUTES:
    post:
      tags:
      - SWFMOD_WORKFLOW
      summary: Get attributes of an object (this object can be an attribute itself)
      operationId: /rfc/SWFMOD_GET_NEXT_ATTRIBUTES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_DDIC_TYPE:
                  type: string
                  maxLength: 40
                  description: Text, 40 Characters Long
                IV_ELEMENT_NAME:
                  type: string
                  maxLength: 40
                  description: Text, 40 Characters Long
                IV_EXPRESSION:
                  type: string
                  maxLength: 80
                  description: Text (80 characters)
                IV_FILTER_TYPE:
                  type: string
                  default: ' '
                  maxLength: 40
                  description: Text, 40 Characters Long
                IV_OBJECT_CAT:
                  type: string
                  maxLength: 2
                  description: Category of Objects in Persistent Object References
                IV_OBJECT_TYPE_ID:
                  type: string
                  maxLength: 32
                  description: Type of Objects in Persistent Object References
                ET_MESSAGE_LINES:
                  type: array
                  items:
                    type: object
                    properties:
                      MSG_TYPE:
                        type: string
                        maxLength: 1
                        description: Message Type
                      LINE:
                        type: string
                        maxLength: 273
                        description: Text line for message
                ET_MESSAGE_STRUCT:
                  type: array
                  items:
                    type: object
                    properties:
                      MSGID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      MSGTY:
                        type: string
                        maxLength: 1
                        description: Message Type
                      MSGNO:
                        type: integer
                        format: int64
                        description: Message Number
                      MSGV1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                ET_NAMES:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 32
                        description: Element name in upper/lower case
                      DESCRIPTION:
                        type: string
                        maxLength: 80
                        description: Description
                      TYPE:
                        type: string
                        maxLength: 132
                        description: Text (length 132)
                      COMP_ID:
                        type: integer
                        format: int64
                        description: Object ID of Standard Object
              required:
              - IV_ELEMENT_NAME
              - IV_EXPRESSION
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EV_RETCODE:
                    type: integer
                    format: int32
                    description: Return Value, Return Value After ABAP Statements
                  ET_MESSAGE_LINES:
                    type: array
                    items:
                      type: object
                      properties:
                        MSG_TYPE:
                          type: string
                          maxLength: 1
                          description: Message Type
                        LINE:
                          type: string
                          maxLength: 273
                          description: Text line for message
                  ET_MESSAGE_STRUCT:
                    type: array
                    items:
                      type: object
                      properties:
                        MSGID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        MSGTY:
                          type: string
                          maxLength: 1
                          description: Message Type
                        MSGNO:
                          type: integer
                          format: int64
                          description: Message Number
                        MSGV1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV4:
                          type: string
                          maxLength: 50
                          description: Message Variable
                  ET_NAMES:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 32
                          description: Element name in upper/lower case
                        DESCRIPTION:
                          type: string
                          maxLength: 80
                          description: Description
                        TYPE:
                          type: string
                          maxLength: 132
                          description: Text (length 132)
                        COMP_ID:
                          type: integer
                          format: int64
                          description: Object ID of Standard Object
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
