openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DSVAS_FL_SESSION_DETAILS:
    post:
      tags:
      - DSVAS_FL
      summary: show details of a selected session
      operationId: /rfc/DSVAS_FL_SESSION_DETAILS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                PF_HANDLE:
                  type: integer
                  format: int32
                  description: Loops, number of current pass
                PF_SESSITYPE:
                  type: string
                  maxLength: 2
                  description: 'DSVAS: Type of instanced session'
                PF_SESSNO:
                  type: string
                  maxLength: 13
                  description: 'DSVAS: Number of instanced session'
                PT_SESSADMIN:
                  type: array
                  items:
                    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'
                      BUNDLE_ID:
                        type: string
                        maxLength: 8
                        description: 'DSVAS: Session package ID'
                      BUNDLE_VERSNR:
                        type: integer
                        format: int64
                        description: 'DSVAS: Version number of a session package'
                      WATCHER:
                        type: string
                        maxLength: 12
                        description: 'DSVAS: Analyst currently processing session'
                      PLANNED_DATE:
                        type: string
                        format: date
                        description: 'DSVAS: Planned session date (session administration)'
                      STATUS:
                        type: string
                        maxLength: 1
                        description: 'DSVAS: Session status (session administration)  enumValues: T=Session in SDCC-Transfer,E=Session is checked out (to an external system),R=Session received,O=Session is being processed,X=Session has been reset,V=Session Marked for Sending,I=Session has not yet been processed,C=Session is closed,A=Session Received from Customer,S=Session sent,W=Error: Sending Session Failed,K=Error: Session Already Received from Customer'
                        enum:
                        - T
                        - E
                        - R
                        - O
                        - X
                        - V
                        - I
                        - C
                        - A
                        - S
                        - W
                        - K
                      RATING:
                        type: string
                        maxLength: 1
                        description: 'DSVAS: Session rating  enumValues: G=Uncritical (green rating),R=Very critical (red rating),Y=Critical (yellow rating)'
                        enum:
                        - G
                        - R
                        - Y
                      CUSTOMERNO:
                        type: string
                        maxLength: 10
                        description: 'DSVAS: Customer number'
                      INSTNO:
                        type: integer
                        format: int64
                        description: 'DSVAS: Installation number'
                      DBID:
                        type: string
                        maxLength: 3
                        description: 'DSVAS: Database ID (system ID)'
                      DESCRIPTION:
                        type: string
                        maxLength: 128
                        description: 'DSVAS: Text of length 128'
                      CHANGE_USER:
                        type: string
                        maxLength: 12
                        description: 'DSVAS: Last changed by'
                      CHANGE_DATE:
                        type: string
                        format: date
                        description: 'DSVAS: Date of change'
                      CHANGE_TIME:
                        type: string
                        maxLength: 6
                        description: 'DSVAS: Change time'
                      CREATION_USER:
                        type: string
                        maxLength: 12
                        description: 'DSVAS: Name of creator'
                      CREATION_DATE:
                        type: string
                        format: date
                        description: 'DSVAS: Creation date'
                      CREATION_TIME:
                        type: string
                        maxLength: 6
                        description: 'DSVAS: Creation time'
                      CONTRACTNO:
                        type: string
                        maxLength: 20
                        description: 'DSVAS: Contract data (for example, contract number)'
                      EXTERNAL_ID:
                        type: string
                        maxLength: 20
                        description: 'DSVAS: External ID of session'
                      EXTERNAL_STATUS:
                        type: string
                        maxLength: 1
                        description: 'DSVAS: External status of session'
                      CO_SYSTEM_ID:
                        type: string
                        maxLength: 3
                        description: 'DSVAS: Check-out system ID'
                      CO_INSTALL_NO:
                        type: string
                        maxLength: 10
                        description: 'DSVAS: Check-out installation number'
                      CO_USER:
                        type: string
                        maxLength: 12
                        description: 'DSVAS: Check-out user'
                      CO_DATE:
                        type: string
                        format: date
                        description: 'DSVAS: Check-out date'
                      CO_TIME:
                        type: string
                        maxLength: 6
                        description: 'DSVAS: Check-out time'
                      CO_SESSITYPE:
                        type: string
                        maxLength: 2
                        description: 'DSVAS: Type of instanced session'
                      CO_SESSNO:
                        type: string
                        maxLength: 13
                        description: 'DSVAS: Number of instanced session'
                      CO_RFCDEST:
                        type: string
                        maxLength: 32
                        description: 'DSVAS: Check-out RFC destination'
                      CI_SYSTEM_ID:
                        type: string
                        maxLength: 3
                        description: 'DSVAS: Check-In System ID'
                      CI_INSTALL_NO:
                        type: string
                        maxLength: 10
                        description: 'DSVAS: Check-in installation number'
                      CI_USER:
                        type: string
                        maxLength: 12
                        description: 'DSVAS: Check-in user'
                      CI_DATE:
                        type: string
                        format: date
                        description: 'DSVAS: Check-in date'
                      CI_TIME:
                        type: string
                        maxLength: 6
                        description: 'DSVAS: Check-in time'
                      DL_CONTRACT:
                        type: string
                        maxLength: 8
                        description: 'DSVAS: Service data download for contract type'
                      DL_DESCR:
                        type: string
                        maxLength: 8
                        description: 'DSVAS: Service data download for session subtype'
                PT_SESSPACKINFO:
                  type: array
                  items:
                    type: object
                    properties:
                      BUNDLE_ID:
                        type: string
                        maxLength: 8
                        description: 'DSVAS: Session package ID'
                      BUNDLE_VERSNR:
                        type: integer
                        format: int64
                        description: 'DSVAS: Version number (e.g session type, session group)'
                      SESSITYPE:
                        type: string
                        maxLength: 2
                        description: 'DSVAS: Type of instanced session'
                      SESSNO:
                        type: string
                        maxLength: 13
                        description: 'DSVAS: Number of instanced session'
                      SESSGRP:
                        type: string
                        maxLength: 20
                        description: 'DSVAS: Session group'
                      SESSTYPE:
                        type: string
                        maxLength: 20
                        description: 'DSVAS: Session type'
                      SESSVERSNR:
                        type: integer
                        format: int64
                        description: 'DSVAS: Version number (e.g session type, session group)'
                      LANGUAGE:
                        type: string
                        maxLength: 1
                        description: Language Key
                      TEXT:
                        type: string
                        maxLength: 60
                        description: 'DSVAS: Description of length 60'
                PT_SESSPACKTEXT:
                  type: array
                  items:
                    type: object
                    properties:
                      BUNDLE_ID:
                        type: string
                        maxLength: 8
                        description: 'DSVAS: Session package ID'
                      BUNDLE_VERSNR:
                        type: integer
                        format: int64
                        description: 'DSVAS: Version number of a session package'
                      TEXT:
                        type: string
                        maxLength: 60
                        description: 'DSVAS: Description of length 60'
              required:
              - PF_SESSNO
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  PS_DATE:
                    type: object
                    properties:
                      CDAY:
                        type: string
                        maxLength: 2
                        description: Day (2 digits)
                      CMONTH:
                        type: string
                        maxLength: 2
                        description: Month (2 digits)
                      CYEAR:
                        type: string
                        maxLength: 4
                        description: Month (4 digits)
                  PT_SESSADMIN:
                    type: array
                    items:
                      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'
                        BUNDLE_ID:
                          type: string
                          maxLength: 8
                          description: 'DSVAS: Session package ID'
                        BUNDLE_VERSNR:
                          type: integer
                          format: int64
                          description: 'DSVAS: Version number of a session package'
                        WATCHER:
                          type: string
                          maxLength: 12
                          description: 'DSVAS: Analyst currently processing session'
                        PLANNED_DATE:
                          type: string
                          format: date
                          description: 'DSVAS: Planned session date (session administration)'
                        STATUS:
                          type: string
                          maxLength: 1
                          description: 'DSVAS: Session status (session administration)  enumValues: T=Session in SDCC-Transfer,E=Session is checked out (to an external system),R=Session received,O=Session is being processed,X=Session has been reset,V=Session Marked for Sending,I=Session has not yet been processed,C=Session is closed,A=Session Received from Customer,S=Session sent,W=Error: Sending Session Failed,K=Error: Session Already Received from Customer'
                          enum:
                          - T
                          - E
                          - R
                          - O
                          - X
                          - V
                          - I
                          - C
                          - A
                          - S
                          - W
                          - K
                        RATING:
                          type: string
                          maxLength: 1
                          description: 'DSVAS: Session rating  enumValues: G=Uncritical (green rating),R=Very critical (red rating),Y=Critical (yellow rating)'
                          enum:
                          - G
                          - R
                          - Y
                        CUSTOMERNO:
                          type: string
                          maxLength: 10
                          description: 'DSVAS: Customer number'
                        INSTNO:
                          type: integer
                          format: int64
                          description: 'DSVAS: Installation number'
                        DBID:
                          type: string
                          maxLength: 3
                          description: 'DSVAS: Database ID (system ID)'
                        DESCRIPTION:
                          type: string
                          maxLength: 128
                          description: 'DSVAS: Text of length 128'
                        CHANGE_USER:
                          type: string
                          maxLength: 12
                          description: 'DSVAS: Last changed by'
                        CHANGE_DATE:
                          type: string
                          format: date
                          description: 'DSVAS: Date of change'
                        CHANGE_TIME:
                          type: string
                          maxLength: 6
                          description: 'DSVAS: Change time'
                        CREATION_USER:
                          type: string
                          maxLength: 12
                          description: 'DSVAS: Name of creator'
                        CREATION_DATE:
                          type: string
                          format: date
                          description: 'DSVAS: Creation date'
                        CREATION_TIME:
                          type: string
                          maxLength: 6
                          description: 'DSVAS: Creation time'
                        CONTRACTNO:
                          type: string
                          maxLength: 20
                          description: 'DSVAS: Contract data (for example, contract number)'
                        EXTERNAL_ID:
                          type: string
                          maxLength: 20
                          description: 'DSVAS: External ID of session'
                        EXTERNAL_STATUS:
                          type: string
                          maxLength: 1
                          description: 'DSVAS: External status of session'
                        CO_SYSTEM_ID:
                          type: string
                          maxLength: 3
                          description: 'DSVAS: Check-out system ID'
                        CO_INSTALL_NO:
                          type: string
                          maxLength: 10
                          description: 'DSVAS: Check-out installation number'
                        CO_USER:
                          type: string
                          maxLength: 12
                          description: 'DSVAS: Check-out user'
                        CO_DATE:
                          type: string
                          format: date
                          description: 'DSVAS: Check-out date'
                        CO_TIME:
                          type: string
                          maxLength: 6
                          description: 'DSVAS: Check-out time'
                        CO_SESSITYPE:
                          type: string
                          maxLength: 2
                          description: 'DSVAS: Type of instanced session'
                        CO_SESSNO:
                          type: string
                          maxLength: 13
                          description: 'DSVAS: Number of instanced session'
                        CO_RFCDEST:
                          type: string
                          maxLength: 32
                          description: 'DSVAS: Check-out RFC destination'
                        CI_SYSTEM_ID:
                          type: string
                          maxLength: 3
                          description: 'DSVAS: Check-In System ID'
                        CI_INSTALL_NO:
                          type: string
                          maxLength: 10
                          description: 'DSVAS: Check-in installation number'
                        CI_USER:
                          type: string
                          maxLength: 12
                          description: 'DSVAS: Check-in user'
                        CI_DATE:
                          type: string
                          format: date
                          description: 'DSVAS: Check-in date'
                        CI_TIME:
                          type: string
                          maxLength: 6
                          description: 'DSVAS: Check-in time'
                        DL_CONTRACT:
                          type: string
                          maxLength: 8
                          description: 'DSVAS: Service data download for contract type'
                        DL_DESCR:
                          type: string
                          maxLength: 8
                          description: 'DSVAS: Service data download for session subtype'
                  PT_SESSPACKINFO:
                    type: array
                    items:
                      type: object
                      properties:
                        BUNDLE_ID:
                          type: string
                          maxLength: 8
                          description: 'DSVAS: Session package ID'
                        BUNDLE_VERSNR:
                          type: integer
                          format: int64
                          description: 'DSVAS: Version number (e.g session type, session group)'
                        SESSITYPE:
                          type: string
                          maxLength: 2
                          description: 'DSVAS: Type of instanced session'
                        SESSNO:
                          type: string
                          maxLength: 13
                          description: 'DSVAS: Number of instanced session'
                        SESSGRP:
                          type: string
                          maxLength: 20
                          description: 'DSVAS: Session group'
                        SESSTYPE:
                          type: string
                          maxLength: 20
                          description: 'DSVAS: Session type'
                        SESSVERSNR:
                          type: integer
                          format: int64
                          description: 'DSVAS: Version number (e.g session type, session group)'
                        LANGUAGE:
                          type: string
                          maxLength: 1
                          description: Language Key
                        TEXT:
                          type: string
                          maxLength: 60
                          description: 'DSVAS: Description of length 60'
                  PT_SESSPACKTEXT:
                    type: array
                    items:
                      type: object
                      properties:
                        BUNDLE_ID:
                          type: string
                          maxLength: 8
                          description: 'DSVAS: Session package ID'
                        BUNDLE_VERSNR:
                          type: integer
                          format: int64
                          description: 'DSVAS: Version number of a session package'
                        TEXT:
                          type: string
                          maxLength: 60
                          description: 'DSVAS: Description of length 60'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
