Hi
We are using the naming convention of task to start with Verb. For example ../shoppingCart/{shopppingCartId}/empty
Or validate etc.. in geographicAddressValidation the name do not start with verb. I think we need to clarify the RES Design Guideline.
See quote from the guideline Part 1:"
"A TASK resource name is a
verb representing the task to be executed. TASK creation may result in the creation of a number of related resources or other tasks. E.g validate, check, heal, migrate, clear, close, transfer..etc
------------------------------
Jacob Avraham
Amdocs Management Limited
------------------------------
Original Message:
Sent: Nov 04, 2018 20:43
From: Avinash Kumar
Subject: TASK Resource example
Hello,
I have a requirement where I need to do an add/delete/update as part of single call. How can i achieve the same ?
I read "TMF630_REST_API_Design_Guidelines_Part_1_R14.5.1" and "TMF663_Shopping_Cart_API_REST_Specification_R18.0.0" and it mentions about Task resources to expose complex operations not easily decomposable to CRUD Entity based operations.
Can you give me an example of how to implement this task resource ?
- Avinash
------------------------------
Avinash Kumar
Infosys Ltd.
------------------------------