openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /idoc/BUPA_FS_REMOVETREASURY01/BUPA_FS_REMOVETREASURY:
    post:
      summary: Delete Business Partner Attribute (BusinessPartnerFS)
      operationId: /idoc/BUPA_FS_REMOVETREASURY01/BUPA_FS_REMOVETREASURY
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                EDI_DC40:
                  properties:
                    TABNAM:
                      type: string
                      maxLength: 10
                      description: Name of Table Structure
                    MANDT:
                      type: string
                      maxLength: 3
                      description: Client
                    DOCNUM:
                      type: string
                      maxLength: 16
                      description: IDoc number
                    DOCREL:
                      type: string
                      maxLength: 4
                      description: SAP Release for IDoc
                    STATUS:
                      type: string
                      maxLength: 2
                      description: Status of IDoc
                    DIRECT:
                      type: string
                      maxLength: 1
                      description: 'Direction enumValues: 1=Outbound, 2=Inbound'
                      enum:
                      - '1'
                      - '2'
                    OUTMOD:
                      type: string
                      maxLength: 1
                      description: 'Output mode enumValues: 1=Transfer IDoc immediately and start external subsystem, 2=Transfer IDoc immediately, 3=Collect IDocs, transfer and start external subsystem, 4=Collect IDocs and transfer'
                      enum:
                      - '1'
                      - '2'
                      - '3'
                      - '4'
                    EXPRSS:
                      type: string
                      maxLength: 1
                      description: 'Overriding in inbound processing enumValues: ""=No overriding, X=Overriding'
                      enum:
                      - ''
                      - X
                    TEST:
                      type: string
                      maxLength: 1
                      description: 'Test flag enumValues: ""=IDoc contains a productive message, X=IDoc contains a test message'
                      enum:
                      - ''
                      - X
                    IDOCTYP:
                      type: string
                      maxLength: 30
                      description: Name of basic type
                    CIMTYP:
                      type: string
                      maxLength: 30
                      description: Extension (defined by customer)
                    MESTYP:
                      type: string
                      maxLength: 30
                      description: Message type
                    MESCOD:
                      type: string
                      maxLength: 3
                      description: Message code
                    MESFCT:
                      type: string
                      maxLength: 3
                      description: Message Function
                    STD:
                      type: string
                      maxLength: 1
                      description: EDI standard, flag
                    STDVRS:
                      type: string
                      maxLength: 6
                      description: EDI standard, version and release
                    STDMES:
                      type: string
                      maxLength: 6
                      description: EDI message type
                    SNDPOR:
                      type: string
                      maxLength: 10
                      description: Sender port (SAP System, external subsystem)
                    SNDPRT:
                      type: string
                      maxLength: 2
                      description: Partner type of sender
                    SNDPFC:
                      type: string
                      maxLength: 2
                      description: Partner Function of Sender
                    SNDPRN:
                      type: string
                      maxLength: 10
                      description: Partner Number of Sender
                    SNDSAD:
                      type: string
                      maxLength: 21
                      description: Sender address (SADR)
                    SNDLAD:
                      type: string
                      maxLength: 70
                      description: Logical address of sender
                    RCVPOR:
                      type: string
                      maxLength: 10
                      description: Receiver port
                    RCVPRT:
                      type: string
                      maxLength: 2
                      description: Partner Type of Receiver
                    RCVPFC:
                      type: string
                      maxLength: 2
                      description: Partner function of recipient
                    RCVPRN:
                      type: string
                      maxLength: 10
                      description: Partner Number of Receiver
                    RCVSAD:
                      type: string
                      maxLength: 21
                      description: Recipient address (SADR)
                    RCVLAD:
                      type: string
                      maxLength: 70
                      description: Logical address of recipient
                    CREDAT:
                      type: string
                      format: date
                      maxLength: 8
                      description: Created on
                    CRETIM:
                      type: string
                      maxLength: 6
                      description: Created at
                    REFINT:
                      type: string
                      maxLength: 14
                      description: Transmission file (EDI Interchange)
                    REFGRP:
                      type: string
                      maxLength: 14
                      description: Message group (EDI Message Group)
                    REFMES:
                      type: string
                      maxLength: 14
                      description: Message (EDI Message)
                    ARCKEY:
                      type: string
                      maxLength: 70
                      description: Key for external message archive
                    SERIAL:
                      type: string
                      maxLength: 20
                      description: Serialization
                E1BUPA_FS_REMOVETREASURY:
                  type: array
                  items:
                    properties:
                      BUSINESSPARTNER:
                        type: string
                        maxLength: 10
                        description: Business Partner Number
                      TESTRUN:
                        type: string
                        maxLength: 1
                        description: 'Switch to Simulation Session for Write BAPIs: ""=Not set,X=Set'
                        enum:
                        - ''
                        - X
                      E1BP_STR_BUPA_FS_CHANGE_DOC:
                        type: array
                        items:
                          properties:
                            CHANGE_DOCU:
                              type: string
                              maxLength: 1
                              description: 'Generate Change Documents: X=TRUE,""=FALSE'
                              enum:
                              - X
                              - ''
                      E1BP_STR_BUPA_FS_TREASURY:
                        type: array
                        items:
                          properties:
                            SALUTATION:
                              type: string
                              maxLength: 2
                              description: Salutation
                            TARGET_GROUP:
                              type: string
                              maxLength: 4
                              description: Target Group
                            PAR_REL:
                              type: string
                              maxLength: 1
                              description: 'Business Partner Released: ""=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: X=Yes,""=No'
                              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: number
                              maxLength: 31
                              description: Amount of Last Capital Increase
                            CAP_INCR_Y:
                              type: string
                              maxLength: 4
                              description: Year of Last Capital Increase
                            BALANCE_FL:
                              type: string
                              maxLength: 1
                              description: 'Balance Sheet Display: 0=Not consolidated,1=Consolidated,2=Not associated,3=Associated'
                              enum:
                              - '0'
                              - '1'
                              - '2'
                              - '3'
                            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: string
                              maxLength: 2
                              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: number
                              maxLength: 4
                              description: Number of Children Belonging to the Business Partner
                            MEM_HOUSE:
                              type: number
                              maxLength: 4
                              description: Number of People Living in the Household
                            NET_INCOME:
                              type: number
                              maxLength: 31
                              description: Net Annual Income
                            MO_NET_INC:
                              type: number
                              maxLength: 31
                              description: Monthly Net Income of Business Partner
                            NET_INC_Y:
                              type: string
                              maxLength: 4
                              description: Year of Net Annual Income
                            MO_INC_M:
                              type: string
                              maxLength: 2
                              description: 'Month of Monthly Net Income: 01=January,02=February,03=March,04=April,05=May,06=June,07=July,08=August,09=September,10=October,11=November,12=December'
                              enum:
                              - '01'
                              - '02'
                              - '03'
                              - '04'
                              - '05'
                              - '06'
                              - '07'
                              - '08'
                              - '09'
                              - '10'
                              - '11'
                              - '12'
                            MO_INC_Y:
                              type: string
                              maxLength: 4
                              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: X=Yes,""=No'
                              enum:
                              - X
                              - ''
                            XUBNAME:
                              type: string
                              maxLength: 12
                              description: User Name in User Master Record
                            STAFF_REF:
                              type: string
                              maxLength: 1
                              description: 'Employee: X=Yes,""=No'
                              enum:
                              - X
                              - ''
                            DYING_PLACE:
                              type: string
                              maxLength: 40
                              description: Place of Death
                            BANK_DEL_D:
                              type: string
                              format: date
                              maxLength: 8
                              description: Termination Date for Business Relations with the Bank
                            UNW_CUSTOMER:
                              type: string
                              maxLength: 1
                              description: 'Undesirable Customer: X=Yes,""=No'
                              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
                              maxLength: 8
                              description: Date of Last Customer Contact
                            MAX_FILE_SIZE:
                              type: integer
                              format: int32
                              maxLength: 11
                              description: Maximum Size for Ordering File
                    required:
                    - E1BUPA_FS_REMOVETREASURY
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  TID:
                    type: string
                    description: tid
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
