openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BAPI_BUPA_CENTRAL_SAVEREPLICA:
    post:
      tags:
      - BUBA_3
      summary: 'SAP BP: ALE, Replicating Central Data'
      operationId: /rfc/BAPI_BUPA_CENTRAL_SAVEREPLICA
      requestBody:
        content:
          application/json:
            schema:
              properties:
                BUSINESSPARTNER:
                  type: string
                  maxLength: 10
                  description: Business Partner Number
                BUSINESSPARTNERPARTNER_GUID:
                  type: string
                  format: byte
                  description: Business Partner GUID
                CENTRALDATA:
                  type: object
                  properties:
                    SEARCHTERM1:
                      type: string
                      maxLength: 20
                      description: Search term 1 for business partner
                    SEARCHTERM2:
                      type: string
                      maxLength: 20
                      description: Search term 2 for business partner
                    PARTNERTYPE:
                      type: string
                      maxLength: 4
                      description: Business partner type
                    AUTHORIZATIONGROUP:
                      type: string
                      maxLength: 4
                      description: Authorization Group
                    PARTNERLANGUAGE:
                      type: string
                      maxLength: 1
                      description: 'Business partner: Language'
                    PARTNERLANGUAGEISO:
                      type: string
                      maxLength: 2
                      description: Language according to ISO 639
                    DATAORIGINTYPE:
                      type: string
                      maxLength: 4
                      description: Data origin types
                    CENTRALARCHIVINGFLAG:
                      type: string
                      maxLength: 1
                      description: 'Central archiving flag  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    CENTRALBLOCK:
                      type: string
                      maxLength: 1
                      description: 'Central Block for Business Partner  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    TITLE_KEY:
                      type: string
                      maxLength: 4
                      description: Form-of-Address Key
                    CONTACTALLOWANCE:
                      type: string
                      maxLength: 1
                      description: 'Business Partner: Contact Permission  enumValues: 2=Disallowed,3=Check Permission,1=Allowed'
                      enum:
                      - '2'
                      - '3'
                      - '1'
                    PARTNEREXTERNAL:
                      type: string
                      maxLength: 20
                      description: Business partner number in external system
                    TITLELETTER:
                      type: string
                      maxLength: 50
                      description: Salutation
                    NOTRELEASED:
                      type: string
                      maxLength: 1
                      description: 'Indicator: Not Released  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    COMM_TYPE:
                      type: string
                      maxLength: 3
                      description: Communication Method (Key) (Business Address Services)
                    PRINT_MODE:
                      type: string
                      maxLength: 1
                      description: 'Business Partner Print Format  enumValues: 2=Large Print,1=Braille'
                      enum:
                      - '2'
                      - '1'
                CENTRALDATAGROUP:
                  type: object
                  properties:
                    NAMEGROUP1:
                      type: string
                      maxLength: 40
                      description: Name 1 (group)
                    NAMEGROUP2:
                      type: string
                      maxLength: 40
                      description: Name 2 (group)
                    GROUPTYPE:
                      type: string
                      maxLength: 4
                      description: Group type
                CENTRALDATAGROUP_X:
                  type: object
                  properties:
                    NAMEGROUP1:
                      type: string
                      maxLength: 1
                      description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                      enum:
                      - X
                      - ''
                    NAMEGROUP2:
                      type: string
                      maxLength: 1
                      description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                      enum:
                      - X
                      - ''
                    GROUPTYPE:
                      type: string
                      maxLength: 1
                      description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                      enum:
                      - X
                      - ''
                CENTRALDATAORGANIZATION:
                  type: object
                  properties:
                    NAME1:
                      type: string
                      maxLength: 40
                      description: Name 1 of organization
                    NAME2:
                      type: string
                      maxLength: 40
                      description: Name 2 of organization
                    NAME3:
                      type: string
                      maxLength: 40
                      description: Name 3 of organization
                    NAME4:
                      type: string
                      maxLength: 40
                      description: Name 4 of organization
                    LEGALFORM:
                      type: string
                      maxLength: 2
                      description: 'BP: Legal form of organization'
                    INDUSTRYSECTOR:
                      type: string
                      maxLength: 10
                      description: Industry sector
                    FOUNDATIONDATE:
                      type: string
                      format: date
                      description: Date organization founded
                    LIQUIDATIONDATE:
                      type: string
                      format: date
                      description: Liquidation date of organization
                    LOC_NO_1:
                      type: integer
                      format: int64
                      description: International location number  (part 1)
                    LOC_NO_2:
                      type: integer
                      format: int64
                      description: International location number (Part 2)
                    CHK_DIGIT:
                      type: integer
                      format: int64
                      description: Check digit for the international location number
                    LEGALORG:
                      type: string
                      maxLength: 2
                      description: Legal Entity of Organization
                CENTRALDATAORGANIZATION_X:
                  type: object
                  properties:
                    NAME1:
                      type: string
                      maxLength: 1
                      description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                      enum:
                      - X
                      - ''
                    NAME2:
                      type: string
                      maxLength: 1
                      description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                      enum:
                      - X
                      - ''
                    NAME3:
                      type: string
                      maxLength: 1
                      description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                      enum:
                      - X
                      - ''
                    NAME4:
                      type: string
                      maxLength: 1
                      description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                      enum:
                      - X
                      - ''
                    LEGALFORM:
                      type: string
                      maxLength: 1
                      description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                      enum:
                      - X
                      - ''
                    INDUSTRYSECTOR:
                      type: string
                      maxLength: 1
                      description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                      enum:
                      - X
                      - ''
                    FOUNDATIONDATE:
                      type: string
                      maxLength: 1
                      description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                      enum:
                      - X
                      - ''
                    LIQUIDATIONDATE:
                      type: string
                      maxLength: 1
                      description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                      enum:
                      - X
                      - ''
                    LOC_NO_1:
                      type: string
                      maxLength: 1
                      description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                      enum:
                      - X
                      - ''
                    LOC_NO_2:
                      type: string
                      maxLength: 1
                      description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                      enum:
                      - X
                      - ''
                    CHK_DIGIT:
                      type: string
                      maxLength: 1
                      description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                      enum:
                      - X
                      - ''
                CENTRALDATAPERSON:
                  type: object
                  properties:
                    FIRSTNAME:
                      type: string
                      maxLength: 40
                      description: First name of business partner (person)
                    LASTNAME:
                      type: string
                      maxLength: 40
                      description: Last name of business partner (person)
                    BIRTHNAME:
                      type: string
                      maxLength: 40
                      description: Name at birth of business partner
                    MIDDLENAME:
                      type: string
                      maxLength: 40
                      description: Middle name or second forename of a person
                    SECONDNAME:
                      type: string
                      maxLength: 40
                      description: Other Last Name 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_SPPL:
                      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)
                    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
                    NAMCOUNTRYISO:
                      type: string
                      maxLength: 2
                      description: Country ISO code
                    SEX:
                      type: string
                      maxLength: 1
                      description: 'Sex of business partner (person)  enumValues: ""=Unknown,1=Female,2=Male'
                      enum:
                      - ''
                      - '1'
                      - '2'
                    BIRTHPLACE:
                      type: string
                      maxLength: 40
                      description: Birthplace of business partner
                    BIRTHDATE:
                      type: string
                      format: date
                      description: Date of birth of business partner
                    DEATHDATE:
                      type: string
                      format: date
                      description: Date of death of business partner
                    MARITALSTATUS:
                      type: string
                      maxLength: 1
                      description: Marital status of business partner
                    CORRESPONDLANGUAGE:
                      type: string
                      maxLength: 1
                      description: 'Business Partner: Correspondence Language'
                    CORRESPONDLANGUAGEISO:
                      type: string
                      maxLength: 2
                      description: Language according to ISO 639
                    FULLNAME:
                      type: string
                      maxLength: 80
                      description: Full Name
                    EMPLOYER:
                      type: string
                      maxLength: 35
                      description: Employer of business partner
                    OCCUPATION:
                      type: string
                      maxLength: 4
                      description: Occupation/group
                    NATIONALITY:
                      type: string
                      maxLength: 3
                      description: Nationality
                    NATIONALITYISO:
                      type: string
                      maxLength: 2
                      description: Country ISO code
                    COUNTRYORIGIN:
                      type: string
                      maxLength: 3
                      description: 'Ctry of origin: non-res.companies'
                CENTRALDATAPERSON_X:
                  type: object
                  properties:
                    FIRSTNAME:
                      type: string
                      maxLength: 1
                      description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                      enum:
                      - X
                      - ''
                    LASTNAME:
                      type: string
                      maxLength: 1
                      description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                      enum:
                      - X
                      - ''
                    BIRTHNAME:
                      type: string
                      maxLength: 1
                      description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                      enum:
                      - X
                      - ''
                    MIDDLENAME:
                      type: string
                      maxLength: 1
                      description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                      enum:
                      - X
                      - ''
                    SECONDNAME:
                      type: string
                      maxLength: 1
                      description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                      enum:
                      - X
                      - ''
                    TITLE_ACA1:
                      type: string
                      maxLength: 1
                      description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                      enum:
                      - X
                      - ''
                    TITLE_ACA2:
                      type: string
                      maxLength: 1
                      description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                      enum:
                      - X
                      - ''
                    TITLE_SPPL:
                      type: string
                      maxLength: 1
                      description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                      enum:
                      - X
                      - ''
                    PREFIX1:
                      type: string
                      maxLength: 1
                      description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                      enum:
                      - X
                      - ''
                    PREFIX2:
                      type: string
                      maxLength: 1
                      description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                      enum:
                      - X
                      - ''
                    NICKNAME:
                      type: string
                      maxLength: 1
                      description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                      enum:
                      - X
                      - ''
                    INITIALS:
                      type: string
                      maxLength: 1
                      description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                      enum:
                      - X
                      - ''
                    NAMEFORMAT:
                      type: string
                      maxLength: 1
                      description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                      enum:
                      - X
                      - ''
                    NAMCOUNTRY:
                      type: string
                      maxLength: 1
                      description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                      enum:
                      - X
                      - ''
                    NAMCOUNTRYISO:
                      type: string
                      maxLength: 1
                      description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                      enum:
                      - X
                      - ''
                    SEX:
                      type: string
                      maxLength: 1
                      description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                      enum:
                      - X
                      - ''
                    BIRTHPLACE:
                      type: string
                      maxLength: 1
                      description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                      enum:
                      - X
                      - ''
                    BIRTHDATE:
                      type: string
                      maxLength: 1
                      description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                      enum:
                      - X
                      - ''
                    DEATHDATE:
                      type: string
                      maxLength: 1
                      description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                      enum:
                      - X
                      - ''
                    MARITALSTATUS:
                      type: string
                      maxLength: 1
                      description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                      enum:
                      - X
                      - ''
                    CORRESPONDLANGUAGE:
                      type: string
                      maxLength: 1
                      description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                      enum:
                      - X
                      - ''
                    CORRESPONDLANGUAGEISO:
                      type: string
                      maxLength: 1
                      description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                      enum:
                      - X
                      - ''
                CENTRALDATA_X:
                  type: object
                  properties:
                    SEARCHTERM1:
                      type: string
                      maxLength: 1
                      description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                      enum:
                      - X
                      - ''
                    SEARCHTERM2:
                      type: string
                      maxLength: 1
                      description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                      enum:
                      - X
                      - ''
                    PARTNERTYPE:
                      type: string
                      maxLength: 1
                      description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                      enum:
                      - X
                      - ''
                    AUTHORIZATIONGROUP:
                      type: string
                      maxLength: 1
                      description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                      enum:
                      - X
                      - ''
                    PARTNERLANGUAGE:
                      type: string
                      maxLength: 1
                      description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                      enum:
                      - X
                      - ''
                    PARTNERLANGUAGEISO:
                      type: string
                      maxLength: 1
                      description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                      enum:
                      - X
                      - ''
                    DATAORIGINTYPE:
                      type: string
                      maxLength: 1
                      description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                      enum:
                      - X
                      - ''
                    CENTRALARCHIVINGFLAG:
                      type: string
                      maxLength: 1
                      description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                      enum:
                      - X
                      - ''
                    CENTRALBLOCK:
                      type: string
                      maxLength: 1
                      description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                      enum:
                      - X
                      - ''
                    TITLE_KEY:
                      type: string
                      maxLength: 1
                      description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                      enum:
                      - X
                      - ''
                    CONTACTALLOWANCE:
                      type: string
                      maxLength: 1
                      description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                      enum:
                      - X
                      - ''
                    PARTNEREXTERNAL:
                      type: string
                      maxLength: 1
                      description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                      enum:
                      - X
                      - ''
                    TITLELETTER:
                      type: string
                      maxLength: 1
                      description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                      enum:
                      - X
                      - ''
                    NOTRELEASED:
                      type: string
                      maxLength: 1
                      description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                      enum:
                      - X
                      - ''
                    COMM_TYPE:
                      type: string
                      maxLength: 1
                      description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                      enum:
                      - X
                      - ''
                    PRINT_MODE:
                      type: string
                      maxLength: 1
                      description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                      enum:
                      - X
                      - ''
                PARTNERCATEGORY:
                  type: string
                  maxLength: 1
                  description: Business Partner Category
                PARTNERGROUP:
                  type: string
                  maxLength: 4
                  description: Business Partner Grouping
              required:
              - BUSINESSPARTNER
              - BUSINESSPARTNERPARTNER_GUID
      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
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
