Points of Interest XML File Preparation
Uploading points of interest (POI) files in bulk allows you to create or replace multiple points of interest or addresses for a customer.
All the records in a XML file must be for the same object. When you
process XML files:
- Verify that all requried fields exist.
- Files must be in UTF-8 format.
The POI data header must
include:
<PoiDataHeader customerId="12345467" locationType="7" purgeExisting="true">This adds an address for customer 1234567; the address is created with a location type of 7, and existing addresses with location type 7 are removed.
In addition to the header, the body of the bulk file should contain:
<Poi> <shortName>Starbucks Dublin</shortName> <longitude>123.309484</longitude> <latitude>123.309484</latitude> <accuracy>10</accuracy> <name>blah</name> <street1>blah</street1> <street2>blah</street2> <zip>blah</zip> <city>blah</city> <state>blah</state> <country>blah</country> <phone>blah</phone> <email>blah</email> <url>blah</url> </Poi>