openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BAPI_TC_ITEMS_DELETE_MULTIPLE:
    post:
      tags:
      - FSBP_TC_BAPI
      summary: Delete Contract Information from Buffer Tables
      operationId: /rfc/BAPI_TC_ITEMS_DELETE_MULTIPLE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                APPLICATION:
                  type: string
                  maxLength: 10
                  description: Application
                DELETEALL:
                  type: string
                  default: ''
                  maxLength: 1
                  description: Delete All Contract Information for Application
                DELETEBLOCKFACTOR:
                  type: integer
                  format: int32
                  default: 100
                  description: Packet Size when Deleting
                PROCESSEXTENSION:
                  type: string
                  default: ''
                  maxLength: 1
                  description: Execute Customer Enhancements
                TESTRUN:
                  type: string
                  default: ''
                  maxLength: 1
                  description: Activate Simulation Mode
                BUSINESSPARTNERS:
                  type: array
                  items:
                    type: object
                    properties:
                      IDNUM:
                        type: string
                        maxLength: 60
                        description: Identification Number for Business Partner
                ERRORITEMS:
                  type: array
                  items:
                    type: object
                    properties:
                      IDNUM:
                        type: string
                        maxLength: 60
                        description: Identification Number for Business Partner
                      ROLECATEGORY:
                        type: string
                        maxLength: 6
                        description: Business Partner Role for Application
                      INTERNALID:
                        type: string
                        maxLength: 32
                        description: Internal Contract ID
                      EXTERNALID:
                        type: string
                        maxLength: 70
                        description: Contract Number
                      PRODUCT_DESCRIPTION:
                        type: string
                        maxLength: 35
                        description: Product Description
                      START_OF_TERM:
                        type: string
                        format: date
                        description: Start Date of Contract
                      TERMINATION_DATE:
                        type: string
                        format: date
                        description: Contract End Date
                      END_OF_TERM:
                        type: string
                        format: date
                        description: End of Term Date
                      CONTRACT_AMOUNT:
                        type: integer
                        format: int64
                        description: Contract Amount
                      CONTRACT_CURRENCY:
                        type: string
                        maxLength: 5
                        description: Display Currency for Contract
                      CONTRACT_CURRENCY_ISO:
                        type: string
                        maxLength: 3
                        description: Display Currency for Contract
                      S_COLL_AVAILABLE:
                        type: string
                        maxLength: 1
                        description: 'Collateral Available  enumValues: X=TRUE,""=FALSE'
                        enum:
                        - X
                        - ''
                      S_3RD_PARTY:
                        type: string
                        maxLength: 1
                        description: 'Third-Party Account  enumValues: X=TRUE,""=FALSE'
                        enum:
                        - X
                        - ''
                      ASSET_LIABILITY:
                        type: string
                        maxLength: 1
                        description: 'Asset/Liability Transaction  enumValues: 1=Liabilities Transaction,0=Asset Transaction,""=-'
                        enum:
                        - '1'
                        - '0'
                        - ''
                      ACCOUNT_BALANCE:
                        type: integer
                        format: int64
                        description: Account Balance
                      ACCOUNT_CURRENCY:
                        type: string
                        maxLength: 5
                        description: Display Currency for Account Balance
                      ACCOUNT_CURRENCY_ISO:
                        type: string
                        maxLength: 3
                        description: Display Currency According to ISO for Account Balance
                      LIMIT_EXTERNAL:
                        type: integer
                        format: int64
                        description: External Limit
                      LIMIT_INTERNAL:
                        type: integer
                        format: int64
                        description: Internal Limit
                      LIMIT_CARD:
                        type: integer
                        format: int64
                        description: Credit Line of Credit Card
                      LIMIT_CURRENCY:
                        type: string
                        maxLength: 5
                        description: Display Currency for Limits
                      LIMIT_CURRENCY_ISO:
                        type: string
                        maxLength: 3
                        description: Display Currency According to ISO for Limits
                      BLOCKED:
                        type: string
                        maxLength: 1
                        description: 'Lock on Contract  enumValues: X=TRUE,""=FALSE'
                        enum:
                        - X
                        - ''
                      STATUS:
                        type: string
                        maxLength: 20
                        description: Status Information
                EXTENSIONIN:
                  type: array
                  items:
                    type: object
                    properties:
                      STRUCTURE:
                        type: string
                        maxLength: 30
                        description: Structure name of  BAPI table extension
                      VALUEPART1:
                        type: string
                        maxLength: 240
                        description: Data part of BAPI extension parameter
                      VALUEPART2:
                        type: string
                        maxLength: 240
                        description: Data part of BAPI extension parameter
                      VALUEPART3:
                        type: string
                        maxLength: 240
                        description: Data part of BAPI extension parameter
                      VALUEPART4:
                        type: string
                        maxLength: 240
                        description: Data part of BAPI extension parameter
                EXTENSIONOUT:
                  type: array
                  items:
                    type: object
                    properties:
                      STRUCTURE:
                        type: string
                        maxLength: 30
                        description: Structure name of  BAPI table extension
                      VALUEPART1:
                        type: string
                        maxLength: 240
                        description: Data part of BAPI extension parameter
                      VALUEPART2:
                        type: string
                        maxLength: 240
                        description: Data part of BAPI extension parameter
                      VALUEPART3:
                        type: string
                        maxLength: 240
                        description: Data part of BAPI extension parameter
                      VALUEPART4:
                        type: string
                        maxLength: 240
                        description: Data part of BAPI extension parameter
              required:
              - APPLICATION
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  BUSINESSPARTNERS:
                    type: array
                    items:
                      type: object
                      properties:
                        IDNUM:
                          type: string
                          maxLength: 60
                          description: Identification Number for Business Partner
                  ERRORITEMS:
                    type: array
                    items:
                      type: object
                      properties:
                        IDNUM:
                          type: string
                          maxLength: 60
                          description: Identification Number for Business Partner
                        ROLECATEGORY:
                          type: string
                          maxLength: 6
                          description: Business Partner Role for Application
                        INTERNALID:
                          type: string
                          maxLength: 32
                          description: Internal Contract ID
                        EXTERNALID:
                          type: string
                          maxLength: 70
                          description: Contract Number
                        PRODUCT_DESCRIPTION:
                          type: string
                          maxLength: 35
                          description: Product Description
                        START_OF_TERM:
                          type: string
                          format: date
                          description: Start Date of Contract
                        TERMINATION_DATE:
                          type: string
                          format: date
                          description: Contract End Date
                        END_OF_TERM:
                          type: string
                          format: date
                          description: End of Term Date
                        CONTRACT_AMOUNT:
                          type: integer
                          format: int64
                          description: Contract Amount
                        CONTRACT_CURRENCY:
                          type: string
                          maxLength: 5
                          description: Display Currency for Contract
                        CONTRACT_CURRENCY_ISO:
                          type: string
                          maxLength: 3
                          description: Display Currency for Contract
                        S_COLL_AVAILABLE:
                          type: string
                          maxLength: 1
                          description: 'Collateral Available  enumValues: X=TRUE,""=FALSE'
                          enum:
                          - X
                          - ''
                        S_3RD_PARTY:
                          type: string
                          maxLength: 1
                          description: 'Third-Party Account  enumValues: X=TRUE,""=FALSE'
                          enum:
                          - X
                          - ''
                        ASSET_LIABILITY:
                          type: string
                          maxLength: 1
                          description: 'Asset/Liability Transaction  enumValues: 1=Liabilities Transaction,0=Asset Transaction,""=-'
                          enum:
                          - '1'
                          - '0'
                          - ''
                        ACCOUNT_BALANCE:
                          type: integer
                          format: int64
                          description: Account Balance
                        ACCOUNT_CURRENCY:
                          type: string
                          maxLength: 5
                          description: Display Currency for Account Balance
                        ACCOUNT_CURRENCY_ISO:
                          type: string
                          maxLength: 3
                          description: Display Currency According to ISO for Account Balance
                        LIMIT_EXTERNAL:
                          type: integer
                          format: int64
                          description: External Limit
                        LIMIT_INTERNAL:
                          type: integer
                          format: int64
                          description: Internal Limit
                        LIMIT_CARD:
                          type: integer
                          format: int64
                          description: Credit Line of Credit Card
                        LIMIT_CURRENCY:
                          type: string
                          maxLength: 5
                          description: Display Currency for Limits
                        LIMIT_CURRENCY_ISO:
                          type: string
                          maxLength: 3
                          description: Display Currency According to ISO for Limits
                        BLOCKED:
                          type: string
                          maxLength: 1
                          description: 'Lock on Contract  enumValues: X=TRUE,""=FALSE'
                          enum:
                          - X
                          - ''
                        STATUS:
                          type: string
                          maxLength: 20
                          description: Status Information
                  EXTENSIONIN:
                    type: array
                    items:
                      type: object
                      properties:
                        STRUCTURE:
                          type: string
                          maxLength: 30
                          description: Structure name of  BAPI table extension
                        VALUEPART1:
                          type: string
                          maxLength: 240
                          description: Data part of BAPI extension parameter
                        VALUEPART2:
                          type: string
                          maxLength: 240
                          description: Data part of BAPI extension parameter
                        VALUEPART3:
                          type: string
                          maxLength: 240
                          description: Data part of BAPI extension parameter
                        VALUEPART4:
                          type: string
                          maxLength: 240
                          description: Data part of BAPI extension parameter
                  EXTENSIONOUT:
                    type: array
                    items:
                      type: object
                      properties:
                        STRUCTURE:
                          type: string
                          maxLength: 30
                          description: Structure name of  BAPI table extension
                        VALUEPART1:
                          type: string
                          maxLength: 240
                          description: Data part of BAPI extension parameter
                        VALUEPART2:
                          type: string
                          maxLength: 240
                          description: Data part of BAPI extension parameter
                        VALUEPART3:
                          type: string
                          maxLength: 240
                          description: Data part of BAPI extension parameter
                        VALUEPART4:
                          type: string
                          maxLength: 240
                          description: Data part of BAPI extension parameter
                  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
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
