openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SAPBC_GLOBAL_AGENCY_CREATE:
    post:
      tags:
      - SAPBC_GLOBAL_TRAVELAGENCY
      operationId: /rfc/SAPBC_GLOBAL_AGENCY_CREATE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CITY:
                  type: string
                  maxLength: 25
                COUNTRY:
                  type: string
                  maxLength: 3
                CURRENCY:
                  type: string
                  maxLength: 5
                LANGU:
                  type: string
                  default: DE
                  maxLength: 1
                NAME:
                  type: string
                  maxLength: 25
                POSTBOX:
                  type: string
                  maxLength: 10
                POSTCODE:
                  type: string
                  maxLength: 10
                REGION:
                  type: string
                  maxLength: 3
                STREET:
                  type: string
                  maxLength: 30
                TELEPHONE:
                  type: string
                  maxLength: 30
                URL:
                  type: string
                  maxLength: 255
              required:
              - CITY
              - COUNTRY
              - NAME
              - POSTCODE
              - REGION
              - STREET
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  AGENCYNUM:
                    type: integer
                    format: int64
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
