openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CRS_TBE31_MAINTAIN:
    post:
      tags:
      - CRMR
      operationId: /rfc/CRS_TBE31_MAINTAIN
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_CONSUMER:
                  type: string
                  maxLength: 10
                TI_CRMEVOBJ:
                  type: array
                  items:
                    type: object
                    properties:
                      EVENT:
                        type: string
                        maxLength: 8
                        description: Event for export of business data
                      OBJECT:
                        type: string
                        maxLength: 15
                        description: Object Class
                      FUNCT:
                        type: string
                        maxLength: 30
                        description: Application Module (Developed by SAP)
                      APPLK:
                        type: string
                        maxLength: 6
                        description: Event Application
                TI_CRMOBJAC:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJECT:
                        type: string
                        maxLength: 15
                        description: Object Class
                      INACTIVE:
                        type: string
                        maxLength: 1
                        description: 'Inactive Flag  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      UPDKZ:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                TO_MESSAGES:
                  type: array
                  items:
                    type: object
                    properties:
                      RECNO:
                        type: string
                        maxLength: 4
                        description: Sequential Record Number (Link to Key Information)
                      MSG_TYPE:
                        type: string
                        maxLength: 1
                        description: 'Message Type: S Success, E Error, W Warning, I Info, A Abort'
                      MSG_AREA:
                        type: string
                        maxLength: 20
                        description: Application Area Messages
                      MESSAGENO:
                        type: string
                        maxLength: 3
                        description: Message number
                      MESSAGETXT:
                        type: string
                        maxLength: 220
                        description: Message Text
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key
                      MESSAGE_V1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      SYSTEM:
                        type: string
                        maxLength: 10
                        description: Logical system from which message originates
                      USER:
                        type: string
                        maxLength: 12
                        description: User Name
                      TIMESTAMP:
                        type: integer
                        format: int64
                        description: UTC Time Stamp in Long Form (YYYYMMDDhhmmss,mmmuuun)
                      ADDTEXT1:
                        type: string
                        maxLength: 10
                        description: Character Field Length = 10
                      ADDTEXT2:
                        type: string
                        maxLength: 30
                        description: 30 Characters
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  TI_CRMEVOBJ:
                    type: array
                    items:
                      type: object
                      properties:
                        EVENT:
                          type: string
                          maxLength: 8
                          description: Event for export of business data
                        OBJECT:
                          type: string
                          maxLength: 15
                          description: Object Class
                        FUNCT:
                          type: string
                          maxLength: 30
                          description: Application Module (Developed by SAP)
                        APPLK:
                          type: string
                          maxLength: 6
                          description: Event Application
                  TI_CRMOBJAC:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJECT:
                          type: string
                          maxLength: 15
                          description: Object Class
                        INACTIVE:
                          type: string
                          maxLength: 1
                          description: 'Inactive Flag  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        UPDKZ:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                  TO_MESSAGES:
                    type: array
                    items:
                      type: object
                      properties:
                        RECNO:
                          type: string
                          maxLength: 4
                          description: Sequential Record Number (Link to Key Information)
                        MSG_TYPE:
                          type: string
                          maxLength: 1
                          description: 'Message Type: S Success, E Error, W Warning, I Info, A Abort'
                        MSG_AREA:
                          type: string
                          maxLength: 20
                          description: Application Area Messages
                        MESSAGENO:
                          type: string
                          maxLength: 3
                          description: Message number
                        MESSAGETXT:
                          type: string
                          maxLength: 220
                          description: Message Text
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key
                        MESSAGE_V1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V4:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        SYSTEM:
                          type: string
                          maxLength: 10
                          description: Logical system from which message originates
                        USER:
                          type: string
                          maxLength: 12
                          description: User Name
                        TIMESTAMP:
                          type: integer
                          format: int64
                          description: UTC Time Stamp in Long Form (YYYYMMDDhhmmss,mmmuuun)
                        ADDTEXT1:
                          type: string
                          maxLength: 10
                          description: Character Field Length = 10
                        ADDTEXT2:
                          type: string
                          maxLength: 30
                          description: 30 Characters
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
