openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SPRT_DR_GET_OBJECTTYPE:
    post:
      tags:
      - SPRT
      operationId: /rfc/SPRT_DR_GET_OBJECTTYPE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ELEMENT:
                  type: string
                  maxLength: 30
                KEYPARTS:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJECTNAME:
                        type: string
                        maxLength: 10
                        description: 'Drag&Relate: Object Type'
                      KEYTYPE:
                        type: integer
                        format: int64
                        description: Key type (alternative key)
                      KEYPART:
                        type: integer
                        format: int64
                        description: Sequence of key fields
                      KEYNAME:
                        type: string
                        maxLength: 32
                        description: Key Element
                      REFTABLE:
                        type: string
                        maxLength: 30
                        description: 30 Characters
                      REFFIELD:
                        type: string
                        maxLength: 30
                        description: 30 Characters
                      DTELEM:
                        type: string
                        maxLength: 30
                        description: Data Element for Drag&Relate
                      MEMORYID:
                        type: string
                        maxLength: 20
                        description: Set/Get Parameter ID for Drag&Relate
                      KEYOFFS:
                        type: integer
                        format: int64
                        description: 'Numerical value: 2-digit'
                      KEYLEN:
                        type: integer
                        format: int64
                        description: 'Numerical value: 2-digit'
                      INTATYPE:
                        type: string
                        maxLength: 1
                        description: 'ABAP elementary data type  enumValues: N=Character string with only digits,s=2-byte integer, only for length field before LCHR or LRAW,h=Table type,y=Byte sequence with variable length (ABAP type XSTRING),l=Reference to data object,b=1-byte integer, integer number <= 254,P=Packed number,T=Time (Time: HHMMSS),u=Structured type, flat,I=Integer number (4-byte integer with sign),F=Floating point number to accuracy of 8 bytes,v=Structured type, deep,V=Character string
                          (old Dictionary type VARC),X=Byte sequence (heXadecimal),C=Character string,g=Character string with variable length (ABAP type STRING),r=Reference to class/interface,D=Date (Date: YYYYMMDD)'
                        enum:
                        - N
                        - s
                        - h
                        - y
                        - l
                        - b
                        - P
                        - T
                        - u
                        - I
                        - F
                        - v
                        - V
                        - X
                        - C
                        - g
                        - r
                        - D
                      IDENT:
                        type: string
                        maxLength: 1
                        description: 'Data element identifies object type  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
              required:
              - ELEMENT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  LOGSYS:
                    type: string
                    maxLength: 10
                  OBJECTTYPE:
                    type: string
                    maxLength: 32
                  KEYPARTS:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJECTNAME:
                          type: string
                          maxLength: 10
                          description: 'Drag&Relate: Object Type'
                        KEYTYPE:
                          type: integer
                          format: int64
                          description: Key type (alternative key)
                        KEYPART:
                          type: integer
                          format: int64
                          description: Sequence of key fields
                        KEYNAME:
                          type: string
                          maxLength: 32
                          description: Key Element
                        REFTABLE:
                          type: string
                          maxLength: 30
                          description: 30 Characters
                        REFFIELD:
                          type: string
                          maxLength: 30
                          description: 30 Characters
                        DTELEM:
                          type: string
                          maxLength: 30
                          description: Data Element for Drag&Relate
                        MEMORYID:
                          type: string
                          maxLength: 20
                          description: Set/Get Parameter ID for Drag&Relate
                        KEYOFFS:
                          type: integer
                          format: int64
                          description: 'Numerical value: 2-digit'
                        KEYLEN:
                          type: integer
                          format: int64
                          description: 'Numerical value: 2-digit'
                        INTATYPE:
                          type: string
                          maxLength: 1
                          description: 'ABAP elementary data type  enumValues: N=Character string with only digits,s=2-byte integer, only for length field before LCHR or LRAW,h=Table type,y=Byte sequence with variable length (ABAP type XSTRING),l=Reference to data object,b=1-byte integer, integer number <= 254,P=Packed number,T=Time (Time: HHMMSS),u=Structured type, flat,I=Integer number (4-byte integer with sign),F=Floating point number to accuracy of 8 bytes,v=Structured type, deep,V=Character string
                            (old Dictionary type VARC),X=Byte sequence (heXadecimal),C=Character string,g=Character string with variable length (ABAP type STRING),r=Reference to class/interface,D=Date (Date: YYYYMMDD)'
                          enum:
                          - N
                          - s
                          - h
                          - y
                          - l
                          - b
                          - P
                          - T
                          - u
                          - I
                          - F
                          - v
                          - V
                          - X
                          - C
                          - g
                          - r
                          - D
                        IDENT:
                          type: string
                          maxLength: 1
                          description: 'Data element identifies object type  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
