Hi Madhu
I think that your analysis is correct, and I have opened an issue to record that.
Thanks for calling this problem out.
Note that TMF670 was published a long time ago and has not (yet) been aligned with updated design guidelines. I don't know what the plans are to refresh this API.
------------------------------
Jonathan Goldberg
Amdocs Management Limited
Any opinions and statements made by me on this forum are purely personal, and do not necessarily reflect the position of the TM Forum or my employer.
------------------------------
Original Message:
Sent: May 26, 2020 01:54
From: Madhu Narasimhan
Subject: TMF670 Payment Methods API - GET payment methods for account
Hi,
I see that TMF670 Payment Methods API supports the GET operation "GET /paymentMethods/v1/account/{accountId}/paymentMethod".
This is counter to the general convention for GET, that is, .../apiName/apiVersion/apiResource.
Shouldn't the above GET be achievable the 'conventional' way using GET /paymentMethods/v1//paymentMethod with the query parameter specifying the account Id?
------------------------------
Madhu Narasimhan
Oracle Corporation
------------------------------