openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CRM0_WRITE_CRMSUBTAB:
    post:
      tags:
      - CRM0
      operationId: /rfc/CRM0_WRITE_CRMSUBTAB
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_CONSUMER:
                  type: string
                  maxLength: 10
                I_DELETE_MODE:
                  type: string
                  maxLength: 1
                I_INACTIVE:
                  type: string
                  maxLength: 1
                I_MOD_NAME:
                  type: string
                  maxLength: 30
                I_OBJCLASS:
                  type: string
                  maxLength: 15
                I_OBJECTTYPE:
                  type: string
                  maxLength: 4
                I_OBJNAME:
                  type: string
                  maxLength: 15
                I_OPERATION:
                  type: string
                  maxLength: 3
                I_UP_OR_DOWN:
                  type: string
                  maxLength: 1
                TI_CRMSUBTAB:
                  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 for Download
                      UP_OR_DOWN:
                        type: string
                        maxLength: 1
                        description: 'Upload- or Download-Relevant  enumValues: U=Upload,D=Download'
                        enum:
                        - U
                        - D
                      OBJCLASS:
                        type: string
                        maxLength: 15
                        description: Object Class
                      OPERATION:
                        type: string
                        maxLength: 3
                        description: 'Function  enumValues: 023=Wait/Adjust: Data should not be imported,009=Original: First message for process,005=Replace: This message replaces previous messages,018=Resend,004=Change: Message contains changes,003=Delete: Message contains objects to be deleted'
                        enum:
                        - '023'
                        - '009'
                        - '005'
                        - '018'
                        - '004'
                        - '003'
                      OBJECTTYPE:
                        type: string
                        maxLength: 4
                        description: Object Type
                      MOD_NAME:
                        type: string
                        maxLength: 30
                        description: Name of Function Module
                      INACTIVE:
                        type: string
                        maxLength: 1
                        description: 'Inactive  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_STATUS:
                    type: string
                    maxLength: 1
                  TI_CRMSUBTAB:
                    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 for Download
                        UP_OR_DOWN:
                          type: string
                          maxLength: 1
                          description: 'Upload- or Download-Relevant  enumValues: U=Upload,D=Download'
                          enum:
                          - U
                          - D
                        OBJCLASS:
                          type: string
                          maxLength: 15
                          description: Object Class
                        OPERATION:
                          type: string
                          maxLength: 3
                          description: 'Function  enumValues: 023=Wait/Adjust: Data should not be imported,009=Original: First message for process,005=Replace: This message replaces previous messages,018=Resend,004=Change: Message contains changes,003=Delete: Message contains objects to be deleted'
                          enum:
                          - '023'
                          - '009'
                          - '005'
                          - '018'
                          - '004'
                          - '003'
                        OBJECTTYPE:
                          type: string
                          maxLength: 4
                          description: Object Type
                        MOD_NAME:
                          type: string
                          maxLength: 30
                          description: Name of Function Module
                        INACTIVE:
                          type: string
                          maxLength: 1
                          description: 'Inactive  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
