openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/COM_PRID_TO_R3_CONVERT_RFC:
    post:
      tags:
      - COM_PR_CONVERSION
      operationId: /rfc/COM_PRID_TO_R3_CONVERT_RFC
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_INTERNAL_MATNR:
                  type: string
                  default: X
                  maxLength: 1
                IV_LOGSYS:
                  type: string
                  maxLength: 10
                  description: Logical System
                IV_OBJECT_FAMILY:
                  type: string
                  default: ' '
                  maxLength: 4
                  description: Object Family
                IV_PRODUCT_ID:
                  type: string
                  maxLength: 40
                IV_PRODUCT_TYPE:
                  type: string
                  maxLength: 2
                  description: Product Type
                ET_ID_PER_OLTP:
                  type: array
                  items:
                    type: object
                    properties:
                      LOGSYS:
                        type: string
                        maxLength: 10
                        description: Logical System for OLTP System (Display Only)
                      MATERIAL_NUMBER:
                        type: string
                        maxLength: 40
                        description: Material Number for Product in OLTP System (Display Only)
              required:
              - IV_LOGSYS
              - IV_PRODUCT_ID
              - IV_PRODUCT_TYPE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EV_PRODUCT_ID:
                    type: string
                    maxLength: 40
                  ET_ID_PER_OLTP:
                    type: array
                    items:
                      type: object
                      properties:
                        LOGSYS:
                          type: string
                          maxLength: 10
                          description: Logical System for OLTP System (Display Only)
                        MATERIAL_NUMBER:
                          type: string
                          maxLength: 40
                          description: Material Number for Product in OLTP System (Display Only)
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
