openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CARD_CHARACTERISTIC_READ:
    post:
      tags:
      - CACTR
      operationId: /rfc/CARD_CHARACTERISTIC_READ
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CHANGE_NO:
                  type: string
                  maxLength: 12
                  description: Change number
                CHARACTERISTIC:
                  type: string
                  maxLength: 30
                  description: Characteristic name
                DATE:
                  type: string
                  maxLength: 10
                  description: Validity date
                LANGUAGE:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Language of language dependent texts_
                WITH_VALUES:
                  type: string
                  default: X
                  maxLength: 1
                  description: Characteristic values should be assigned_
                WITH_VALUE_DESCRIPTIONS:
                  type: string
                  default: X
                  maxLength: 1
                  description: Characteristic value descriptions should be assigned_
                ALLOWED_VALUES:
                  type: array
                  items:
                    type: object
                    properties:
                      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
                DESCRIPTIONS:
                  type: array
                  items:
                    type: object
                    properties:
                      LANGUAGE:
                        type: string
                        maxLength: 1
                        description: Language Key
                      CHDESCR:
                        type: string
                        maxLength: 30
                        description: Characteristic description
                      HEADING1:
                        type: string
                        maxLength: 30
                        description: First Line of Heading
                      HEADING2:
                        type: string
                        maxLength: 30
                        description: Second line of heading
                      LANGUAGE_ISO:
                        type: string
                        maxLength: 2
                        description: Language according to ISO 639
                REFERENCE_TO_TABLE:
                  type: array
                  items:
                    type: object
                    properties:
                      REF_TABLE:
                        type: string
                        maxLength: 30
                        description: Table Name
                      REF_FIELD:
                        type: string
                        maxLength: 30
                        description: Field Name
                RESTRICT_USAGE_IN_CLASS_TYPE:
                  type: array
                  items:
                    type: object
                    properties:
                      CLASS_TYPE:
                        type: string
                        maxLength: 3
                        description: Class Type
                VALUE_DESCRIPTIONS:
                  type: array
                  items:
                    type: object
                    properties:
                      LANGUAGE:
                        type: string
                        maxLength: 1
                        description: Language Key
                      VALUE:
                        type: string
                        maxLength: 30
                        description: Characteristic Value
                      VALDESCR:
                        type: string
                        maxLength: 30
                        description: Characteristic value description
                      LANGUAGE_ISO:
                        type: string
                        maxLength: 2
                        description: Language according to ISO 639
              required:
              - CHARACTERISTIC
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ALL_ATTRIBUTES:
                    type: object
                    properties:
                      DATATYPE:
                        type: string
                        maxLength: 18
                        description: Data Type
                      UDEF_CLASS:
                        type: string
                        maxLength: 18
                        description: Class number
                      CHARNUMBER:
                        type: integer
                        format: int64
                        description: Number of Characters (Figures)
                      DECPLACES:
                        type: integer
                        format: int64
                        description: Decimal Places
                      CASESENS:
                        type: string
                        maxLength: 1
                        description: 'Case Sensitive  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      DISPL_EXP:
                        type: integer
                        format: int64
                        description: 'Exponent Display Format  enumValues: 2=Exponent entered,3=Scientific exponent,1=Standard,0=No exponent'
                        enum:
                        - '2'
                        - '3'
                        - '1'
                        - '0'
                      EXPONENT:
                        type: integer
                        format: int32
                        description: Exponent of Characteristic
                      TEMPLATE:
                        type: string
                        maxLength: 30
                        description: Value with template
                      NEG_VALS:
                        type: string
                        maxLength: 1
                        description: 'Value with Plus or Minus Sign  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      UNIT:
                        type: string
                        maxLength: 6
                        description: Unit of Measure, Language-Dependent
                      STATUS:
                        type: string
                        maxLength: 1
                        description: Status of a characteristic
                      GROUP:
                        type: string
                        maxLength: 10
                        description: Chars Group
                      VALASSIGNM:
                        type: string
                        maxLength: 1
                        description: 'Value Assignment: Single-Value, Multiple-Value, Restrictable'
                      NO_ENTRY:
                        type: string
                        maxLength: 1
                        description: 'No Entry Can be Made for Characteristic  enumValues: *=Reference indicator,""=No,X=Yes'
                        enum:
                        - '*'
                        - ''
                        - X
                      NO_DISPLAY:
                        type: string
                        maxLength: 1
                        description: 'Characteristic Not to be Displayed  enumValues: *=Reference indicator,""=No,X=Yes'
                        enum:
                        - '*'
                        - ''
                        - X
                      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
                      AUTHORITY_GROUP:
                        type: string
                        maxLength: 3
                        description: Authorization Group for Characteristics Maintenance
                  WARNING:
                    type: string
                    maxLength: 1
                    description: 'Warning: possible errors_'
                  ALLOWED_VALUES:
                    type: array
                    items:
                      type: object
                      properties:
                        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
                  DESCRIPTIONS:
                    type: array
                    items:
                      type: object
                      properties:
                        LANGUAGE:
                          type: string
                          maxLength: 1
                          description: Language Key
                        CHDESCR:
                          type: string
                          maxLength: 30
                          description: Characteristic description
                        HEADING1:
                          type: string
                          maxLength: 30
                          description: First Line of Heading
                        HEADING2:
                          type: string
                          maxLength: 30
                          description: Second line of heading
                        LANGUAGE_ISO:
                          type: string
                          maxLength: 2
                          description: Language according to ISO 639
                  REFERENCE_TO_TABLE:
                    type: array
                    items:
                      type: object
                      properties:
                        REF_TABLE:
                          type: string
                          maxLength: 30
                          description: Table Name
                        REF_FIELD:
                          type: string
                          maxLength: 30
                          description: Field Name
                  RESTRICT_USAGE_IN_CLASS_TYPE:
                    type: array
                    items:
                      type: object
                      properties:
                        CLASS_TYPE:
                          type: string
                          maxLength: 3
                          description: Class Type
                  VALUE_DESCRIPTIONS:
                    type: array
                    items:
                      type: object
                      properties:
                        LANGUAGE:
                          type: string
                          maxLength: 1
                          description: Language Key
                        VALUE:
                          type: string
                          maxLength: 30
                          description: Characteristic Value
                        VALDESCR:
                          type: string
                          maxLength: 30
                          description: Characteristic value description
                        LANGUAGE_ISO:
                          type: string
                          maxLength: 2
                          description: Language according to ISO 639
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
