openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CARD_CLASS_READ_CHARACTS:
    post:
      tags:
      - CACLR
      operationId: /rfc/CARD_CLASS_READ_CHARACTS
      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
                FL_WITH_CHAR_VALUES:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: 'Flag: characteristic values_'
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  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
              required:
              - CLASS
              - CLASS_TYPE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  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: Multi-lingual descriptions_
                  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
                  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
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
