openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SLDAG_COLLECT_DATA:
    post:
      tags:
      - SLDAG
      operationId: /rfc/SLDAG_COLLECT_DATA
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CSHMHOST:
                  type: string
                  maxLength: 100
                  description: Central SM Host
                GWHOST:
                  type: string
                  maxLength: 100
                GWSERV:
                  type: string
                  maxLength: 32
                  description: Gateway service
                RFC_DATA:
                  type: string
                  default: X
                  maxLength: 1
                SHM_DATA:
                  type: string
                  maxLength: 1
                TYPE_INFO:
                  type: string
                  maxLength: 20
                VERSION_INFO:
                  type: string
                  maxLength: 10
                LOGTAB:
                  type: array
                  items:
                    type: object
                    properties:
                      LOGID:
                        type: integer
                        format: int32
                        description: 'SLD Agent: Log ID'
                      LOGAPPL:
                        type: string
                        maxLength: 40
                        description: 'SLD Agent: Application Server'
                      LOGTEXT:
                        type: string
                        maxLength: 132
                        description: 'SLD Agent: Log Entry'
                PROGS:
                  type: array
                  items:
                    type: object
                    properties:
                      PROGNAME:
                        type: string
                        maxLength: 40
                        description: Object Name in Object Directory
                      ACTIVE:
                        type: string
                        maxLength: 1
                        description: 'SLD Agent: Program is active (=''X'') or not (='' '')  enumValues: X=Active,""=Inactive'
                        enum:
                        - X
                        - ''
                      SEQNR:
                        type: integer
                        format: int64
                        description: 'SLD Agent: Sequence Data Supplier Programs'
                      DORFC:
                        type: string
                        maxLength: 1
                        description: 'SLD Agent: Provide RFC data (=X) or not (='' '')  enumValues: X=Provide RFC data,""=Do not provide RFC data'
                        enum:
                        - X
                        - ''
                      RFCDEST:
                        type: string
                        maxLength: 32
                        description: Logical Destination (Specified in Function Call)
                      GWHOST:
                        type: string
                        maxLength: 100
                        description: Gateway host name
                      GWSERV:
                        type: string
                        maxLength: 32
                        description: Gateway service
                      DOSHM:
                        type: string
                        maxLength: 1
                        description: 'SLD Agent: Write shared memory data (=X) or not (='' '')  enumValues: ""=Do not provide shared memory data,X=Provide shared memory data'
                        enum:
                        - ''
                        - X
                      DOBTC:
                        type: string
                        maxLength: 1
                        description: 'SLD Agent: Create batch job (=X) or not (='' '')  enumValues: X=Create SLD batch job,""=Do not create SLD batch job'
                        enum:
                        - X
                        - ''
                      BTCMIN:
                        type: integer
                        format: int32
                        description: 'SLD Agent: Minutes Between Background Starts'
                      CSHMHOST:
                        type: string
                        maxLength: 100
                        description: 'SLD Agent: Central Shared Memory Host'
                      TEST:
                        type: string
                        maxLength: 1
                        description: 'SLD Agent: Test Indicator  enumValues: X=Test Mode,""=Production Mode'
                        enum:
                        - X
                        - ''
                      TESTCNT:
                        type: integer
                        format: int64
                        description: 'SLD Agent: Number of Data Entities for Test Run'
                      TESTPRNT:
                        type: string
                        maxLength: 1
                        description: 'SLD Agent: Write collected data to list  enumValues: ""=No List Output,X=List Output'
                        enum:
                        - ''
                        - X
                RFCDATA:
                  type: array
                  items:
                    type: object
                    properties:
                      ENTRY_TYPE:
                        type: string
                        maxLength: 1
                        description: 'SLD Agent: Interface Parameter: Class Type  enumValues: 1=Association Class,0=Object Class'
                        enum:
                        - '1'
                        - '0'
                      CLASS_NAME:
                        type: string
                        maxLength: 255
                        description: 'SLD Agent: Interface Parameter: CIM Class Name'
                      INST_NUM:
                        type: string
                        maxLength: 4
                        description: 'SLD Agent: Interface Parameter: CIM Instance Counter'
                      PROP_ROLE:
                        type: string
                        maxLength: 40
                        description: 'SLD Agent: Interface Parameter: Attribute Name'
                      VALUE_ID:
                        type: string
                        maxLength: 4
                        description: 'SLD Agent: Interface Parameter: Attribute Name'
                      VALUE:
                        type: string
                        maxLength: 255
                        description: 'SLD Agent: Interface Parameter: Single Value'
              required:
              - RFC_DATA
              - SHM_DATA
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  LOGTAB:
                    type: array
                    items:
                      type: object
                      properties:
                        LOGID:
                          type: integer
                          format: int32
                          description: 'SLD Agent: Log ID'
                        LOGAPPL:
                          type: string
                          maxLength: 40
                          description: 'SLD Agent: Application Server'
                        LOGTEXT:
                          type: string
                          maxLength: 132
                          description: 'SLD Agent: Log Entry'
                  PROGS:
                    type: array
                    items:
                      type: object
                      properties:
                        PROGNAME:
                          type: string
                          maxLength: 40
                          description: Object Name in Object Directory
                        ACTIVE:
                          type: string
                          maxLength: 1
                          description: 'SLD Agent: Program is active (=''X'') or not (='' '')  enumValues: X=Active,""=Inactive'
                          enum:
                          - X
                          - ''
                        SEQNR:
                          type: integer
                          format: int64
                          description: 'SLD Agent: Sequence Data Supplier Programs'
                        DORFC:
                          type: string
                          maxLength: 1
                          description: 'SLD Agent: Provide RFC data (=X) or not (='' '')  enumValues: X=Provide RFC data,""=Do not provide RFC data'
                          enum:
                          - X
                          - ''
                        RFCDEST:
                          type: string
                          maxLength: 32
                          description: Logical Destination (Specified in Function Call)
                        GWHOST:
                          type: string
                          maxLength: 100
                          description: Gateway host name
                        GWSERV:
                          type: string
                          maxLength: 32
                          description: Gateway service
                        DOSHM:
                          type: string
                          maxLength: 1
                          description: 'SLD Agent: Write shared memory data (=X) or not (='' '')  enumValues: ""=Do not provide shared memory data,X=Provide shared memory data'
                          enum:
                          - ''
                          - X
                        DOBTC:
                          type: string
                          maxLength: 1
                          description: 'SLD Agent: Create batch job (=X) or not (='' '')  enumValues: X=Create SLD batch job,""=Do not create SLD batch job'
                          enum:
                          - X
                          - ''
                        BTCMIN:
                          type: integer
                          format: int32
                          description: 'SLD Agent: Minutes Between Background Starts'
                        CSHMHOST:
                          type: string
                          maxLength: 100
                          description: 'SLD Agent: Central Shared Memory Host'
                        TEST:
                          type: string
                          maxLength: 1
                          description: 'SLD Agent: Test Indicator  enumValues: X=Test Mode,""=Production Mode'
                          enum:
                          - X
                          - ''
                        TESTCNT:
                          type: integer
                          format: int64
                          description: 'SLD Agent: Number of Data Entities for Test Run'
                        TESTPRNT:
                          type: string
                          maxLength: 1
                          description: 'SLD Agent: Write collected data to list  enumValues: ""=No List Output,X=List Output'
                          enum:
                          - ''
                          - X
                  RFCDATA:
                    type: array
                    items:
                      type: object
                      properties:
                        ENTRY_TYPE:
                          type: string
                          maxLength: 1
                          description: 'SLD Agent: Interface Parameter: Class Type  enumValues: 1=Association Class,0=Object Class'
                          enum:
                          - '1'
                          - '0'
                        CLASS_NAME:
                          type: string
                          maxLength: 255
                          description: 'SLD Agent: Interface Parameter: CIM Class Name'
                        INST_NUM:
                          type: string
                          maxLength: 4
                          description: 'SLD Agent: Interface Parameter: CIM Instance Counter'
                        PROP_ROLE:
                          type: string
                          maxLength: 40
                          description: 'SLD Agent: Interface Parameter: Attribute Name'
                        VALUE_ID:
                          type: string
                          maxLength: 4
                          description: 'SLD Agent: Interface Parameter: Attribute Name'
                        VALUE:
                          type: string
                          maxLength: 255
                          description: 'SLD Agent: Interface Parameter: Single Value'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
