openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWF_CREATE_DEADLINES:
    post:
      tags:
      - SWF1
      operationId: /rfc/SWF_CREATE_DEADLINES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                STEP_DESCRIPTION:
                  type: object
                  properties:
                    DES_ST_B:
                      type: string
                      maxLength: 3
                      description: 'Reference date/time for requested start  enumValues: ""=No Deadline Monitoring Active,EXP=Expression,WIS=Work Item Creation,WFS=Workflow Creation'
                      enum:
                      - ''
                      - EXP
                      - WIS
                      - WFS
                    DES_ST_U:
                      type: string
                      maxLength: 3
                      description: Time Unit
                    DES_ST_O:
                      type: integer
                      format: int32
                      description: Offset between reference time and missed deadline
                    DES_ET_EXP:
                      type: string
                      maxLength: 255
                      description: Expression for requested end (time)
                    DES_ED_EXP:
                      type: string
                      maxLength: 255
                      description: Expression for requested end (date)
                    LASTR_EXPR:
                      type: string
                      maxLength: 255
                      description: Notification Agent for Latest Start
                    LATST_STRT:
                      type: string
                      maxLength: 80
                      description: 'Outcome Name: Latest Start'
                    LATE_ST_B:
                      type: string
                      maxLength: 3
                      description: 'Reference date/time for latest start  enumValues: ""=No Deadline Monitoring Active,EXP=Expression,WIS=Work Item Creation,WFS=Workflow Creation'
                      enum:
                      - ''
                      - EXP
                      - WIS
                      - WFS
                    LATE_ST_U:
                      type: string
                      maxLength: 3
                      description: Time Unit
                    LATE_ST_O:
                      type: integer
                      format: int32
                      description: Offset between reference time and missed deadline
                    LAT_ST_EXP:
                      type: string
                      maxLength: 255
                      description: Expression for latest start (time)
                    LAT_SD_EXP:
                      type: string
                      maxLength: 255
                      description: Expression for latest start (date)
                    DEAD_EXPR:
                      type: string
                      maxLength: 255
                      description: Notification Agent for Latest End
                    DESIR_END:
                      type: string
                      maxLength: 80
                      description: Outcome after requested end
                    DES_END_B:
                      type: string
                      maxLength: 3
                      description: 'Reference date/time for requested end  enumValues: ""=No Deadline Monitoring Active,EXP=Expression,WIS=Work Item Creation,WFS=Workflow Creation'
                      enum:
                      - ''
                      - EXP
                      - WIS
                      - WFS
                    DES_END_U:
                      type: string
                      maxLength: 3
                      description: Time Unit
                    DES_END_O:
                      type: integer
                      format: int32
                      description: Offset between reference time and missed deadline
                    DES_ST_EXP:
                      type: string
                      maxLength: 255
                      description: Expression for requested start (time)
                    DES_SD_EXP:
                      type: string
                      maxLength: 255
                      description: Expression for requested start (date)
                    DEEND_EXPR:
                      type: string
                      maxLength: 255
                      description: Notification Agent for Deadline Monitoring
                    LATST_END:
                      type: string
                      maxLength: 80
                      description: 'Outcome Name: Latest End'
                    LATE_END_B:
                      type: string
                      maxLength: 3
                      description: 'Reference Date/Time for Latest End  enumValues: ""=No Deadline Monitoring Active,EXP=Expression,WIS=Work Item Creation,WFS=Workflow Creation'
                      enum:
                      - ''
                      - EXP
                      - WIS
                      - WFS
                    LATE_END_U:
                      type: string
                      maxLength: 3
                      description: Time Unit
                    LATE_END_O:
                      type: integer
                      format: int32
                      description: Offset between reference time and missed deadline
                    LAT_ET_EXP:
                      type: string
                      maxLength: 255
                      description: Expression for Latest End
                    LAT_ED_EXP:
                      type: string
                      maxLength: 255
                      description: Expression for latest end (date)
                STEP_NODE_ID:
                  type: integer
                  format: int64
              required:
              - STEP_DESCRIPTION
              - STEP_NODE_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  STEP_DEADLINE_NODES:
                    type: object
                    properties:
                      LASTR_NODE:
                        type: integer
                        format: int64
                        description: Node Number
                      DEEND_NODE:
                        type: integer
                        format: int64
                        description: Node Number
                      LAEND_NODE:
                        type: integer
                        format: int64
                        description: Node Number
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
