openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SCHEDULE_OWNER_GET_INTERNAL:
    post:
      tags:
      - SSC1
      summary: Conversion of external to internal user name format
      operationId: /rfc/SCHEDULE_OWNER_GET_INTERNAL
      requestBody:
        content:
          application/json:
            schema:
              properties:
                OWNER_EXTERNAL_REPRESENTATION:
                  type: string
                  maxLength: 120
                  description: External representation of user name
                WITH_DIALOG:
                  type: string
                  maxLength: 1
                  description: ID for sending dialog window
                OWNER_ADDRESS:
                  type: array
                  items:
                    type: object
                    properties:
                      OWNER:
                        type: string
                        maxLength: 12
                        description: Owner of an Appointment Calendar
                      PERSNUMBER:
                        type: string
                        maxLength: 10
                        description: Person number
                      NAME:
                        type: string
                        maxLength: 120
                        description: User name (external format)
                      ADDRESS:
                        type: string
                        maxLength: 255
                        description: User address (Name, Company,...)
              required:
              - OWNER_EXTERNAL_REPRESENTATION
              - WITH_DIALOG
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  OWNER_ADDRESS:
                    type: array
                    items:
                      type: object
                      properties:
                        OWNER:
                          type: string
                          maxLength: 12
                          description: Owner of an Appointment Calendar
                        PERSNUMBER:
                          type: string
                          maxLength: 10
                          description: Person number
                        NAME:
                          type: string
                          maxLength: 120
                          description: User name (external format)
                        ADDRESS:
                          type: string
                          maxLength: 255
                          description: User address (Name, Company,...)
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
