openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/APPT_SELECT_FOR_CURRENT_USER:
    post:
      tags:
      - SSCE
      operationId: /rfc/APPT_SELECT_FOR_CURRENT_USER
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DATE_IN:
                  type: string
                  default: ' '
                  maxLength: 8
                  description: Date and Time, Current (Application Server) Date
                OFFSET:
                  type: string
                  default: ' '
                  maxLength: 4
                  description: Not More Closely Defined Area, Possibly Used for Patchlevels
                APPOINTMENTS:
                  type: array
                  items:
                    type: object
                    properties:
                      DATE_FROM:
                        type: string
                        maxLength: 8
                        description: Character field, 8 characters long
                      DATS_FROM:
                        type: string
                        maxLength: 10
                        description: Character Field Length = 10
                      TIME_FROM:
                        type: string
                        maxLength: 6
                        description: From Time
                      TIMS_FROM:
                        type: string
                        maxLength: 5
                        description: Text field with length of 5
                      ZONE_FROM:
                        type: string
                        maxLength: 6
                        description: 'Appointment calendar: Time zone of start of appointment'
                      DATE_TO:
                        type: string
                        maxLength: 8
                        description: Character field, 8 characters long
                      DATS_TO:
                        type: string
                        maxLength: 10
                        description: Character Field Length = 10
                      TIME_TO:
                        type: string
                        maxLength: 6
                        description: To Time
                      TIMS_TO:
                        type: string
                        maxLength: 5
                        description: Text field with length of 5
                      ZONE_TO:
                        type: string
                        maxLength: 6
                        description: 'Appointment calendar: Time zone of end of appointment'
                      TXT_SHORT:
                        type: string
                        maxLength: 120
                        description: Short text
                      ROOM:
                        type: string
                        maxLength: 12
                        description: Appointment room
                      TXT_LONG:
                        type: string
                        maxLength: 40
                        description: Description
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ACTUAL_DATE:
                    type: string
                    maxLength: 10
                    description: Date and Time, Current (Application Server) Date
                  ACTUAL_DATE_STRING:
                    type: string
                    maxLength: 10
                    description: Character Field, 8 Characters Long
                  LOCAL_SELECTION:
                    type: string
                    maxLength: 1
                    description: Indicator
                  APPOINTMENTS:
                    type: array
                    items:
                      type: object
                      properties:
                        DATE_FROM:
                          type: string
                          maxLength: 8
                          description: Character field, 8 characters long
                        DATS_FROM:
                          type: string
                          maxLength: 10
                          description: Character Field Length = 10
                        TIME_FROM:
                          type: string
                          maxLength: 6
                          description: From Time
                        TIMS_FROM:
                          type: string
                          maxLength: 5
                          description: Text field with length of 5
                        ZONE_FROM:
                          type: string
                          maxLength: 6
                          description: 'Appointment calendar: Time zone of start of appointment'
                        DATE_TO:
                          type: string
                          maxLength: 8
                          description: Character field, 8 characters long
                        DATS_TO:
                          type: string
                          maxLength: 10
                          description: Character Field Length = 10
                        TIME_TO:
                          type: string
                          maxLength: 6
                          description: To Time
                        TIMS_TO:
                          type: string
                          maxLength: 5
                          description: Text field with length of 5
                        ZONE_TO:
                          type: string
                          maxLength: 6
                          description: 'Appointment calendar: Time zone of end of appointment'
                        TXT_SHORT:
                          type: string
                          maxLength: 120
                          description: Short text
                        ROOM:
                          type: string
                          maxLength: 12
                          description: Appointment room
                        TXT_LONG:
                          type: string
                          maxLength: 40
                          description: Description
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
