openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BAPI_BUPA_FS_TREASURY_REMOVE:
    post:
      tags:
      - FS_BAPI
      summary: Delete FS-Specific Attributes
      operationId: /rfc/BAPI_BUPA_FS_TREASURY_REMOVE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                BUSINESSPARTNER:
                  type: string
                  maxLength: 10
                  description: Business Partner Number
                CHANGEDOCU:
                  type: object
                  properties:
                    CHANGE_DOCU:
                      type: string
                      maxLength: 1
                      description: 'Generate Change Documents  enumValues: X=TRUE,""=FALSE'
                      enum:
                      - X
                      - ''
                TESTRUN:
                  type: string
                  maxLength: 1
                  description: Activate Simulation Mode
                TREASURYDATA:
                  type: object
                  properties:
                    SALUTATION:
                      type: integer
                      format: int64
                      description: Salutation
                    TARGET_GROUP:
                      type: string
                      maxLength: 4
                      description: Target Group
                    PAR_REL:
                      type: string
                      maxLength: 1
                      description: 'Business Partner Released  enumValues: ""=Released,X=Not released'
                      enum:
                      - ''
                      - X
                    VIP:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    BP_SORT:
                      type: string
                      maxLength: 20
                      description: Sort Field for Phonetic Search; Obsolete
                    SORT_PHON:
                      type: string
                      maxLength: 20
                      description: Sort Field for Phonetic Search; Obsolete
                    VBUND:
                      type: string
                      maxLength: 6
                      description: Company ID of the Business Partner
                    COUNTRY_REP:
                      type: string
                      maxLength: 3
                      description: Country for Reporting
                    COUNTRY_REP_ISO:
                      type: string
                      maxLength: 2
                      description: Country ISO code
                    CALENDARID:
                      type: string
                      maxLength: 2
                      description: Factory Calendar
                    CNTRY_COMP:
                      type: string
                      maxLength: 3
                      description: Country of Organization's Registered Office
                    CNTRY_COMP_ISO:
                      type: string
                      maxLength: 2
                      description: Country ISO code
                    REGION:
                      type: string
                      maxLength: 3
                      description: Region of Registered Office
                    COMP_HEAD:
                      type: string
                      maxLength: 35
                      description: Registered Office
                    MIN_RESERV:
                      type: string
                      maxLength: 1
                      description: 'Bank Subject to Minimum Reserve Requirement  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    BAL_SH_CUR:
                      type: string
                      maxLength: 5
                      description: Currency of Net Income
                    BAL_SH_CUR_ISO:
                      type: string
                      maxLength: 3
                      description: ISO Currency Code
                    CAP_INCR_A:
                      type: integer
                      format: int64
                      description: Amount of Last Capital Increase
                    CAP_INCR_Y:
                      type: integer
                      format: int64
                      description: Year of Last Capital Increase
                    BALANCE_FL:
                      type: string
                      maxLength: 1
                      description: 'Balance Sheet Display  enumValues: 0=Not consolidated,3=Associated,1=Consolidated,2=Not associated'
                      enum:
                      - '0'
                      - '3'
                      - '1'
                      - '2'
                    BANK_KEY:
                      type: string
                      maxLength: 15
                      description: Bank Key
                    BANK_CTRY:
                      type: string
                      maxLength: 3
                      description: Bank Country Key
                    BANK_CTRY_ISO:
                      type: string
                      maxLength: 2
                      description: Country ISO code
                    STATE:
                      type: string
                      maxLength: 3
                      description: Nationality
                    STATE_ISO:
                      type: string
                      maxLength: 2
                      description: Country ISO code
                    PROPRTY_ST:
                      type: integer
                      format: int64
                      description: Marital Property Regime
                    INCOME_CUR:
                      type: string
                      maxLength: 5
                      description: Currency of Net Income
                    INCOME_CUR_ISO:
                      type: string
                      maxLength: 3
                      description: ISO Currency Code
                    CHILDREN:
                      type: integer
                      format: int64
                      description: Number of Children Belonging to the Business Partner
                    MEM_HOUSE:
                      type: integer
                      format: int64
                      description: Number of People Living in the Household
                    NET_INCOME:
                      type: integer
                      format: int64
                      description: Net Annual Income
                    MO_NET_INC:
                      type: integer
                      format: int64
                      description: Monthly Net Income of Business Partner
                    NET_INC_Y:
                      type: integer
                      format: int64
                      description: Year of Net Annual Income
                    MO_INC_M:
                      type: integer
                      format: int64
                      description: 'Month of Monthly Net Income  enumValues: 06=June,10=October,12=December,05=May,09=September,03=March,07=July,01=January,02=February,04=April,08=August,11=November'
                      enum:
                      - '06'
                      - '10'
                      - '12'
                      - '05'
                      - '09'
                      - '03'
                      - '07'
                      - '01'
                      - '02'
                      - '04'
                      - '08'
                      - '11'
                    MO_INC_Y:
                      type: integer
                      format: int64
                      description: Year of monthly net income
                    PERS_NR:
                      type: string
                      maxLength: 15
                      description: Personnel Number
                    STAFF_GRP:
                      type: string
                      maxLength: 4
                      description: Employee Group
                    HR_ORG_REF:
                      type: string
                      maxLength: 1
                      description: 'HR Org. Link  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    XUBNAME:
                      type: string
                      maxLength: 12
                      description: User Name in User Master Record
                    STAFF_REF:
                      type: string
                      maxLength: 1
                      description: 'Employee  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    DYING_PLACE:
                      type: string
                      maxLength: 40
                      description: Place of Death
                    BANK_DEL_D:
                      type: string
                      format: date
                      description: Termination Date for Business Relations with the Bank
                    UNW_CUSTOMER:
                      type: string
                      maxLength: 1
                      description: 'Undesirable Customer  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    UNW_REASON:
                      type: string
                      maxLength: 2
                      description: Reason for Undesirability
                    UNW_REMARK:
                      type: string
                      maxLength: 35
                      description: Comment on Undesirability
                    ADDRESSTYPE:
                      type: string
                      maxLength: 10
                      description: Address Type
                    GROUP_FEATURE:
                      type: string
                      maxLength: 10
                      description: Grouping Characteristic
                    LAST_CUST_CONT:
                      type: string
                      format: date
                      description: Date of Last Customer Contact
                    MAX_FILE_SIZE:
                      type: integer
                      format: int32
                      description: Maximum Size for Ordering File
              required:
              - BUSINESSPARTNER
              - TREASURYDATA
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  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.
