openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CCAP_REV_LEVEL_MAINTAIN:
    post:
      tags:
      - CCAP
      operationId: /rfc/CCAP_REV_LEVEL_MAINTAIN
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CHANGE_NO:
                  type: string
                  maxLength: 12
                  description: Change Number
                DOCUMENT_NUMBER:
                  type: string
                  maxLength: 25
                  description: Document Number
                DOCUMENT_PART:
                  type: string
                  maxLength: 3
                  description: Document Part
                DOCUMENT_TYPE:
                  type: string
                  maxLength: 3
                  description: Document Type
                DOCUMENT_VERSION:
                  type: string
                  maxLength: 2
                  description: Document Version
                FLG_ALE:
                  type: string
                  default: ' '
                  maxLength: 1
                FL_COMMIT_AND_WAIT:
                  type: string
                  default: ' '
                  maxLength: 1
                FL_NO_COMMIT_WORK:
                  type: string
                  default: ' '
                  maxLength: 1
                MATERIAL:
                  type: string
                  maxLength: 18
                  description: Material Number
                REV_LEVEL_NEW:
                  type: string
                  maxLength: 2
                  description: New revision level
              required:
              - CHANGE_NO
              - REV_LEVEL_NEW
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
