openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/APPOINTMENT_SAVE:
    post:
      tags:
      - SSC0
      summary: Save Dates
      operationId: /rfc/APPOINTMENT_SAVE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ID_OF_INSERTED_APPT:
                  type: array
                  items:
                    type: object
                    properties:
                      OWNER:
                        type: string
                        maxLength: 12
                        description: Owner of an Appointment Calendar
                      ID_OLD:
                        type: string
                        maxLength: 25
                        description: General appointment ID
                      ID_NEW:
                        type: string
                        maxLength: 25
                        description: General appointment ID
                ID_OF_INSERTED_APPT_PATTERN:
                  type: array
                  items:
                    type: object
                    properties:
                      ID_OLD:
                        type: string
                        maxLength: 25
                        description: Generated appointment ID
                      ID_NEW:
                        type: string
                        maxLength: 25
                        description: Generated appointment ID
                ID_OF_INSERTED_RULE:
                  type: array
                  items:
                    type: object
                    properties:
                      ID_OLD:
                        type: string
                        maxLength: 25
                        description: Generated appointment ID
                      ID_NEW:
                        type: string
                        maxLength: 25
                        description: Generated appointment ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ID_OF_INSERTED_APPT:
                    type: array
                    items:
                      type: object
                      properties:
                        OWNER:
                          type: string
                          maxLength: 12
                          description: Owner of an Appointment Calendar
                        ID_OLD:
                          type: string
                          maxLength: 25
                          description: General appointment ID
                        ID_NEW:
                          type: string
                          maxLength: 25
                          description: General appointment ID
                  ID_OF_INSERTED_APPT_PATTERN:
                    type: array
                    items:
                      type: object
                      properties:
                        ID_OLD:
                          type: string
                          maxLength: 25
                          description: Generated appointment ID
                        ID_NEW:
                          type: string
                          maxLength: 25
                          description: Generated appointment ID
                  ID_OF_INSERTED_RULE:
                    type: array
                    items:
                      type: object
                      properties:
                        ID_OLD:
                          type: string
                          maxLength: 25
                          description: Generated appointment ID
                        ID_NEW:
                          type: string
                          maxLength: 25
                          description: Generated appointment ID
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
