14.7.1 Providing Complete Set of ORDS Handlers

Understand the full set of operations your REST API can implement for maximum control.

When your integration requirements go beyond the read-only use cases, consider creating handlers for all five of the operations a client may need to perform using your business entity REST API. For example, the v1 module shown in the diagram below has handlers for:
  • Listing/Searching Action ItemsGET on /v1/actionitems
  • Creating a New Action ItemPOST on /v1/actionitems
  • Getting a Specific Action Item by IDGET on /v1/actionitems/:id
  • Updating a Specific Action Item by IDPUT on /v1/actionitems/:id
  • Deleting a Specific Action Item by IDDELETE on /v1/actionitems/:id

Figure 14-19 ORDS "v1" Module with Templates and Handlers for Action Items API