openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CARD_FUNCTION_READ:
    post:
      tags:
      - CUFX
      operationId: /rfc/CARD_FUNCTION_READ
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DATE:
                  type: string
                  maxLength: 10
                  description: Date
                FUNCTION_NAME:
                  type: string
                  maxLength: 30
                  description: Function Name
                LANGUAGE:
                  type: string
                  maxLength: 2
                VAR_FUNCTION_ALT_INPUT:
                  type: array
                  items:
                    type: object
                    properties:
                      VFUNC_ALT:
                        type: string
                        maxLength: 4
                        description: Value assignment alternative number
                      CHARACT:
                        type: string
                        maxLength: 30
                        description: Characteristic Name
                VAR_FUNCTION_DESCRIPTIONS:
                  type: array
                  items:
                    type: object
                    properties:
                      DESCRIPT:
                        type: string
                        maxLength: 40
                        description: Description
                      LANGUAGE_ISO:
                        type: string
                        maxLength: 2
                        description: Language according to ISO 639
                VAR_FUNCTION_PARAMETERS:
                  type: array
                  items:
                    type: object
                    properties:
                      CHARACT:
                        type: string
                        maxLength: 30
                        description: Characteristic Name
              required:
              - FUNCTION_NAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RETURN:
                    type: string
                    maxLength: 1
                  VAR_FUNCTION_BASIC_DATA:
                    type: object
                    properties:
                      VFUNC_STATUS:
                        type: string
                        maxLength: 1
                        description: Variant function status
                      VFUNC_GROUP:
                        type: string
                        maxLength: 10
                        description: Variant function group
                      VFUNC_AUTH_MAINTAIN:
                        type: string
                        maxLength: 3
                        description: Authorization Group for Variant Function Maintenance
                  VAR_FUNCTION_ALT_INPUT:
                    type: array
                    items:
                      type: object
                      properties:
                        VFUNC_ALT:
                          type: string
                          maxLength: 4
                          description: Value assignment alternative number
                        CHARACT:
                          type: string
                          maxLength: 30
                          description: Characteristic Name
                  VAR_FUNCTION_DESCRIPTIONS:
                    type: array
                    items:
                      type: object
                      properties:
                        DESCRIPT:
                          type: string
                          maxLength: 40
                          description: Description
                        LANGUAGE_ISO:
                          type: string
                          maxLength: 2
                          description: Language according to ISO 639
                  VAR_FUNCTION_PARAMETERS:
                    type: array
                    items:
                      type: object
                      properties:
                        CHARACT:
                          type: string
                          maxLength: 30
                          description: Characteristic Name
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
