Runtime components : Channels components : REST channel : Tasks : Handling Operation
  
Handling Operation
{Project Name}: TestRestChannel
{OperationName}: restChannelsOp
{KColl Name}: restKcollOp
{Data Name}: stringDataOp
{IColl Name}: listOp
{Index}:0
This graphic is described in the surrounding text.
1 Execute Operation. Access the URL.
http://localhost:8080/TestRestChannel/rest/operations/restChannelsOp
It would return a json string with all the context data in Operation.
2 Edit data value of Operation.
Access URL:
http://localhost:8080/TestRestChannel/rest/operations/restChannelsOp/
Input parameter
field: {"stringDataOp":"bca"}. It would return all the context data in Operation and change stringDataOp to bca.
KColl: {"restKcollOp":{"stringDataOp":"bca"}}. It would return all the context data in Operation and change stringDataOp of restKcollOp into bca.
IColl: {"listOp":[{"stringDataOp":"bca"}]}. It would return all the context data in Operation and change the data with Index 0 in stringDataOp of listOp into bca.
Note If you want to edit the data with index 1, you could use {"listOp":[{},{"stringDataOp":"bca"}]}
See also
Tasks