openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CACL_OBJECT_ALLOCATION_MAINT:
    post:
      tags:
      - CACL
      operationId: /rfc/CACL_OBJECT_ALLOCATION_MAINT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CHANGE_NO:
                  type: string
                  maxLength: 12
                  description: Change number
                CLASS:
                  type: string
                  maxLength: 18
                  description: Class
                CLASS_TYPE:
                  type: string
                  maxLength: 3
                  description: Class type
                DELETE_ALLOCATION:
                  type: string
                  maxLength: 1
                  description: X = Delete classification
                I_DATUV:
                  type: string
                  format: date
                  description: Change number
                I_NO_DEFAULTS:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Change number
                I_OBJ_NOT_CHK:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Change number
                OBJECT:
                  type: string
                  maxLength: 50
                OBJECT_TYPE:
                  type: string
                  maxLength: 30
                  description: Object ID, such as MARA, EQUI
                STANDARD_CLASS:
                  type: string
                  maxLength: 1
                  description: Standard class indicator (not active)
                STATUS:
                  type: string
                  maxLength: 1
                  description: Classification Status
                OBJECT_IDENTIFICATION:
                  type: array
                  items:
                    type: object
                    properties:
                      FIELD:
                        type: string
                        maxLength: 30
                        description: Field Name
                      VALUE:
                        type: string
                        maxLength: 100
                        description: External Key of Object To Be Classified
              required:
              - CLASS
              - CLASS_TYPE
              - OBJECT_TYPE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  OBJECT_IDENTIFICATION:
                    type: array
                    items:
                      type: object
                      properties:
                        FIELD:
                          type: string
                          maxLength: 30
                          description: Field Name
                        VALUE:
                          type: string
                          maxLength: 100
                          description: External Key of Object To Be Classified
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
