Managing records with Web Services requests

An implementer can send a Web Services request to HPE Service Manager that will create a new record, update an existing record, or merge two records. These actions are defined by selecting a value in the Action Type field on the Allowed Actions tab of the extaccess record. The following is a description of the expected behavior for each of the values in the drop-down list.

Create only

The server uses Create Semantics to initialize the file variable, fill it with the data from the Web Services request, and pass it to the se.external.action RAD application.

Update only

The server uses Update Semantics to select the matching record before calling the se.external.action RAD application. The server returns an error if it does not find a matching record.

Merge

The server attempts to select the record. If it finds the record, it changes the action to Update and calls the se.external.action RAD application. If the server fails to find the record, it changes the action to Create and calls the se.external.action RAD application. If either the Update or Create action is missing, the se.external.action returns a 70 – invalid action error message.

If there is no value specified in the Action Type field, the server uses Update Semantics. The only exception is when the Action Name specified is Create, in which case the server uses Create Semantics.