openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/FSBP_DBREAD_BUT020:
    post:
      tags:
      - FSBP_DBREAD
      operationId: /rfc/FSBP_DBREAD_BUT020
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_ADDRNR:
                  type: string
                  maxLength: 10
                  description: Address Number
                I_DB:
                  type: string
                  maxLength: 1
                  description: 'Data Element for Domain BOOLE: TRUE (="X") and FALSE (=" ")'
                I_PARTNER:
                  type: string
                  maxLength: 10
                  description: Business Partner Number
                I_VALDT:
                  type: string
                  format: date
                  default: SY-DATLO
                  description: Date and time, local date of user
                T_BUT020:
                  type: array
                  items:
                    type: object
                    properties:
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: Client
                      PARTNER:
                        type: string
                        maxLength: 10
                        description: Business Partner Number
                      ADDRNUMBER:
                        type: string
                        maxLength: 10
                        description: Address number
                      XDFADR:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Address is standard address  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      ADEXT:
                        type: string
                        maxLength: 20
                        description: Address number in external system
                      NATION:
                        type: string
                        maxLength: 1
                        description: International address version ID
                      GUID:
                        type: string
                        maxLength: 32
                        description: UUID in character form
                      MOVE_ADDR:
                        type: string
                        maxLength: 10
                        description: Number of Move Target Address for Address Moves
                      DATE_FROM:
                        type: string
                        format: date
                        description: Date Obsolete
                      ADDRESS_GUID:
                        type: string
                        format: byte
                        description: GUID of a Business Partner Address
                      ADDR_VALID_FROM:
                        type: integer
                        format: int64
                        description: Validity Start of a Business Partner Address
                      ADDR_VALID_TO:
                        type: integer
                        format: int64
                        description: Validity End of a Business Partner Address
                      ADDR_MOVE_DATE:
                        type: integer
                        format: int64
                        description: Date of Move for Address Moves
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  T_BUT020:
                    type: array
                    items:
                      type: object
                      properties:
                        CLIENT:
                          type: string
                          maxLength: 3
                          description: Client
                        PARTNER:
                          type: string
                          maxLength: 10
                          description: Business Partner Number
                        ADDRNUMBER:
                          type: string
                          maxLength: 10
                          description: Address number
                        XDFADR:
                          type: string
                          maxLength: 1
                          description: 'Indicator: Address is standard address  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        ADEXT:
                          type: string
                          maxLength: 20
                          description: Address number in external system
                        NATION:
                          type: string
                          maxLength: 1
                          description: International address version ID
                        GUID:
                          type: string
                          maxLength: 32
                          description: UUID in character form
                        MOVE_ADDR:
                          type: string
                          maxLength: 10
                          description: Number of Move Target Address for Address Moves
                        DATE_FROM:
                          type: string
                          format: date
                          description: Date Obsolete
                        ADDRESS_GUID:
                          type: string
                          format: byte
                          description: GUID of a Business Partner Address
                        ADDR_VALID_FROM:
                          type: integer
                          format: int64
                          description: Validity Start of a Business Partner Address
                        ADDR_VALID_TO:
                          type: integer
                          format: int64
                          description: Validity End of a Business Partner Address
                        ADDR_MOVE_DATE:
                          type: integer
                          format: int64
                          description: Date of Move for Address Moves
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
