openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SA_KW_RFC_PHIOS_FILE_PROPS_GET:
    post:
      tags:
      - SA_KW_RFC
      operationId: /rfc/SA_KW_RFC_PHIOS_FILE_PROPS_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                AREA:
                  type: string
                  default: IWBSOLAR
                  maxLength: 10
                  description: Area
                CLIENT:
                  type: string
                  default: SY-MANDT
                  maxLength: 3
                  description: R/3 System, Client Number from Logon
                BAD_OBJECTS:
                  type: array
                  items:
                    type: object
                    properties:
                      CLASS:
                        type: string
                        maxLength: 10
                        description: Document class
                      OBJID:
                        type: string
                        maxLength: 32
                        description: ID for documents and relations
                      ERROR_KEY:
                        type: integer
                        format: int64
                        description: 'Error code  enumValues: 03=Missing Entries,04=Name conflict,02=Operation not permitted,06=No authorization,00=Document class not known,01=Object does not exist,05=Error when transferring data'
                        enum:
                        - '03'
                        - '04'
                        - '02'
                        - '06'
                        - '00'
                        - '01'
                        - '05'
                COMPONENTS:
                  type: array
                  items:
                    type: object
                    properties:
                      CLASS:
                        type: string
                        maxLength: 10
                        description: Document class
                      OBJID:
                        type: string
                        maxLength: 32
                        description: ID for documents and relations
                      FILE_NAME:
                        type: string
                        maxLength: 255
                        description: Relative storage location of physical document
                      MIMETYPE:
                        type: string
                        maxLength: 128
                        description: HTML content type
                      FILE_TYPE:
                        type: string
                        maxLength: 1
                        description: 'Type of data transfer  enumValues: ""=Type of data transfernot specified,T=Text data,B=Binary data'
                        enum:
                        - ''
                        - T
                        - B
                      FILE_SIZE:
                        type: integer
                        format: int64
                        description: File size (in bytes)
                      PROPERTY:
                        type: string
                        maxLength: 4
                        description: Component attribute for the application
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  BAD_OBJECTS:
                    type: array
                    items:
                      type: object
                      properties:
                        CLASS:
                          type: string
                          maxLength: 10
                          description: Document class
                        OBJID:
                          type: string
                          maxLength: 32
                          description: ID for documents and relations
                        ERROR_KEY:
                          type: integer
                          format: int64
                          description: 'Error code  enumValues: 03=Missing Entries,04=Name conflict,02=Operation not permitted,06=No authorization,00=Document class not known,01=Object does not exist,05=Error when transferring data'
                          enum:
                          - '03'
                          - '04'
                          - '02'
                          - '06'
                          - '00'
                          - '01'
                          - '05'
                  COMPONENTS:
                    type: array
                    items:
                      type: object
                      properties:
                        CLASS:
                          type: string
                          maxLength: 10
                          description: Document class
                        OBJID:
                          type: string
                          maxLength: 32
                          description: ID for documents and relations
                        FILE_NAME:
                          type: string
                          maxLength: 255
                          description: Relative storage location of physical document
                        MIMETYPE:
                          type: string
                          maxLength: 128
                          description: HTML content type
                        FILE_TYPE:
                          type: string
                          maxLength: 1
                          description: 'Type of data transfer  enumValues: ""=Type of data transfernot specified,T=Text data,B=Binary data'
                          enum:
                          - ''
                          - T
                          - B
                        FILE_SIZE:
                          type: integer
                          format: int64
                          description: File size (in bytes)
                        PROPERTY:
                          type: string
                          maxLength: 4
                          description: Component attribute for the application
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
