openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SIW_PROPS_VALUES_GET:
    post:
      tags:
      - SI17
      operationId: /rfc/SIW_PROPS_VALUES_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                AREA:
                  type: string
                  maxLength: 10
                  description: Area
                FOLDER_GROUP:
                  type: string
                  maxLength: 15
                  description: 'SDOK: BOR key for information object'
                GET_USER_NAME:
                  type: string
                  default: X
                  maxLength: 1
                  description: Single-Character Flag
                INFO_OBJECT:
                  type: object
                  properties:
                    CLASS:
                      type: string
                      maxLength: 10
                      description: Document class
                    OBJID:
                      type: string
                      maxLength: 32
                      description: ID for documents and relations
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: SAP R/3 System, Current Language
                PROPERTY_NAME:
                  type: string
                  maxLength: 25
                  description: Information object attribute
                SUPPRESS_AUTHORITY_CHECK:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: 'SDOK: BOR key for information object'
                CLASS:
                  type: array
                  items:
                    type: object
                    properties:
                      CLASS:
                        type: string
                        maxLength: 10
                        description: Info Object Class
                PROPERTY_VALUES:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 25
                        description: Attribute of a document or a relationship
                      VALUE:
                        type: string
                        maxLength: 64
                        description: Attribute Value
                PROPERTY_VALUES_TXT:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 25
                        description: Attribute of a document or a relationship
                      VALUE:
                        type: string
                        maxLength: 64
                        description: Attribute Value
                      DESCR:
                        type: string
                        maxLength: 64
                        description: Short Description
              required:
              - PROPERTY_NAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ERROR_MSG:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      TYPE:
                        type: string
                        maxLength: 1
                        description: Message Type
                      'NO':
                        type: integer
                        format: int64
                        description: Message Number
                      V1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      V2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      V3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      V4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                  CLASS:
                    type: array
                    items:
                      type: object
                      properties:
                        CLASS:
                          type: string
                          maxLength: 10
                          description: Info Object Class
                  PROPERTY_VALUES:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 25
                          description: Attribute of a document or a relationship
                        VALUE:
                          type: string
                          maxLength: 64
                          description: Attribute Value
                  PROPERTY_VALUES_TXT:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 25
                          description: Attribute of a document or a relationship
                        VALUE:
                          type: string
                          maxLength: 64
                          description: Attribute Value
                        DESCR:
                          type: string
                          maxLength: 64
                          description: Short Description
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
