openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSSEM_UI_DOC_INS:
    post:
      tags:
      - RSSEM_UI_BDS
      operationId: /rfc/RSSEM_UI_DOC_INS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_DOC_TITLE:
                  type: string
                  maxLength: 64
                I_DOC_TYPE:
                  type: string
                  maxLength: 128
                I_SEMAPPL:
                  type: string
                  maxLength: 8
                I_SIZE:
                  type: integer
                  format: int64
                ET_SIGNATURE:
                  type: array
                  items:
                    type: object
                    properties:
                      DOC_COUNT:
                        type: integer
                        format: int64
                        description: 'Business Document Service: Document counter'
                      DOC_ID:
                        type: string
                        maxLength: 42
                        description: 'Business Document Service: Document ID'
                      DOC_VER_NO:
                        type: integer
                        format: int64
                        description: 'Business Document Service: Document version number'
                      DOC_VAR_ID:
                        type: integer
                        format: int64
                        description: 'Business Document Service: Document variant ID'
                      DOC_VAR_TG:
                        type: string
                        maxLength: 2
                        description: 'Business Document Service: Document Variant Tag'
                      COMP_COUNT:
                        type: integer
                        format: int64
                        description: 'Business Document Service: Number of components'
                      PROP_NAME:
                        type: string
                        maxLength: 25
                        description: 'Business Document Service: Attribute Name'
                      PROP_VALUE:
                        type: string
                        maxLength: 64
                        description: 'Business Document Service: Attribute value'
                IT_CHAS:
                  type: array
                  items:
                    type: object
                    properties:
                      CHANM:
                        type: string
                        maxLength: 30
                        description: Characteristic
                      CHATP:
                        type: string
                        maxLength: 3
                        description: 'Characteristic type  enumValues: DPA=Data packet characteristic,KYF=Key figure,UNI=Unit of measurement,CHA=Characteristic,TIM=Time characteristic'
                        enum:
                        - DPA
                        - KYF
                        - UNI
                        - CHA
                        - TIM
                      BDSFL:
                        type: string
                        maxLength: 1
                        description: 'Comment facility of characteristics  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      CHAVAL:
                        type: string
                        maxLength: 60
                        description: Value of an attribute
                IT_CONTENT:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        format: byte
                        description: Line for binary document contents, length for upload
              required:
              - I_DOC_TITLE
              - I_DOC_TYPE
              - I_SEMAPPL
              - I_SIZE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_BDS_DOC_ID:
                    type: string
                    maxLength: 42
                  E_DOC_SIZE:
                    type: integer
                    format: int64
                  ET_SIGNATURE:
                    type: array
                    items:
                      type: object
                      properties:
                        DOC_COUNT:
                          type: integer
                          format: int64
                          description: 'Business Document Service: Document counter'
                        DOC_ID:
                          type: string
                          maxLength: 42
                          description: 'Business Document Service: Document ID'
                        DOC_VER_NO:
                          type: integer
                          format: int64
                          description: 'Business Document Service: Document version number'
                        DOC_VAR_ID:
                          type: integer
                          format: int64
                          description: 'Business Document Service: Document variant ID'
                        DOC_VAR_TG:
                          type: string
                          maxLength: 2
                          description: 'Business Document Service: Document Variant Tag'
                        COMP_COUNT:
                          type: integer
                          format: int64
                          description: 'Business Document Service: Number of components'
                        PROP_NAME:
                          type: string
                          maxLength: 25
                          description: 'Business Document Service: Attribute Name'
                        PROP_VALUE:
                          type: string
                          maxLength: 64
                          description: 'Business Document Service: Attribute value'
                  IT_CHAS:
                    type: array
                    items:
                      type: object
                      properties:
                        CHANM:
                          type: string
                          maxLength: 30
                          description: Characteristic
                        CHATP:
                          type: string
                          maxLength: 3
                          description: 'Characteristic type  enumValues: DPA=Data packet characteristic,KYF=Key figure,UNI=Unit of measurement,CHA=Characteristic,TIM=Time characteristic'
                          enum:
                          - DPA
                          - KYF
                          - UNI
                          - CHA
                          - TIM
                        BDSFL:
                          type: string
                          maxLength: 1
                          description: 'Comment facility of characteristics  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        CHAVAL:
                          type: string
                          maxLength: 60
                          description: Value of an attribute
                  IT_CONTENT:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          format: byte
                          description: Line for binary document contents, length for upload
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
