openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/COM_CLEAR_DEPENDENCIES:
    post:
      tags:
      - COM_CLEAR_PROCESS
      operationId: /rfc/COM_CLEAR_DEPENDENCIES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IT_CLEAR_CASE_INSERT:
                  type: array
                  items:
                    type: object
                    properties:
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: Client
                      GUID:
                        type: string
                        format: byte
                        description: 'Data Cleansing Case: Globally Unique Identifier'
                      CASE_NUMBER:
                        type: string
                        maxLength: 10
                        description: Number of Data Cleansing Case
                      CASE_TYPE:
                        type: string
                        maxLength: 1
                        description: 'Data Cleansing: Application Type'
                      ACTIVITY:
                        type: string
                        maxLength: 2
                        description: Activity
                      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'
                      ORIGINATOR:
                        type: string
                        maxLength: 12
                        description: 'Data Clns: User Who Caused Data Cleansing Case'
                      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
                      PCD_OBJECTCLAS:
                        type: string
                        maxLength: 15
                        description: Object class
                      PCD_OBJECTID:
                        type: string
                        maxLength: 90
                        description: Object value
                      PCD_CHANGENR:
                        type: string
                        maxLength: 10
                        description: Document change number
                      PRIORITY:
                        type: integer
                        format: int64
                        description: 'Data Cleansing: Priority'
                      ERROR_LOG:
                        type: string
                        maxLength: 22
                        description: 'Application Log: Log Handle'
                      STATUS:
                        type: string
                        maxLength: 1
                        description: 'Data Cleansing: Status of a Data Cleansing Case'
                      CREATE_TIME:
                        type: integer
                        format: int64
                        description: 'Data Cleansing: Timestamp Registration'
                      UPDATE_TIME:
                        type: integer
                        format: int64
                        description: 'Data Cleansing: Timestamp Processed'
                IT_TARGETS:
                  type: array
                  items:
                    type: object
                    properties:
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: Client
                      GUID:
                        type: string
                        format: byte
                        description: 'Data Cleansing: GUID of a Target Object'
                      CLEAR_CASE_GUID:
                        type: string
                        format: byte
                        description: 'Data Cleansing Case: Globally Unique Identifier'
                      OBJECT_GUID:
                        type: string
                        format: byte
                        description: GUID Application Object
                      OBJECT_CLASS:
                        type: string
                        maxLength: 4
                        description: 'BDT Where-Used List: Application Object'
                      OBJECT_APPL_KEY:
                        type: string
                        maxLength: 90
                        description: 'Data Cleansing: Application Object Key'
                      OBJ_DESCRIPTION:
                        type: string
                        maxLength: 60
                        description: 'Data Cleansing: Description of Application Object'
                      PROBABILITY:
                        type: integer
                        format: int64
                        description: Probability
                      IS_SOURCE:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Source/Target Rejected'
                      IS_OBJ_DELETED:
                        type: string
                        maxLength: 1
                        description: Central archiving flag
                      IS_PROCESSED:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Processed'
                      EXTERNAL_SOURCE:
                        type: string
                        maxLength: 6
                        description: Key for External Data Source
                IV_WITH_LOCK:
                  type: string
                  default: X
                  maxLength: 1
              required:
              - IT_CLEAR_CASE_INSERT
              - IT_TARGETS
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ET_DEPENDENCIES:
                    type: array
                    items:
                      type: object
                      properties:
                        CLIENT:
                          type: string
                          maxLength: 3
                          description: Client
                        GUID:
                          type: string
                          format: byte
                          description: 'Data Cleansing: GUID of Target Object Usage'
                        GUID_TARGET_LIST:
                          type: string
                          format: byte
                          description: 'Data Cleansing: GUID of a Target Object'
                        OBJECT_GUID:
                          type: string
                          format: byte
                          description: GUID Application Object
                        OBJECT_CLASS:
                          type: string
                          maxLength: 10
                          description: Current node
                        OBJECT_APPL_KEY:
                          type: string
                          maxLength: 90
                          description: 'Data Cleansing: Application Object Key'
                        OBJ_DESCRIPTION:
                          type: string
                          maxLength: 60
                          description: 'Data Cleansing: Description of Application Object'
                        SUP_OBJ_GUID:
                          type: string
                          format: byte
                          description: GUID of a Higher-Level Object
                        SUP_OBJ_CLASS:
                          type: string
                          maxLength: 10
                          description: Higher-Level Node
                        SUP_OBJ_APPL_KEY:
                          type: string
                          maxLength: 90
                          description: Key of Higher-Level Application Object
                        SUB_OBJECT:
                          type: string
                          maxLength: 10
                          description: 'Data Cleansing: Sub-Object Type'
                        SUB_OC_DESCRIP:
                          type: string
                          maxLength: 60
                          description: 'Data Cleansing: Description of Application Object'
                  ET_RESULTS:
                    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
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
