openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BUP_BUT0ID_SELECT_WITH_PARTNER:
    post:
      tags:
      - BUPA_SELECT
      operationId: /rfc/BUP_BUT0ID_SELECT_WITH_PARTNER
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_PARTNER:
                  type: string
                  maxLength: 10
                I_VALDT:
                  type: string
                  format: date
                  description: Validity Date
                I_VALDT_SEL:
                  type: string
                  format: date
                  default: SY-DATLO
                  description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                I_VALID_TIME:
                  type: integer
                  format: int64
                  description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                ET_BUT0ID:
                  type: array
                  items:
                    type: object
                    properties:
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: Client
                      PARTNER:
                        type: string
                        maxLength: 10
                        description: Business Partner Number
                      TYPE:
                        type: string
                        maxLength: 6
                        description: Identification Type
                      IDNUMBER:
                        type: string
                        maxLength: 60
                        description: Identification Number
                      INSTITUTE:
                        type: string
                        maxLength: 40
                        description: Responsible Institution for ID Number
                      ENTRY_DATE:
                        type: string
                        format: date
                        description: Date of Entry for ID Number
                      VALID_DATE_FROM:
                        type: string
                        format: date
                        description: Validity Start for ID Number
                      VALID_DATE_TO:
                        type: string
                        format: date
                        description: Validity End for ID Number
                      COUNTRY:
                        type: string
                        maxLength: 3
                        description: Country in Which ID Number is Valid or Was Assigned
                      REGION:
                        type: string
                        maxLength: 3
                        description: Region (State, Province, County)
                      BP_EEW_BUT0ID:
                        type: string
                        maxLength: 1
                        description: Dummy function in length 1
              required:
              - IV_PARTNER
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ET_BUT0ID:
                    type: array
                    items:
                      type: object
                      properties:
                        CLIENT:
                          type: string
                          maxLength: 3
                          description: Client
                        PARTNER:
                          type: string
                          maxLength: 10
                          description: Business Partner Number
                        TYPE:
                          type: string
                          maxLength: 6
                          description: Identification Type
                        IDNUMBER:
                          type: string
                          maxLength: 60
                          description: Identification Number
                        INSTITUTE:
                          type: string
                          maxLength: 40
                          description: Responsible Institution for ID Number
                        ENTRY_DATE:
                          type: string
                          format: date
                          description: Date of Entry for ID Number
                        VALID_DATE_FROM:
                          type: string
                          format: date
                          description: Validity Start for ID Number
                        VALID_DATE_TO:
                          type: string
                          format: date
                          description: Validity End for ID Number
                        COUNTRY:
                          type: string
                          maxLength: 3
                          description: Country in Which ID Number is Valid or Was Assigned
                        REGION:
                          type: string
                          maxLength: 3
                          description: Region (State, Province, County)
                        BP_EEW_BUT0ID:
                          type: string
                          maxLength: 1
                          description: Dummy function in length 1
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
