openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSCRM_BW_TODS_MODIFY_WITH_TR:
    post:
      tags:
      - RSCRM_BW_TODS
      operationId: /rfc/RSCRM_BW_TODS_MODIFY_WITH_TR
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_COMSTRU_TECH:
                  type: string
                  maxLength: 30
                I_DSOURCE:
                  type: string
                  maxLength: 30
                I_LOGSYS:
                  type: string
                  maxLength: 10
                I_TABNAME_TODS:
                  type: string
                  maxLength: 30
                I_TODSOBJECT:
                  type: string
                  maxLength: 30
                I_TRANSTRU_CHAR:
                  type: string
                  maxLength: 27
                I_TRANS_RULE_PROG:
                  type: string
                  maxLength: 40
                E_T_IDOCSTATE:
                  type: array
                  items:
                    type: object
                    properties:
                      DOCNUM:
                        type: integer
                        format: int64
                        description: IDoc number
                      STATUS:
                        type: string
                        maxLength: 2
                        description: Status of IDoc
                      MSGTY:
                        type: string
                        maxLength: 1
                        description: Message Type
                      MSGID:
                        type: string
                        maxLength: 20
                        description: Message identification
                      MSGNO:
                        type: string
                        maxLength: 3
                        description: System Message Number
                      MSGV1:
                        type: string
                        maxLength: 50
                        description: Parameter 1
                      MSGV2:
                        type: string
                        maxLength: 50
                        description: Parameter 2
                      MSGV3:
                        type: string
                        maxLength: 50
                        description: Parameter 3
                      MSGV4:
                        type: string
                        maxLength: 50
                        description: Parameter 4
                      SEGNUM:
                        type: integer
                        format: int64
                        description: Number of SAP segment
                      SEGFLD:
                        type: string
                        maxLength: 30
                        description: Field Name in SAP Segment
                      UNAME:
                        type: string
                        maxLength: 12
                        description: User name
                      REPID:
                        type: string
                        maxLength: 30
                        description: Program Name
                      ROUTID:
                        type: string
                        maxLength: 30
                        description: Name of subroutine (routine, function module)
                      TID:
                        type: string
                        maxLength: 24
                        description: Transaction ID
                      APPL_LOG:
                        type: string
                        maxLength: 20
                        description: Application Log
                I_T_DATA:
                  type: array
                  items:
                    type: object
                    properties:
                      CONTINUATION:
                        type: string
                        maxLength: 1
                        description: 'Continuation indicator  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      DATA:
                        type: string
                        maxLength: 250
                        description: Generic structure for transferring data
              required:
              - I_DSOURCE
              - I_LOGSYS
              - I_TODSOBJECT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_NUMROWS:
                    type: integer
                    format: int32
                  E_SUBRC:
                    type: integer
                    format: int32
                  E_T_IDOCSTATE:
                    type: array
                    items:
                      type: object
                      properties:
                        DOCNUM:
                          type: integer
                          format: int64
                          description: IDoc number
                        STATUS:
                          type: string
                          maxLength: 2
                          description: Status of IDoc
                        MSGTY:
                          type: string
                          maxLength: 1
                          description: Message Type
                        MSGID:
                          type: string
                          maxLength: 20
                          description: Message identification
                        MSGNO:
                          type: string
                          maxLength: 3
                          description: System Message Number
                        MSGV1:
                          type: string
                          maxLength: 50
                          description: Parameter 1
                        MSGV2:
                          type: string
                          maxLength: 50
                          description: Parameter 2
                        MSGV3:
                          type: string
                          maxLength: 50
                          description: Parameter 3
                        MSGV4:
                          type: string
                          maxLength: 50
                          description: Parameter 4
                        SEGNUM:
                          type: integer
                          format: int64
                          description: Number of SAP segment
                        SEGFLD:
                          type: string
                          maxLength: 30
                          description: Field Name in SAP Segment
                        UNAME:
                          type: string
                          maxLength: 12
                          description: User name
                        REPID:
                          type: string
                          maxLength: 30
                          description: Program Name
                        ROUTID:
                          type: string
                          maxLength: 30
                          description: Name of subroutine (routine, function module)
                        TID:
                          type: string
                          maxLength: 24
                          description: Transaction ID
                        APPL_LOG:
                          type: string
                          maxLength: 20
                          description: Application Log
                  I_T_DATA:
                    type: array
                    items:
                      type: object
                      properties:
                        CONTINUATION:
                          type: string
                          maxLength: 1
                          description: 'Continuation indicator  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        DATA:
                          type: string
                          maxLength: 250
                          description: Generic structure for transferring data
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
