api-manager icon indicating copy to clipboard operation
api-manager copied to clipboard

[APIM 4.0.0]: Issue with Business Information Retrieval in Devportal Rest API calls

Open Hamool-Nizar opened this issue 1 year ago • 0 comments

Description

We encountered an issue regarding the retrieval of business information in APIM 4.0.0. The problem arises when attempting to retrieve business information using the Devportal REST API call [1]. Specifically, the "technicalOwner" and "technicalOwnerEmail" fields return null values but when using this Rest API call [2] the customer was able to retrieve all the business information as expected.

While the API details retrieval API call [2] returns the expected business information, the search API call [1] returns null values for the business information fields.

We would appreciate your inputs on whether this behaviour is expected in APIM 4.0.0 or if it indicates a bug that needs to be addressed.

Your insights and suggestions would be much appreciated.

[1]. https://apim.docs.wso2.com/en/4.0.0/reference/product-apis/devportal-apis/devportal-v2/devportal-v2/#tag/APIs/paths/~1apis/get:~:text=%7D-,Get%20Details%20of%20an%20API,-Using%20this%20operation [2]. https://apim.docs.wso2.com/en/4.0.0/reference/product-apis/devportal-apis/devportal-v2/devportal-v2/#tag/APIs/paths/~1apis/get

Steps to Reproduce

Steps to Reproduce:

  1. Create and publish an API with all required Business Information.
  2. Invoke the Rest API call [2] to retrieve details of this API.
"businessInformation": {
       "businessOwner": "Jane Roe",
       "businessOwnerEmail": "[email protected]",
       "technicalOwner": "John Doe",
       "technicalOwnerEmail": "[email protected]"
   }
  1. Invoke the Rest API call [1] to search for this API.
"businessInformation": {
                "businessOwner": "Jane Roe",
                "businessOwnerEmail": null,
                "technicalOwner": null,
                "technicalOwnerEmail": null
            },
            "avgRating": "0.0"

Affected Component

APIM

Version

4.0.0

Environment Details (with versions)

No response

Relevant Log Output

No response

Related Issues

No response

Suggested Labels

No response

Hamool-Nizar avatar May 01 '24 05:05 Hamool-Nizar