openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWF_SLS_PROCESS_DEADLINES:
    post:
      tags:
      - SWF_SLS
      operationId: /rfc/SWF_SLS_PROCESS_DEADLINES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                APPLCUS:
                  type: object
                  properties:
                    APPL_ID:
                      type: string
                      maxLength: 20
                      description: Application Component
                    EXITCLASS:
                      type: string
                      maxLength: 30
                      description: 'SLS: Name of Exit Class of Application Component'
                    MAXRETRYCNT:
                      type: integer
                      format: int64
                      description: 'SLS: Maximum Number of Callback Attempts Per Deadline'
                    CBDEST:
                      type: string
                      maxLength: 32
                      description: Logical Destination (Specified in Function Call)
                    PARDLCNT:
                      type: integer
                      format: int32
                      description: 'SLS: Deadline Number At Which Parallel Processing Begins'
                    MAXPASIZE:
                      type: integer
                      format: int32
                      description: 'SLS: Highest Deadline Number in a Package'
                    MINPASIZE:
                      type: integer
                      format: int32
                      description: 'SLS: Smallest Deadline Number in a Package'
                    CHG_REL:
                      type: string
                      maxLength: 4
                      description: Last Changed in Release
                    CHG_TMSTP:
                      type: integer
                      format: int64
                      description: Time of Last Change as Time Stamp
                    CHG_USER:
                      type: string
                      maxLength: 12
                      description: Last-Change User (Logon Name)
                DUE_DEADLINES:
                  type: array
                  items:
                    type: object
                    properties:
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: Client
                      DEADLGUID:
                        type: string
                        maxLength: 32
                        description: GUID of appointment
                      APPL_ID:
                        type: string
                        maxLength: 20
                        description: Application Component
                      APPL_KEY:
                        type: string
                        maxLength: 70
                        description: 'SLS: Application-Specific Deadline Key'
                      DLTIMESTAMP:
                        type: integer
                        format: int64
                        description: 'SLS: UTC Time Stamp for Deadline'
                      STATUS:
                        type: string
                        maxLength: 1
                        description: 'Scheduling Services: Deadline Status'
                      PRIO:
                        type: integer
                        format: int64
                        description: 'SLS: Priority of Deadline'
                      GROUPING1:
                        type: string
                        maxLength: 32
                        description: 'DLS: 1st Grouping Character of Deadline'
                      GROUPING2:
                        type: string
                        maxLength: 32
                        description: 'DLS: 2nd Grouping Character of Deadline'
                      CL_CALLBACK:
                        type: string
                        maxLength: 30
                        description: 'SLS: Class That Executes Callback for Deadline'
                      DATACONTAINER:
                        type: string
                        maxLength: 1
                        description: 'SLS: Container ID (Deadline Contains Data Container)'
                      RETRY_CNT:
                        type: integer
                        format: int64
                        description: 'SLS: Number of Callback Attempts for a Deadline'
                      ALERT_SEND:
                        type: string
                        maxLength: 1
                        description: 'Workflow: Alert Sent'
                      WI_ESC:
                        type: integer
                        format: int64
                        description: 'WI deadline monitoring: Escalation time'
                      WI_TIMESTAMP:
                        type: integer
                        format: int64
                        description: UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)
                      CREA_REL:
                        type: string
                        maxLength: 4
                        description: Release at Creation
                      CREA_TMSTP:
                        type: integer
                        format: int64
                        description: Time Created as Time Stamp
                      CREA_USER:
                        type: string
                        maxLength: 12
                        description: User (Logon Name) at Creation
                      CHG_REL:
                        type: string
                        maxLength: 4
                        description: Last Changed in Release
                      CHG_TMSTP:
                        type: integer
                        format: int64
                        description: Time of Last Change as Time Stamp
                      CHG_USER:
                        type: string
                        maxLength: 12
                        description: Last-Change User (Logon Name)
                GUID:
                  type: string
                  maxLength: 32
                PERIODIC_DATA:
                  type: array
                  items:
                    type: object
                    properties:
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: Client
                      DLGUID:
                        type: string
                        maxLength: 32
                        description: GUID of appointment
                      CALCFLAG:
                        type: string
                        maxLength: 1
                        description: Flag specifying whether deadlines are set
                      PRIMDEADL:
                        type: string
                        maxLength: 32
                        description: GUID of appointment
                      CURR_COUNT:
                        type: integer
                        format: int32
                        description: Current Deadline No. of Periodic Deadline Series
                      CL_DLCALC:
                        type: string
                        maxLength: 30
                        description: Class for Deadline Calculation
                      TIMEUNIT:
                        type: string
                        maxLength: 3
                        description: Unit of Measurement
                      TIMEQUANT:
                        type: integer
                        format: int64
                        description: 'Scheduling Services: Time Quantity'
                      TSTAMPEND:
                        type: integer
                        format: int64
                        description: 'UTC Time Stamp: End of Periodic Deadline'
                      MAX_COUNT:
                        type: integer
                        format: int32
                        description: Maximum Deadline Number of Periodic Deadline Series
                      PCHG_REL:
                        type: string
                        maxLength: 4
                        description: Last Changed in Release
                      PCHG_TMSTP:
                        type: integer
                        format: int64
                        description: Time of Last Change as Time Stamp
                      PCHG_USER:
                        type: string
                        maxLength: 12
                        description: Last-Change User (Logon Name)
              required:
              - APPLCUS
              - DUE_DEADLINES
              - GUID
              - PERIODIC_DATA
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
