openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SMPP_CALL_JAVA_RUNTIME3:
    post:
      tags:
      - SMPP
      operationId: /rfc/SMPP_CALL_JAVA_RUNTIME3
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CONTROL:
                  type: integer
                  format: int32
                  description: Control Indicator
                DYNAMIC:
                  type: array
                  items:
                    type: object
                    properties:
                      NAMESPACE:
                        type: string
                        maxLength: 255
                        description: Namespace in Dynamic Configuration
                      NAME:
                        type: string
                        maxLength: 50
                        description: Name in Dynamic Configuration
                      VALUE:
                        type: string
                        maxLength: 200
                        description: Value in Dynamic Configuration
                LOGLEVEL:
                  type: string
                  maxLength: 1
                  description: Log Level
                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
                      NAMESPACE:
                        type: string
                        maxLength: 255
                        description: Namespace of Mapping
                      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
              required:
              - PARAMS
              - SOURCE
              - STEPS
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DOCS:
                    type: array
                    items:
                      type: object
                      properties:
                        XML:
                          type: string
                          format: byte
                          description: XML Intermediate Document
                  LOGS:
                    type: array
                    items:
                      type: object
                      properties:
                        LOGLEVEL:
                          type: string
                          maxLength: 1
                          description: Log Level
                        MESSAGE:
                          type: string
                          description: Log Text
                  MAPPING_RETURN:
                    type: object
                    properties:
                      MONID:
                        type: string
                        maxLength: 30
                        description: 30 Characters
                      MSGTY:
                        type: string
                        maxLength: 1
                        description: Message Type
                      MSGID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      MSGNO:
                        type: integer
                        format: int64
                        description: Message Number
                      MSGV1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                  RESULT:
                    type: string
                    format: byte
                    description: XML Document
                  RETURN_DYNAMIC:
                    type: array
                    items:
                      type: object
                      properties:
                        NAMESPACE:
                          type: string
                          maxLength: 255
                          description: Namespace in Dynamic Configuration
                        NAME:
                          type: string
                          maxLength: 50
                          description: Name in Dynamic Configuration
                        VALUE:
                          type: string
                          maxLength: 200
                          description: Value in Dynamic Configuration
                  RETURN_PARAMS:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 60
                          description: Parameter Name
                        VALUE:
                          type: string
                          description: Parameter Value
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
