openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SBIZC_GET_TEMPLATE:
    post:
      tags:
      - SBIZCWSTE
      operationId: /rfc/SBIZC_GET_TEMPLATE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IP_LANGU:
                  type: string
                  maxLength: 1
                IP_TEMPLATE_NAME:
                  type: string
                  maxLength: 30
                IP_USAGE:
                  type: string
                  maxLength: 32
              required:
              - IP_TEMPLATE_NAME
              - IP_USAGE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EP_TEMPLATE_XML:
                    type: string
                    format: byte
                  EP_TRANSF_XSL:
                    type: string
                    format: byte
                  ES_TEMPLATE_DATA:
                    type: object
                    properties:
                      INTDOCID:
                        type: string
                        maxLength: 32
                        description: 'BIZC: Internal ID for Reference to Document'
                      PROVIDER:
                        type: string
                        maxLength: 20
                        description: Content Provider
                      CREAT_AT:
                        type: integer
                        format: int64
                        description: 'Business Content: Created At'
                      CREAT_BY:
                        type: string
                        maxLength: 12
                        description: 'Business Content: Created By'
                      CHANG_AT:
                        type: integer
                        format: int64
                        description: 'Business Content: Changed At'
                      CHANG_BY:
                        type: string
                        maxLength: 12
                        description: 'Business Content: Changed By'
                      PROVIDER_DESCR:
                        type: string
                        description: Content Provider Description
                      TEMPL_DESCR:
                        type: string
                        description: Template Description
                      TRANSF_DESCR:
                        type: string
                        description: Transformation Description
                      TRANSF_DOCID:
                        type: string
                        maxLength: 32
                        description: 'BIZC: Internal ID for Reference to Document'
                      DEF_TEMPL:
                        type: string
                        maxLength: 1
                        description: 'Business Content: Default Template Flag  enumValues: X=True,""=False'
                        enum:
                        - X
                        - ''
                      TRANSF_NAME:
                        type: string
                        maxLength: 40
                        description: Name of an XSLT Program
                      STATUS:
                        type: string
                        maxLength: 1
                        description: 'Release Status of a Document in the Solution Manager  enumValues: I=In Process,R=Released'
                        enum:
                        - I
                        - R
                  ET_ERROR:
                    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.
