openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CACL_OBJECT_READ_VALIDATION:
    post:
      tags:
      - CACL
      operationId: /rfc/CACL_OBJECT_READ_VALIDATION
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CLASS:
                  type: string
                  maxLength: 18
                  description: Class
                CLASS_TYPE:
                  type: string
                  maxLength: 3
                  description: Class type
                DATE:
                  type: string
                  maxLength: 10
                  description: Change date
                I_AENNR:
                  type: string
                  maxLength: 12
                  description: Change Number
                I_EXECUTE_DEP:
                  type: string
                  default: ' '
                  maxLength: 1
                I_OBJ_NOT_CHK:
                  type: string
                  default: ' '
                  maxLength: 1
                LANGUAGE:
                  type: string
                  default: SYST-LANGU
                  maxLength: 1
                  description: Language key                Default SY-LANGU
                OBJECT:
                  type: string
                  maxLength: 50
                OBJECT_TYPE:
                  type: string
                  maxLength: 30
                  description: Object ID, such as MARA, EQUI
                WITH_INHERITED_CHARACTS:
                  type: string
                  default: X
                  maxLength: 1
                  description: Include inherited characteristics default 'X'
                WITH_UNASSIGNED_CHARACTS:
                  type: string
                  default: X
                  maxLength: 1
                  description: Include object without characteristic values default 'X'
                CHARACT_VALUES:
                  type: array
                  items:
                    type: object
                    properties:
                      CHARACT:
                        type: string
                        maxLength: 30
                        description: Characteristic Name
                      VALUE:
                        type: string
                        maxLength: 30
                        description: Characteristic Value
                      INHERITED:
                        type: string
                        maxLength: 1
                        description: 'Indicator: characteristic is inherited'
                      VAL_ASSIGN:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Values are Assigned to Characteristic'
                      INSTANCE:
                        type: integer
                        format: int64
                        description: Instance counter
                      VALUE_NEUTRAL:
                        type: string
                        maxLength: 30
                        description: Characteristic Value
                      CHARACT_DESCR:
                        type: string
                        maxLength: 30
                        description: Characteristic description
                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:
                  CHARACT_VALUES:
                    type: array
                    items:
                      type: object
                      properties:
                        CHARACT:
                          type: string
                          maxLength: 30
                          description: Characteristic Name
                        VALUE:
                          type: string
                          maxLength: 30
                          description: Characteristic Value
                        INHERITED:
                          type: string
                          maxLength: 1
                          description: 'Indicator: characteristic is inherited'
                        VAL_ASSIGN:
                          type: string
                          maxLength: 1
                          description: 'Indicator: Values are Assigned to Characteristic'
                        INSTANCE:
                          type: integer
                          format: int64
                          description: Instance counter
                        VALUE_NEUTRAL:
                          type: string
                          maxLength: 30
                          description: Characteristic Value
                        CHARACT_DESCR:
                          type: string
                          maxLength: 30
                          description: Characteristic description
                  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.
