openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/FSBP_READ_BUT021_FS:
    post:
      tags:
      - FSBP_READ
      operationId: /rfc/FSBP_READ_BUT021_FS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_ADR_KIND:
                  type: string
                  maxLength: 10
                  description: Address Type
                I_DATE:
                  type: string
                  format: date
                  description: Validity Date
                I_DB:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: 'Data Element for Domain BOOLE: TRUE (="X") and FALSE (=" ")'
                I_OPERATION:
                  type: string
                  maxLength: 6
                I_PARTNER:
                  type: string
                  maxLength: 10
                  description: Business Partner Number
                I_XMEMORY:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: 'Data Element for Domain BOOLE: TRUE (="X") and FALSE (=" ")'
                I_XWA:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: 'Data Element for Domain BOOLE: TRUE (="X") and FALSE (=" ")'
                T_BUT021_FS:
                  type: array
                  items:
                    type: object
                    properties:
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: Client
                      PARTNER:
                        type: string
                        maxLength: 10
                        description: Business Partner Number
                      VALID_TO:
                        type: integer
                        format: int64
                        description: Validity End of a Business Partner Address Usage
                      ADR_KIND:
                        type: string
                        maxLength: 10
                        description: Address Type
                      ADDRNUMBER:
                        type: string
                        maxLength: 10
                        description: Address number
                      VALID_FROM:
                        type: integer
                        format: int64
                        description: Validity Start of a Business Partner Address Usage
                      XDFADU:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Standard Address Usage  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
              required:
              - I_PARTNER
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_BUT021_FS:
                    type: object
                    properties:
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: Client
                      PARTNER:
                        type: string
                        maxLength: 10
                        description: Business Partner Number
                      VALID_TO:
                        type: integer
                        format: int64
                        description: Validity End of a Business Partner Address Usage
                      ADR_KIND:
                        type: string
                        maxLength: 10
                        description: Address Type
                      ADDRNUMBER:
                        type: string
                        maxLength: 10
                        description: Address number
                      VALID_FROM:
                        type: integer
                        format: int64
                        description: Validity Start of a Business Partner Address Usage
                      XDFADU:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Standard Address Usage  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                  E_STND_INSTEAD:
                    type: string
                    maxLength: 1
                  T_BUT021_FS:
                    type: array
                    items:
                      type: object
                      properties:
                        CLIENT:
                          type: string
                          maxLength: 3
                          description: Client
                        PARTNER:
                          type: string
                          maxLength: 10
                          description: Business Partner Number
                        VALID_TO:
                          type: integer
                          format: int64
                          description: Validity End of a Business Partner Address Usage
                        ADR_KIND:
                          type: string
                          maxLength: 10
                          description: Address Type
                        ADDRNUMBER:
                          type: string
                          maxLength: 10
                          description: Address number
                        VALID_FROM:
                          type: integer
                          format: int64
                          description: Validity Start of a Business Partner Address Usage
                        XDFADU:
                          type: string
                          maxLength: 1
                          description: 'Indicator: Standard Address Usage  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
