openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/FSBP_READ_RELATION_RF:
    post:
      tags:
      - FSBP_READ
      operationId: /rfc/FSBP_READ_RELATION_RF
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_DATE:
                  type: string
                  format: date
                  description: Date and Time, Current (Application Server) Date
                I_PARTNER1:
                  type: string
                  maxLength: 10
                  description: Business Partner Number
                I_PARTNER2:
                  type: string
                  maxLength: 10
                  description: Business Partner Number
                R_RELTYP:
                  type: array
                  items:
                    type: object
                    properties:
                      SIGN:
                        type: string
                        maxLength: 1
                        description: 'Include/exclude indicator for selection  enumValues: E=Exclude,I=Include'
                        enum:
                        - E
                        - I
                      OPTION:
                        type: string
                        maxLength: 2
                        description: 'Operation for selection choice  enumValues: GE=Greater equal,LT=Less than,GT=Greater than,EQ=Equal,BT=Between,NE=Not equal,NP=Not contain pattern,CP=Contains pattern,LE=Less equal,NB=Not between'
                        enum:
                        - GE
                        - LT
                        - GT
                        - EQ
                        - BT
                        - NE
                        - NP
                        - CP
                        - LE
                        - NB
                      LOW:
                        type: string
                        maxLength: 6
                        description: Business Partner Relationship Category
                      HIGH:
                        type: string
                        maxLength: 6
                        description: Business Partner Relationship Category
                T_BUT050:
                  type: array
                  items:
                    type: object
                    properties:
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: Client
                      RELNR:
                        type: string
                        maxLength: 12
                        description: BP Relationship Number
                      PARTNER1:
                        type: string
                        maxLength: 10
                        description: Business Partner Number
                      PARTNER2:
                        type: string
                        maxLength: 10
                        description: Business Partner Number
                      DATE_TO:
                        type: string
                        format: date
                        description: Validity Date (Valid To)
                      DATE_FROM:
                        type: string
                        format: date
                        description: Validity date (valid from)
                      RELTYP:
                        type: string
                        maxLength: 6
                        description: Business Partner Relationship Category
                      XRF:
                        type: string
                        maxLength: 1
                        description: 'Business partner role definition instead of BP relationship  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      DFTVAL:
                        type: string
                        maxLength: 20
                        description: 'BP: Differentiation type characteristic (change doc.-rel.)'
                      RLTYP:
                        type: string
                        maxLength: 6
                        description: Business partner role (change doc.-relevant)
                      RELKIND:
                        type: string
                        maxLength: 4
                        description: Business partner relationship type
                      CRUSR:
                        type: string
                        maxLength: 12
                        description: User who created the object
                      CRDAT:
                        type: string
                        format: date
                        description: Date on which the object was created
                      CRTIM:
                        type: string
                        maxLength: 6
                        description: Time at which the object was created
                      CHUSR:
                        type: string
                        maxLength: 12
                        description: Last user to change object
                      CHDAT:
                        type: string
                        format: date
                        description: Date on which the object was last changed
                      CHTIM:
                        type: string
                        maxLength: 6
                        description: Time at which object was last changed
                      XDFREL:
                        type: string
                        maxLength: 1
                        description: 'Standard Relationship  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                T_BUT051:
                  type: array
                  items:
                    type: object
                    properties:
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: Client
                      RELNR:
                        type: string
                        maxLength: 12
                        description: BP Relationship Number
                      PARTNER1:
                        type: string
                        maxLength: 10
                        description: Business Partner Number
                      PARTNER2:
                        type: string
                        maxLength: 10
                        description: Business Partner Number
                      DATE_TO:
                        type: string
                        format: date
                        description: Validity Date (Valid To)
                      RELTYP:
                        type: string
                        maxLength: 6
                        description: Business Partner Relationship Category
                      XRF:
                        type: string
                        maxLength: 1
                        description: 'Business partner role definition instead of BP relationship  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      FNCTN:
                        type: string
                        maxLength: 40
                        description: Function name of partner
                      PAFKT:
                        type: string
                        maxLength: 4
                        description: Function of partner
                      DPRTMNT:
                        type: string
                        maxLength: 40
                        description: Department at business partner
                      ABTNR:
                        type: string
                        maxLength: 4
                        description: Department
                      PAAUTH:
                        type: string
                        maxLength: 1
                        description: Partner's Authority
                      PAVIP:
                        type: string
                        maxLength: 1
                        description: VIP Partner
                      PAREM:
                        type: string
                        maxLength: 40
                        description: Notes on Partner
                      TEL_NUMBER:
                        type: string
                        maxLength: 30
                        description: 'Telephone no.: dialling code+number'
                      TEL_EXTENS:
                        type: string
                        maxLength: 10
                        description: 'Telephone no.: Extension'
                      FAX_NUMBER:
                        type: string
                        maxLength: 30
                        description: 'Fax number: dialling code+number'
                      FAX_EXTENS:
                        type: string
                        maxLength: 10
                        description: 'Fax no.: Extension'
                      SMTP_ADDRESS:
                        type: string
                        maxLength: 241
                        description: E-Mail Address
                      REL_PER:
                        type: integer
                        format: int64
                        description: 'Obsolete: Percentage of Capital Interest'
                      REL_AMO:
                        type: integer
                        format: int64
                        description: 'Obsolete: Amount of Capital Interest'
                      REL_CUR:
                        type: string
                        maxLength: 5
                        description: Currency Key
                      CALL_RULEID:
                        type: string
                        maxLength: 25
                        description: Internal Identification of Rules of Periodic Appointments
                      VISIT_RULEID:
                        type: string
                        maxLength: 25
                        description: Internal Identification of Rules of Periodic Appointments
                      BP_EEW_BUT051:
                        type: string
                        maxLength: 1
                        description: Dummy function in length 1
                T_BUT053:
                  type: array
                  items:
                    type: object
                    properties:
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: Client
                      RELNR:
                        type: string
                        maxLength: 12
                        description: BP Relationship Number
                      PARTNER1:
                        type: string
                        maxLength: 10
                        description: Business Partner Number
                      PARTNER2:
                        type: string
                        maxLength: 10
                        description: Business Partner Number
                      DATE_TO:
                        type: string
                        format: date
                        description: Validity Date (Valid To)
                      RELTYP:
                        type: string
                        maxLength: 6
                        description: Business Partner Relationship Category
                      XRF:
                        type: string
                        maxLength: 1
                        description: 'Business partner role definition instead of BP relationship  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      CMPY_PART_PER:
                        type: integer
                        format: int64
                        description: Percentage of Capital Interest
                      CMPY_PART_AMO:
                        type: integer
                        format: int64
                        description: Amount of Capital Interest
                      CMPY_PART_CUR:
                        type: string
                        maxLength: 5
                        description: Currency Key
                      CMPY_CONTROL:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Shareholder Controls Company/Partnership  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      BP_EEW_BUT053:
                        type: string
                        maxLength: 1
                        description: Dummy function in length 1
      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
                  R_RELTYP:
                    type: array
                    items:
                      type: object
                      properties:
                        SIGN:
                          type: string
                          maxLength: 1
                          description: 'Include/exclude indicator for selection  enumValues: E=Exclude,I=Include'
                          enum:
                          - E
                          - I
                        OPTION:
                          type: string
                          maxLength: 2
                          description: 'Operation for selection choice  enumValues: GE=Greater equal,LT=Less than,GT=Greater than,EQ=Equal,BT=Between,NE=Not equal,NP=Not contain pattern,CP=Contains pattern,LE=Less equal,NB=Not between'
                          enum:
                          - GE
                          - LT
                          - GT
                          - EQ
                          - BT
                          - NE
                          - NP
                          - CP
                          - LE
                          - NB
                        LOW:
                          type: string
                          maxLength: 6
                          description: Business Partner Relationship Category
                        HIGH:
                          type: string
                          maxLength: 6
                          description: Business Partner Relationship Category
                  T_BUT050:
                    type: array
                    items:
                      type: object
                      properties:
                        CLIENT:
                          type: string
                          maxLength: 3
                          description: Client
                        RELNR:
                          type: string
                          maxLength: 12
                          description: BP Relationship Number
                        PARTNER1:
                          type: string
                          maxLength: 10
                          description: Business Partner Number
                        PARTNER2:
                          type: string
                          maxLength: 10
                          description: Business Partner Number
                        DATE_TO:
                          type: string
                          format: date
                          description: Validity Date (Valid To)
                        DATE_FROM:
                          type: string
                          format: date
                          description: Validity date (valid from)
                        RELTYP:
                          type: string
                          maxLength: 6
                          description: Business Partner Relationship Category
                        XRF:
                          type: string
                          maxLength: 1
                          description: 'Business partner role definition instead of BP relationship  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        DFTVAL:
                          type: string
                          maxLength: 20
                          description: 'BP: Differentiation type characteristic (change doc.-rel.)'
                        RLTYP:
                          type: string
                          maxLength: 6
                          description: Business partner role (change doc.-relevant)
                        RELKIND:
                          type: string
                          maxLength: 4
                          description: Business partner relationship type
                        CRUSR:
                          type: string
                          maxLength: 12
                          description: User who created the object
                        CRDAT:
                          type: string
                          format: date
                          description: Date on which the object was created
                        CRTIM:
                          type: string
                          maxLength: 6
                          description: Time at which the object was created
                        CHUSR:
                          type: string
                          maxLength: 12
                          description: Last user to change object
                        CHDAT:
                          type: string
                          format: date
                          description: Date on which the object was last changed
                        CHTIM:
                          type: string
                          maxLength: 6
                          description: Time at which object was last changed
                        XDFREL:
                          type: string
                          maxLength: 1
                          description: 'Standard Relationship  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                  T_BUT051:
                    type: array
                    items:
                      type: object
                      properties:
                        CLIENT:
                          type: string
                          maxLength: 3
                          description: Client
                        RELNR:
                          type: string
                          maxLength: 12
                          description: BP Relationship Number
                        PARTNER1:
                          type: string
                          maxLength: 10
                          description: Business Partner Number
                        PARTNER2:
                          type: string
                          maxLength: 10
                          description: Business Partner Number
                        DATE_TO:
                          type: string
                          format: date
                          description: Validity Date (Valid To)
                        RELTYP:
                          type: string
                          maxLength: 6
                          description: Business Partner Relationship Category
                        XRF:
                          type: string
                          maxLength: 1
                          description: 'Business partner role definition instead of BP relationship  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        FNCTN:
                          type: string
                          maxLength: 40
                          description: Function name of partner
                        PAFKT:
                          type: string
                          maxLength: 4
                          description: Function of partner
                        DPRTMNT:
                          type: string
                          maxLength: 40
                          description: Department at business partner
                        ABTNR:
                          type: string
                          maxLength: 4
                          description: Department
                        PAAUTH:
                          type: string
                          maxLength: 1
                          description: Partner's Authority
                        PAVIP:
                          type: string
                          maxLength: 1
                          description: VIP Partner
                        PAREM:
                          type: string
                          maxLength: 40
                          description: Notes on Partner
                        TEL_NUMBER:
                          type: string
                          maxLength: 30
                          description: 'Telephone no.: dialling code+number'
                        TEL_EXTENS:
                          type: string
                          maxLength: 10
                          description: 'Telephone no.: Extension'
                        FAX_NUMBER:
                          type: string
                          maxLength: 30
                          description: 'Fax number: dialling code+number'
                        FAX_EXTENS:
                          type: string
                          maxLength: 10
                          description: 'Fax no.: Extension'
                        SMTP_ADDRESS:
                          type: string
                          maxLength: 241
                          description: E-Mail Address
                        REL_PER:
                          type: integer
                          format: int64
                          description: 'Obsolete: Percentage of Capital Interest'
                        REL_AMO:
                          type: integer
                          format: int64
                          description: 'Obsolete: Amount of Capital Interest'
                        REL_CUR:
                          type: string
                          maxLength: 5
                          description: Currency Key
                        CALL_RULEID:
                          type: string
                          maxLength: 25
                          description: Internal Identification of Rules of Periodic Appointments
                        VISIT_RULEID:
                          type: string
                          maxLength: 25
                          description: Internal Identification of Rules of Periodic Appointments
                        BP_EEW_BUT051:
                          type: string
                          maxLength: 1
                          description: Dummy function in length 1
                  T_BUT053:
                    type: array
                    items:
                      type: object
                      properties:
                        CLIENT:
                          type: string
                          maxLength: 3
                          description: Client
                        RELNR:
                          type: string
                          maxLength: 12
                          description: BP Relationship Number
                        PARTNER1:
                          type: string
                          maxLength: 10
                          description: Business Partner Number
                        PARTNER2:
                          type: string
                          maxLength: 10
                          description: Business Partner Number
                        DATE_TO:
                          type: string
                          format: date
                          description: Validity Date (Valid To)
                        RELTYP:
                          type: string
                          maxLength: 6
                          description: Business Partner Relationship Category
                        XRF:
                          type: string
                          maxLength: 1
                          description: 'Business partner role definition instead of BP relationship  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        CMPY_PART_PER:
                          type: integer
                          format: int64
                          description: Percentage of Capital Interest
                        CMPY_PART_AMO:
                          type: integer
                          format: int64
                          description: Amount of Capital Interest
                        CMPY_PART_CUR:
                          type: string
                          maxLength: 5
                          description: Currency Key
                        CMPY_CONTROL:
                          type: string
                          maxLength: 1
                          description: 'Indicator: Shareholder Controls Company/Partnership  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        BP_EEW_BUT053:
                          type: string
                          maxLength: 1
                          description: Dummy function in length 1
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
