openapi: 3.0.0 info: title: SAP API version: 1.0.0 servers: - url: http://localhost:8080 paths: /rfc/ADDRESS_GET_DATA: post: tags: - SAD2 operationId: /rfc/ADDRESS_GET_DATA requestBody: content: application/json: schema: properties: ENTRY_ADRNR: type: string maxLength: 10 description: Address number ENTRY_KIND_OF_ADDR: type: string default: ' ' maxLength: 1 description: 'Type of address: C=companies/ P=persons' ENTRY_P_WITH_C: type: string default: X maxLength: 1 description: Also read company data for pers.adr. X=yes ENTRY_VERSION: type: string default: ' ' maxLength: 1 description: Version of address (national indicator) required: - ENTRY_ADRNR responses: '200': description: OK content: application/json: schema: properties: COMPANY_DATA: type: object properties: MANDT: type: string maxLength: 3 description: Client ADRNR: type: string maxLength: 10 description: 'Addresses: Address Number' NATIO: type: string maxLength: 1 description: International address version ID ANRED: type: string maxLength: 15 description: Title NAME1: type: string maxLength: 35 description: Name 1 NAME2: type: string maxLength: 35 description: Name 2 NAME3: type: string maxLength: 35 description: Name 3 NAME4: type: string maxLength: 35 description: Name 4 PSTLZ: type: string maxLength: 10 description: Postal code ORT01: type: string maxLength: 35 description: City ORT02: type: string maxLength: 35 description: District PSTL2: type: string maxLength: 10 description: PO Box postal code PFACH: type: string maxLength: 10 description: PO box STRAS: type: string maxLength: 35 description: House number and street STRS2: type: string maxLength: 35 description: House number and street HAUSN: type: string maxLength: 6 description: House number STOCK: type: string maxLength: 6 description: Floor LAND1: type: string maxLength: 3 description: Country Key SORTL: type: string maxLength: 10 description: Sort field SORT2: type: string maxLength: 20 description: Sort field SPRAS: type: string maxLength: 1 description: Language Key LZONE: type: string maxLength: 10 description: Transportation zone to or from which the goods are delivered REGIO: type: string maxLength: 3 description: Region (State, Province, County) PSTBZ: type: string maxLength: 15 description: Post delivery district TELF1: type: string maxLength: 30 description: 'Addresses: telephone no.' FLAG: type: string maxLength: 1 description: 'Checkbox enumValues: ""=No,X=Yes' enum: - '' - X TELFX: type: string maxLength: 31 description: Fax number FLAG2: type: string maxLength: 1 description: 'Checkbox enumValues: ""=No,X=Yes' enum: - '' - X TELTX: type: string maxLength: 30 description: Teletex number FLAG3: type: string maxLength: 1 description: 'Checkbox enumValues: ""=No,X=Yes' enum: - '' - X TELX1: type: string maxLength: 30 description: Telex number FLAG4: type: string maxLength: 1 description: 'Checkbox enumValues: ""=No,X=Yes' enum: - '' - X MAIAD: type: string maxLength: 1 description: 'Checkbox enumValues: ""=No,X=Yes' enum: - '' - X MAILN: type: string maxLength: 12 description: 'Addresses: Document name' STDKO: type: string maxLength: 1 description: Default communications service STDCOM: type: string maxLength: 3 description: 'Addresses: Communication type' DBNAME: type: string maxLength: 10 description: 'Addresses: System ID' KLASSE: type: string maxLength: 18 description: 'Addresses: class assigned to an address' ANREK: type: string maxLength: 2 description: 'Addresses: Form of address key' CRNAM: type: string maxLength: 12 description: 'Addresses: Created by' CRDAT: type: string format: date description: 'Addresses: Creation date' CRTIM: type: string maxLength: 6 description: 'Addresses: Creation time' CHNAM: type: string maxLength: 12 description: 'Addresses: Changed by' CHDAT: type: string format: date description: 'Addresses: Change date' CHTIM: type: string maxLength: 6 description: 'Addresses: Changed at' DUEFL: type: string maxLength: 1 description: 'Status of data transfer into subsequent release enumValues: ""=Not transferred yet,X=Transferred, data unchanged,A=Transferred, data subsequently changed' enum: - '' - X - A TXJCD: type: string maxLength: 15 description: Tax Jurisdiction PFORT: type: string maxLength: 40 description: PO Box city TZONE: type: string maxLength: 6 description: Time Zone PERSONAL_DATA: type: object properties: MANDT: type: string maxLength: 3 description: Client ADRNR: type: string maxLength: 10 description: Address NATIO: type: string maxLength: 1 description: International address version ID ANRED: type: string maxLength: 15 description: Title ABTEI: type: string maxLength: 30 description: 'Addresses: Department' COSTC: type: string maxLength: 10 description: 'Addresses: Cost center' ROOMN: type: string maxLength: 6 description: 'Addresses: Room number' BUILD: type: string maxLength: 6 description: 'Addresses: Building number' NAME1: type: string maxLength: 35 description: Name 1 NAME2: type: string maxLength: 35 description: Name 2 STDCOM: type: string maxLength: 3 description: 'Addresses: Communication type' SPRAS: type: string maxLength: 1 description: Language Key CHNAM: type: string maxLength: 12 description: 'Addresses: Changed by' CHDAT: type: string format: date description: 'Addresses: Change date' CHTIM: type: string maxLength: 6 description: 'Addresses: Changed at' CRNAM: type: string maxLength: 12 description: 'Addresses: Created by' CRDAT: type: string format: date description: 'Addresses: Creation date' CRTIM: type: string maxLength: 6 description: 'Addresses: Creation time' KLASSE: type: string maxLength: 18 description: 'Addresses: class assigned to an address' DBNAME: type: string maxLength: 10 description: 'Addresses: System ID' CMPYADR: type: string maxLength: 10 description: 'Addresses: Address Number' ANREK: type: string maxLength: 2 description: 'Addresses: Form of address key' SORT1: type: string maxLength: 10 description: Sort field SORT2: type: string maxLength: 20 description: Sort field FNAME: type: string maxLength: 35 description: A person's first name (Addresses) UCFNAME: type: string maxLength: 25 description: A person's first name in upper case (Addresses) LNAME: type: string maxLength: 35 description: A person's last name (Addresses) UCLNAME: type: string maxLength: 25 description: A person's last name (Addresses) UCABTEI: type: string maxLength: 25 description: Department in upper case (Addresses) UCNAMECMPY: type: string maxLength: 25 description: Company name in upper case (addresses) USRTYPE: type: string maxLength: 1 description: 'Flag: Person is internal SAP user enumValues: ""=No,X=Yes' enum: - '' - X REFNR: type: string maxLength: 10 description: Address reference for alias names '400': description: Bad request. 5XX: description: Unexpected error.