openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CRM_BDOCTRACK_UPDATE:
    post:
      tags:
      - CTRK
      operationId: /rfc/CRM_BDOCTRACK_UPDATE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_BDOC_TRACK:
                  type: object
                  properties:
                    MANDT:
                      type: string
                      maxLength: 3
                      description: Client
                    UPLOAD_ID:
                      type: string
                      maxLength: 32
                      description: Unique Reference Number
                    BLOCKNO:
                      type: string
                      maxLength: 10
                      description: Block Number Data Transfer
                    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
                    RUNTIMEINF:
                      type: string
                      maxLength: 32
                      description: Runtime Information for a BDoc in the Back End
                    CONSUMER:
                      type: string
                      maxLength: 10
                      description: User of R/3 Adaptor Functionality
                    LOG_SYSTEM:
                      type: string
                      maxLength: 10
                      description: Logical system
                    OBJNAME:
                      type: string
                      maxLength: 15
                      description: Object Name
                    LOADSTART:
                      type: string
                      maxLength: 1
                      description: Load Started By Trigger Function Module
                    EXIT1_INT:
                      type: string
                      maxLength: 1
                      description: Internal Exit for Load Trigger Function Module (Exit No. 1)
                    PROCESSED1:
                      type: string
                      maxLength: 1
                      description: 'Indicator: Trigger Module Internal Exit Executed (No.1)'
                    CONTROL1:
                      type: string
                      maxLength: 1
                      description: 'Indicator: Internal Trigger Exit Controls the Load (No. 1)'
                    EXIT2_EXT:
                      type: string
                      maxLength: 1
                      description: External Exit for Load Trigger Function Module (Exit No. 2)
                    PROCESSED2:
                      type: string
                      maxLength: 1
                      description: 'Indicator: Trigger Module External Exit Executed (No. 2)'
                    CONTROL2:
                      type: string
                      maxLength: 1
                      description: 'Indicator: External Trigger Exit Controls the Load (No. 2)'
                    MODULFOUND:
                      type: string
                      maxLength: 1
                      description: Extraction Mod. or Inbound Module Determined During Load
                    EXFMNOTNOK:
                      type: string
                      maxLength: 1
                      description: Module for Data Extraction Incorrectly Processed
                    XMLFORMAT:
                      type: string
                      maxLength: 1
                      description: Indicator:XML Data Format Exists During Load to R/3 Back End
                    XMLPARSED:
                      type: string
                      maxLength: 1
                      description: 'Indicator: Data Exists in BAPIMTCS Structure (XML Parsed)'
                    NOACTEVENT:
                      type: string
                      maxLength: 1
                      description: 'During Load to R/3 Back End: No Event Determined'
                    SENDSTART:
                      type: string
                      maxLength: 1
                      description: 'Indicator: Function Module CRS_SEND_TO_SERVER Started'
                    LASTBLOCK:
                      type: string
                      maxLength: 1
                      description: Indicator for Last Block During Initial Download
                    EXTRACTOK:
                      type: string
                      maxLength: 1
                      description: 'Indicator: Data Extracted During Load'
                    DNL_PARAMS:
                      type: string
                      maxLength: 1
                      description: 'Indicator: Load Parameters Determined (CRS_READ_DNL_PARAMS)'
                    CRMUCSYS:
                      type: string
                      maxLength: 1
                      description: 'System Is a Unicode System  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    EXIT3_INT:
                      type: string
                      maxLength: 1
                      description: 'Indicator: Internal Exit of CRS_SEND_TO_SERVER (Exit No.3)'
                    PROCESSED3:
                      type: string
                      maxLength: 1
                      description: 'Indictor: Internal Exit of CRS_SEND_TO_SERVER Executed (3)'
                    CONTROL3:
                      type: string
                      maxLength: 1
                      description: 'Indicator: Internal CRS_SEND_TO_SERVER Exit Controls Load(3)'
                    EXTRACT3:
                      type: string
                      maxLength: 1
                      description: Data Extract Available After Int. CRS_SEND_TO_SERVER Exit
                    FILTERSYNC:
                      type: string
                      maxLength: 1
                      description: 'Indicator: Synchronous Filtering During Load'
                    FILTEROK:
                      type: string
                      maxLength: 1
                      description: 'Indictator: Filtering Performed Successfully During Load'
                    FILTEREXTR:
                      type: string
                      maxLength: 1
                      description: 'Indicator: Data Extract Available After Filtering'
                    EXIT4_EXT:
                      type: string
                      maxLength: 1
                      description: 'Indicator: External Exit of CRS_SEND_TO_SERVER (Exit No.4)'
                    PROCESSED4:
                      type: string
                      maxLength: 1
                      description: 'Indicator: External Exit of CRS_SEND_TO_SERVER Executed (4)'
                    NOTSEND4:
                      type: string
                      maxLength: 1
                      description: 'Indicator: Send No More Data After Internal Exit (4)'
                    EXTRACT4:
                      type: string
                      maxLength: 1
                      description: Data Extract Available After Ext. CRS_SEND_TO_SERVER Exit
                    SENDDATA:
                      type: string
                      maxLength: 1
                      description: 'Indicator: Data Sent During Load'
                    ENDSEND:
                      type: string
                      maxLength: 1
                      description: 'Indicator: CRS_SEND_TO_SERVER Completely Processed'
                    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'
                    ACTSTATINF:
                      type: string
                      maxLength: 30
                      description: Additional Information on Status
                    LSTSTATINF:
                      type: string
                      maxLength: 30
                      description: Additional Information on Status
                    OBJECTTYPE:
                      type: string
                      maxLength: 4
                      description: Object Type
                    OBJKEY:
                      type: string
                      maxLength: 32
                      description: Object Key
                    CREDATE:
                      type: string
                      format: date
                      description: Date on Which the Record was Created
                    CRETIME:
                      type: string
                      maxLength: 6
                      description: Time Created
                    CHANGDATE:
                      type: string
                      format: date
                      description: Last Changed On
                    CHANGTIME:
                      type: string
                      maxLength: 6
                      description: Time of Last Change
                I_FORCE_COMMIT:
                  type: string
                  default: ' '
                  maxLength: 1
                I_STATE_INFO:
                  type: string
                  maxLength: 30
              required:
              - I_BDOC_TRACK
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_BDOC_TRACK_NEW:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      UPLOAD_ID:
                        type: string
                        maxLength: 32
                        description: Unique Reference Number
                      BLOCKNO:
                        type: string
                        maxLength: 10
                        description: Block Number Data Transfer
                      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
                      RUNTIMEINF:
                        type: string
                        maxLength: 32
                        description: Runtime Information for a BDoc in the Back End
                      CONSUMER:
                        type: string
                        maxLength: 10
                        description: User of R/3 Adaptor Functionality
                      LOG_SYSTEM:
                        type: string
                        maxLength: 10
                        description: Logical system
                      OBJNAME:
                        type: string
                        maxLength: 15
                        description: Object Name
                      LOADSTART:
                        type: string
                        maxLength: 1
                        description: Load Started By Trigger Function Module
                      EXIT1_INT:
                        type: string
                        maxLength: 1
                        description: Internal Exit for Load Trigger Function Module (Exit No. 1)
                      PROCESSED1:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Trigger Module Internal Exit Executed (No.1)'
                      CONTROL1:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Internal Trigger Exit Controls the Load (No. 1)'
                      EXIT2_EXT:
                        type: string
                        maxLength: 1
                        description: External Exit for Load Trigger Function Module (Exit No. 2)
                      PROCESSED2:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Trigger Module External Exit Executed (No. 2)'
                      CONTROL2:
                        type: string
                        maxLength: 1
                        description: 'Indicator: External Trigger Exit Controls the Load (No. 2)'
                      MODULFOUND:
                        type: string
                        maxLength: 1
                        description: Extraction Mod. or Inbound Module Determined During Load
                      EXFMNOTNOK:
                        type: string
                        maxLength: 1
                        description: Module for Data Extraction Incorrectly Processed
                      XMLFORMAT:
                        type: string
                        maxLength: 1
                        description: Indicator:XML Data Format Exists During Load to R/3 Back End
                      XMLPARSED:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Data Exists in BAPIMTCS Structure (XML Parsed)'
                      NOACTEVENT:
                        type: string
                        maxLength: 1
                        description: 'During Load to R/3 Back End: No Event Determined'
                      SENDSTART:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Function Module CRS_SEND_TO_SERVER Started'
                      LASTBLOCK:
                        type: string
                        maxLength: 1
                        description: Indicator for Last Block During Initial Download
                      EXTRACTOK:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Data Extracted During Load'
                      DNL_PARAMS:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Load Parameters Determined (CRS_READ_DNL_PARAMS)'
                      CRMUCSYS:
                        type: string
                        maxLength: 1
                        description: 'System Is a Unicode System  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      EXIT3_INT:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Internal Exit of CRS_SEND_TO_SERVER (Exit No.3)'
                      PROCESSED3:
                        type: string
                        maxLength: 1
                        description: 'Indictor: Internal Exit of CRS_SEND_TO_SERVER Executed (3)'
                      CONTROL3:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Internal CRS_SEND_TO_SERVER Exit Controls Load(3)'
                      EXTRACT3:
                        type: string
                        maxLength: 1
                        description: Data Extract Available After Int. CRS_SEND_TO_SERVER Exit
                      FILTERSYNC:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Synchronous Filtering During Load'
                      FILTEROK:
                        type: string
                        maxLength: 1
                        description: 'Indictator: Filtering Performed Successfully During Load'
                      FILTEREXTR:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Data Extract Available After Filtering'
                      EXIT4_EXT:
                        type: string
                        maxLength: 1
                        description: 'Indicator: External Exit of CRS_SEND_TO_SERVER (Exit No.4)'
                      PROCESSED4:
                        type: string
                        maxLength: 1
                        description: 'Indicator: External Exit of CRS_SEND_TO_SERVER Executed (4)'
                      NOTSEND4:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Send No More Data After Internal Exit (4)'
                      EXTRACT4:
                        type: string
                        maxLength: 1
                        description: Data Extract Available After Ext. CRS_SEND_TO_SERVER Exit
                      SENDDATA:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Data Sent During Load'
                      ENDSEND:
                        type: string
                        maxLength: 1
                        description: 'Indicator: CRS_SEND_TO_SERVER Completely Processed'
                      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'
                      ACTSTATINF:
                        type: string
                        maxLength: 30
                        description: Additional Information on Status
                      LSTSTATINF:
                        type: string
                        maxLength: 30
                        description: Additional Information on Status
                      OBJECTTYPE:
                        type: string
                        maxLength: 4
                        description: Object Type
                      OBJKEY:
                        type: string
                        maxLength: 32
                        description: Object Key
                      CREDATE:
                        type: string
                        format: date
                        description: Date on Which the Record was Created
                      CRETIME:
                        type: string
                        maxLength: 6
                        description: Time Created
                      CHANGDATE:
                        type: string
                        format: date
                        description: Last Changed On
                      CHANGTIME:
                        type: string
                        maxLength: 6
                        description: Time of Last Change
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
