openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DAY_NAMES_GET:
    post:
      tags:
      - SCA5
      operationId: /rfc/DAY_NAMES_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: Language
                DAY_NAMES:
                  type: array
                  items:
                    type: object
                    properties:
                      SPRSL:
                        type: string
                        maxLength: 1
                        description: Language Key
                      WOTNR:
                        type: string
                        maxLength: 1
                        description: 'Calendar: Number of day'
                      KURZT:
                        type: string
                        maxLength: 2
                        description: 'Calendar: Day Short Text'
                      LANGT:
                        type: string
                        maxLength: 20
                        description: Day
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RETURN_CODE:
                    type: integer
                    format: int32
                    description: Return Code
                  DAY_NAMES:
                    type: array
                    items:
                      type: object
                      properties:
                        SPRSL:
                          type: string
                          maxLength: 1
                          description: Language Key
                        WOTNR:
                          type: string
                          maxLength: 1
                          description: 'Calendar: Number of day'
                        KURZT:
                          type: string
                          maxLength: 2
                          description: 'Calendar: Day Short Text'
                        LANGT:
                          type: string
                          maxLength: 20
                          description: Day
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
