openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CRM_SEND_DATA_ADPCOMPTYP:
    post:
      tags:
      - ADPT_COCALL
      operationId: /rfc/CRM_SEND_DATA_ADPCOMPTYP
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_BAPICRMDH2:
                  type: object
                  properties:
                    REF_ID:
                      type: string
                      maxLength: 32
                      description: Unique Reference Number
                    BLOCKSIZE:
                      type: integer
                      format: int64
                      description: Block Size for Download
                    RFCOLTP:
                      type: string
                      maxLength: 32
                      description: RFC Destination OLTP System
                    SEND_R3REL:
                      type: string
                      maxLength: 4
                      description: R/3 Release of Current Sending System
                    UPLOADSTAT:
                      type: string
                      maxLength: 1
                      description: 'Upload Status at Table Level  enumValues: W=Data Written to Database with Warnings,P=Data Partly Written to Database,S=Data Written to Database Without Errors or Warnings,E=Data not Written to Database (Error Situation)'
                      enum:
                      - W
                      - P
                      - S
                      - E
                    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
                    DELTA_OP:
                      type: string
                      maxLength: 1
                      description: 'Delta Operation  enumValues: D=Delete,I=Insert,U=Update'
                      enum:
                      - D
                      - I
                      - U
                    LASTBLOCK:
                      type: string
                      maxLength: 1
                      description: Indicator for Last Block During Initial Download
                    BLOCKNO:
                      type: string
                      maxLength: 10
                      description: Block Number Data Transfer
                    RECORDNO:
                      type: string
                      maxLength: 10
                      description: Record Number (10-Digits)
                    SEND_IFREL:
                      type: string
                      maxLength: 4
                      description: Sender Interface Release
                    RFCSERVER:
                      type: string
                      maxLength: 32
                      description: RFC Destination Server System
                    QUEUENAME:
                      type: string
                      maxLength: 32
                      description: Queue Name
                    IN_Q_USED:
                      type: string
                      maxLength: 1
                      description: Indicator, for Whether Inqueue Was Used
                    LOGSYS:
                      type: string
                      maxLength: 10
                      description: Logical system
                    OLTP_CLNT:
                      type: string
                      maxLength: 3
                      description: Client
                    DATAFORMAT:
                      type: string
                      maxLength: 4
                      description: Data Format
                    CHKENDEBC:
                      type: string
                      maxLength: 2
                      description: Option for Checking System Environment
                    CONSUMER:
                      type: string
                      maxLength: 10
                      description: User of R/3 Adaptor Functionality
                    UC_SYSTEM:
                      type: string
                      maxLength: 1
                      description: 'System Is a Unicode System  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    OLTP_WPPID:
                      type: string
                      maxLength: 8
                      description: Process Identification
                    TEMP_INFO:
                      type: string
                      maxLength: 32
                      description: Character field, length 32
                    LOAD_TYPE:
                      type: string
                      maxLength: 1
                      description: 'Internal Adapter: Type of Load  enumValues: R=Request,H=Compare Header,C=Compare,U=Response from Back End (Data Load from CRM System),I=Initial Load,T=Compare Detail,D=Delta Load'
                      enum:
                      - R
                      - H
                      - C
                      - U
                      - I
                      - T
                      - D
                    R3_GUID:
                      type: string
                      format: byte
                      description: Identification Attribute of Source Site
                    COCALL:
                      type: string
                      maxLength: 1
                      description: 'A Complex Structure Is Used During Data Exchange  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    UC_CHARSIZ:
                      type: integer
                      format: int64
                      description: Size of Character in Bytes in UNICODE System
                    USERNAME:
                      type: string
                      maxLength: 12
                      description: User Name
                    SITETYPE:
                      type: string
                      maxLength: 32
                      description: Site Type
                    BLOCK_PROCESSING:
                      type: string
                      maxLength: 1
                      description: 'Processing by Blocks Is Possible  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    INQUEUENAME:
                      type: string
                      maxLength: 24
                      description: Name of tRFC Queue
                    TIMESTAMP_DELTA:
                      type: integer
                      format: int64
                      description: UTC time stamp in long form (YYYYMMDDhhmmss,mmmuuun)
                I_CRMRFCPAR:
                  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/Mobile Sales Table Name
                    RFCDEST:
                      type: string
                      maxLength: 32
                      description: Logical Destination (Specified in Function Call)
                    DOWNLOAD:
                      type: string
                      maxLength: 1
                      description: 'Download Types for CRMRFCPAR  enumValues: C=Compare/Request,O=Error Information, Not Belonging to an Upload,*=All Load Types,D=Delta Download,R=Request,E=Error Information for an Upload,I=Initial Download'
                      enum:
                      - C
                      - O
                      - '*'
                      - D
                      - R
                      - E
                      - I
                    RFC_QUEUE:
                      type: string
                      maxLength: 24
                      description: Name of tRFC Queue
                    RFC_IN_QUE:
                      type: string
                      maxLength: 24
                      description: Name of tRFC Queue
                    BAPINAME:
                      type: string
                      maxLength: 30
                      description: Name of Recipient BAPI to Be Called
                    INFO:
                      type: string
                      maxLength: 30
                      description: Information/Comments
                    INACTIVE:
                      type: string
                      maxLength: 1
                      description: 'Data Record Inactive  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    DISCARDDAT:
                      type: string
                      maxLength: 1
                      description: 'Indicator: Discard Data  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    USE_IN_Q:
                      type: string
                      maxLength: 1
                      description: Indicator, for Whether Inqueue Was Used
                    SEND_XML:
                      type: string
                      maxLength: 1
                      description: 'Should Data Be Sent in XML Format?  enumValues: X=Send XML,M=Mixed Mode (Optimized),""=No XML'
                      enum:
                      - X
                      - M
                      - ''
                    HOLD_DATA:
                      type: string
                      maxLength: 1
                      description: 'Indicator: Record Data in Sender System?  enumValues: X=Data Is Being Recorded,""=Data Is Not Being Recorded'
                      enum:
                      - X
                      - ''
                    CRM_REL:
                      type: string
                      maxLength: 10
                      description: SAP Release
                    LAST_UPD:
                      type: string
                      format: date
                      description: Current Date of Application Server
                    USERNAME:
                      type: string
                      maxLength: 12
                      description: Last Changed by User
                    CHANGEDATE:
                      type: string
                      format: date
                      description: Last Changed On
                    CHANGETIME:
                      type: string
                      maxLength: 6
                      description: Time of Last Change
                    REM_LOGSYS:
                      type: string
                      maxLength: 10
                      description: Logical system
                I_LOGSYS_IS_OK:
                  type: string
                  default: X
                  maxLength: 1
                I_OBJ_CLASS:
                  type: string
                  maxLength: 15
                I_OBJ_NAME:
                  type: string
                  maxLength: 15
                I_SYNCHRONOUS_CALL:
                  type: string
                  maxLength: 255
                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: ''
                MASS_QUEUE:
                  type: string
                  maxLength: 24
                TI_IDLIST:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 32
                        description: Value of a Key Field
                      DDICNAME:
                        type: string
                        maxLength: 30
                        description: Table Name of Length 30
                T_KEY_INFO:
                  type: array
                  items:
                    type: object
                    properties:
                      RECNO:
                        type: string
                        maxLength: 4
                        description: Sequential Record Number (Link to Key Information)
                      TABNAME:
                        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
                      R3K_NAMES:
                        type: string
                        maxLength: 128
                        description: Concatenated Key Names for Transfer to SAVE-BAPI
                      R3K_VALUES:
                        type: string
                        maxLength: 128
                        description: Concatenated Values of All R/3 Keys
                      UPLOADSTAT:
                        type: string
                        maxLength: 1
                        description: 'Upload Status at Table Level  enumValues: W=Data Written to Database with Warnings,P=Data Partly Written to Database,S=Data Written to Database Without Errors or Warnings,E=Data not Written to Database (Error Situation)'
                        enum:
                        - W
                        - P
                        - S
                        - E
                      CHANGE_ID:
                        type: string
                        maxLength: 1
                        description: 'Change type (U, I, E, D)  enumValues: E=Delete (Single Field Documentation),D=Delete,J=Insert (Single Field Documentation),U=Update,I=Insert'
                        enum:
                        - E
                        - D
                        - J
                        - U
                        - I
                T_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
                T_OTHER_INFO:
                  type: array
                  items:
                    type: object
                    properties:
                      FIELD1:
                        type: string
                        maxLength: 250
                        description: Character field with length 250
                      FIELD2:
                        type: string
                        maxLength: 250
                        description: Character field with length 250
                      FIELD3:
                        type: string
                        maxLength: 250
                        description: Character field with length 250
                      FIELD4:
                        type: string
                        maxLength: 250
                        description: Character field with length 250
              required:
              - I_BAPICRMDH2
              - I_CRMRFCPAR
              - I_OBJ_CLASS
              - I_OBJ_NAME
              - I_SYNCHRONOUS_CALL
              - I_TRANSFER_DATA
              - I_TRANSFER_DATA_OLD
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  TI_IDLIST:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: string
                          maxLength: 32
                          description: Value of a Key Field
                        DDICNAME:
                          type: string
                          maxLength: 30
                          description: Table Name of Length 30
                  T_KEY_INFO:
                    type: array
                    items:
                      type: object
                      properties:
                        RECNO:
                          type: string
                          maxLength: 4
                          description: Sequential Record Number (Link to Key Information)
                        TABNAME:
                          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
                        R3K_NAMES:
                          type: string
                          maxLength: 128
                          description: Concatenated Key Names for Transfer to SAVE-BAPI
                        R3K_VALUES:
                          type: string
                          maxLength: 128
                          description: Concatenated Values of All R/3 Keys
                        UPLOADSTAT:
                          type: string
                          maxLength: 1
                          description: 'Upload Status at Table Level  enumValues: W=Data Written to Database with Warnings,P=Data Partly Written to Database,S=Data Written to Database Without Errors or Warnings,E=Data not Written to Database (Error Situation)'
                          enum:
                          - W
                          - P
                          - S
                          - E
                        CHANGE_ID:
                          type: string
                          maxLength: 1
                          description: 'Change type (U, I, E, D)  enumValues: E=Delete (Single Field Documentation),D=Delete,J=Insert (Single Field Documentation),U=Update,I=Insert'
                          enum:
                          - E
                          - D
                          - J
                          - U
                          - I
                  T_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
                  T_OTHER_INFO:
                    type: array
                    items:
                      type: object
                      properties:
                        FIELD1:
                          type: string
                          maxLength: 250
                          description: Character field with length 250
                        FIELD2:
                          type: string
                          maxLength: 250
                          description: Character field with length 250
                        FIELD3:
                          type: string
                          maxLength: 250
                          description: Character field with length 250
                        FIELD4:
                          type: string
                          maxLength: 250
                          description: Character field with length 250
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
