openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CRM0_WRITE_CRMOBJTAB:
    post:
      tags:
      - CRM0
      operationId: /rfc/CRM0_WRITE_CRMOBJTAB
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_BAPI_TABLE:
                  type: string
                  maxLength: 1
                I_CONSUMER:
                  type: string
                  maxLength: 10
                I_DELETE_ALL:
                  type: string
                  maxLength: 1
                I_DELETE_MODE:
                  type: string
                  maxLength: 1
                I_INACTIVE:
                  type: string
                  maxLength: 1
                I_MAINTAB:
                  type: string
                  maxLength: 30
                I_OBJNAME:
                  type: string
                  maxLength: 15
                I_TABNAME:
                  type: string
                  maxLength: 30
                I_TAB_HIER:
                  type: integer
                  format: int32
                TI_CRMOBJTAB:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      CONSUMER:
                        type: string
                        maxLength: 10
                        description: User of R/3 Adaptor Functionality
                      OBJNAME:
                        type: string
                        maxLength: 15
                        description: Object Name
                      TABNAME:
                        type: string
                        maxLength: 30
                        description: Table Name for Download
                      MAINTAB:
                        type: string
                        maxLength: 30
                        description: Table Name of Check Table
                      TAB_HIER:
                        type: integer
                        format: int32
                        description: Table Hierarchy
                      BAPI_TABLE:
                        type: string
                        maxLength: 1
                        description: 'Indicator for Whether it Is a BAPI Structure Name  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      INACTIVE:
                        type: string
                        maxLength: 1
                        description: 'Inactive  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      REM_LOGSYS:
                        type: string
                        maxLength: 10
                        description: Logical system
                TI_CRMOBJTAB_DEL:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      CONSUMER:
                        type: string
                        maxLength: 10
                        description: User of R/3 Adaptor Functionality
                      OBJNAME:
                        type: string
                        maxLength: 15
                        description: Object Name
                      TABNAME:
                        type: string
                        maxLength: 30
                        description: Table Name for Download
                      MAINTAB:
                        type: string
                        maxLength: 30
                        description: Table Name of Check Table
                      TAB_HIER:
                        type: integer
                        format: int32
                        description: Table Hierarchy
                      BAPI_TABLE:
                        type: string
                        maxLength: 1
                        description: 'Indicator for Whether it Is a BAPI Structure Name  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      INACTIVE:
                        type: string
                        maxLength: 1
                        description: 'Inactive  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      REM_LOGSYS:
                        type: string
                        maxLength: 10
                        description: Logical system
                TI_SELOPT_OBJNAME:
                  type: array
                  items:
                    type: object
                    properties:
                      SIGN:
                        type: string
                        maxLength: 1
                        description: 'Selection operator SIGN (as per range table)  enumValues: I=Including Defined Quantity/Range,E=Excluding Defined Quantity/Range'
                        enum:
                        - I
                        - E
                      OPTION:
                        type: string
                        maxLength: 2
                        description: 'Selection operator OPTION (as per range table)  enumValues: LE=Less Than or Equal To (<= Low),NB=Outside Lower and Upper Value (x < Low und High < x ),BT=Between lower and upper value (Low <= x <= High),NP=Does Not Contain the Pattern,CP=Contains the pattern,GT=Greater Than (> Low),GE=Greater Than or Equal To  (>=Low),LT=Less Than (< Low),EQ=Equal To (= Low),NE=Not Equal To (<> Low)'
                        enum:
                        - LE
                        - NB
                        - BT
                        - NP
                        - CP
                        - GT
                        - GE
                        - LT
                        - EQ
                        - NE
                      LOW:
                        type: string
                        maxLength: 15
                        description: Object Name
                      HIGH:
                        type: string
                        maxLength: 15
                        description: Object Name
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_STATUS:
                    type: string
                    maxLength: 1
                  TI_CRMOBJTAB:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        CONSUMER:
                          type: string
                          maxLength: 10
                          description: User of R/3 Adaptor Functionality
                        OBJNAME:
                          type: string
                          maxLength: 15
                          description: Object Name
                        TABNAME:
                          type: string
                          maxLength: 30
                          description: Table Name for Download
                        MAINTAB:
                          type: string
                          maxLength: 30
                          description: Table Name of Check Table
                        TAB_HIER:
                          type: integer
                          format: int32
                          description: Table Hierarchy
                        BAPI_TABLE:
                          type: string
                          maxLength: 1
                          description: 'Indicator for Whether it Is a BAPI Structure Name  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        INACTIVE:
                          type: string
                          maxLength: 1
                          description: 'Inactive  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        REM_LOGSYS:
                          type: string
                          maxLength: 10
                          description: Logical system
                  TI_CRMOBJTAB_DEL:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        CONSUMER:
                          type: string
                          maxLength: 10
                          description: User of R/3 Adaptor Functionality
                        OBJNAME:
                          type: string
                          maxLength: 15
                          description: Object Name
                        TABNAME:
                          type: string
                          maxLength: 30
                          description: Table Name for Download
                        MAINTAB:
                          type: string
                          maxLength: 30
                          description: Table Name of Check Table
                        TAB_HIER:
                          type: integer
                          format: int32
                          description: Table Hierarchy
                        BAPI_TABLE:
                          type: string
                          maxLength: 1
                          description: 'Indicator for Whether it Is a BAPI Structure Name  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        INACTIVE:
                          type: string
                          maxLength: 1
                          description: 'Inactive  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        REM_LOGSYS:
                          type: string
                          maxLength: 10
                          description: Logical system
                  TI_SELOPT_OBJNAME:
                    type: array
                    items:
                      type: object
                      properties:
                        SIGN:
                          type: string
                          maxLength: 1
                          description: 'Selection operator SIGN (as per range table)  enumValues: I=Including Defined Quantity/Range,E=Excluding Defined Quantity/Range'
                          enum:
                          - I
                          - E
                        OPTION:
                          type: string
                          maxLength: 2
                          description: 'Selection operator OPTION (as per range table)  enumValues: LE=Less Than or Equal To (<= Low),NB=Outside Lower and Upper Value (x < Low und High < x ),BT=Between lower and upper value (Low <= x <= High),NP=Does Not Contain the Pattern,CP=Contains the pattern,GT=Greater Than (> Low),GE=Greater Than or Equal To  (>=Low),LT=Less Than (< Low),EQ=Equal To (= Low),NE=Not Equal To (<> Low)'
                          enum:
                          - LE
                          - NB
                          - BT
                          - NP
                          - CP
                          - GT
                          - GE
                          - LT
                          - EQ
                          - NE
                        LOW:
                          type: string
                          maxLength: 15
                          description: Object Name
                        HIGH:
                          type: string
                          maxLength: 15
                          description: Object Name
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
