openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SCMG_PUBLISH_CUSTOM:
    post:
      tags:
      - SCMG_PUBLISH_AND_EXECUTE
      operationId: /rfc/SCMG_PUBLISH_CUSTOM
      requestBody:
        content:
          application/json:
            schema:
              properties:
                AREA_POID:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: string
                        description: Attribute Value ID
                      VALUE:
                        type: string
                        description: Attribute Value - String
                BOR_ID:
                  type: string
                BOR_RMF_POID:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: string
                        description: Attribute Value ID
                      VALUE:
                        type: string
                        description: Attribute Value - String
                BOR_SP_POID:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: string
                        description: Attribute Value ID
                      VALUE:
                        type: string
                        description: Attribute Value - String
                BOR_TYPE:
                  type: string
                  description: BOR Type
                LOGICAL_SYSTEM:
                  type: string
                POID_STATE:
                  type: string
                  description: POID Status
                SUBTYPE:
                  type: string
              required:
              - AREA_POID
              - BOR_RMF_POID
              - BOR_TYPE
              - LOGICAL_SYSTEM
              - POID_STATE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ACT_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: string
                          maxLength: 32
                          description: Activity - ID
                        TEXT:
                          type: string
                          description: Activity - Short Text
                        CHANGING:
                          type: string
                          maxLength: 1
                          description: 'Activity - Change Mode: IF_SRM=>TRUE / FALSE'
                        HIDDEN:
                          type: string
                          maxLength: 1
                          description: 'Aktivity Hidden: Visible if IF_SRM=>FALSE'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
