openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BUPA_NUMBERS_GET:
    post:
      tags:
      - BUBA_4
      operationId: /rfc/BUPA_NUMBERS_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_PARTNER:
                  type: string
                  maxLength: 10
                  description: Business Partner Number
                IV_PARTNER_EXTERNAL:
                  type: string
                  maxLength: 20
                  description: Business Partner Number in External System
                IV_PARTNER_GUID:
                  type: string
                  format: byte
                  description: Business Partner GUID
                ET_PARTNER:
                  type: array
                  items:
                    type: object
                    properties:
                      PARTNER:
                        type: string
                        maxLength: 10
                        description: Business Partner Number
                      PARTNERGUID:
                        type: string
                        maxLength: 32
                        description: GUID of a Business Partner in CHAR 32 Format for BAPIs
                ET_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
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ES_BUT000:
                    type: object
                    properties:
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: Client
                      PARTNER:
                        type: string
                        maxLength: 10
                        description: Business Partner Number
                      TYPE:
                        type: string
                        maxLength: 1
                        description: 'Business partner category  enumValues: 3=Group,2=Organization,1=Person'
                        enum:
                        - '3'
                        - '2'
                        - '1'
                      BPKIND:
                        type: string
                        maxLength: 4
                        description: Business partner type
                      BU_GROUP:
                        type: string
                        maxLength: 4
                        description: Business Partner Grouping
                      BPEXT:
                        type: string
                        maxLength: 20
                        description: Business partner number in external system
                      BU_SORT1:
                        type: string
                        maxLength: 20
                        description: Search term 1 for business partner
                      BU_SORT2:
                        type: string
                        maxLength: 20
                        description: Search term 2 for business partner
                      SOURCE:
                        type: string
                        maxLength: 4
                        description: Data origin types
                      TITLE:
                        type: string
                        maxLength: 4
                        description: Form-of-Address Key
                      XDELE:
                        type: string
                        maxLength: 1
                        description: 'Central archiving flag  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      XBLCK:
                        type: string
                        maxLength: 1
                        description: 'Central Block for Business Partner  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      AUGRP:
                        type: string
                        maxLength: 4
                        description: Authorization Group
                      TITLE_LET:
                        type: string
                        maxLength: 50
                        description: Salutation
                      BU_LOGSYS:
                        type: string
                        maxLength: 10
                        description: Logical system
                      CONTACT:
                        type: string
                        maxLength: 1
                        description: 'Business Partner: Contact Permission  enumValues: 2=Disallowed,3=Check Permission,1=Allowed'
                        enum:
                        - '2'
                        - '3'
                        - '1'
                      NOT_RELEASED:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Not Released  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      PRINT_MODE:
                        type: string
                        maxLength: 1
                        description: 'Business Partner Print Format  enumValues: 2=Large Print,1=Braille'
                        enum:
                        - '2'
                        - '1'
                      BP_EEW_DUMMY:
                        type: string
                        maxLength: 1
                        description: Dummy function in length 1
                      NAME_ORG1:
                        type: string
                        maxLength: 40
                        description: Name 1 of organization
                      NAME_ORG2:
                        type: string
                        maxLength: 40
                        description: Name 2 of organization
                      NAME_ORG3:
                        type: string
                        maxLength: 40
                        description: Name 3 of organization
                      NAME_ORG4:
                        type: string
                        maxLength: 40
                        description: Name 4 of organization
                      LEGAL_ENTY:
                        type: string
                        maxLength: 2
                        description: 'BP: Legal form of organization'
                      IND_SECTOR:
                        type: string
                        maxLength: 10
                        description: Industry sector
                      LEGAL_ORG:
                        type: string
                        maxLength: 2
                        description: Legal Entity of Organization
                      FOUND_DAT:
                        type: string
                        format: date
                        description: Date organization founded
                      LIQUID_DAT:
                        type: string
                        format: date
                        description: Liquidation date of organization
                      LOCATION_1:
                        type: integer
                        format: int64
                        description: International location number  (part 1)
                      LOCATION_2:
                        type: integer
                        format: int64
                        description: International location number (Part 2)
                      LOCATION_3:
                        type: integer
                        format: int64
                        description: Check digit for the international location number
                      NAME_LAST:
                        type: string
                        maxLength: 40
                        description: Last name of business partner (person)
                      NAME_FIRST:
                        type: string
                        maxLength: 40
                        description: First name of business partner (person)
                      NAME_LST2:
                        type: string
                        maxLength: 40
                        description: Other Last Name of a Person
                      NAME_LAST2:
                        type: string
                        maxLength: 40
                        description: Name at birth of business partner
                      NAMEMIDDLE:
                        type: string
                        maxLength: 40
                        description: Middle name or second forename of a person
                      TITLE_ACA1:
                        type: string
                        maxLength: 4
                        description: 'Academic Title: Key'
                      TITLE_ACA2:
                        type: string
                        maxLength: 4
                        description: Second academic title (key)
                      TITLE_ROYL:
                        type: string
                        maxLength: 4
                        description: Name supplement, e.g. noble title (key)
                      PREFIX1:
                        type: string
                        maxLength: 4
                        description: Name Prefix (Key)
                      PREFIX2:
                        type: string
                        maxLength: 4
                        description: 2nd name prefix (key)
                      NAME1_TEXT:
                        type: string
                        maxLength: 80
                        description: Full Name
                      NICKNAME:
                        type: string
                        maxLength: 40
                        description: Nickname of Business Partner (Person)
                      INITIALS:
                        type: string
                        maxLength: 10
                        description: '"Middle Initial" or personal initials'
                      NAMEFORMAT:
                        type: string
                        maxLength: 2
                        description: Name format
                      NAMCOUNTRY:
                        type: string
                        maxLength: 3
                        description: Country for name format rule
                      LANGU_CORR:
                        type: string
                        maxLength: 1
                        description: 'Business Partner: Correspondence Language'
                      XSEXM:
                        type: string
                        maxLength: 1
                        description: 'Selection: Business partner is male  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      XSEXF:
                        type: string
                        maxLength: 1
                        description: 'Selection: Business partner is female  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      BIRTHPL:
                        type: string
                        maxLength: 40
                        description: Birthplace of business partner
                      MARST:
                        type: string
                        maxLength: 1
                        description: Marital status of business partner
                      EMPLO:
                        type: string
                        maxLength: 35
                        description: Employer of business partner
                      JOBGR:
                        type: string
                        maxLength: 4
                        description: Occupation/group
                      NATIO:
                        type: string
                        maxLength: 3
                        description: Nationality
                      CNTAX:
                        type: string
                        maxLength: 3
                        description: Obsolete Field
                      CNDSC:
                        type: string
                        maxLength: 3
                        description: 'Ctry of origin: non-res.companies'
                      PERSNUMBER:
                        type: string
                        maxLength: 10
                        description: Person number
                      XSEXU:
                        type: string
                        maxLength: 1
                        description: 'Selection: Sex of business partner is not known  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      XUBNAME:
                        type: string
                        maxLength: 12
                        description: Obsolete Field
                      BU_LANGU:
                        type: string
                        maxLength: 1
                        description: 'Business partner: Language'
                      BIRTHDT:
                        type: string
                        format: date
                        description: Date of birth of business partner
                      DEATHDT:
                        type: string
                        format: date
                        description: Date of death of business partner
                      PERNO:
                        type: integer
                        format: int64
                        description: Personnel Number
                      CHILDREN:
                        type: integer
                        format: int64
                        description: Obsolete Field
                      MEM_HOUSE:
                        type: integer
                        format: int64
                        description: Obsolete Field
                      PARTGRPTYP:
                        type: string
                        maxLength: 4
                        description: Group type
                      NAME_GRP1:
                        type: string
                        maxLength: 40
                        description: Name 1 (group)
                      NAME_GRP2:
                        type: string
                        maxLength: 40
                        description: Name 2 (group)
                      MC_NAME1:
                        type: string
                        maxLength: 35
                        description: Search Help Field 1 (Name 1/Last Name)
                      MC_NAME2:
                        type: string
                        maxLength: 35
                        description: Search Help Field 2 (Name 2/First Name)
                      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
                      PARTNER_GUID:
                        type: string
                        format: byte
                        description: Business Partner GUID
                      ADDRCOMM:
                        type: string
                        maxLength: 10
                        description: Address Number
                      TD_SWITCH:
                        type: string
                        maxLength: 1
                        description: Planned Change Documents for Partner Were Converted
                      VALID_FROM:
                        type: integer
                        format: int64
                        description: Validity Start BUT000 BP Data
                      VALID_TO:
                        type: integer
                        format: int64
                        description: Validity End BUT000 BP Data
                      NATPERS:
                        type: string
                        maxLength: 1
                        description: 'Business Partner Is a Natural Person Under the Tax Laws  enumValues: ""=Business Person is a Legal Person or Organization,X=Business Partner is a Natural Person'
                        enum:
                        - ''
                        - X
                  EV_PARTNER:
                    type: string
                    maxLength: 10
                    description: Business Partner Number
                  EV_PARTNER_EXTERNAL:
                    type: string
                    maxLength: 20
                    description: Business Partner Number in External System
                  EV_PARTNER_GUID:
                    type: string
                    format: byte
                    description: Business Partner GUID
                  ET_PARTNER:
                    type: array
                    items:
                      type: object
                      properties:
                        PARTNER:
                          type: string
                          maxLength: 10
                          description: Business Partner Number
                        PARTNERGUID:
                          type: string
                          maxLength: 32
                          description: GUID of a Business Partner in CHAR 32 Format for BAPIs
                  ET_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
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
