openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SCHEDULE_AUTHORITY_CHECK:
    post:
      tags:
      - SSC2
      operationId: /rfc/SCHEDULE_AUTHORITY_CHECK
      requestBody:
        content:
          application/json:
            schema:
              properties:
                OWNER:
                  type: string
                  maxLength: 12
                  description: Owner of appointments calendar
                PROXY:
                  type: string
                  default: SY-UNAME
                  maxLength: 12
                  description: Proxy for appointments calendar
              required:
              - OWNER
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  AUTHORITY:
                    type: object
                    properties:
                      PUBLIC:
                        type: string
                        maxLength: 1
                        description: 'Public appointments authorization flag  enumValues: 2=Maintenance authorization,0=No authorization,1=Display authorization'
                        enum:
                        - '2'
                        - '0'
                        - '1'
                      PRIVAT:
                        type: string
                        maxLength: 1
                        description: 'Private appointments authorization flag  enumValues: 2=Maintenance authorization,0=No authorization,1=Display authorization'
                        enum:
                        - '2'
                        - '0'
                        - '1'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
