openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DSVAS_FL_EDIT_ACTION_ITEM:
    post:
      tags:
      - DSVAS_FL
      summary: edit selected action item
      operationId: /rfc/DSVAS_FL_EDIT_ACTION_ITEM
      requestBody:
        content:
          application/json:
            schema:
              properties:
                PF_ACTION_TO_EDIT:
                  type: integer
                  format: int32
                PF_CHANGE_DATE:
                  type: string
                  format: date
                PF_CHANGE_TIME:
                  type: string
                  maxLength: 6
                PF_HANDLE:
                  type: integer
                  format: int32
                PF_LANGUAGE:
                  type: string
                  maxLength: 1
                PF_MODE:
                  type: string
                  default: S
                  maxLength: 1
                PF_NEW_ACTION:
                  type: string
                  maxLength: 1
                PF_SESSITYPE:
                  type: string
                  maxLength: 2
                PF_SESSNO:
                  type: string
                  maxLength: 13
                PS_ACTION_ITEM:
                  type: object
                  properties:
                    PRIORITY:
                      type: integer
                      format: int32
                      description: 'DSVAS: Step priority'
                    DUE_DATE:
                      type: string
                      format: date
                      description: 'DSVAS: Step due date'
                    TEXT:
                      type: string
                      maxLength: 255
                      description: 'DSVAS: Action short text'
                    VERSNR:
                      type: integer
                      format: int64
                      description: 'DSVAS: Version number (e.g session type, session group)'
                    GRP:
                      type: string
                      maxLength: 20
                      description: 'DSVAS: Check group'
                    ID:
                      type: integer
                      format: int64
                      description: 'DSVAS: Check ID'
                    CON:
                      type: string
                      maxLength: 10
                      description: 'DSVAS: Context'
                    INS:
                      type: string
                      maxLength: 40
                      description: 'DSVAS: Instance of a context'
                    SEND_TO:
                      type: string
                      maxLength: 60
                      description: 'DSVAS: Forwarding ID'
                    SEND_STATUS:
                      type: string
                      maxLength: 1
                      description: 'DSVAS: Forwarding status'
                    DUE_DATE_TEXT:
                      type: string
                      maxLength: 255
                      description: 'DSVAS: Step due date (description)'
                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)
              required:
              - PF_ACTION_TO_EDIT
              - PF_CHANGE_DATE
              - PF_CHANGE_TIME
              - PF_HANDLE
              - PF_LANGUAGE
              - PF_MODE
              - PF_SESSITYPE
              - PF_SESSNO
              - PS_ACTION_ITEM
              - PS_DATE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  PF_DATA_ERROR:
                    type: string
                    maxLength: 73
                    description: 'DSVAS: Session step list'
                  PF_ERROR:
                    type: string
                    maxLength: 73
                    description: 'DSVAS: Session step list'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
