openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CLMA_CLASS_LIST:
    post:
      tags:
      - CLMA
      summary: Class List (also Generic or Masked)
      operationId: /rfc/CLMA_CLASS_LIST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ALLOCATIONS:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: With Assignments Indicator
                CHANGE_NUMBER:
                  type: string
                  default: ' '
                  maxLength: 12
                  description: With Assignments Indicator
                CLASSNAME:
                  type: string
                  maxLength: 18
                  description: Class
                CLASSTYPE:
                  type: string
                  maxLength: 3
                  description: Class Type
                KEY_DATE:
                  type: string
                  format: date
                  default: SY-DATUM
                  description: Valid-From Date
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: Language
                WITH_ALLOCATIONS:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Only Classes with Assignments
                TCLASSES:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      CLINT:
                        type: integer
                        format: int64
                        description: Internal Class Number
                      KLART:
                        type: string
                        maxLength: 3
                        description: Class Type
                      CLASS:
                        type: string
                        maxLength: 18
                        description: Class number
                      STATU:
                        type: string
                        maxLength: 1
                        description: Class status
                      KLAGR:
                        type: string
                        maxLength: 10
                        description: Class Group
                      BGRSE:
                        type: string
                        maxLength: 3
                        description: Authorization group for finding objects
                      BGRKL:
                        type: string
                        maxLength: 3
                        description: Classification authorization group
                      BGRKP:
                        type: string
                        maxLength: 3
                        description: Class maintenance authorization group
                      ANAME:
                        type: string
                        maxLength: 12
                        description: Name of Person who Created the Object
                      ADATU:
                        type: string
                        format: date
                        description: Date on which the record was created
                      VNAME:
                        type: string
                        maxLength: 12
                        description: Name of person who changed object
                      VDATU:
                        type: string
                        format: date
                        description: Changed On
                      VONDT:
                        type: string
                        format: date
                        description: Valid-From Date
                      BISDT:
                        type: string
                        format: date
                        description: Valid-to date
                      ANZUO:
                        type: integer
                        format: int64
                        description: Number of Assignments
                      PRAUS:
                        type: string
                        maxLength: 1
                        description: 'Same classification  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      SICHT:
                        type: string
                        maxLength: 10
                        description: Organizational Area
                      DOKNR:
                        type: string
                        maxLength: 25
                        description: Document number
                      DOKAR:
                        type: string
                        maxLength: 3
                        description: Document Type
                      DOKTL:
                        type: string
                        maxLength: 3
                        description: Document part
                      DOKVR:
                        type: string
                        maxLength: 2
                        description: Document version
                      DINKZ:
                        type: string
                        maxLength: 1
                        description: DIN class indicator
                      NNORM:
                        type: string
                        maxLength: 10
                        description: Name of standards organization
                      NORMN:
                        type: string
                        maxLength: 20
                        description: Standard Number
                      NORMB:
                        type: string
                        maxLength: 70
                        description: Industry Standard Description
                      NRMT1:
                        type: string
                        maxLength: 70
                        description: Standard title
                      NRMT2:
                        type: string
                        maxLength: 70
                        description: Standard title
                      AUSGD:
                        type: string
                        format: date
                        description: Issue date
                      VERSD:
                        type: string
                        format: date
                        description: Version date
                      VERSI:
                        type: integer
                        format: int64
                        description: Version Number
                      LEIST:
                        type: string
                        maxLength: 20
                        description: Characteristics table
                      VERWE:
                        type: string
                        maxLength: 1
                        description: Usage in superior classes
                      SPART:
                        type: string
                        maxLength: 2
                        description: Division
                      LREF3:
                        type: string
                        maxLength: 3
                        description: List object type for variable lists
                      WWSKZ:
                        type: string
                        maxLength: 1
                        description: Merchandize management system class type
                      WWSSI:
                        type: string
                        maxLength: 1
                        description: MMS view of collective material
                      POTPR:
                        type: string
                        maxLength: 1
                        description: Resulting item category
                      CLOBK:
                        type: string
                        maxLength: 1
                        description: 'Required Component  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      CLMUL:
                        type: string
                        maxLength: 1
                        description: 'Multiple Selection Allowed  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      CVIEW:
                        type: string
                        maxLength: 10
                        description: Organizational Area
                      DISST:
                        type: string
                        maxLength: 3
                        description: Low-Level Code
                      MEINS:
                        type: string
                        maxLength: 3
                        description: Base Unit of Measure
                      CLMOD:
                        type: string
                        maxLength: 1
                        description: 'Default Class Data - Can Be Overwritten in Component  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      VWSTL:
                        type: string
                        maxLength: 1
                        description: 'Can Be Used in Bills of Material  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      VWPLA:
                        type: string
                        maxLength: 1
                        description: 'Can Be Used in Task Lists  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      CLALT:
                        type: string
                        maxLength: 1
                        description: 'Alternative Display Format  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      LBREI:
                        type: integer
                        format: int64
                        description: Total width of list
                      BNAME:
                        type: string
                        maxLength: 20
                        description: Block name
                      MAXBL:
                        type: string
                        maxLength: 18
                        description: Maximum display block for variable lists
                      KNOBJ:
                        type: integer
                        format: int64
                        description: Number of Object with Assigned Dependencies
                      LOCLA:
                        type: string
                        maxLength: 1
                        description: 'Local class  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      KATALOG:
                        type: string
                        maxLength: 30
                        description: Name of External Catalog
                      KDOKAZ:
                        type: string
                        maxLength: 1
                        description: 'Always Display Document for Class  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      GENRKZ:
                        type: string
                        maxLength: 1
                        description: 'Table for Finding Objects: To Be Generated=X, Generated=R'
                      KSCHL:
                        type: string
                        maxLength: 40
                        description: Keywords
              required:
              - CLASSNAME
              - CLASSTYPE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  TCLASSES:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        CLINT:
                          type: integer
                          format: int64
                          description: Internal Class Number
                        KLART:
                          type: string
                          maxLength: 3
                          description: Class Type
                        CLASS:
                          type: string
                          maxLength: 18
                          description: Class number
                        STATU:
                          type: string
                          maxLength: 1
                          description: Class status
                        KLAGR:
                          type: string
                          maxLength: 10
                          description: Class Group
                        BGRSE:
                          type: string
                          maxLength: 3
                          description: Authorization group for finding objects
                        BGRKL:
                          type: string
                          maxLength: 3
                          description: Classification authorization group
                        BGRKP:
                          type: string
                          maxLength: 3
                          description: Class maintenance authorization group
                        ANAME:
                          type: string
                          maxLength: 12
                          description: Name of Person who Created the Object
                        ADATU:
                          type: string
                          format: date
                          description: Date on which the record was created
                        VNAME:
                          type: string
                          maxLength: 12
                          description: Name of person who changed object
                        VDATU:
                          type: string
                          format: date
                          description: Changed On
                        VONDT:
                          type: string
                          format: date
                          description: Valid-From Date
                        BISDT:
                          type: string
                          format: date
                          description: Valid-to date
                        ANZUO:
                          type: integer
                          format: int64
                          description: Number of Assignments
                        PRAUS:
                          type: string
                          maxLength: 1
                          description: 'Same classification  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        SICHT:
                          type: string
                          maxLength: 10
                          description: Organizational Area
                        DOKNR:
                          type: string
                          maxLength: 25
                          description: Document number
                        DOKAR:
                          type: string
                          maxLength: 3
                          description: Document Type
                        DOKTL:
                          type: string
                          maxLength: 3
                          description: Document part
                        DOKVR:
                          type: string
                          maxLength: 2
                          description: Document version
                        DINKZ:
                          type: string
                          maxLength: 1
                          description: DIN class indicator
                        NNORM:
                          type: string
                          maxLength: 10
                          description: Name of standards organization
                        NORMN:
                          type: string
                          maxLength: 20
                          description: Standard Number
                        NORMB:
                          type: string
                          maxLength: 70
                          description: Industry Standard Description
                        NRMT1:
                          type: string
                          maxLength: 70
                          description: Standard title
                        NRMT2:
                          type: string
                          maxLength: 70
                          description: Standard title
                        AUSGD:
                          type: string
                          format: date
                          description: Issue date
                        VERSD:
                          type: string
                          format: date
                          description: Version date
                        VERSI:
                          type: integer
                          format: int64
                          description: Version Number
                        LEIST:
                          type: string
                          maxLength: 20
                          description: Characteristics table
                        VERWE:
                          type: string
                          maxLength: 1
                          description: Usage in superior classes
                        SPART:
                          type: string
                          maxLength: 2
                          description: Division
                        LREF3:
                          type: string
                          maxLength: 3
                          description: List object type for variable lists
                        WWSKZ:
                          type: string
                          maxLength: 1
                          description: Merchandize management system class type
                        WWSSI:
                          type: string
                          maxLength: 1
                          description: MMS view of collective material
                        POTPR:
                          type: string
                          maxLength: 1
                          description: Resulting item category
                        CLOBK:
                          type: string
                          maxLength: 1
                          description: 'Required Component  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        CLMUL:
                          type: string
                          maxLength: 1
                          description: 'Multiple Selection Allowed  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        CVIEW:
                          type: string
                          maxLength: 10
                          description: Organizational Area
                        DISST:
                          type: string
                          maxLength: 3
                          description: Low-Level Code
                        MEINS:
                          type: string
                          maxLength: 3
                          description: Base Unit of Measure
                        CLMOD:
                          type: string
                          maxLength: 1
                          description: 'Default Class Data - Can Be Overwritten in Component  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        VWSTL:
                          type: string
                          maxLength: 1
                          description: 'Can Be Used in Bills of Material  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        VWPLA:
                          type: string
                          maxLength: 1
                          description: 'Can Be Used in Task Lists  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        CLALT:
                          type: string
                          maxLength: 1
                          description: 'Alternative Display Format  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        LBREI:
                          type: integer
                          format: int64
                          description: Total width of list
                        BNAME:
                          type: string
                          maxLength: 20
                          description: Block name
                        MAXBL:
                          type: string
                          maxLength: 18
                          description: Maximum display block for variable lists
                        KNOBJ:
                          type: integer
                          format: int64
                          description: Number of Object with Assigned Dependencies
                        LOCLA:
                          type: string
                          maxLength: 1
                          description: 'Local class  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        KATALOG:
                          type: string
                          maxLength: 30
                          description: Name of External Catalog
                        KDOKAZ:
                          type: string
                          maxLength: 1
                          description: 'Always Display Document for Class  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        GENRKZ:
                          type: string
                          maxLength: 1
                          description: 'Table for Finding Objects: To Be Generated=X, Generated=R'
                        KSCHL:
                          type: string
                          maxLength: 40
                          description: Keywords
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
