openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SBIZC_GET_DOCUMENT_INFO:
    post:
      tags:
      - SBIZCWO1
      operationId: /rfc/SBIZC_GET_DOCUMENT_INFO
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IP_DOC_ID:
                  type: string
                  maxLength: 32
                IP_LANGU:
                  type: string
                  maxLength: 1
                IP_USAGE:
                  type: string
                  maxLength: 32
              required:
              - IP_DOC_ID
              - IP_LANGU
              - IP_USAGE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ES_DOC_INFO:
                    type: object
                    properties:
                      INTDOCID:
                        type: string
                        maxLength: 32
                        description: 'BIZC: Internal ID for Reference to Document'
                      EXTLOIO:
                        type: string
                        maxLength: 64
                        description: 'BIZC: Logical Object in the External Repository'
                      SCOPE:
                        type: string
                        maxLength: 12
                        description: 'Bizc: Semantic Use of Documents  enumValues: CFGTRAN=XSL Transformation of a Configuration Template,OBJECT=Documentation for the Object,CFGTASK=Short Documentation for Configuration Task,CFGTEMPL=XML Display of a Configuration Template,CFGEXT=Detailed Documentation for Configuration'
                        enum:
                        - CFGTRAN
                        - OBJECT
                        - CFGTASK
                        - CFGTEMPL
                        - CFGEXT
                      DOCTYPE:
                        type: string
                        maxLength: 3
                        description: 'Bizc: Document Type'
                      DOCSTORE:
                        type: string
                        maxLength: 12
                        description: 'Alias for Storing Documents  enumValues: SMKW=KW of the Solution Manager,LBUF=Local Buffer,SMHP=Help Portal via Solution Manager'
                        enum:
                        - SMKW
                        - LBUF
                        - SMHP
                      BINFLAG:
                        type: string
                        maxLength: 1
                        description: 'Boolean  enumValues: X=True,""=False'
                        enum:
                        - X
                        - ''
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key
                      DESCR:
                        type: string
                        description: Description
                      URL:
                        type: string
                        description: URL for Accessing Document
                  ET_ATTRIBUTES:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          description: ''
                        VALUE:
                          type: string
                          description: ''
                  ET_ERRORS:
                    type: array
                    items:
                      type: object
                      properties:
                        PROVIDER:
                          type: string
                          maxLength: 20
                          description: Content Provider
                        ID:
                          type: string
                          description: 'Business Content: Named Context'
                        REFERENCE_ID:
                          type: string
                          description: Identification of import parameter that caused the error
                        SEVERITY:
                          type: string
                          maxLength: 1
                          description: 'BIZC: Meaning of an Exception'
                        ERROR_CODE:
                          type: integer
                          format: int64
                          description: 'Business Content: Error Code'
                        EXCEPTION_NAME:
                          type: string
                          description: Name of Exception
                        TEXTID:
                          type: string
                          description: ''
                        SHORTTEXT:
                          type: string
                          maxLength: 100
                          description: Short Text of Error
                        LONGTEXT:
                          type: string
                          description: Detailed Error Description with Trouble-Shooting Tips
                        PROGRAM_NAME:
                          type: string
                          maxLength: 40
                          description: 'ABAP Program: Current Main Program'
                        INCLUDE_NAME:
                          type: string
                          maxLength: 40
                          description: 'ABAP Program: Current Main Program'
                        SOURCE_LINE:
                          type: integer
                          format: int32
                          description: Termination Line in Source Code
                        STACK_ID:
                          type: string
                          maxLength: 10
                          description: Exception Stack ID
                        STACK_LEVEL:
                          type: integer
                          format: int32
                          description: Hierarchy Level Within Exception Stack
                        TIMESTAMP:
                          type: integer
                          format: int64
                          description: UTC time stamp in long form (YYYYMMDDhhmmss,mmmuuun)
                        CALLBACK_TOOL:
                          type: string
                          maxLength: 10
                          description: Tool for Callback
                        CALLBACK_ID:
                          type: string
                          description: ID of Error for Callback
                        LINK:
                          type: string
                          description: URL for Accessing Additional Information, Such as Dump, Log
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
