openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CARD_CLASS_READ_ATTR:
    post:
      tags:
      - CACLR
      operationId: /rfc/CARD_CLASS_READ_ATTR
      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
                DATE:
                  type: string
                  maxLength: 10
                  description: Date (validity period, engineering change management)
                FL_WITH_ADDIT_ATTR:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: 'Flag: additional data (relevant to BOMs)_'
                FL_WITH_BASIC_ATTR:
                  type: string
                  default: X
                  maxLength: 1
                  description: 'Flag: base data_'
                FL_WITH_STAND_ATTR:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: 'Flag: standard data_'
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: Language for transferring language-dependent texts
              required:
              - CLASS
              - CLASS_TYPE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ADDITIONAL_DATA:
                    type: object
                    properties:
                      BOM_ALLOWD:
                        type: string
                        maxLength: 1
                        description: 'Can Be Used in Bills of Material  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      BASE_UNIT:
                        type: string
                        maxLength: 3
                        description: Base Unit of Measure
                      RES_ITM_CT:
                        type: string
                        maxLength: 1
                        description: Resulting item category
                      ORG_AR_ITM:
                        type: string
                        maxLength: 10
                        description: Organizational Area
                      REQ_COMP:
                        type: string
                        maxLength: 1
                        description: 'Required Component  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      MULT_SELEC:
                        type: string
                        maxLength: 1
                        description: 'Multiple Selection Allowed  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                  BASIC_DATA:
                    type: object
                    properties:
                      STATUS:
                        type: string
                        maxLength: 1
                        description: Class status
                      GROUP:
                        type: string
                        maxLength: 10
                        description: Class Group
                      ORG_AREA:
                        type: string
                        maxLength: 10
                        description: Organizational Area
                      VAL_FROM:
                        type: string
                        maxLength: 10
                        description: Valid-from date
                      VAL_TO:
                        type: string
                        maxLength: 10
                        description: Valid-to date
                      AUTH_MAINT:
                        type: string
                        maxLength: 3
                        description: Class maintenance authorization group
                      AUTH_CLASI:
                        type: string
                        maxLength: 3
                        description: Classification authorization group
                      AUTH_SEL:
                        type: string
                        maxLength: 3
                        description: Authorization group for finding objects
                      CHECK_NO:
                        type: string
                        maxLength: 1
                        description: 'No Check for Same Classification  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      CHECK_WARN:
                        type: string
                        maxLength: 1
                        description: 'Check for Same Classification with Warning  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      CHECK_ERRO:
                        type: string
                        maxLength: 1
                        description: 'Check for Same Classification with Error Message  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      LOCLA:
                        type: string
                        maxLength: 1
                        description: 'Local class  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      KATALOG:
                        type: string
                        maxLength: 30
                        description: Name of External Catalog
                  CLASS_NOT_VALID:
                    type: string
                    maxLength: 1
                    description: Class invalid at time entered
                  DESCRIPTION:
                    type: string
                    maxLength: 40
                    description: Class description
                  DOCUMENT_IDENT:
                    type: object
                    properties:
                      DOCUMENT:
                        type: string
                        maxLength: 25
                        description: Document number
                      DOC_TYPE:
                        type: string
                        maxLength: 3
                        description: Document Type
                      DOC_PART:
                        type: string
                        maxLength: 3
                        description: Document part
                      DOC_VERS:
                        type: string
                        maxLength: 2
                        description: Document version
                  STANDARD_DATA:
                    type: object
                    properties:
                      STANDARD:
                        type: string
                        maxLength: 10
                        description: Name of standards organization
                      STAND_NO:
                        type: string
                        maxLength: 20
                        description: Standard Number
                      ISSUE_DATE:
                        type: string
                        format: date
                        description: Issue date
                      VERS_DATE:
                        type: string
                        format: date
                        description: Version date
                      VERS_NO:
                        type: integer
                        format: int64
                        description: Version Number
                      CHAR_TABLE:
                        type: string
                        maxLength: 20
                        description: Characteristics table
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
