openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SLDJAVA_ACCESSOR_REQUEST:
    post:
      tags:
      - SLDJAVA
      operationId: /rfc/SLDJAVA_ACCESSOR_REQUEST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ARRAYSET:
                  type: array
                  items:
                    type: object
                    properties:
                      ARRAYKEY:
                        type: integer
                        format: int32
                        description: Array Key
                      VALUE:
                        type: string
                        description: Value
                CLASSNAMES:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        description: CIM Name (Model Path)
                INSTANCEID:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        description: Name
                      CIMTYPE:
                        type: string
                        maxLength: 10
                        description: CIM/ABAP Data Type
                      ARRAYKEY:
                        type: integer
                        format: int32
                        description: Array Key
                      VALUE:
                        type: string
                        description: Value
                INSTANCENAME:
                  type: string
                  description: SLD Namespace
                NAMESPACE:
                  type: string
                  default: lcr/active
                  description: SLD Namespace
                OPERATION:
                  type: string
                  description: SLD Namespace
                PROJECTION:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        description: CIM Name (Model Path)
                PROPERTYSET:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        description: Name
                      CIMTYPE:
                        type: string
                        maxLength: 10
                        description: CIM/ABAP Data Type
                      ARRAYKEY:
                        type: integer
                        format: int32
                        description: Array Key
                      VALUE:
                        type: string
                        description: Value
                QUERYPARAM:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        description: Name
                      CIMTYPE:
                        type: string
                        maxLength: 10
                        description: CIM/ABAP Data Type
                      ARRAYKEY:
                        type: integer
                        format: int32
                        description: Array Key
                      VALUE:
                        type: string
                        description: Value
                SLDHOST:
                  type: string
                  description: SLD Host Name
                SLDPASSWD:
                  type: string
                  description: SLD Host Name
                SLDPORT:
                  type: integer
                  format: int32
                  description: SLD Host Name
                SLDUSER:
                  type: string
                  description: SLD Host Name
                VALUEFILTER:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        description: Property Name
                      CIMTYPE:
                        type: string
                        maxLength: 10
                        description: CIM/ABAP Data Type
                      OPTION:
                        type: string
                        maxLength: 2
                        description: 'Filter Option: EQ, BT, GE, LE, CP'
                      FIRST:
                        type: string
                        description: First Value
                      SECOND:
                        type: string
                        description: Second Value
              required:
              - OPERATION
              - SLDHOST
              - SLDPORT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ARRAYVALUEMAP:
                    type: array
                    items:
                      type: object
                      properties:
                        ARRAYKEY:
                          type: integer
                          format: int32
                          description: Array Key
                        VALUE:
                          type: string
                          description: Value
                  CLASSQUALIFIERS:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJKEY:
                          type: integer
                          format: int32
                          description: Object Key
                        QUALNAME:
                          type: string
                          description: Qualifier Name
                        CIMTYPE:
                          type: string
                          maxLength: 10
                          description: CIM/ABAP Data Type
                        ARRAYKEY:
                          type: integer
                          format: int32
                          description: Array Key
                        VALUE:
                          type: string
                          description: Value
                  INSTQUALIFIERS:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJKEY:
                          type: integer
                          format: int32
                          description: Object Key
                        QUALNAME:
                          type: string
                          description: Qualifier Name
                        CIMTYPE:
                          type: string
                          maxLength: 10
                          description: CIM/ABAP Data Type
                        ARRAYKEY:
                          type: integer
                          format: int32
                          description: Array Key
                        VALUE:
                          type: string
                          description: Value
                  MESSAGE:
                    type: string
                    description: Message
                  NAMEKEYMAP:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJKEY:
                          type: integer
                          format: int32
                          description: Global Name Key
                        OBJTYPE:
                          type: string
                          maxLength: 1
                          description: 'Object Type: Class (C) or Instance (I)'
                        OBJNAME:
                          type: string
                          description: CIM Name (Model Path)
                  PROPCLASSQUAL:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJKEY:
                          type: integer
                          format: int32
                          description: Object Key
                        PROPNAME:
                          type: string
                          description: Property Name
                        QUALNAME:
                          type: string
                          description: Qualifier Name
                        CIMTYPE:
                          type: string
                          maxLength: 10
                          description: CIM/ABAP Data Type
                        ARRAYKEY:
                          type: integer
                          format: int32
                          description: Array Key
                        VALUE:
                          type: string
                          description: Value
                  PROPERTYLIST:
                    type: array
                    items:
                      type: object
                      properties:
                        CLASSKEY:
                          type: integer
                          format: int32
                          description: Class Key
                        PROPNAME:
                          type: string
                          description: Property Name
                        CIMTYPE:
                          type: string
                          maxLength: 10
                          description: CIM/ABAP Data Type
                        ISARRAY:
                          type: string
                          maxLength: 1
                          description: Property Array?
                  PROPERTYVALUES:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJKEY:
                          type: integer
                          format: int32
                          description: CIM Object Key
                        PROPNAME:
                          type: string
                          description: Property Name
                        ARRAYKEY:
                          type: integer
                          format: int32
                          description: Array Key
                        VALUE:
                          type: string
                          description: Value
                  PROPINSTQUAL:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJKEY:
                          type: integer
                          format: int32
                          description: Object Key
                        PROPNAME:
                          type: string
                          description: Property Name
                        QUALNAME:
                          type: string
                          description: Qualifier Name
                        CIMTYPE:
                          type: string
                          maxLength: 10
                          description: CIM/ABAP Data Type
                        ARRAYKEY:
                          type: integer
                          format: int32
                          description: Array Key
                        VALUE:
                          type: string
                          description: Value
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
