Running REST ADDModify Samples

Running AddModify and Lookup Modes Samples

Procedure

  1. In the SOAP client, create a REST project with the resource URL. For example: http://localhost:port/eml/rest/records/{repositoryName}/addModifyRecord
  2. In the request parameter, add the activityMode parameter. For example:
     activityMode=Add Modify or Lookup Only and style=Query
     generatedService=true and style=Query
     apiVersion=2.0 and style=Header
  3. In the request body section, set the media type to application/json.
  4. Add the content of the sample request to request body.

Running AddModify Modes with Attachment Samples

  1. In the SOAP client, create a REST project with the resource URL. For example: http://localhost:port/eml/rest/records/{repositoryName}/addModifyRecordWithAttachment
  2. In the request parameter, add the activityMode parameter. For example:
     activityMode=Add Modify and style=Query
     generatedService=true and style=Query
     apiVersion=2.0 and style=Header
    newRecord=<payload from the samples request> and style=Query
  3. In the request body section, set the media type to multipart/form-data.
    For more information on other REST service structure, see TIBCO MDM Rest Services Guide.