openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DSVAS_DOC_DOCUMENT_READ:
    post:
      tags:
      - DSVAS_DOC
      operationId: /rfc/DSVAS_DOC_DOCUMENT_READ
      requestBody:
        content:
          application/json:
            schema:
              properties:
                PF_DOCNO:
                  type: string
                  maxLength: 13
                  description: Document Number
                PT_DOCUMENT:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        format: byte
                        description: 'DSVAS: Line of a File'
              required:
              - PF_DOCNO
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  PF_CHANGE_DATE:
                    type: string
                    format: date
                  PF_CHANGE_TIME:
                    type: string
                    maxLength: 6
                  PF_CHANGE_USER:
                    type: string
                    maxLength: 12
                  PF_DESCRIPTION:
                    type: string
                    maxLength: 128
                    description: Document Description
                  PF_DOCID:
                    type: string
                    maxLength: 255
                  PF_DOCSIZE:
                    type: integer
                    format: int32
                    description: Document size
                  PF_EXTENSION:
                    type: string
                    maxLength: 255
                  PF_GENERATED:
                    type: string
                    maxLength: 1
                  PS_SESSION_NUMBER:
                    type: object
                    properties:
                      SESSITYPE:
                        type: string
                        maxLength: 2
                        description: 'DSVAS: Type of instanced session'
                      SESSNO:
                        type: string
                        maxLength: 13
                        description: 'DSVAS: Number of instanced session'
                  PT_DOCUMENT:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          format: byte
                          description: 'DSVAS: Line of a File'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
