Messenger Feed
This feed is used to update the routing configuration. It provides information such as phone numbers (for SMS) and/or email addresses (for email) for store- and node-level notifications.
Notes:
- Default Character Encoding: Unicode: UTF-8Exchange
- Frequency: Client-specific
- Production Mailbox Location: Client-specific
- Test Mailbox Location: Client-specific
Schema
The facility feed follows this schema: MessengerClientFacing.xsd. Refer to the following schemas for type definitions and other details:
- CommonTypes.xsd
- ISOCountryCodeType-V2006.xsd
- ISOCurrencyCodeType-V2008.xsd
- ISOLanguageCodeType-V2002.xsd
- WIPOST3CodeType-V2007.xsd
Filename
The combination of filename and mailbox determines the destination of the Facility Feed.
The filename follows this pattern: <ClientId>_<CatalogId>_FacilityMaster_<YYYYMMDDHHMMSS>.xml
Filename example: TMSNA_21_MessengerMaster_201703150000.xml
Example
This example shows the client-facing file format.
Copy
<?xml version="1.0" encoding="UTF-8"?>
<MessengerMaster>
<MessageHeader>
<Standard>GSI</Standard>
<HeaderVersion>5.21</HeaderVersion>
<VersionReleaseNumber>5.21</VersionReleaseNumber>
<SourceData>
<SourceId>TMSNA</SourceId>
<SourceType>CLIENT</SourceType>
</SourceData>
<DestinationData>
<DestinationId>GSI</DestinationId>
<DestinationType>PH</DestinationType>
</DestinationData>
<EventType>MessengerMaster</EventType>
<MessageData>
<MessageId>2016060110000041</MessageId>
<CorrelationId>2016060110000041</CorrelationId>
</MessageData>
<CreateDateAndTime>2016-06-01T09:49:55Z</CreateDateAndTime>
</MessageHeader>
<Messenger>
<client_id>TMSNA</client_id>
<store_id>TMSUS</store_id>
<FacilityRouting>
<FacilityId>TMS123</FacilityId>
<SubscribeForEvents>true</SubscribeForEvents>
<Message Type="sms">
<IdValue>+19999999999</IdValue>
</Message>
<Message Type="email">
<IdValue>email@test.com</IdValue>
</Message>
<Message Type="sms">
<IdValue>+18888888888</IdValue>
</Message>
</FacilityRouting>
<FacilityRouting>
<FacilityId>TMS456</FacilityId>
<SubscribeForEvents>false</SubscribeForEvents>
<Message Type="sms">
<IdValue>+19999999999</IdValue>
</Message>
<Message Type="email">
<IdValue>email@test.com</IdValue>
</Message>
<Message Type="email">
<IdValue>email2@test.com</IdValue>
</Message>
</FacilityRouting>
</Messenger>
</MessengerMaster>