openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DAY_COVERING_RULE_GET_WITH_KEY:
    post:
      tags:
      - SSC0
      operationId: /rfc/DAY_COVERING_RULE_GET_WITH_KEY
      requestBody:
        content:
          application/json:
            schema:
              properties:
                APPOINTMENT_RULE_ID:
                  type: string
                  maxLength: 25
                  description: Rule Key
                APPOINTMENT_CONFLICT_DATES:
                  type: array
                  items:
                    type: object
                    properties:
                      RULE_ID:
                        type: string
                        maxLength: 25
                        description: Internal Identification of Rules of Periodic Appointments
                      OLD_DATE:
                        type: string
                        format: date
                        description: Date for public holiday and factory calendars
                      NEW_DATE:
                        type: string
                        format: date
                        description: Date for public holiday and factory calendars
                      MAINT_INDI:
                        type: string
                        maxLength: 1
                        description: Maintenance identifier
                      MARK_INDI:
                        type: string
                        maxLength: 1
                        description: Maintenance identifier
              required:
              - APPOINTMENT_RULE_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  APPOINTMENT_RULE:
                    type: object
                    properties:
                      RULE_ID:
                        type: string
                        maxLength: 25
                        description: Internal Identification of Rules of Periodic Appointments
                      TYPE:
                        type: string
                        maxLength: 2
                        description: Version Number Component
                      START_DATE:
                        type: string
                        format: date
                        description: Start Date for Rule Period
                      END_DATE:
                        type: string
                        format: date
                        description: End Date for Rule Period
                      CONFLICTS:
                        type: string
                        maxLength: 1
                        description: Exception Rule for Non-Working Days
                      FCALID:
                        type: string
                        maxLength: 2
                        description: Factory Calendar
                      HCALID:
                        type: string
                        maxLength: 2
                        description: Public Holiday Calendar
                      RULE:
                        type: string
                        maxLength: 200
                        description: Text field length 200
                      INFO_DEL:
                        type: string
                        maxLength: 1
                        description: Maintenance identifier
                      RULE_INDEX:
                        type: string
                        maxLength: 20
                        description: Char 20
                      RULE_REF:
                        type: integer
                        format: int32
                        description: Reference counter
                      MAINT_INDI:
                        type: string
                        maxLength: 1
                        description: Maintenance identifier
                      MARK_INDI:
                        type: string
                        maxLength: 1
                        description: Maintenance identifier
                  APPOINTMENT_CONFLICT_DATES:
                    type: array
                    items:
                      type: object
                      properties:
                        RULE_ID:
                          type: string
                          maxLength: 25
                          description: Internal Identification of Rules of Periodic Appointments
                        OLD_DATE:
                          type: string
                          format: date
                          description: Date for public holiday and factory calendars
                        NEW_DATE:
                          type: string
                          format: date
                          description: Date for public holiday and factory calendars
                        MAINT_INDI:
                          type: string
                          maxLength: 1
                          description: Maintenance identifier
                        MARK_INDI:
                          type: string
                          maxLength: 1
                          description: Maintenance identifier
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
