Associate REST verbs with ABL operations
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
All the REST resources that you add to the defined service appear under Resources. For each REST resource, you map REST verbs to ABL operations, but you can only associate each REST verb in a REST resource with one ABL operation.
Follow these steps to associate a REST verb with an ABL operation:
- In the REST Resource URI Editor, select a REST resource from the Resources list.
- In the Verb Association section, click the Select operation icon beside the verb of a REST resource. The Associate Operation With Verb dialog box appears with a list of ABL class or procedure files.
- From the Resources list, select an ABL resource (procedure or class file). The ABL routine displays a list of operations in the selected ABL resource.
- Select the ABL operation that you want to associate with the selected REST verb and then click OK.
- The selected operation appears beside the associated verb in the Verb Association section.
- Repeat steps 2-4 for all the operations that you want to map with the verbs for the selected resource.Repeat steps 1-6 for each resource in the Resource list.