openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DNO_OW_READ_PARTNER_ADRESS:
    post:
      tags:
      - DNO_OW
      operationId: /rfc/DNO_OW_READ_PARTNER_ADRESS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_PARNR:
                  type: string
                  maxLength: 12
                  description: Partner Number
                I_TYPE_PAR:
                  type: string
                  maxLength: 2
                  description: Partner Type
              required:
              - I_PARNR
              - I_TYPE_PAR
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_ADRESS:
                    type: object
                    properties:
                      PERS_NO:
                        type: string
                        maxLength: 10
                        description: Person number
                      ADDR_NO:
                        type: string
                        maxLength: 10
                        description: Address number
                      TITLE_P:
                        type: string
                        maxLength: 30
                        description: Title text
                      FIRSTNAME:
                        type: string
                        maxLength: 40
                        description: First name
                      LASTNAME:
                        type: string
                        maxLength: 40
                        description: Last name
                      BIRTH_NAME:
                        type: string
                        maxLength: 40
                        description: Name of person at birth
                      MIDDLENAME:
                        type: string
                        maxLength: 40
                        description: Middle name or second forename of a person
                      SECONDNAME:
                        type: string
                        maxLength: 40
                        description: Second surname of a person
                      FULLNAME:
                        type: string
                        maxLength: 80
                        description: Full Name of Person
                      FULLNAME_X:
                        type: string
                        maxLength: 1
                        description: 'Status of Field ''Full Name'' NAME_TEXT  enumValues: M=Maintained manually,""=Generated from the parts of the name,X=Converted from the previous release'
                        enum:
                        - M
                        - ''
                        - X
                      TITLE_ACA1:
                        type: string
                        maxLength: 20
                        description: 'Academic Title: Written Form'
                      TITLE_ACA2:
                        type: string
                        maxLength: 20
                        description: 'Academic Title: Written Form'
                      PREFIX1:
                        type: string
                        maxLength: 20
                        description: Name prefix
                      PREFIX2:
                        type: string
                        maxLength: 20
                        description: Name prefix
                      TITLE_SPPL:
                        type: string
                        maxLength: 20
                        description: Name supplement, e.g. noble title (written form)
                      NICKNAME:
                        type: string
                        maxLength: 40
                        description: Nickname or name used
                      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_P:
                        type: string
                        maxLength: 1
                        description: Language Key
                      LANGUP_ISO:
                        type: string
                        maxLength: 2
                        description: Language according to ISO 639
                      SORT1_P:
                        type: string
                        maxLength: 20
                        description: Search Term 1
                      SORT2_P:
                        type: string
                        maxLength: 20
                        description: Search Term 2
                      DEPARTMENT:
                        type: string
                        maxLength: 40
                        description: Department
                      FUNCTION:
                        type: string
                        maxLength: 40
                        description: Function
                      BUILDING_P:
                        type: string
                        maxLength: 10
                        description: Building (number or code)
                      FLOOR_P:
                        type: string
                        maxLength: 10
                        description: Floor in building
                      ROOM_NO_P:
                        type: string
                        maxLength: 10
                        description: Room or Appartment Number
                      INITS_SIG:
                        type: string
                        maxLength: 10
                        description: Short name for correspondence
                      INHOUSE_ML:
                        type: string
                        maxLength: 10
                        description: Int. mail postal code
                      COMM_TYPE:
                        type: string
                        maxLength: 3
                        description: Communication Method (Key) (Business Address Services)
                      TITLE:
                        type: string
                        maxLength: 30
                        description: Title text
                      NAME:
                        type: string
                        maxLength: 40
                        description: Name 1
                      NAME_2:
                        type: string
                        maxLength: 40
                        description: Name 2
                      NAME_3:
                        type: string
                        maxLength: 40
                        description: Name 3
                      NAME_4:
                        type: string
                        maxLength: 40
                        description: Name 4
                      C_O_NAME:
                        type: string
                        maxLength: 40
                        description: c/o name
                      CITY:
                        type: string
                        maxLength: 40
                        description: City
                      DISTRICT:
                        type: string
                        maxLength: 40
                        description: District
                      CITY_NO:
                        type: string
                        maxLength: 12
                        description: City code for city/street file
                      DISTRCT_NO:
                        type: string
                        maxLength: 8
                        description: District code for City and Street file
                      CHCKSTATUS:
                        type: string
                        maxLength: 1
                        description: 'City file test status  enumValues: C=checked against city index,D=differs from city index,""=Not checked'
                        enum:
                        - C
                        - D
                        - ''
                      POSTL_COD1:
                        type: string
                        maxLength: 10
                        description: City postal code
                      POSTL_COD2:
                        type: string
                        maxLength: 10
                        description: PO Box postal code
                      POSTL_COD3:
                        type: string
                        maxLength: 10
                        description: Company postal code (for large customers)
                      PO_BOX:
                        type: string
                        maxLength: 10
                        description: PO Box
                      PO_BOX_CIT:
                        type: string
                        maxLength: 40
                        description: PO Box city
                      PBOXCIT_NO:
                        type: string
                        maxLength: 12
                        description: City PO box code (City file)
                      DELIV_DIS:
                        type: string
                        maxLength: 15
                        description: (Not Supported) Post Delivery District
                      TRANSPZONE:
                        type: string
                        maxLength: 10
                        description: Transportation zone to or from which the goods are delivered
                      STREET:
                        type: string
                        maxLength: 60
                        description: Street
                      STREET_NO:
                        type: string
                        maxLength: 12
                        description: Street Number for City/Street File
                      STR_ABBR:
                        type: string
                        maxLength: 2
                        description: (Not Supported) Abbreviation of Street Name
                      HOUSE_NO:
                        type: string
                        maxLength: 10
                        description: House Number
                      HOUSE_NO2:
                        type: string
                        maxLength: 10
                        description: House number supplement
                      STR_SUPPL1:
                        type: string
                        maxLength: 40
                        description: Street 2
                      STR_SUPPL2:
                        type: string
                        maxLength: 40
                        description: Street 3
                      STR_SUPPL3:
                        type: string
                        maxLength: 40
                        description: Street 4
                      LOCATION:
                        type: string
                        maxLength: 40
                        description: Street 5
                      BUILDING:
                        type: string
                        maxLength: 10
                        description: 'old: building (no. or abbreviation)'
                      FLOOR:
                        type: string
                        maxLength: 10
                        description: Floor in building
                      ROOM_NO:
                        type: string
                        maxLength: 10
                        description: Room or Appartment Number
                      COUNTRY:
                        type: string
                        maxLength: 3
                        description: Country Key
                      COUNTRYISO:
                        type: string
                        maxLength: 2
                        description: Country ISO code
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key
                      LANGU_ISO:
                        type: string
                        maxLength: 2
                        description: Language according to ISO 639
                      REGION:
                        type: string
                        maxLength: 3
                        description: Region (State, Province, County)
                      SORT1:
                        type: string
                        maxLength: 20
                        description: Search Term 1
                      SORT2:
                        type: string
                        maxLength: 20
                        description: Search Term 2
                      TIME_ZONE:
                        type: string
                        maxLength: 6
                        description: Address time zone
                      TAXJURCODE:
                        type: string
                        maxLength: 15
                        description: Tax Jurisdiction
                      ADR_NOTES:
                        type: string
                        maxLength: 50
                        description: Address notes
                      TEL1_NUMBR:
                        type: string
                        maxLength: 30
                        description: 'First telephone no.: dialling code+number'
                      TEL1_EXT:
                        type: string
                        maxLength: 10
                        description: 'First Telephone No.: Extension'
                      FAX_NUMBER:
                        type: string
                        maxLength: 30
                        description: 'First fax no.: dialling code+number'
                      FAX_EXTENS:
                        type: string
                        maxLength: 10
                        description: 'First fax no.: extension'
                      E_MAIL:
                        type: string
                        maxLength: 241
                        description: E-Mail Address
                      BUILD_LONG:
                        type: string
                        maxLength: 20
                        description: Building (Number or Code)
                  E_RETURN:
                    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
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
