Hi Chetan
Both of these entities are Task entities, see the TMF630 Design Guidelines for full details of what a Task entity is.
In short, to carry out the Task, you POST a task entity, e.g. CheckServiceQualification entity with all the relevant information populated in the request.
Depending on the implementation (and definitely if the task is performed asynchronously), the task will be persisted as part of the POST (201 returned), and in this case you can use GET to retrieve the task. Typically you would listen to a status change event on the task entity, and do the GET only when the task reports completed.
Hope it helps
------------------------------
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: Jul 31, 2024 05:28
From: Chetan Hirpara
Subject: TMF645 - Differences between CheckServiceQualification and QueryServiceQualification
Hi @Jonathan Goldberg
Its was really helpful to clear our understanding.
We are referring TMF swagger for this API and getting various operations<POST, GET,PATCH,GET-ID,DELETE> under each resource <queryServiceQaulification and checkServiceQualification>.
We are getting below information<use operations to retrieve information> in all the operations. Can you please guide, when should we use POST and GET operation for both resources? Will POST operation use to create any entry in database because description is saying to use for retrieving services?

------------------------------
Chetan Hirpara
Tech Mahindra Limited
Original Message:
Sent: Jul 06, 2021 07:55
From: Jonathan Goldberg
Subject: TMF645 - Differences between CheckServiceQualification and QueryServiceQualification
Hi Jan
I would characterize the distinction as follows:
- Check allows me to pass in a specific service configuration and see if this can be provisioned at the service address (and if not, what are feasible alternatives). It's quite possible that this will take time, i.e. there won't be an immediate synchronous response. Additionally, the check might need more information (an event will be raised if so).
- Query allows me to get a list of possible services for a service address, without supplying a configuration up-front. It's more likely to give an immediate response (although it can be asynchronous as well).
Hope it helps, @Ludovic Robert might want to add more perspectives.
------------------------------
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: Jul 06, 2021 05:20
From: Jan Lemmermann
Subject: TMF645 - Differences between CheckServiceQualification and QueryServiceQualification
Hello Community,
I am looking at the TMF645 v4.0.1 API. In the past, we have already implemented v3 once in our environment.
I have to be honest, I haven't really understood the difference between a CheckServiceQualification and QueryServiceQualification. Does anyone dare to give me concrete examples of when to use what and where the difference lies? Reading the related API guide hasn't worked for me yet :-/
Thanks and regards,
Jan
------------------------------
Jan Lemmermann
OSS Lead Architect
EWE TEL GmbH
------------------------------