openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CRM0_WRITE_CRMCONSUM:
    post:
      tags:
      - CRM0
      operationId: /rfc/CRM0_WRITE_CRMCONSUM
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_AKTIV:
                  type: string
                  maxLength: 1
                I_CONSUMER:
                  type: string
                  maxLength: 10
                I_DELETE_MODE:
                  type: string
                  maxLength: 1
                I_TEXT:
                  type: string
                  maxLength: 30
                TI_CRMCONSUM:
                  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
                      AKTIV:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Application Active  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      TEXT:
                        type: string
                        maxLength: 30
                        description: 30 Characters
                      Q_PREFIX:
                        type: string
                        maxLength: 3
                        description: Prefix for the Queue Name Used
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_STATUS:
                    type: string
                    maxLength: 1
                  TI_CRMCONSUM:
                    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
                        AKTIV:
                          type: string
                          maxLength: 1
                          description: 'Indicator: Application Active  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        TEXT:
                          type: string
                          maxLength: 30
                          description: 30 Characters
                        Q_PREFIX:
                          type: string
                          maxLength: 3
                          description: Prefix for the Queue Name Used
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
