openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SCHEDULE_AUTHORITY_GET:
    post:
      tags:
      - SSC6
      summary: 'Appointment Calendar: Authorizations'
      operationId: /rfc/SCHEDULE_AUTHORITY_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: Language
                SCHEDULE_AUTHORITY:
                  type: array
                  items:
                    type: object
                    properties:
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key
                      AUTHORITY:
                        type: string
                        maxLength: 2
                        description: 'Proxy authorization  enumValues: 99=central authorization,22=maintain public and private appointments,10=only display public appointments,11=display public and private appointments,21=maintain public, and display private appointments,20=maintain public appointments,00=No authorization'
                        enum:
                        - '99'
                        - '22'
                        - '10'
                        - '11'
                        - '21'
                        - '20'
                        - '00'
                      TXT_LONG:
                        type: string
                        maxLength: 60
                        description: Authorization long text
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RETURN_CODE:
                    type: integer
                    format: int32
                    description: Return value
                  SCHEDULE_AUTHORITY:
                    type: array
                    items:
                      type: object
                      properties:
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key
                        AUTHORITY:
                          type: string
                          maxLength: 2
                          description: 'Proxy authorization  enumValues: 99=central authorization,22=maintain public and private appointments,10=only display public appointments,11=display public and private appointments,21=maintain public, and display private appointments,20=maintain public appointments,00=No authorization'
                          enum:
                          - '99'
                          - '22'
                          - '10'
                          - '11'
                          - '21'
                          - '20'
                          - '00'
                        TXT_LONG:
                          type: string
                          maxLength: 60
                          description: Authorization long text
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
