Hi friend, I'm getting very familiar with the topic of tmforums, I have a question that always happens to us. here you go.
What happens if I have an API, for example, that I need to net on a domain, for example, the tmf639 resource inventory.
My design api receives an array list and responds with an array list with more details.
Although my API is included in the TMF639 as an inventory, it does not adapt to the raw material they handle here.
Now the assembly of my request responds, I put it together following the guidelines they define.
but I need support on which path to use
Firstly it had /resource type post but this is used in the domain to create a resource.
So I have read several forums and it says to use verbs and that this would be a task.
My question is I have 2 examples
Post /resource/querySimcard
POST /resource/simcard/query
Although I still leave my api in the resource domain but now after /resource comes the issue, I don't know if it combines part of /resource/verb with a noun
or separate the noun and the verb like example 2.
The examples I saw still don't define it well, they give me a hand
------------------------------
brian molina
TO BE VERIFIED
------------------------------
Original Message:
Sent: May 30, 2025 05:11
From: Vitalii Zhakov
Subject: how to use verbs according to the tmf630 api for a list of resources?
Hello!
In terms TMF630 do you mean how to get Collection Resource?
For example, to get all SimCard with category = Premium and usageSate = idle
{code}
GET /tmf-api/resourceInventoryManagement/v4/resource?fields=id,href,value,@type,category,usageState&category=Premium&usa
geState=idle&@type=SimCard
{code}
See TMF639.
------------------------------
Vitalii Zhakov
Veschatel LLC
Original Message:
Sent: May 29, 2025 17:35
From: brian molina
Subject: how to use verbs according to the tmf630 api for a list of resources?
how to use verbs according to the tmf630 api for a list of resources ?. i have an api request list simcard and response sincard.
my api is in resource-inventory
i think use the main path
/resourceInventoryManagement/resource/
and the base path add
/resourceInventoryManagement/resource/querySimcardDetails
/resourceInventoryManagement/resource/simcard/query
which is the correct one to use?
#OpenDigitalArchitecture
------------------------------
brian molina
TO BE VERIFIED
------------------------------