0151 355 4555



Adds or updates an existing record in a stop file.

The following details are required:

  • stopFile - the name of the stop file to update the record in. The name is as set up when the stop file wa created with CreateStopFile.
  • record - contains the identifier, name, address and any additional data fields that make up the record to add or update.

If the stop file already contains a record with the same identifier, that record is updated. Otherwise, a new record is created.

View all Stop Files (contact us for more information about this service) methods

Code Samples

<!-- Import the Integr8 Ajax API -->
<!-- NOTE: Get your own API key to use in the following script tag from: -->
<!-- http://www.data-8.co.uk/integr8/Admin/Ajax.aspx -->
<script src="http://webservices.data-8.co.uk/Javascript/Loader.ashx?key=your-api-key" type="text/javascript">

<script type="text/javascript">

function loadIntegr8() {
  // Load the StopFiles Integr8 service

function UpdateRecord(stopFile, record) {
  /// <param name="stopFile">string</param>
  /// <param name="record">data8.stopfilerecord. Set up the Identifier, Company, MetaData, Name, Address properties before calling this method.</param>
  var stopfiles = new data8.stopfiles();

function showUpdateRecordResult(result) {
  // Check that the call succeeded, and show the error message if there was a problem.
  if (!result.Status.Success) {
    alert('Error: ' + result.Status.ErrorMessage);
  else {
    // TODO: Process method results here.
    // Results can be extracted from the following fields: