openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/IDX_TRACING:
    post:
      tags:
      - IDOCTRACING
      operationId: /rfc/IDX_TRACING
      requestBody:
        content:
          application/json:
            schema:
              properties:
                SELECTION_DATE:
                  type: string
                  format: date
                SNDPFC:
                  type: string
                  maxLength: 2
                SNDPRT:
                  type: string
                  maxLength: 2
                SOURCE_SYSTEM:
                  type: string
                  maxLength: 10
                T_IDOCINFO:
                  type: array
                  items:
                    type: object
                    properties:
                      DOCNUM_S:
                        type: integer
                        format: int64
                        description: IDoc number
                      CREDAT_S:
                        type: string
                        format: date
                        description: Date status record was created
                      CRETIM_S:
                        type: string
                        maxLength: 6
                        description: Time status record was created
                      UPDDAT_S:
                        type: string
                        format: date
                        description: Date on which control record was last changed
                      UPDTIM_S:
                        type: string
                        maxLength: 6
                        description: Time at which control record was last changed
                      CREDAT_R:
                        type: string
                        format: date
                        description: Date status record was created
                      CRETIM_R:
                        type: string
                        maxLength: 6
                        description: Time status record was created
                      DOCNUM_R:
                        type: integer
                        format: int64
                        description: IDoc number
                      STATUS_R:
                        type: string
                        maxLength: 2
                        description: Status of IDoc
                      MSG_GUID:
                        type: string
                        format: byte
                        description: 'XI: Message ID'
                      MSGSTATE:
                        type: integer
                        format: int64
                        description: 'Integration Engine: Message Status'
                      ACK_STATE:
                        type: integer
                        format: int64
                        description: 'XI: Acknowledgment Status  enumValues: 001=No Acknowledgment Received,003=Acknowledgement: Message with Application Error,006=Acknowledgement: Message Delivered to Target System,008=Acknowledgement: Execution ACK Possible,009=Acknowledgement: Message to Multiple Receivers,004=Acknowledgement: System Error in Request Message,002=Acknowledgement: Application Executed Successfully,005=Acknowledgement: System Error in ACK Message,007=Acknowledgement: Transport ACK
                          not Possible'
                        enum:
                        - '001'
                        - '003'
                        - '006'
                        - '008'
                        - '009'
                        - '004'
                        - '002'
                        - '005'
                        - '007'
                      ADAPT_STAT:
                        type: integer
                        format: int64
                        description: 'Integration Engine: Adapter Status  enumValues: 001=Message scheduled on outbound side,007=Message has error status on outbound side,006=Message executed successfully on outbound side,008=Message being executed on outbound side'
                        enum:
                        - '001'
                        - '007'
                        - '006'
                        - '008'
                T_NOINFO:
                  type: array
                  items:
                    type: object
                    properties:
                      DOCNUM_S:
                        type: integer
                        format: int64
                        description: IDoc number
                      CREDAT_S:
                        type: string
                        format: date
                        description: Date status record was created
                      CRETIM_S:
                        type: string
                        maxLength: 6
                        description: Time status record was created
                      UPDDAT_S:
                        type: string
                        format: date
                        description: Date on which control record was last changed
                      UPDTIM_S:
                        type: string
                        maxLength: 6
                        description: Time at which control record was last changed
                      CREDAT_R:
                        type: string
                        format: date
                        description: Date status record was created
                      CRETIM_R:
                        type: string
                        maxLength: 6
                        description: Time status record was created
                      DOCNUM_R:
                        type: integer
                        format: int64
                        description: IDoc number
                      STATUS_R:
                        type: string
                        maxLength: 2
                        description: Status of IDoc
                      MSG_GUID:
                        type: string
                        format: byte
                        description: 'XI: Message ID'
                      MSGSTATE:
                        type: integer
                        format: int64
                        description: 'Integration Engine: Message Status'
                      ACK_STATE:
                        type: integer
                        format: int64
                        description: 'XI: Acknowledgment Status  enumValues: 001=No Acknowledgment Received,003=Acknowledgement: Message with Application Error,006=Acknowledgement: Message Delivered to Target System,008=Acknowledgement: Execution ACK Possible,009=Acknowledgement: Message to Multiple Receivers,004=Acknowledgement: System Error in Request Message,002=Acknowledgement: Application Executed Successfully,005=Acknowledgement: System Error in ACK Message,007=Acknowledgement: Transport ACK
                          not Possible'
                        enum:
                        - '001'
                        - '003'
                        - '006'
                        - '008'
                        - '009'
                        - '004'
                        - '002'
                        - '005'
                        - '007'
                      ADAPT_STAT:
                        type: integer
                        format: int64
                        description: 'Integration Engine: Adapter Status  enumValues: 001=Message scheduled on outbound side,007=Message has error status on outbound side,006=Message executed successfully on outbound side,008=Message being executed on outbound side'
                        enum:
                        - '001'
                        - '007'
                        - '006'
                        - '008'
              required:
              - SELECTION_DATE
              - SOURCE_SYSTEM
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  T_IDOCINFO:
                    type: array
                    items:
                      type: object
                      properties:
                        DOCNUM_S:
                          type: integer
                          format: int64
                          description: IDoc number
                        CREDAT_S:
                          type: string
                          format: date
                          description: Date status record was created
                        CRETIM_S:
                          type: string
                          maxLength: 6
                          description: Time status record was created
                        UPDDAT_S:
                          type: string
                          format: date
                          description: Date on which control record was last changed
                        UPDTIM_S:
                          type: string
                          maxLength: 6
                          description: Time at which control record was last changed
                        CREDAT_R:
                          type: string
                          format: date
                          description: Date status record was created
                        CRETIM_R:
                          type: string
                          maxLength: 6
                          description: Time status record was created
                        DOCNUM_R:
                          type: integer
                          format: int64
                          description: IDoc number
                        STATUS_R:
                          type: string
                          maxLength: 2
                          description: Status of IDoc
                        MSG_GUID:
                          type: string
                          format: byte
                          description: 'XI: Message ID'
                        MSGSTATE:
                          type: integer
                          format: int64
                          description: 'Integration Engine: Message Status'
                        ACK_STATE:
                          type: integer
                          format: int64
                          description: 'XI: Acknowledgment Status  enumValues: 001=No Acknowledgment Received,003=Acknowledgement: Message with Application Error,006=Acknowledgement: Message Delivered to Target System,008=Acknowledgement: Execution ACK Possible,009=Acknowledgement: Message to Multiple Receivers,004=Acknowledgement: System Error in Request Message,002=Acknowledgement: Application Executed Successfully,005=Acknowledgement: System Error in ACK Message,007=Acknowledgement: Transport ACK
                            not Possible'
                          enum:
                          - '001'
                          - '003'
                          - '006'
                          - '008'
                          - '009'
                          - '004'
                          - '002'
                          - '005'
                          - '007'
                        ADAPT_STAT:
                          type: integer
                          format: int64
                          description: 'Integration Engine: Adapter Status  enumValues: 001=Message scheduled on outbound side,007=Message has error status on outbound side,006=Message executed successfully on outbound side,008=Message being executed on outbound side'
                          enum:
                          - '001'
                          - '007'
                          - '006'
                          - '008'
                  T_NOINFO:
                    type: array
                    items:
                      type: object
                      properties:
                        DOCNUM_S:
                          type: integer
                          format: int64
                          description: IDoc number
                        CREDAT_S:
                          type: string
                          format: date
                          description: Date status record was created
                        CRETIM_S:
                          type: string
                          maxLength: 6
                          description: Time status record was created
                        UPDDAT_S:
                          type: string
                          format: date
                          description: Date on which control record was last changed
                        UPDTIM_S:
                          type: string
                          maxLength: 6
                          description: Time at which control record was last changed
                        CREDAT_R:
                          type: string
                          format: date
                          description: Date status record was created
                        CRETIM_R:
                          type: string
                          maxLength: 6
                          description: Time status record was created
                        DOCNUM_R:
                          type: integer
                          format: int64
                          description: IDoc number
                        STATUS_R:
                          type: string
                          maxLength: 2
                          description: Status of IDoc
                        MSG_GUID:
                          type: string
                          format: byte
                          description: 'XI: Message ID'
                        MSGSTATE:
                          type: integer
                          format: int64
                          description: 'Integration Engine: Message Status'
                        ACK_STATE:
                          type: integer
                          format: int64
                          description: 'XI: Acknowledgment Status  enumValues: 001=No Acknowledgment Received,003=Acknowledgement: Message with Application Error,006=Acknowledgement: Message Delivered to Target System,008=Acknowledgement: Execution ACK Possible,009=Acknowledgement: Message to Multiple Receivers,004=Acknowledgement: System Error in Request Message,002=Acknowledgement: Application Executed Successfully,005=Acknowledgement: System Error in ACK Message,007=Acknowledgement: Transport ACK
                            not Possible'
                          enum:
                          - '001'
                          - '003'
                          - '006'
                          - '008'
                          - '009'
                          - '004'
                          - '002'
                          - '005'
                          - '007'
                        ADAPT_STAT:
                          type: integer
                          format: int64
                          description: 'Integration Engine: Adapter Status  enumValues: 001=Message scheduled on outbound side,007=Message has error status on outbound side,006=Message executed successfully on outbound side,008=Message being executed on outbound side'
                          enum:
                          - '001'
                          - '007'
                          - '006'
                          - '008'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
