The following workflows are available to be used in Clean Web Service.
The **AddressData **and Layout settings must be used.
For each Record
, the following processing will take place:
The first two strings in each of the response's Record
tags contain the match profile (if you specified in the settings section that match profiles should be returned) and the match code for the record. These correspond to the quality of the match and the changes made to the record.
The next set of strings contain each line of the address, according to the Layout you specified in the settings section. Any blank strings indicate that a field is not used. For example, many addresses do not require the state/county field.
The final set of strings contain any DataPlus fields which are included in the Layout that you requested in the settings section.
An additional string will contain a reference field, if you requested one to be included, either by specifying it in the InputFieldMappings, or by setting ReferenceField to True.
The InputFieldMappings setting must be used.
For each Record
, the following process will take place:
The first string in each of the response's Record
tags contain the email match profile (if you specified in the settings section that match profiles should be returned). This corresponds to the quality of the match and the changes made to the email address.
One of the following strings contains the cleaned and validated email address, if available. If the email address could not be validated, this string will be empty.
If you included a reference field, this will also be included as a string.
The order which the last two strings are returned in depends on the value you supply for the InputFieldMappings setting.
The InputFieldMappings, AddressDataSet and Layout settings must be used.
For each Record
, the following processing will take place:
The first two strings in each of the response's Record
tags contain the match profile (if you specified in the settings section that match profiles should be returned) and the match code for the record. These correspond to the quality of the match and the changes made to the record.
One of the next set of strings contain the cleaned postal address, according to the Layout you specified in the settings section. Any blank address elements indicate that a field is not used. For example, many addresses do not require the state/county field.
Another set of strings contain any DataPlus fields which are included in the Layout that you requested in the settings section.
Another string contains the cleaned and validated email address, if available. If the email address could not be validated, this string will be empty.
If you included a reference field, this will also be included as a string.
With the exception of the match profiles and match code (which are always returned first) the order which the strings are returned in depends on the value you supply for the InputFieldMappings setting.
When using a workflow which supports postal address cleaning, each successful request to Clean Web Service will result in a response which includes an AdditionalInformation object, containing fields similar to those shown below.
<additionalinformation>
<namedvalue>
<key>DataSetVintage</key>
<value>21/02/2014</value>
</namedvalue>
<namedvalue>
<key>BatchVersion</key>
<value>7.30</value>
</namedvalue>
<namedvalue>
<key>DatasetName</key>
<value>GBR</value>
</namedvalue>
<namedvalue>
<key>TotalRecords</key>
<value>62</value>
</namedvalue>
<namedvalue>
<key>RecordsProcessed</key>
<value>60</value>
</namedvalue>
<namedvalue>
<key>RecordsSubmitted</key>
<value>62</value>
</namedvalue>
<namedvalue>
<key>CLEAN-GBR_RecordsCleaned</key>
<value>56</value>
</namedvalue>
<namedvalue>
<key>CLEAN-GBR-GBRGRD_Dataplus_RecordsCleaned</key>
<value>52</value>
</namedvalue>
<namedvalue>
<key>CLEAN-GBR_RecordsProcessed</key>
<value>60</value>
</namedvalue>
<namedvalue>
<key>CLEAN-GBR-GBRGRD_Dataplus_RecordsProcessed</key>
<value>52</value>
</namedvalue>
</additionalinformation>
It is important to understand the meaning of these values, as they directly affect the amount you are charged for using Clean Web Service. Whether you are charged for the number of records processed or cleaned depends on your individual license agreement.
When cleaning data, this is the number of records which were successfully processed (those that achieve a Match Success indicator between K and R).
When enriching data, this is the number of records for which DataPlus values were returned from a particular DataPlus set. Charges are made for each DataPlus set used, no matter how many individual DataPlus fields are returned. DataPlus sets are identified by their six-letter code. In the example above, the GBR Grid DataPlus set (GBRGRD) has been used.
In the example above, we can see that:
The reason(s) for any record remaining unmatched can be determined by its individual match code, which will be the only non-blank string for any unmatched records.
When cleaning data, this is the number of records which were cleaned with high or intermediate confidence (those that achieve a Confidence Level of 5 or 9).
When enriching data, this is the number of records which were cleaned with high confidence (those that achieve a Confidence Level of 9 only), for which at least one DataPlusField from the indicated DataPlus set was appended.
In the example above, we can see that: