Adding REST Service Operations

To add a REST service operation to the system, you must first create a REST service using the Services component.

See Adding REST Service Definitions.

Important! You can add only those service operations defined as REST service operations to REST service definitions; you cannot add non-REST service operations to REST services and you cannot add REST service operations to non-REST services.

The type of service, provider or consumer, determines the type of service operation that the system adds. If you are working with a provider service and add a service operation, a provider service operation is added to the service; if you are working with a consumer service and add a service operation, the system adds a consumer service operation.

To add REST Service Operations:

  1. Select PeopleTools > Integration Broker > Integration Setup > Service Definitions.

  2. Select the REST Service checkbox.

  3. Search for the Service Definition.

  4. Use the Service Operations section to add REST Method.

    This example illustrates the Services page for a REST Service.

    REST Service page
  5. Select the REST method from the drop-down list. The valid values are:

    • Delete.

    • Get.

    • Head.

    • Patch.

    • Post.

    • Put.

    See REST Methods.

  6. Click Add.

    The Service Operations page appears.

The system automatically appends the service operation name with the name of the selected REST method. This functionality allows you to reuse the service operation name using other method types.

For example, if you enter the REST method GET for the Service FLIGHT_INFORMATION, the Service operation will be FLIGHT_INFORMATION_GET.

See Defining General REST Service Operation Details.