openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWFMOD_GET_ORG_INFO:
    post:
      tags:
      - SWFMOD_WORKFLOW
      summary: get detailed objectID/Text list for active ORG plan
      operationId: /rfc/SWFMOD_GET_ORG_INFO
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_ORG_OTYPE:
                  type: string
                  default: ' '
                  description: 'Org to deploy: all activity agents,only  email agents (SWFMOD_ORG_[ACT/MAIL])'
                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_VALUES_TEXTS:
                  type: array
                  items:
                    type: object
                    properties:
                      VALUE:
                        type: string
                        maxLength: 45
                        description: Extended Object ID
                      TEXT:
                        type: string
                        maxLength: 60
                        description: Short Text for Fixed Values
              required:
              - IV_ORG_OTYPE
      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_VALUES_TEXTS:
                    type: array
                    items:
                      type: object
                      properties:
                        VALUE:
                          type: string
                          maxLength: 45
                          description: Extended Object ID
                        TEXT:
                          type: string
                          maxLength: 60
                          description: Short Text for Fixed Values
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
