openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SMPP_CALL_JAVA_RUNTIME:
    post:
      tags:
      - SMPP
      operationId: /rfc/SMPP_CALL_JAVA_RUNTIME
      requestBody:
        content:
          application/json:
            schema:
              properties:
                MAPPINGKEY:
                  type: object
                  properties:
                    OBJECT_ID:
                      type: string
                      format: byte
                      description: XI Object ID
                    VERSION_ID:
                      type: string
                      format: byte
                      description: XI Version ID
                    VERSION_SP:
                      type: integer
                      format: int32
                      description: Support Package
                    VERSION_CP:
                      type: string
                      maxLength: 64
                      description: Component of a Mapping
                    MAPNS:
                      type: string
                      maxLength: 255
                      description: Namespace of Mapping
                    MAPNAME:
                      type: string
                      maxLength: 120
                      description: Name of Mapping
                PARAMS:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 60
                        description: Parameter Name
                      VALUE:
                        type: string
                        description: Parameter Value
                SOURCE:
                  type: string
                  format: byte
                  description: XML Document
                STEPS:
                  type: array
                  items:
                    type: object
                    properties:
                      MAPTYPE:
                        type: string
                        maxLength: 20
                        description: Mapping Type
                      PROG:
                        type: string
                        maxLength: 180
                        description: Mapping Program
              required:
              - MAPPINGKEY
              - PARAMS
              - SOURCE
              - STEPS
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RESULT:
                    type: string
                    format: byte
                    description: XML Document
                  RETURNCODE:
                    type: string
                    description: XML Document
                  RETURNTEXT:
                    type: string
                    description: XML Document
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
