openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/PRGN_LIST_VALID_URL_TYPES:
    post:
      tags:
      - PRGN_URL_GENERATION
      operationId: /rfc/PRGN_LIST_VALID_URL_TYPES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                LIST_ALL_TYPES:
                  type: string
                  default: ' '
                  maxLength: 1
                NO_STANDARD_SAP_URL:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Customized ('C') or standard menu ('S') flag
                VALID_URL_EXITS:
                  type: array
                  items:
                    type: object
                    properties:
                      URL_TYPE:
                        type: string
                        maxLength: 20
                        description: Type of URL
                      MOD_F1:
                        type: string
                        maxLength: 30
                        description: Name of the function module
                      MOD_F4:
                        type: string
                        maxLength: 30
                        description: Name of the function module
                      MOD_CREA:
                        type: string
                        maxLength: 30
                        description: Name of the function module
                      MOD_CHNG:
                        type: string
                        maxLength: 30
                        description: Name of the function module
                      MOD_DISP:
                        type: string
                        maxLength: 30
                        description: Name of the function module
                      MOD_ADD1:
                        type: string
                        maxLength: 30
                        description: Name of the function module
                      MOD_ADD2:
                        type: string
                        maxLength: 30
                        description: Name of the function module
                      MOD_ADD3:
                        type: string
                        maxLength: 30
                        description: Name of the function module
                      MOD_MASSG:
                        type: string
                        maxLength: 30
                        description: Name of the function module
                      MOD_ADD4:
                        type: string
                        maxLength: 30
                        description: Name of the function module
                      MOD_ADD5:
                        type: string
                        maxLength: 30
                        description: Name of the function module
                      CHANGE_USR:
                        type: string
                        maxLength: 12
                        description: User Name
                      CREATE_DAT:
                        type: string
                        format: date
                        description: Date of menu generation
                      CHANGE_TIM:
                        type: string
                        maxLength: 6
                        description: Time when the menu was generated last
                      ATTRIBUTES:
                        type: string
                        maxLength: 10
                        description: Attributes of the menu
                      URL:
                        type: string
                        maxLength: 255
                        description: URL for the SAP Portal
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  VALID_URL_EXITS:
                    type: array
                    items:
                      type: object
                      properties:
                        URL_TYPE:
                          type: string
                          maxLength: 20
                          description: Type of URL
                        MOD_F1:
                          type: string
                          maxLength: 30
                          description: Name of the function module
                        MOD_F4:
                          type: string
                          maxLength: 30
                          description: Name of the function module
                        MOD_CREA:
                          type: string
                          maxLength: 30
                          description: Name of the function module
                        MOD_CHNG:
                          type: string
                          maxLength: 30
                          description: Name of the function module
                        MOD_DISP:
                          type: string
                          maxLength: 30
                          description: Name of the function module
                        MOD_ADD1:
                          type: string
                          maxLength: 30
                          description: Name of the function module
                        MOD_ADD2:
                          type: string
                          maxLength: 30
                          description: Name of the function module
                        MOD_ADD3:
                          type: string
                          maxLength: 30
                          description: Name of the function module
                        MOD_MASSG:
                          type: string
                          maxLength: 30
                          description: Name of the function module
                        MOD_ADD4:
                          type: string
                          maxLength: 30
                          description: Name of the function module
                        MOD_ADD5:
                          type: string
                          maxLength: 30
                          description: Name of the function module
                        CHANGE_USR:
                          type: string
                          maxLength: 12
                          description: User Name
                        CREATE_DAT:
                          type: string
                          format: date
                          description: Date of menu generation
                        CHANGE_TIM:
                          type: string
                          maxLength: 6
                          description: Time when the menu was generated last
                        ATTRIBUTES:
                          type: string
                          maxLength: 10
                          description: Attributes of the menu
                        URL:
                          type: string
                          maxLength: 255
                          description: URL for the SAP Portal
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
