openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/INST_CREATE_COMPANY_ADDRESS:
    post:
      tags:
      - SAIO
      summary: Create entry for company address
      operationId: /rfc/INST_CREATE_COMPANY_ADDRESS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                COMPANYNAME:
                  type: object
                  properties:
                    COMPANY:
                      type: string
                      maxLength: 42
                      description: Company address, cross-system key
                COMPANY_CITY:
                  type: string
                  maxLength: 40
                  description: City
                COMPANY_COUNTRY:
                  type: string
                  maxLength: 3
                  description: Country key
                COMPANY_HOUSENUM:
                  type: string
                  maxLength: 10
                  description: House Number
                COMPANY_POSTCODE:
                  type: string
                  maxLength: 10
                  description: City postal code
                COMPANY_STREET:
                  type: string
                  maxLength: 60
                  description: Street
                COMPANY_TIMEZONE:
                  type: string
                  default: CET
                  maxLength: 6
                  description: Time Zone
              required:
              - COMPANYNAME
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
