openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CRM_ADPTESTMBDOC_R3_IN:
    post:
      tags:
      - CRM_COCALL
      operationId: /rfc/CRM_ADPTESTMBDOC_R3_IN
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IT_BAPICRMSFK:
                  type: array
                  items:
                    type: object
                    properties:
                      STRUCTNAME:
                        type: string
                        maxLength: 30
                        description: Table Name of Length 30
                      TABNAME:
                        type: string
                        maxLength: 30
                        description: Table Name of Length 30
                      TABNAME_P:
                        type: string
                        maxLength: 30
                        description: Table Name of Length 30
                      SFA_KEY:
                        type: string
                        maxLength: 32
                        description: CHAR32 data element for SYST
                      SFA_KEY_P:
                        type: string
                        maxLength: 32
                        description: CHAR32 data element for SYST
                      LINE_NO:
                        type: string
                        maxLength: 128
                        description: Current Record Number or Unique Key
                      LOG_SYSTEM:
                        type: string
                        maxLength: 10
                        description: Logical system
                IT_BAPIPAREX:
                  type: array
                  items:
                    type: object
                    properties:
                      STRUCTURE:
                        type: string
                        maxLength: 30
                        description: Structure name of  BAPI table extension
                      VALUEPART1:
                        type: string
                        maxLength: 240
                        description: Data part of BAPI extension parameter
                      VALUEPART2:
                        type: string
                        maxLength: 240
                        description: Data part of BAPI extension parameter
                      VALUEPART3:
                        type: string
                        maxLength: 240
                        description: Data part of BAPI extension parameter
                      VALUEPART4:
                        type: string
                        maxLength: 240
                        description: Data part of BAPI extension parameter
                IT_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
                I_BAPICRMUH1:
                  type: object
                  properties:
                    CONSUMER:
                      type: string
                      maxLength: 10
                      description: User of R/3 Adaptor Functionality
                    OBJNAME:
                      type: string
                      maxLength: 15
                      description: Object Name for Download
                    UPLOAD_ID:
                      type: string
                      maxLength: 32
                      description: Unique Reference Number
                    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'
                    KEYWORD_IN:
                      type: string
                      maxLength: 20
                      description: Keyword for Customer Enhancements
                    OBJECTTYPE:
                      type: string
                      maxLength: 4
                      description: Object Type
                    DATAFORMAT:
                      type: string
                      maxLength: 4
                      description: Data Format
                    CHKENDEBC:
                      type: string
                      maxLength: 2
                      description: Option for Checking System Environment
                    LOG_SYSTEM:
                      type: string
                      maxLength: 10
                      description: Logical system
                    CHECK_BTE:
                      type: string
                      maxLength: 1
                      description: 'Flag: BTE Should Be Checked for Download Functionality  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    OBJCLASS:
                      type: string
                      maxLength: 15
                      description: Object Class
                    BLOCKSIZE:
                      type: integer
                      format: int64
                      description: Block Size for Download
                    BLOCKNO:
                      type: string
                      maxLength: 10
                      description: Block Number Data Transfer
                    LASTBLOCK:
                      type: string
                      maxLength: 1
                      description: Indicator for Last Block During Initial Download
                    DWNLOADTYP:
                      type: string
                      maxLength: 1
                      description: 'Download Type  enumValues: D=Delta Download,E=Error Information from Upload Only,R=Request,H=Compare Header,O=Other Error Information Only,T=Compare Detail,I=Initial Download,M=Mapping Error'
                      enum:
                      - D
                      - E
                      - R
                      - H
                      - O
                      - T
                      - I
                      - M
                    COCALL:
                      type: string
                      maxLength: 1
                      description: 'A Complex Structure Is Used During Data Exchange  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    CRM_REL:
                      type: string
                      maxLength: 10
                      description: SAP Release
                    SENT_BY:
                      type: string
                      maxLength: 12
                      description: User Name
                I_TRANSFER_DATA:
                  type: object
                  properties:
                    FIELD1:
                      type: string
                      maxLength: 32
                      description: 32-Character Length
                    FIELD2:
                      type: integer
                      format: int32
                      description: INT2 Field
                    ADPTST3_T:
                      type: array
                      items:
                        type: object
                        properties:
                          FIELD1:
                            type: string
                            maxLength: 32
                            description: 32-Character Length
                          FIELD2:
                            type: number
                            description: ''
                          ADPTST2_T:
                            type: array
                            items:
                              type: object
                              properties:
                                MANDT:
                                  type: string
                                  maxLength: 3
                                  description: Client
                                KEYFIELD1:
                                  type: string
                                  maxLength: 32
                                  description: 32-Character Length
                                KEYFIELD2:
                                  type: string
                                  maxLength: 32
                                  description: 32-Character Length
                                DELIVERED:
                                  type: string
                                  maxLength: 1
                                  description: Checkbox
                                TYP_C_CHAR:
                                  type: string
                                  maxLength: 8
                                  description: ''
                                TYP_C_CLNT:
                                  type: string
                                  maxLength: 3
                                  description: ''
                                TYP_C_CUKY:
                                  type: string
                                  maxLength: 5
                                  description: ''
                                TYP_P_CURR:
                                  type: integer
                                  format: int64
                                  description: ''
                                TYP_D_DATS:
                                  type: string
                                  format: date
                                  description: ''
                                TYP_P_DEC:
                                  type: integer
                                  format: int64
                                  description: ''
                                TYP_F_FLTP:
                                  type: number
                                  description: ''
                                TYP_X_INT1:
                                  type: integer
                                  format: int32
                                  description: ''
                                TYP_B_INT1:
                                  type: integer
                                  format: int32
                                  description: Int1
                                TYP_X_INT4:
                                  type: integer
                                  format: int32
                                  description: ''
                                TYP_C_LANG:
                                  type: string
                                  maxLength: 1
                                  description: ''
                                TYP_N_NUMC:
                                  type: integer
                                  format: int64
                                  description: ''
                                TYP_X_PREC:
                                  type: integer
                                  format: int32
                                  description: ''
                                TYP_P_QUAN:
                                  type: integer
                                  format: int64
                                  description: ''
                                TYP_X_RAW:
                                  type: string
                                  format: byte
                                  description: ''
                                TYP_T_TIMS:
                                  type: string
                                  maxLength: 6
                                  description: ''
                                TYP_C_UNIT:
                                  type: string
                                  maxLength: 3
                                  description: ''
                                TYP_N_ACCP:
                                  type: integer
                                  format: int64
                                  description: ''
                                DELTA_OP:
                                  type: string
                                  maxLength: 1
                                  description: Delta Operation
                                TYP_X_INT2:
                                  type: integer
                                  format: int32
                                  description: ''
                                TYP_C_LCHR:
                                  type: string
                                  maxLength: 1000
                                  description: ''
                    ADPTST1_T:
                      type: array
                      items:
                        type: object
                        properties:
                          MANDT:
                            type: string
                            maxLength: 3
                            description: Client
                          KEYFIELD1:
                            type: string
                            maxLength: 32
                            description: 32-Character Length
                          DELIVERED:
                            type: string
                            maxLength: 1
                            description: Single-Character Flag
                          DELTA_OP:
                            type: string
                            maxLength: 1
                            description: Delta Operation
                          TYP_X_INT2:
                            type: integer
                            format: int32
                            description: ''
                          TYP_X_LRAW:
                            type: string
                            format: byte
                            description: ''
                I_TRANSFER_DATA_OLD:
                  type: object
                  properties:
                    FIELD1:
                      type: string
                      maxLength: 32
                      description: 32-Character Length
                    FIELD2:
                      type: integer
                      format: int32
                      description: INT2 Field
                    ADPTST3_T:
                      type: array
                      items:
                        type: object
                        properties:
                          FIELD1:
                            type: string
                            maxLength: 32
                            description: 32-Character Length
                          FIELD2:
                            type: number
                            description: ''
                          ADPTST2_T:
                            type: array
                            items:
                              type: object
                              properties:
                                MANDT:
                                  type: string
                                  maxLength: 3
                                  description: Client
                                KEYFIELD1:
                                  type: string
                                  maxLength: 32
                                  description: 32-Character Length
                                KEYFIELD2:
                                  type: string
                                  maxLength: 32
                                  description: 32-Character Length
                                DELIVERED:
                                  type: string
                                  maxLength: 1
                                  description: Checkbox
                                TYP_C_CHAR:
                                  type: string
                                  maxLength: 8
                                  description: ''
                                TYP_C_CLNT:
                                  type: string
                                  maxLength: 3
                                  description: ''
                                TYP_C_CUKY:
                                  type: string
                                  maxLength: 5
                                  description: ''
                                TYP_P_CURR:
                                  type: integer
                                  format: int64
                                  description: ''
                                TYP_D_DATS:
                                  type: string
                                  format: date
                                  description: ''
                                TYP_P_DEC:
                                  type: integer
                                  format: int64
                                  description: ''
                                TYP_F_FLTP:
                                  type: number
                                  description: ''
                                TYP_X_INT1:
                                  type: integer
                                  format: int32
                                  description: ''
                                TYP_B_INT1:
                                  type: integer
                                  format: int32
                                  description: Int1
                                TYP_X_INT4:
                                  type: integer
                                  format: int32
                                  description: ''
                                TYP_C_LANG:
                                  type: string
                                  maxLength: 1
                                  description: ''
                                TYP_N_NUMC:
                                  type: integer
                                  format: int64
                                  description: ''
                                TYP_X_PREC:
                                  type: integer
                                  format: int32
                                  description: ''
                                TYP_P_QUAN:
                                  type: integer
                                  format: int64
                                  description: ''
                                TYP_X_RAW:
                                  type: string
                                  format: byte
                                  description: ''
                                TYP_T_TIMS:
                                  type: string
                                  maxLength: 6
                                  description: ''
                                TYP_C_UNIT:
                                  type: string
                                  maxLength: 3
                                  description: ''
                                TYP_N_ACCP:
                                  type: integer
                                  format: int64
                                  description: ''
                                DELTA_OP:
                                  type: string
                                  maxLength: 1
                                  description: Delta Operation
                                TYP_X_INT2:
                                  type: integer
                                  format: int32
                                  description: ''
                                TYP_C_LCHR:
                                  type: string
                                  maxLength: 1000
                                  description: ''
                    ADPTST1_T:
                      type: array
                      items:
                        type: object
                        properties:
                          MANDT:
                            type: string
                            maxLength: 3
                            description: Client
                          KEYFIELD1:
                            type: string
                            maxLength: 32
                            description: 32-Character Length
                          DELIVERED:
                            type: string
                            maxLength: 1
                            description: Single-Character Flag
                          DELTA_OP:
                            type: string
                            maxLength: 1
                            description: Delta Operation
                          TYP_X_INT2:
                            type: integer
                            format: int32
                            description: ''
                          TYP_X_LRAW:
                            type: string
                            format: byte
                            description: ''
              required:
              - IT_BAPICRMSFK
              - IT_BAPIPAREX
              - IT_CRMEVOBJ
              - I_BAPICRMUH1
              - I_TRANSFER_DATA
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
