openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CARD_CLASS_READ:
    post:
      tags:
      - CACLR
      operationId: /rfc/CARD_CLASS_READ
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CHANGE_NO:
                  type: string
                  maxLength: 12
                  description: Change number
                CLASS:
                  type: string
                  maxLength: 18
                  description: Class name
                CLASS_TYPE:
                  type: string
                  maxLength: 3
                  description: Class type
                DATE:
                  type: string
                  maxLength: 10
                  description: Validity date
                LANGUAGE:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Language of language dependent texts_
                CHARACTERISTICS:
                  type: array
                  items:
                    type: object
                    properties:
                      CHARACT:
                        type: string
                        maxLength: 30
                        description: Characteristic Name
                      DESCR:
                        type: string
                        maxLength: 30
                        description: Characteristic description
                      ENTRY_REQ:
                        type: string
                        maxLength: 1
                        description: 'Entry Required  enumValues: *=Reference indicator,""=No,X=Yes'
                        enum:
                        - '*'
                        - ''
                        - X
                      INTERV:
                        type: string
                        maxLength: 1
                        description: 'Interval Values Allowed  enumValues: *=Reference indicator,""=No,X=Yes'
                        enum:
                        - '*'
                        - ''
                        - X
                      UNFORMATED:
                        type: string
                        maxLength: 1
                        description: 'Unformatted Entry Control  enumValues: *=Reference indicator,""=No,X=Yes'
                        enum:
                        - '*'
                        - ''
                        - X
                      PROP_TEMPL:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Display Template When Assigning Values  enumValues: *=Reference indicator,""=No,X=Yes'
                        enum:
                        - '*'
                        - ''
                        - X
                      DISPL_VALS:
                        type: string
                        maxLength: 1
                        description: 'Display Allowed Values Defined in Characteristic  enumValues: *=Reference indicator,""=No,X=Yes'
                        enum:
                        - '*'
                        - ''
                        - X
                      ADDIT_VALS:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Additional Values  enumValues: *=Reference indicator,""=No,X=Yes'
                        enum:
                        - '*'
                        - ''
                        - X
                      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
                      CLASS:
                        type: string
                        maxLength: 18
                        description: Class number
                      CLASS_TYPE:
                        type: string
                        maxLength: 3
                        description: Class Type
                      CH_OVRWRT:
                        type: string
                        maxLength: 1
                        description: 'Characteristic is Overwritten  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      VAL_OVRWRT:
                        type: string
                        maxLength: 1
                        description: 'Characteristic Values are Overwritten  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      ORG_AREA:
                        type: string
                        maxLength: 10
                        description: Organizational Area
                      NO_DISPLAY:
                        type: string
                        maxLength: 1
                        description: 'Characteristic Not to be Displayed  enumValues: *=Reference indicator,""=No,X=Yes'
                        enum:
                        - '*'
                        - ''
                        - X
                      CODE_LETTER:
                        type: string
                        maxLength: 15
                        description: Standard Code Letter
                      CHARACT_ORIGIN:
                        type: string
                        maxLength: 10
                        description: Characteristic origin
                      PRINT_RELEV:
                        type: string
                        maxLength: 1
                        description: 'Print Relevant  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      SELECT_RELEV:
                        type: string
                        maxLength: 1
                        description: 'Search Relevant  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      DISPLAY_RELEV:
                        type: string
                        maxLength: 1
                        description: 'Display Relevant  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      INHERITED:
                        type: string
                        maxLength: 1
                        description: 'Indicator: characteristic is inherited'
                      INDEX_RELEV:
                        type: string
                        maxLength: 1
                        description: 'Index Characteristic  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                CHARACTERISTICS_VALUES:
                  type: array
                  items:
                    type: object
                    properties:
                      CHARACT:
                        type: string
                        maxLength: 30
                        description: Characteristic Name
                      VALUE:
                        type: string
                        maxLength: 30
                        description: Characteristic Value
                      DEFAULT:
                        type: string
                        maxLength: 1
                        description: 'Default value  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      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
                      DESCR:
                        type: string
                        maxLength: 30
                        description: Characteristic value description
                      VAL_SORT:
                        type: integer
                        format: int64
                        description: Int counter
                      VALH_PARNT:
                        type: integer
                        format: int64
                        description: Int. counter for value hierarchy
                CLASS_CATCHWORD:
                  type: array
                  items:
                    type: object
                    properties:
                      LANGUAGE:
                        type: string
                        maxLength: 1
                        description: Language Key
                      DESCRIPT:
                        type: string
                        maxLength: 40
                        description: Description
                      LANGUAGE_ISO:
                        type: string
                        maxLength: 2
                        description: Language according to ISO 639
                CLASS_DESCRIPTION:
                  type: array
                  items:
                    type: object
                    properties:
                      LANGUAGE:
                        type: string
                        maxLength: 1
                        description: Language Key
                      DESCRIPT:
                        type: string
                        maxLength: 40
                        description: Description
                      LANGUAGE_ISO:
                        type: string
                        maxLength: 2
                        description: Language according to ISO 639
                CLASS_DOCUMENT_ALLOCS:
                  type: array
                  items:
                    type: object
                    properties:
                      DOKAR:
                        type: string
                        maxLength: 3
                        description: Document Type
                      DOKNR:
                        type: string
                        maxLength: 25
                        description: Document number
                      DOKVR:
                        type: string
                        maxLength: 2
                        description: Document version
                      DOKTL:
                        type: string
                        maxLength: 3
                        description: Document part
              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
                  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
                  RETURN:
                    type: object
                    properties:
                      TYPE:
                        type: string
                        maxLength: 1
                        description: 'Message type: S Success, E Error, W Warning, I Info, A Abort'
                      CODE:
                        type: string
                        maxLength: 5
                        description: Message code
                      MESSAGE:
                        type: string
                        maxLength: 220
                        description: Message Text
                      LOG_NO:
                        type: string
                        maxLength: 20
                        description: 'Application log: log number'
                      LOG_MSG_NO:
                        type: integer
                        format: int64
                        description: 'Application log: Internal message serial number'
                      MESSAGE_V1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                  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
                  CHARACTERISTICS:
                    type: array
                    items:
                      type: object
                      properties:
                        CHARACT:
                          type: string
                          maxLength: 30
                          description: Characteristic Name
                        DESCR:
                          type: string
                          maxLength: 30
                          description: Characteristic description
                        ENTRY_REQ:
                          type: string
                          maxLength: 1
                          description: 'Entry Required  enumValues: *=Reference indicator,""=No,X=Yes'
                          enum:
                          - '*'
                          - ''
                          - X
                        INTERV:
                          type: string
                          maxLength: 1
                          description: 'Interval Values Allowed  enumValues: *=Reference indicator,""=No,X=Yes'
                          enum:
                          - '*'
                          - ''
                          - X
                        UNFORMATED:
                          type: string
                          maxLength: 1
                          description: 'Unformatted Entry Control  enumValues: *=Reference indicator,""=No,X=Yes'
                          enum:
                          - '*'
                          - ''
                          - X
                        PROP_TEMPL:
                          type: string
                          maxLength: 1
                          description: 'Indicator: Display Template When Assigning Values  enumValues: *=Reference indicator,""=No,X=Yes'
                          enum:
                          - '*'
                          - ''
                          - X
                        DISPL_VALS:
                          type: string
                          maxLength: 1
                          description: 'Display Allowed Values Defined in Characteristic  enumValues: *=Reference indicator,""=No,X=Yes'
                          enum:
                          - '*'
                          - ''
                          - X
                        ADDIT_VALS:
                          type: string
                          maxLength: 1
                          description: 'Indicator: Additional Values  enumValues: *=Reference indicator,""=No,X=Yes'
                          enum:
                          - '*'
                          - ''
                          - X
                        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
                        CLASS:
                          type: string
                          maxLength: 18
                          description: Class number
                        CLASS_TYPE:
                          type: string
                          maxLength: 3
                          description: Class Type
                        CH_OVRWRT:
                          type: string
                          maxLength: 1
                          description: 'Characteristic is Overwritten  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        VAL_OVRWRT:
                          type: string
                          maxLength: 1
                          description: 'Characteristic Values are Overwritten  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        ORG_AREA:
                          type: string
                          maxLength: 10
                          description: Organizational Area
                        NO_DISPLAY:
                          type: string
                          maxLength: 1
                          description: 'Characteristic Not to be Displayed  enumValues: *=Reference indicator,""=No,X=Yes'
                          enum:
                          - '*'
                          - ''
                          - X
                        CODE_LETTER:
                          type: string
                          maxLength: 15
                          description: Standard Code Letter
                        CHARACT_ORIGIN:
                          type: string
                          maxLength: 10
                          description: Characteristic origin
                        PRINT_RELEV:
                          type: string
                          maxLength: 1
                          description: 'Print Relevant  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        SELECT_RELEV:
                          type: string
                          maxLength: 1
                          description: 'Search Relevant  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        DISPLAY_RELEV:
                          type: string
                          maxLength: 1
                          description: 'Display Relevant  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        INHERITED:
                          type: string
                          maxLength: 1
                          description: 'Indicator: characteristic is inherited'
                        INDEX_RELEV:
                          type: string
                          maxLength: 1
                          description: 'Index Characteristic  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                  CHARACTERISTICS_VALUES:
                    type: array
                    items:
                      type: object
                      properties:
                        CHARACT:
                          type: string
                          maxLength: 30
                          description: Characteristic Name
                        VALUE:
                          type: string
                          maxLength: 30
                          description: Characteristic Value
                        DEFAULT:
                          type: string
                          maxLength: 1
                          description: 'Default value  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        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
                        DESCR:
                          type: string
                          maxLength: 30
                          description: Characteristic value description
                        VAL_SORT:
                          type: integer
                          format: int64
                          description: Int counter
                        VALH_PARNT:
                          type: integer
                          format: int64
                          description: Int. counter for value hierarchy
                  CLASS_CATCHWORD:
                    type: array
                    items:
                      type: object
                      properties:
                        LANGUAGE:
                          type: string
                          maxLength: 1
                          description: Language Key
                        DESCRIPT:
                          type: string
                          maxLength: 40
                          description: Description
                        LANGUAGE_ISO:
                          type: string
                          maxLength: 2
                          description: Language according to ISO 639
                  CLASS_DESCRIPTION:
                    type: array
                    items:
                      type: object
                      properties:
                        LANGUAGE:
                          type: string
                          maxLength: 1
                          description: Language Key
                        DESCRIPT:
                          type: string
                          maxLength: 40
                          description: Description
                        LANGUAGE_ISO:
                          type: string
                          maxLength: 2
                          description: Language according to ISO 639
                  CLASS_DOCUMENT_ALLOCS:
                    type: array
                    items:
                      type: object
                      properties:
                        DOKAR:
                          type: string
                          maxLength: 3
                          description: Document Type
                        DOKNR:
                          type: string
                          maxLength: 25
                          description: Document number
                        DOKVR:
                          type: string
                          maxLength: 2
                          description: Document version
                        DOKTL:
                          type: string
                          maxLength: 3
                          description: Document part
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
