openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/XI_CREATE_SERVICEUSER:
    post:
      tags:
      - IS_BS_CONNECTIVITY_TOOLS
      operationId: /rfc/XI_CREATE_SERVICEUSER
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ASSIGN_ROLE_APPL:
                  type: string
                  default: ' '
                  maxLength: 1
                ASSIGN_ROLE_RWB:
                  type: string
                  default: ' '
                  maxLength: 1
                AUTH_METHOD:
                  type: string
                  maxLength: 1
                  description: Authentication Method (Password / X.509 / ...)
                GENERATE_PASSWORD:
                  type: string
                  default: X
                  maxLength: 1
                SERVICEUSER:
                  type: string
                  maxLength: 12
                SERVICEUSER_PWD:
                  type: string
                  maxLength: 40
                USER_DESCRIPTION:
                  type: string
                  maxLength: 40
                USER_UPDATES_ALLOWED:
                  type: string
                  default: ' '
                  maxLength: 1
                X509_CLIENTCERT:
                  type: string
                  format: byte
              required:
              - AUTH_METHOD
              - SERVICEUSER
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  GENERATED_PASSWORD:
                    type: string
                    maxLength: 40
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
