openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/COM_CLEAR_CASE_CREATE_INDIALOG:
    post:
      tags:
      - COM_CLEAR_CASE
      operationId: /rfc/COM_CLEAR_CASE_CREATE_INDIALOG
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACCEPTDUPLICATES:
                  type: string
                  default: X
                  maxLength: 1
                NUMBEROFCASES:
                  type: integer
                  format: int32
                STARTINDEX:
                  type: integer
                  format: int32
                CLEARINGCASEDATA:
                  type: array
                  items:
                    type: object
                    properties:
                      CASE_NUMBER:
                        type: string
                        maxLength: 10
                        description: Number of Data Cleansing Case
                      CASE_TYPE:
                        type: string
                        maxLength: 1
                        description: 'Data Cleansing: Application Type  enumValues: U=Unreliable Data, to be Checked,D=Duplicate'
                        enum:
                        - U
                        - D
                      APPLICATION:
                        type: string
                        maxLength: 4
                        description: 'BDT Where-Used List: Application Object'
                      SOURCE:
                        type: string
                        maxLength: 10
                        description: 'Data Cleansing: Source of Data Cleansing Object'
                      ADMINISTRATOR:
                        type: string
                        maxLength: 12
                        description: Processor (Administrator)
                      NOTE:
                        type: string
                        maxLength: 50
                        description: 'Data Cleansing: Note'
                      BUFFERED_DATA:
                        type: string
                        maxLength: 1
                        description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                      PRIORITY:
                        type: integer
                        format: int64
                        description: 'Data Cleansing: Priority'
                      STATUS:
                        type: string
                        maxLength: 1
                        description: 'Data Cleansing: Status of a Data Cleansing Case  enumValues: I=In Process,N=New,P=On Hold,D=Completed,R=Rejected,B=Blocked,A=Accepted'
                        enum:
                        - I
                        - N
                        - P
                        - D
                        - R
                        - B
                        - A
                CLEARINGCASENUMBERS:
                  type: array
                  items:
                    type: object
                    properties:
                      CASE_NUMBER:
                        type: string
                        maxLength: 10
                        description: Number of Data Cleansing Case
                      ORIGINAL_NUMBER:
                        type: string
                        maxLength: 10
                        description: Number of Data Cleansing Case
                      CASE_GUID:
                        type: string
                        maxLength: 32
                        description: 'Data Cleansing Case: Globally Unique Identifier'
                TARGETLIST:
                  type: array
                  items:
                    type: object
                    properties:
                      CASE_NUMBER:
                        type: string
                        maxLength: 10
                        description: Number of Data Cleansing Case
                      IS_SOURCE:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Source/Target Rejected  enumValues: ""=Not Specified,T=Actual Target,R=Rejected,X=Actual Source'
                        enum:
                        - ''
                        - T
                        - R
                        - X
                      PROBABILITY:
                        type: integer
                        format: int64
                        description: Probability
                      OBJECT_APPL_KEY:
                        type: string
                        maxLength: 90
                        description: 'Data Cleansing: Application Object Key'
                      EXTERNAL_SOURCE:
                        type: string
                        maxLength: 6
                        description: Key for External Data Source
                      OBJECT_GUID:
                        type: string
                        format: byte
                        description: GUID Application Object
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CLEARINGCASEDATA:
                    type: array
                    items:
                      type: object
                      properties:
                        CASE_NUMBER:
                          type: string
                          maxLength: 10
                          description: Number of Data Cleansing Case
                        CASE_TYPE:
                          type: string
                          maxLength: 1
                          description: 'Data Cleansing: Application Type  enumValues: U=Unreliable Data, to be Checked,D=Duplicate'
                          enum:
                          - U
                          - D
                        APPLICATION:
                          type: string
                          maxLength: 4
                          description: 'BDT Where-Used List: Application Object'
                        SOURCE:
                          type: string
                          maxLength: 10
                          description: 'Data Cleansing: Source of Data Cleansing Object'
                        ADMINISTRATOR:
                          type: string
                          maxLength: 12
                          description: Processor (Administrator)
                        NOTE:
                          type: string
                          maxLength: 50
                          description: 'Data Cleansing: Note'
                        BUFFERED_DATA:
                          type: string
                          maxLength: 1
                          description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
                        PRIORITY:
                          type: integer
                          format: int64
                          description: 'Data Cleansing: Priority'
                        STATUS:
                          type: string
                          maxLength: 1
                          description: 'Data Cleansing: Status of a Data Cleansing Case  enumValues: I=In Process,N=New,P=On Hold,D=Completed,R=Rejected,B=Blocked,A=Accepted'
                          enum:
                          - I
                          - N
                          - P
                          - D
                          - R
                          - B
                          - A
                  CLEARINGCASENUMBERS:
                    type: array
                    items:
                      type: object
                      properties:
                        CASE_NUMBER:
                          type: string
                          maxLength: 10
                          description: Number of Data Cleansing Case
                        ORIGINAL_NUMBER:
                          type: string
                          maxLength: 10
                          description: Number of Data Cleansing Case
                        CASE_GUID:
                          type: string
                          maxLength: 32
                          description: 'Data Cleansing Case: Globally Unique Identifier'
                  RETURN:
                    type: array
                    items:
                      type: object
                      properties:
                        TYPE:
                          type: string
                          maxLength: 1
                          description: 'Message type: S Success, E Error, W Warning, I Info, A Abort'
                        ID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        NUMBER:
                          type: integer
                          format: int64
                          description: Message Number
                        MESSAGE:
                          type: string
                          maxLength: 220
                          description: Message Text
                        LOG_NO:
                          type: string
                          maxLength: 20
                          description: 'Application log: log number'
                        LOG_MSG_NO:
                          type: integer
                          format: int64
                          description: 'Application log: Internal message serial number'
                        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
                        PARAMETER:
                          type: string
                          maxLength: 32
                          description: Parameter Name
                        ROW:
                          type: integer
                          format: int32
                          description: Lines in parameter
                        FIELD:
                          type: string
                          maxLength: 30
                          description: Field in parameter
                        SYSTEM:
                          type: string
                          maxLength: 10
                          description: Logical system from which message originates
                  TARGETLIST:
                    type: array
                    items:
                      type: object
                      properties:
                        CASE_NUMBER:
                          type: string
                          maxLength: 10
                          description: Number of Data Cleansing Case
                        IS_SOURCE:
                          type: string
                          maxLength: 1
                          description: 'Indicator: Source/Target Rejected  enumValues: ""=Not Specified,T=Actual Target,R=Rejected,X=Actual Source'
                          enum:
                          - ''
                          - T
                          - R
                          - X
                        PROBABILITY:
                          type: integer
                          format: int64
                          description: Probability
                        OBJECT_APPL_KEY:
                          type: string
                          maxLength: 90
                          description: 'Data Cleansing: Application Object Key'
                        EXTERNAL_SOURCE:
                          type: string
                          maxLength: 6
                          description: Key for External Data Source
                        OBJECT_GUID:
                          type: string
                          format: byte
                          description: GUID Application Object
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
