openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSZ_X_ATTRIBUTES_GET:
    post:
      tags:
      - RZX0
      operationId: /rfc/RSZ_X_ATTRIBUTES_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_CHABASNM:
                  type: string
                  maxLength: 30
                I_INFOCUBE:
                  type: string
                  maxLength: 30
                I_SKIP_AUTHORITY:
                  type: string
                  default: ' '
                  maxLength: 1
                E_T_ATTRIBUTES:
                  type: array
                  items:
                    type: object
                    properties:
                      CHABASNM:
                        type: string
                        maxLength: 30
                        description: Reference characteristic
                      ATTRINM:
                        type: string
                        maxLength: 30
                        description: Master data attribute
                      POSIT:
                        type: integer
                        format: int64
                        description: Position of the Field in the Structure / Table
                      ATTRITP:
                        type: string
                        maxLength: 3
                        description: 'Attribute type  enumValues: NAV=Navigation and Display Attribute,DIS=Standard Display Attribute'
                        enum:
                        - NAV
                        - DIS
                      TXTLG:
                        type: string
                        maxLength: 60
                        description: Long description
                      IOBJTP:
                        type: string
                        maxLength: 3
                        description: 'Type of an InfoObject  enumValues: DPA=Data packet characteristic,KYF=Key figure,UNI=Unit of measurement,CHA=Characteristic,TIM=Time characteristic'
                        enum:
                        - DPA
                        - KYF
                        - UNI
                        - CHA
                        - TIM
                      DATATP:
                        type: string
                        maxLength: 4
                        description: 'Data Type in ABAP Dictionary  enumValues: NUMC=Character string with only digits,INT2=2-byte integer, only for length field before LCHR or LRAW,DEC=Counter or amount field with comma and sign,VARC=Long character string, no longer supported from Rel. 3.0,INT1=1-byte integer, integer number <= 255,RAW=Uninterpreted sequence of bytes,CUKY=Currency key, referenced by CURR fields,QUAN=Quantity field, points to a unit field with format UNIT,FLTP=Floating point number,
                          accurate to 8 bytes,LRAW=Long byte string, requires preceding INT2 field,PREC=Precision of a QUAN field,CHAR=Character String,ACCP=Posting period YYYYMM,INT4=4-byte integer, integer number with sign,RSTR=Byte String of Variable Length,STRG=Character String of Variable Length,LANG=Language key,TIMS=Time field (hhmmss), stored as char(6),UNIT=Unit key for QUAN fields,CLNT=Client,DATS=Date field (YYYYMMDD) stored as char(8),LCHR=Long character string, requires preceding INT2
                          field,CURR=Currency field, stored as DEC,SSTR=Short Character String of Variable Length'
                        enum:
                        - NUMC
                        - INT2
                        - DEC
                        - VARC
                        - INT1
                        - RAW
                        - CUKY
                        - QUAN
                        - FLTP
                        - LRAW
                        - PREC
                        - CHAR
                        - ACCP
                        - INT4
                        - RSTR
                        - STRG
                        - LANG
                        - TIMS
                        - UNIT
                        - CLNT
                        - DATS
                        - LCHR
                        - CURR
                        - SSTR
                      KYFTP:
                        type: string
                        maxLength: 3
                        description: 'Key figure type  enumValues: FLO=Floating point number (without unit),AMO=Amount,INT=Whole number,QUA=Quantity,TIM=Time,NUM=Number (without unit),DAT=Date'
                        enum:
                        - FLO
                        - AMO
                        - INT
                        - QUA
                        - TIM
                        - NUM
                        - DAT
                      CHAPRSNT:
                        type: string
                        maxLength: 1
                        description: 'Display for Characteristics and Units  enumValues: C=Text and Key as Medium Text,F=Key and Text as Medium Text,1=Text,6=No Display,0=Key and Text,G=Key and Text as Long Text,E=Key and Text as Short Text,7=Short Text,D=Text and Key as Long Text,5=Medium-Length Text,2=Key,3=Text and Key,4=Long Text,B=Text and Key as Short Text'
                        enum:
                        - C
                        - F
                        - '1'
                        - '6'
                        - '0'
                        - G
                        - E
                        - '7'
                        - D
                        - '5'
                        - '2'
                        - '3'
                        - '4'
                        - B
                      TXTSHFL:
                        type: string
                        maxLength: 1
                        description: 'Short text exists (flag)  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      TXTMDFL:
                        type: string
                        maxLength: 1
                        description: 'Medium length text exists (flag)  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      TXTLGFL:
                        type: string
                        maxLength: 1
                        description: 'Long text exists (flag)  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      ACCESS:
                        type: integer
                        format: int64
                        description: 'Access Options of a Front-End Object  enumValues: 16=Delete,02=Displayable,01=No Access Allowed,04=Usable,32=Next Free Value (Not Used Up to Now),00=Not Set (Compatibility with Older Systems),08=Changeable'
                        enum:
                        - '16'
                        - '02'
                        - '01'
                        - '04'
                        - '32'
                        - '00'
                        - '08'
              required:
              - I_CHABASNM
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_SUBRC:
                    type: integer
                    format: int32
                  E_T_ATTRIBUTES:
                    type: array
                    items:
                      type: object
                      properties:
                        CHABASNM:
                          type: string
                          maxLength: 30
                          description: Reference characteristic
                        ATTRINM:
                          type: string
                          maxLength: 30
                          description: Master data attribute
                        POSIT:
                          type: integer
                          format: int64
                          description: Position of the Field in the Structure / Table
                        ATTRITP:
                          type: string
                          maxLength: 3
                          description: 'Attribute type  enumValues: NAV=Navigation and Display Attribute,DIS=Standard Display Attribute'
                          enum:
                          - NAV
                          - DIS
                        TXTLG:
                          type: string
                          maxLength: 60
                          description: Long description
                        IOBJTP:
                          type: string
                          maxLength: 3
                          description: 'Type of an InfoObject  enumValues: DPA=Data packet characteristic,KYF=Key figure,UNI=Unit of measurement,CHA=Characteristic,TIM=Time characteristic'
                          enum:
                          - DPA
                          - KYF
                          - UNI
                          - CHA
                          - TIM
                        DATATP:
                          type: string
                          maxLength: 4
                          description: 'Data Type in ABAP Dictionary  enumValues: NUMC=Character string with only digits,INT2=2-byte integer, only for length field before LCHR or LRAW,DEC=Counter or amount field with comma and sign,VARC=Long character string, no longer supported from Rel. 3.0,INT1=1-byte integer, integer number <= 255,RAW=Uninterpreted sequence of bytes,CUKY=Currency key, referenced by CURR fields,QUAN=Quantity field, points to a unit field with format UNIT,FLTP=Floating point number,
                            accurate to 8 bytes,LRAW=Long byte string, requires preceding INT2 field,PREC=Precision of a QUAN field,CHAR=Character String,ACCP=Posting period YYYYMM,INT4=4-byte integer, integer number with sign,RSTR=Byte String of Variable Length,STRG=Character String of Variable Length,LANG=Language key,TIMS=Time field (hhmmss), stored as char(6),UNIT=Unit key for QUAN fields,CLNT=Client,DATS=Date field (YYYYMMDD) stored as char(8),LCHR=Long character string, requires preceding INT2
                            field,CURR=Currency field, stored as DEC,SSTR=Short Character String of Variable Length'
                          enum:
                          - NUMC
                          - INT2
                          - DEC
                          - VARC
                          - INT1
                          - RAW
                          - CUKY
                          - QUAN
                          - FLTP
                          - LRAW
                          - PREC
                          - CHAR
                          - ACCP
                          - INT4
                          - RSTR
                          - STRG
                          - LANG
                          - TIMS
                          - UNIT
                          - CLNT
                          - DATS
                          - LCHR
                          - CURR
                          - SSTR
                        KYFTP:
                          type: string
                          maxLength: 3
                          description: 'Key figure type  enumValues: FLO=Floating point number (without unit),AMO=Amount,INT=Whole number,QUA=Quantity,TIM=Time,NUM=Number (without unit),DAT=Date'
                          enum:
                          - FLO
                          - AMO
                          - INT
                          - QUA
                          - TIM
                          - NUM
                          - DAT
                        CHAPRSNT:
                          type: string
                          maxLength: 1
                          description: 'Display for Characteristics and Units  enumValues: C=Text and Key as Medium Text,F=Key and Text as Medium Text,1=Text,6=No Display,0=Key and Text,G=Key and Text as Long Text,E=Key and Text as Short Text,7=Short Text,D=Text and Key as Long Text,5=Medium-Length Text,2=Key,3=Text and Key,4=Long Text,B=Text and Key as Short Text'
                          enum:
                          - C
                          - F
                          - '1'
                          - '6'
                          - '0'
                          - G
                          - E
                          - '7'
                          - D
                          - '5'
                          - '2'
                          - '3'
                          - '4'
                          - B
                        TXTSHFL:
                          type: string
                          maxLength: 1
                          description: 'Short text exists (flag)  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        TXTMDFL:
                          type: string
                          maxLength: 1
                          description: 'Medium length text exists (flag)  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        TXTLGFL:
                          type: string
                          maxLength: 1
                          description: 'Long text exists (flag)  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        ACCESS:
                          type: integer
                          format: int64
                          description: 'Access Options of a Front-End Object  enumValues: 16=Delete,02=Displayable,01=No Access Allowed,04=Usable,32=Next Free Value (Not Used Up to Now),00=Not Set (Compatibility with Older Systems),08=Changeable'
                          enum:
                          - '16'
                          - '02'
                          - '01'
                          - '04'
                          - '32'
                          - '00'
                          - '08'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
