You are on page 1of 38

 

 
 
Table of Contents 
Table of Contents 2 

1. Introduction 4 
1.1. Overview 4 
1.2. Document Control 4 

2. Passwords/Sample Data 4 
2.1. Test URL 4 
2.2. Credentials (same for all functions) 4 
2.3. Sample data 4 

3. Ping 4 

4. Seller Services Message Structure – Envelope 5 

5. Requesting Prices for Multiple Products. 6 


5.1. ADDRequestForQuote 6 
5.2. Request 7 
5.3. Response to Enquiry 8 

6. Sending Orders to MAM BMS 10 


6.1. Process Purchase Order 10 
6.1.1. Key Fields 10 
6.2. Typical Order 13 
6.3. Typical order response 15 

7. Shipping 15 

8. Multi-Branch Ordering and Stock Levels. 16 

9. Order Status 17 


9.1. ProcessMessageDocSearch 17 
9.1.1. Request 17 
9.1.2. Response 17 

10. Backorders 19 


10.1. OWGetDocument 19 
10.1.1. Request: 19 
10.1.2. Response 20 

11. Searching for Individual Parts 22 


11.1. PartSearchPrice 22 
11.1.1. Request (Use % for wildcards) 22 
11.1.2. Response (Microsoft dataset) 22 

12. Customer Account Functions 24 


12.1. Statements and Customer Balance 24 
12.2. AccountListRequest 24 
12.2.1. Request 24 
 
 
MAM Software Ltd - Seller Services - 3rd Party Integration Guide   Page 2
 
 
12.2.2. Response 24 
12.3. StmtRequest 25 
12.3.1. Request 25 

13. Customer Account Enquiry. 25 


13.1. AcctDetails 25 
13.1.1. Request 25 
13.1.2. Response 25 

14. Requesting Copies of Documents. 35 


14.1. InvoiceRequest 35 
14.1.1. Request 35 
14.1.2. Response 35 
14.2. DocumentRequest. 38 
14.2.1. Request 38 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
MAM Software Ltd - Seller Services - 3rd Party Integration Guide   Page 3
 
 
1. Introduction 
1.1. Overview 
The MAM Seller Services is an API that allows the integration between the MAM BMS and 3rd party 
applications and websites.  
This document describes the required format and use of MAM Seller Services. 
 
Please contact MAM Internal Sales if you have any questions on usage. 
 

1.2. Document Control 

Date  Author  Version  Change Reference 

12/09/2018  Ronnie Tutton  1.0  Initial Document 

26/04/2019  Andy Jarvis  1.1  Technical amendment 

18/12/2019  Andy Jarvis  1.2  URL change, 5.2 and 5.3 

21/12/2020  Andy Jarvis  1.3  New branding 


 
 
2. Passwords/Sample Data 
2.1. Test URL 
http://dev.mamsoft.co.uk/OW/SellerServices.asmx 
 
 
2.2. Credentials (same for all functions) 
User = OWUser 
Pass = tPGees 
 
 
2.3. Sample data 
Acct = A001, AAD1, RH 
Parts = BAT10, 22460, 22461, AQP3021, AQP3030 
Part searches = bat%, test% 
Product Group PG = 01 
 
 
3. Ping 
Used to check all services are online. 

 
 
MAM Software Ltd - Seller Services - 3rd Party Integration Guide   Page 4
 
 
Should return ‘SELLER ERP SERVICE UP AND READY’, if the service is working fine. 
 
4. Seller Services Message Structure – Envelope 
ProcessMessage is slightly different from the other methods available in Seller Services in that you only 
pass it a single ‘string’. Because you are sending XML, it has to be HTML encoded. 
 
 
<soap:Envelope xmlns:xsi="​http://www.w3.org/2001/XMLSchema-instance​" xmlns:xsd="​http://www.w3.org/2001/XMLSchema​" 
xmlns:soap="​http://schemas.xmlsoap.org/soap/envelope/​"> 
<soap:Body> 
<ProcessMessage xmlns="​http://www.mamsoft.co.uk/services/clientrequester​"> 
<envelope> 
<

Seller Services has adopted a single message structure, the Envelope. The Envelope message has two 
parts: Header and Body. The Header keeps the system, communication, and security-related information 
and the Body stores the Business Object Documents (BODs). Every message that passes as an argument 
to the ProcessMessage method should be an Envelope. The specific fields within the Envelope message 
are as follows: 
 
Field   Description 

ow-e:Header  System, communication and security-related information 


needed for messaging. 

ow-e:EndPoints  Information about the messaging nodes 

ow-e:To  Receiving end point 

ow-e:Id  The id of the receiving node at Seller Services 

ow-e:From  Sending end point 

ow-e:Id  The id of the sending node at Seller Services 

ow-e:Properties  Information about the message 

ow-e:SentAt  Sending timestamp of the message 

ow-e:Topic  Message type included the Body section 


(AddRequestForQuote | AddQuote | ProcessPurchaseOrder 
| AcknowledgePurchaseOrder) 

ow-e:Body  Includes Business Object Document (BOD) 

 
 
 
 
 
 
MAM Software Ltd - Seller Services - 3rd Party Integration Guide   Page 5
 
 
5. Requesting Prices for Multiple Products. 
This message is used to check the availability and price of one or more items in the MAM BMS System 
using the ProcessMessage. 
 

5.1. ADDRequestForQuote 

Tag  Description  Data Type  Constraints 

ow-o:AddRequestForQuote/ Document creation time  XML DateTime in the form of  Mandatory 
oa:ApplicationArea/oa:Creat CCYY-MM-DDThh:mm:ss+UTC 
ionDateTime 
e.g. 
2018-07-17T09:30:47-05:00 

ow-o:AddRequestForQuote/ Business application  String (max 10 chars)  Mandatory 


oa:ApplicationArea/oa:Send that issues the Business 
  
er/Component  Object Document 

ow-o:AddRequestForQuote/ Header portion of the       


oa:DataArea/oa:RequestFor data area 
Quote/oa:Header 

  Unique Id for the RFQ  String (max 36 characters in  Optional 


oa:DocumentIds/oa:Custom case of a 32-char GUID with 4 
  
erDocumentId/oa:Id  dashes) 

  Information about the       


oa:Parties/ow-o:CustomerP originating party 
arty 

  Id of the originating  String (max 11 char)  Mandatory 


oa:PartyId/oa:Id  customer in MAM 
  
BMS​[AJ1] [R2]  

ow-o:AddRequestForQuote/ Line for each item       


oa:DataArea/oa:RequestFor
Quote/oa:Line 

oa:LineNumber  Unique Id for each line  Integer  Mandatory 


  

  Part number Id in MAM  String (max 28 char)  Mandatory 


ow-o:OrderItem/oa:ItemIds/ BMS 
oa:SupplierItemId/oa:Id 

 
 
MAM Software Ltd - Seller Services - 3rd Party Integration Guide   Page 6
 
 
  Item type  String (max 8 char)  Mandatory 
ow-o:OrderItem/oa:ItemTyp

  A globally unique  String (max 36 char)  Optional 


ow-o:OrderItem/ow-o:Requ identifier for this 
estLineGUID  particular line item. 

 
The enquiry below has two lines. It can easily be made to enquire on more or less lines by 
adding/removing the <oa:line> element. Each line must have a unique <oa:LineNumber> and 
<ow-o:RequestLineGUID>. 
 
 
5.2. Request 
<​ow-e:Envelope xmlns:ow-e​="​http://www.carpartstechnologies.com/openwebs-envelope​"​ revision​="​2.0​"> 
<​ow-e:Header​> 
  <​ow-e:EndPoints​> 
  <​ow-e:To​> 
  <​ow-e:Id​>1​ 00000​</​ow-e:Id​> 
  </​ow-e:To​> 
  <​ow-e:From​> 
  <​ow-e:Id​>2 ​ 00000​</​ow-e:Id​> 
  </​ow-e:From​> 
  </​ow-e:EndPoints​> 
  <​ow-e:Properties​> 
  <​ow-e:SentAt​>2 ​ 018-06-01T12:34:56-00:00​</​ow-e:SentAt​> 
  <​ow-e:Topic​>A ​ ddRequestForQuote​</​ow-e:Topic​> 
  </​ow-e:Properties​> 
  <​ow-e:SecurityInfo​> 
  <​ow-e:Username​>U ​ ser​</​ow-e:Username​> 
  <​ow-e:Password​>P ​ ass​</​ow-e:Password​> 
  </​ow-e:SecurityInfo​> 
</​ow-e:Header​> 
<​ow-e:Body​> 
  <​ow-o:AddRequestForQuote xmlns:oa​="​http://www.openapplications.org/oagis​" 
xmlns:ow-o​="​http://www.carpartstechnologies.com/openwebs-oagis​"​ revision​="​2.0​"> 
  <​oa:ApplicationArea​> 
  <​oa:Sender​> 
  <​oa:Component​/> 
  </​oa:Sender​> 
  <​oa:CreationDateTime​>2 ​ 018-06-01T12:34:56-00:00​</​oa:CreationDateTime​> 
  </​oa:ApplicationArea​> 
  <​oa:DataArea​> 
  <​oa:Add confirm​="​Always​"/> 
  <​oa:RequestForQuote​> 
  <​oa:Header​> 
  <​oa:DocumentIds​> 
​<​oa:CustomerDocumentId​> 
​<o
​ a:Id​>E
​ 123456​</​oa:Id​> 
​</​oa:CustomerDocumentId​> 
  </​oa:DocumentIds​> 
  <​oa:Parties​> 
​<​ow-o:CustomerParty​> 

 
 
MAM Software Ltd - Seller Services - 3rd Party Integration Guide   Page 7
 
 
​<o
​ a:PartyId​> 
  <​oa:Id​>A ​ 001​</​oa:Id​> 
​</​oa:PartyId​> 
​</​ow-o:CustomerParty​> 
  </​oa:Parties​> 
  </​oa:Header​> 
  <​oa:Line​> 
  <​oa:LineNumber​>1 ​ <​ /​oa:LineNumber​> 
  <​ow-o:OrderItem​> 
​<​oa:ItemIds​> 
​<o​ a:SupplierItemId​> 
  <​oa:Id​>2 ​ 2460​</​oa:Id​> 
​</​oa:SupplierItemId​> 
​</​oa:ItemIds​> 
​<​ow-o:ItemInfo​> 
​<o ​ w-o:ManufacturerInfo​> 
  <​ow-o:SupplierManufacturer​/> 
​</​ow-o:ManufacturerInfo​> 
​</​ow-o:ItemInfo​> 
​<​ow-o:QuantityInfo​> 
​<o ​ w-o:RequestedQuantity uom​="​EACH​">​4< ​ /​ow-o:RequestedQuantity​> 
​</​ow-o:QuantityInfo​> 
​<​ow-o:RequestLineGUID​>A ​ 91B90C0-FC31-11D8-9669-0800200C9A66​</​ow-o:RequestLineGUID​> 
  </​ow-o:OrderItem​> 
  </​oa:Line​>   
  <​oa:Line​> 
  <
​ o
​ a:LineNumber​>2 ​ < ​ /​oa:LineNumber​> 
  <​ow-o:OrderItem​> 
​<​oa:ItemIds​> 
​<o ​ a:SupplierItemId​> 
  <​oa:Id​>2 ​ 2461​</​oa:Id​> 
​</​oa:SupplierItemId​> 
​</​oa:ItemIds​> 
​<​ow-o:ItemInfo​> 
​<o ​ w-o:ManufacturerInfo​> 
  <​ow-o:SupplierManufacturer​/> 
​</​ow-o:ManufacturerInfo​> 
​</​ow-o:ItemInfo​> 
​<​ow-o:QuantityInfo​> 
​<o ​ w-o:RequestedQuantity uom​="​EACH​">​4< ​ /​ow-o:RequestedQuantity​> 
  <
​ /​ow-o:QuantityInfo​> 
​<​ow-o:RequestLineGUID​>B ​ 91B90C0-FC31-11D8-9669-0800200C9A66​</​ow-o:RequestLineGUID​> 
  </​ow-o:OrderItem​> 
  </​oa:Line​>   
  </​oa:RequestForQuote​> 
  </​oa:DataArea​> 
  </​ow-o:AddRequestForQuote​> 
</​ow-e:Body​> 
</​ow-e:Envelope​>
 
 
5.3. Response to Enquiry 
<​ow-e:Envelope xmlns:ow-e​="​http://www.carpartstechnologies.com/openwebs-envelope​"​ revision​="​2.0​"> 
<​ow-e:Header​> 
  <​ow-e:Properties​> 
  <​ow-e:SentAt​>2​ 018-06-01T12:34:56-00:00​</​ow-e:SentAt​> 
  <​ow-e:Topic​>A
​ ddQuote​</​ow-e:Topic​> 
  </​ow-e:Properties​> 
 
 
MAM Software Ltd - Seller Services - 3rd Party Integration Guide   Page 8
 
 
</​ow-e:Header​> 
<​ow-e:Body​> 
  <​ow-o:AddQuote xmlns:oa​="​http://www.openapplications.org/oagis​" 
xmlns:ow-o​="​http://www.carpartstechnologies.com/Seller Services-oagis​"​ revision​="​2.0​"> 
  <​oa:ApplicationArea​> 
  <​oa:Sender​> 
  <​oa:Component​>​MAM MAM BMS​</​oa:Component​> 
  </​oa:Sender​> 
  <​oa:CreationDateTime​>2 ​ 018-06-01T12:34:56-00:00​</​oa:CreationDateTime​> 
  </​oa:ApplicationArea​> 
  <​oa:DataArea​> 
  <​oa:Add confirm​="​Always​"​ /​ >   
  <​oa:Quote​> 
  <​oa:Header​> 
  <​oa:DocumentReferences​> 
  <​oa:RFQDocumentReference​> 
  <​oa:DocumentIds​> 
  <​oa:CustomerDocumentId​> 
  ​<o
​ a:Id​>​E123456​</​oa:Id​> 
  </​oa:CustomerDocumentId​> 
  </​oa:DocumentIds​> 
  </​oa:RFQDocumentReference​> 
  </​oa:DocumentReferences​> 
  <​ow-o:OrderStatus​> 
  <​oa:Code​>O ​ pen​</​oa:Code​> 
  <​oa:Description​>0 ​ ​</​oa:Description​> 
  <​ow-o:Status​>s​ uccess​</​ow-o:Status​> 
  ​<o
​ w-o:SupplierLocationPerLine​>​True​</​ow-o:SupplierLocationPerLine​> 
  <​ow-o:PONumberRequired​>​False​</​ow-o:PONumberRequired​> 
  </​ow-o:OrderStatus​> 
  </​oa:Header​> 
  <​ow-o:Line​> 
  <​oa:LineNumber​>1 ​ <
​ /​oa:LineNumber​> 
  <​ow-o:OrderItem​> 
  <​oa:ItemIds​> 
  <​oa:SupplierItemId​> 
  ​<o
​ a:Id​>​22460​</​oa:Id​> 
  </​oa:SupplierItemId​> 
  </​oa:ItemIds​> 
  <​oa:ItemType /​ >   
  <​ow-o:ItemInfo /​ >   
  <​ow-o:QuantityInfo​> 
  <​ow-o:AvailableQuantity uom​="​EACH​">​228​</​ow-o:AvailableQuantity​> 
  </​ow-o:QuantityInfo​> 
  <​ow-o:PriceInfo​> 
  <​ow-o:ListPrice​> 
​<​oa:Amount currency​="​gbp​">​100.00​</​oa:Amount​> 
  <​oa:PerQuantity uom​="​EACH​">​1​</​oa:PerQuantity​> 
  </​ow-o:ListPrice​> 
  </​ow-o:PriceInfo​> 
  <​ow-o:OrderInfo​> 
  <​ow-o:SupplierLocationId ​/>   
  </​ow-o:OrderInfo​> 
  <​ow-o:RequestLineGUID​>A ​ 91B90C0-FC31-11D8-9669-0800200C9A66​</​ow-o:RequestLineGUID​> 
  </​ow-o:OrderItem​> 
  <​oa:UnitPrice​> 
  <​oa:Amount currency​="​gbp​">​106.93​</​oa:Amount​> 
  <​oa:PerQuantity uom​="​EACH​">​1​</​oa:PerQuantity​> 
  </​oa:UnitPrice​> 

 
 
MAM Software Ltd - Seller Services - 3rd Party Integration Guide   Page 9
 
 
  <​oa:Description​>A ​ C Test Part C​</​oa:Description​> 
  <​ow-o:OrderStatus​> 
  <​oa:Code​>O ​ pen​</​oa:Code​> 
  <​oa:Description ​/>   
  <​ow-o:Status​>s​ uccess​</​ow-o:Status​> 
  </​ow-o:OrderStatus​> 
  <​oa:Tax​> 
  <​oa:PercentQuantity uom​="​1​">​20​</​oa:PercentQuantity​> 
  <​oa:TaxCode​>1 ​ ​</​oa:TaxCode​> 
  </​oa:Tax​> 
  <​oa:DocumentReferences​> 
  <​oa:RFQDocumentReference​> 
  <​oa:LineNumber​>1 ​ <​ /​oa:LineNumber​> 
  </​oa:RFQDocumentReference​> 
  </​oa:DocumentReferences​> 
  </​ow-o:Line​> 
  <​ow-o:Line​> 
  <​oa:LineNumber​>2 ​ <​ /​oa:LineNumber​> 
  <​ow-o:OrderItem​> 
  <​oa:ItemIds​> 
  <​oa:SupplierItemId​> 
 
 
6. Sending Orders to MAM BMS 
6.1. Process Purchase Order 
This message is used to send an order into the MAM BMS System for one or more items. 
 
6.1.1. Key Fields 

Tag  Description  Data Type  Constraints 

ow-o:ProcessPurchaseOrder/oa:Ap Message creation  XML DateTime in the  Mandatory 


plicationArea/oa:CreationDateTime  time  form of 
CCYY-MM-DDThh:mm:ss
+UTC 
e.g. 
2018-07-17T09:30:47-05:
00 

ow-o:ProcessPurchaseOrder/oa:Ap Business  String (max 10 char)  Mandatory 


plicationArea/oa:Sender/oa:Compo application that 
  
nent  issues the 
Business Object 
Document 

 
 
MAM Software Ltd - Seller Services - 3rd Party Integration Guide   Page 10
 
 
ow-o:ProcessPurchaseOrder/oa:Da Document       
taArea/oa:PurchaseOrder/ow-o:He information 
ader 

  Purchase order  String (max 15 char)  Mandatory  


oa:DocumentIds/oa:CustomerDocu number provided 
mentId/oa:Id  by customer 

  Information about       
oa:Parties/ow-o:CustomerParty  the originating 
party 

  Id of the  String (max 11 char)  Mandatory 


oa:PartyId/oa:Id  originating 
  
customer in MAM 
BMS 

  Information about       
oa:Parties/ow-o:ShipToParty  the destination 
party 

  Account Id of the  String (max 11 char)  Optional. Usually 


oa:PartyId/oa:Id  destination  the same as the 
customer in MAM  ordering 
BMS  customer 
  

oa:ShippingAddress  Address lines for  Strings  Optional. 


the ship to  Delivery Address 

  Request type  String (max 10 char)  Mandatory. 


ow-o:OrderInfo/ow-o:RequestType 
(delivery) 
Use delivery as 
default 

  Fill flag  String (max 10 char)  Mandatory. 


ow-o:OrderInfo/ow-o:FillFlag 
By default use 
backord. This can 
be linked to the 
MAM BMS 
delivery methods 
if the 
functionality is 
being used 

 
 
MAM Software Ltd - Seller Services - 3rd Party Integration Guide   Page 11
 
 
  Comment  String (max 60 char)  Optional. 
ow-o:OrderInfo/ow-o:Comment 
(up to 4 of them) 

  Shipping code  String (max 3 char)  Mandatory 


ow-o:OrderInfo/ow-o:ShippingInfo/ element but not 
ow-o:Code  filled 

  Shipping  String (max 30 char)  Mandatory 


ow-o:OrderInfo/ow-o:ShippingInfo/ description  element but not 
ow-o:Description  filled. 

ow-o:ProcessPurchaseOrder/oa:Da Line for each item       


taArea/oa:PurchaseOrder/oa:Line 

  oa:LineNumber  Unique id for each  Integer  Mandatory 


line 
  

  Supplier item Id  String (max 28 char)  Mandatory 


ow-o:OrderItem/oa:ItemIds/oa:Sup
Part number    
plierItemId/oa:Id 
stored in the MAM 
BMS 

  Item type  String (max 8 char)  Mandatory 


ow-o:OrderItem/oa:ItemType 
(Part | Tyre) 

  Manufacturer in  String (max 4 char)  Mandatory 


ow-o:OrderItem/ow-o:ItemInfo/ow- supplier’s  element, but is 
o:ManufacturerInfo/ow-o:Supplier not required to 
Manucfaturer  have a value 

  Customer assigned  String (max 36 char)  Optional 


ow-o:OrderItem/ow-o:RequestLine a globally unique 
GUID  identifier for this 
particular line 
item. 

  oa:OrderQuantity  Quantity ordered  Integer  Mandatory 

oa:UnitPrice  Price information     Optional. 


to be passed to  Requires 
MAM BMS  parameter P950 
set to ‘1’ in the 
MAM BMS 

 
 
MAM Software Ltd - Seller Services - 3rd Party Integration Guide   Page 12
 
 
oa:Amount  Currency and Price  String  Optional. 
currency="​gbp​">​10​</oa:Amount>  to be passed.  Requires 
parameter P950 
set to ‘1’ in the 
MAM BMS 

oa:PerQuantity  The Unit of issue.  String  Optional. 


uom="​EACH​">​1<​ /oa:PerQuantity>  Priced per.  Requires 
parameter P950 
set to ‘1’ in the 
MAM BMS 

 
 
 
 
6.2. Typical Order 
<​ow-e:Envelope​ xmlns:ow-e​="​http://www.carpartstechnologies.com/openwebs-envelope​"​ revision​="​2.0​"> 
<​ow-e:Header​> 
<​ow-e:EndPoints​> 
<​ow-e:To​> 
​ ​<o ​ w-e:Id​>2 ​ 000001​</​ow-e:Id​> 
​ ​</​ow-e:To​> 
<​ow-e:From​> 
​ ​<o ​ w-e:Id​>A ​ 001​</​ow-e:Id​> 
​ ​ ​</​ow-e:From​> 
​ ​</​ow-e:EndPoints​> 
<​ow-e:Properties​> 
​ ​<o ​ w-e:SentAt​>​2018-05-28T16:13:24-03:13​</​ow-e:SentAt​> 
​ ​<o ​ w-e:Topic​>​ProcessPurchaseOrder​</​ow-e:Topic​> 
​ ​</​ow-e:Properties​> 
<​ow-e:SecurityInfo​> 
​ ​<o ​ w-e:Username​>O ​ WUser​</​ow-e:Username​> 
​ ​<o ​ w-e:Password​>​tPGees​</​ow-e:Password​> 
​ ​</​ow-e:SecurityInfo​> 
​ ​</​ow-e:Header​> 
<​ow-e:Body​> 
<​ow-o:ProcessPurchaseOrder revision​="​2.0​"​ xmlns:ow-o​="​http://www.carpartstechnologies.com/openwebs-oagis​" 
xmlns:oa​="​http://www.openapplications.org/oagis​"> 
<​oa:ApplicationArea​> 
<​oa:Sender​> 
​ ​<o ​ a:Component​>M ​ AM MAM BMS​</​oa:Component​> 
​ ​</​oa:Sender​> 
​ ​<o ​ a:CreationDateTime​>2 ​ 018-05-28T16:13:24-03:13​</​oa:CreationDateTime​> 
​ ​</​oa:ApplicationArea​> 
<​oa:DataArea​> 
​ ​<o ​ a:Process​ ​confirm​="​Always​" /> 
<​oa:PurchaseOrder​> 
<​ow-o:Header​> 
<​oa:DocumentIds​> 
<​oa:CustomerDocumentId​> 
​ ​<o ​ a:Id​>t​ est123​</​oa:Id​> 
​ ​</​oa:CustomerDocumentId​> 
<​oa:DocumentId​> 

 
 
MAM Software Ltd - Seller Services - 3rd Party Integration Guide   Page 13
 
 
​ ​<o ​ a:Id​>t​ est123​</​oa:Id​> 
​ ​</​oa:DocumentId​> 
​ ​</​oa:DocumentIds​> 
<​oa:Parties​> 
<​ow-o:CustomerParty​> 
<​oa:PartyId​> 
​ ​<o ​ a:Id​>A ​ 001​</​oa:Id​> 
​ ​</​oa:PartyId​> 
​ ​<o ​ a:Name​>​Add Line 1​</​oa:Name​> 
<​oa:Addresses​> 
<​oa:Address​> 
​ ​<o ​ a:AddressLine​>A ​ dd Line 1​</​oa:AddressLine​> 
​ ​<o ​ a:AddressLine​>A ​ dd Line 2​</​oa:AddressLine​> 
​ ​<o ​ a:AddressLine​>A ​ dd Line 3​</​oa:AddressLine​> 
​ ​<o ​ a:AddressLine​>A ​ dd Line 4​</​oa:AddressLine​> 
​ ​<o ​ a:AddressLine​>A ​ dd Line 5​</​oa:AddressLine​> 
​ ​<o ​ a:PostalCode​>​Add PCode​</​oa:PostalCode​> 
​ ​<o ​ a:Telephone​>​123​</​oa:Telephone​> 
​ ​<o ​ a:EMailAddress​>a ​ bc@email.com​</​oa:EMailAddress​> 
​ ​</​oa:Address​> 
<​oa:ShippingAddress​> 
​ ​<o ​ a:AddressLine​>D ​ el Line 1​</​oa:AddressLine​> 
​ ​<o ​ a:AddressLine​>D ​ el Line 2​</​oa:AddressLine​> 
​ ​<o ​ a:AddressLine​>D ​ el Line 3​</​oa:AddressLine​> 
​ ​<o ​ a:AddressLine​>D ​ el Line 4​</​oa:AddressLine​> 
​ ​<o ​ a:AddressLine​>D ​ el Line 5​</​oa:AddressLine​> 
​ ​<o ​ a:PostalCode​>​Del PCode​</​oa:PostalCode​> 
​ ​<o ​ a:Telephone​>​456​</​oa:Telephone​> 
​ ​<o ​ a:EMailAddress​>x ​ yz@email.com​</​oa:EMailAddress​> 
​ ​</​oa:ShippingAddress​> 
​ ​</​oa:Addresses​> 
​ ​</​ow-o:CustomerParty​> 
​ ​</​oa:Parties​> 
<​ow-o:OrderInfo​> 
​ ​<o ​ w-o:RequestType​>d ​ elivery​</​ow-o:RequestType​> 
​ ​<o ​ w-o:FillFlag​>​backord​</​ow-o:FillFlag​> 
​ ​<o ​ w-o:Comment​>c ​ ons​</​ow-o:Comment​> 
​ ​<o ​ w-o:Comment​>s​ pec​</​ow-o:Comment​> 
<​ow-o:ShippingInfo​> 
​ ​<o ​ w-o:Code​ ​/> 
​ ​<o ​ w-o:Description​ /​ > 
​ ​</​ow-o:ShippingInfo​> 
​ ​</​ow-o:OrderInfo​> 
​ ​</​ow-o:Header​> 
<​oa:Line​> 
​ ​<o ​ a:LineNumber​>​1< ​ /​oa:LineNumber​> 
<​ow-o:OrderItem​> 
<​oa:ItemIds​> 
<​oa:SupplierItemId​> 
​ ​<​oa:Id​>​bat10​</​oa:Id​> 
​ ​</​oa:SupplierItemId​> 
​ ​</​oa:ItemIds​> 
​ ​<​oa:ItemType​>P ​ art​</​oa:ItemType​> 
<​ow-o:ItemInfo​> 
<​ow-o:ManufacturerInfo​> 
​ ​<​ow-o:SupplierManufacturer​ ​/> 
​ ​</​ow-o:ManufacturerInfo​> 
​ ​</​ow-o:ItemInfo​> 
​ ​<​ow-o:OrderInfo​ ​/> 

 
 
MAM Software Ltd - Seller Services - 3rd Party Integration Guide   Page 14
 
 
​ ​<​ow-o:RequestLineGUID​>c​ bca9e7d-3bd4-43b1-ae52-ff7ccfca40d6​</​ow-o:RequestLineGUID​> 
​ ​</​ow-o:OrderItem​> 
​ ​<​oa:OrderQuantity uom​="​EACH​">​2​</​oa:OrderQuantity​> 
<​oa:UnitPrice​> 
​ ​<​oa:Amount currency​="​gbp​">​10​</​oa:Amount​> 
​ ​<​oa:PerQuantity uom​="​EACH​">​1< ​ /​oa:PerQuantity​> 
​ ​</​oa:UnitPrice​> 
​ ​<​oa:Description​ /​ > 
<​oa:Tax​> 
​ ​<​oa:PercentQuantity uom​="​1"​ >​20​</​oa:PercentQuantity​> 
​ ​<​oa:TaxCode​>1 ​ ​</​oa:TaxCode​> 
​ ​</​oa:Tax​> 
​ ​</​oa:Line​> 
​ ​</​oa:PurchaseOrder​> 
​ ​</​oa:DataArea​> 
​ ​</​ow-o:ProcessPurchaseOrder​> 
​ ​</​ow-e:Body​> 
​ ​</​ow-e:Envelope​> 
6.3. Typical order response
<​ow-e:Envelope ​xmlns:ow-e​="​http://www.carpartstechnologies.com/openwebs-envelope​"​ revision​="​2.0​"> 
<​ow-e:Header​> 
​<o
​ w-e:Properties​> 
  <​ow-e:SentAt​>2
​ 018-06-01T12:34:56-00:00​</​ow-e:SentAt​> 
  <​ow-e:Topic​>A
​ cknowledgePurchaseOrder​</​ow-e:Topic​> 
  </​ow-e:Properties​> 
</​ow-e:Header​> 
<​ow-e:Body​> 
  <​ow-o:AcknowledgePurchaseOrder x​ mlns:ow-o​="​http://www.carpartstechnologies.com/openwebs-oagis​" 
xmlns:oa​="​http://www.openapplications.org/oagis​"​ revision​="​2.0​"> 
  <​oa:ApplicationArea​> 
  <​oa:Sender​> 
  <​oa:Component​>​MAM MAM BMS​</​oa:Component​> 
  ​</​oa:Sender​> 
  <​oa:CreationDateTime​>2
​ 018-06-01T12:34:56-00:00​</​oa:CreationDateTime​> 
  </​oa:ApplicationArea​> 
  <​oa:DataArea​> 
  <​oa:Acknowledge​> 
  <​oa:Code​>A
​ ccepted​</​oa:Code​> 
  ​</​oa:Acknowledge​> 
  <​oa:PurchaseOrder​> 
  <​ow-o:Header​> 
  <​oa:DocumentIds​> 
​<​oa:SupplierDocumentId​> 
​<o
​ a:Id​>B
​ O081999​</​oa:Id​> 
  ​</​oa:SupplierDocumentId​> 
  </​oa:DocumentIds​> 
 
 
7. Shipping  
Including carriage on the order is simply a matter of adding a part for the postage on the users MAM BMS 
and then adding this as another product line in the XML. The 3rd party will need to liaise with the MAM 
BMS user to understand which part numbers have been identified for the carriage. 
 
 
MAM Software Ltd - Seller Services - 3rd Party Integration Guide   Page 15
 
 
 
8. Multi-Branch Ordering and Stock Levels.  
The ProcessMessage can return and accept branch details.  
 
By default stock levels that are returned by the AddRequestforQuote are company stock levels. It is 
possible to return the stock levels of individual branches, but this requires a configuration change. Please 
liaise with the MAM user to agree which levels are to be returned and then contact MAM Support Services 
to request the change. 
 
The branch that you wish to process the order is sent to the system by specifying the branch id within the 
party <oa:Parties> information of the ProcessPurchaseOrder. A list of branch codes can be obtained from 
the MAM User. 
 
<​ow-o:SupplierParty​> 
  <​oa:PartyId​> 
  <​oa:Id​>M
​ AI​</​oa:Id​> 
  </​oa:PartyId​> 
  </​ow-o: SupplierParty​> 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 
 
MAM Software Ltd - Seller Services - 3rd Party Integration Guide   Page 16
 
 
9. Order Status 
There is no direct call to get the status of an order. To achieve this, you have to use a combination of two 
calls depending on the level of detail required. 
ProcessMessageDocSearch will return documents based on the web order number previously passed 
when placing the order. Prefixes can be I,C,B,U,L or Q (I=Invoice, C=Credit, B=Backorder, U=Suspends, 
L=Picknotes,Q=Quotes). From the results returned you can determine the stage of the processing in the 
MAM BMS i.e., a B prefixed document means that the order is at the backorder stage. The status and 
stage of the document depend on the MAM BMS users order process.  
OWGetDocument will then return the details for that document/stage. For example, a backorder can be 
enquired on to bring back further details of the stages of the parts on the document.  
 
9.1. ProcessMessageDocSearch 
9.1.1. Request 

<​LM​> 
<​Header​> 
<​User​>O ​ WUser​</​User​> 
<​Pass​>t​ PGees​</​Pass​> 
<​Source​>t​ est​</​Source​> 
<​Topic​>D ​ ocSearch​</​Topic​> 
</​Header​> 
<​Body​> 
<​Prefix​>I​ ,C,B,U,LQ​</​Prefix​>[​ AJ1] [R2]  
<​DocNum​></​DocNum​> 
<​Reference​>W ​ EBM001246​</​Reference​> 
<​DateFrom​></​DateFrom​> 
<​DateTo​></​DateTo​> 
<​Part​></​Part​> 
<​Branch​></​Branch​> 
<​Acct​>A
​ 001​</​Acct​> 
</​Body​> 
</​LM​> 
 
9.1.2. Response 

<?xml version="1.0"?> 
<​DataSet​> 
<​xs:schema ​id​="NewDataSet" ​xmlns​="" ​xmlns:xs​="​http://www.w3.org/2001/XMLSchema​" 
xmlns:msdata​="urn:schemas-microsoft-com:xml-msdata"> 
<​xs:element n​ ame​="NewDataSet" m ​ sdata:IsDataSet​="true" ​msdata:UseCurrentLocale​="true"> 
<​xs:complexType​> 
<​xs:choice m ​ inOccurs​="0" ​maxOccurs​="unbounded"> 
<​xs:element n ​ ame​="AC"> 
<​xs:complexType​> 
<​xs:sequence​> 
<​xs:element ​name​="Prefix" ​type​="xs:string" ​minOccurs​="0" /> 
<​xs:element ​name​="Document" t​ ype​="xs:string" m ​ inOccurs​="0" /> 
<​xs:element ​name​="Datetime" t​ ype​="xs:dateTime" m ​ inOccurs​="0" /> 
<​xs:element ​name​="Branch" t​ ype​="xs:string" ​minOccurs​="0" /> 
<​xs:element ​name​="Acct" ​type​="xs:string" ​minOccurs​="0" /> 
<​xs:element ​name​="Total" t​ ype​="xs:decimal" m ​ inOccurs​="0" /> 
<​xs:element ​name​="Corder" t​ ype​="xs:string" ​minOccurs​="0" /> 
<​xs:element ​name​="WebOrder" t​ ype​="xs:string" ​minOccurs​="0" /> 
<​xs:element ​name​="inits" t​ ype​="xs:string" ​minOccurs​="0" /> 
 
 
MAM Software Ltd - Seller Services - 3rd Party Integration Guide   Page 17
 
 
<​xs:element ​name​="payref" t​ ype​="xs:string" m
​ inOccurs​="0" /> 
</​xs:sequence​> 
</​xs:complexType​> 
</​xs:element​> 
</​xs:choice​> 
</​xs:complexType​> 
</​xs:element​> 
</​xs:schema​> 
<​diffgr:diffgram ​xmlns:msdata​="urn:schemas-microsoft-com:xml-msdata" 
xmlns:diffgr​="urn:schemas-microsoft-com:xml-diffgram-v1"> 
<​NewDataSet​> 
<​AC ​diffgr:id​="AC1" ​msdata:rowOrder​="0"> 
<​Prefix​>​I<
​ /​Prefix​> 
<​Document​>A ​ DV06613​</​Document​> 
<​Datetime​>2 ​ 018​-03-15T10:58:55.2+00:00​</​Datetime​> 
<​Branch​>M ​ AI​</​Branch​> 
<​Acct​>​A001​</​Acct​> 
<​Total​>​95.4000​</​Total​> 
<​Corder​>t​ est123​</​Corder​> 
<​WebOrder​>​WEBM001246​</​WebOrder​> 
<​inits​>​OW​</​inits​> 
<​payref​>​NYP​</​payref​> 
</​AC​> 
<​AC ​diffgr:id​="AC2" ​msdata:rowOrder​="1"> 
<​Prefix​>​L<​ /​Prefix​> 
<​Document​>B ​ O512052-1​</​Document​> 
<​Datetime​>2 ​ 013​-01-30T10:18:01.473+00:00​</​Datetime​> 
<​Branch​>M ​ AI​</​Branch​> 
<​Acct​>​A001​</​Acct​> 
<​Total​>​67.0600​</​Total​> 
<​Corder​>t​ est123​</​Corder​> 
<​WebOrder​>​WEBM001246​</​WebOrder​> 
<​inits​>​OW​</​inits​> 
<​payref ​/> 
</​AC​> 
<​AC ​diffgr:id​="AC3" ​msdata:rowOrder​="2"> 
<​Prefix​>​L< ​ /​Prefix​> 
<​Document​>B ​ O512051-1​</​Document​> 
<​Datetime​>2 ​ 018​-01-30T10:18:01.253+00:00​</​Datetime​> 
<​Branch​>M ​ AI​</​Branch​> 
<​Acct​>​A001​</​Acct​> 
<​Total​>​67.0600​</​Total​> 
<​Corder​>t​ est123​</​Corder​> 
<​WebOrder​>​WEBM001246​</​WebOrder​> 
<​inits​>​OW​</​inits​> 
<​payref ​/> 
</​AC​> 
<​AC ​diffgr:id​="AC4" ​msdata:rowOrder​="3"> 
<​Prefix​>​B​</​Prefix​> 
<​Document​>B ​ O512052​</​Document​> 
<​Datetime​>2 ​ 018​-03-10T14:01:51+00:00​</​Datetime​> 
<​Branch​>M ​ AI​</​Branch​> 
<​Acct​>​A001​</​Acct​> 
<​Total​>​67.0560​</​Total​> 
<​Corder​>t​ est123​</​Corder​> 
<​WebOrder​>​WEBM001246​</​WebOrder​> 
<​inits​>​OW​</​inits​> 
<​payref ​/> 
</​AC​> 

 
 
MAM Software Ltd - Seller Services - 3rd Party Integration Guide   Page 18
 
 
<​AC ​diffgr:id​="AC5" ​msdata:rowOrder​="4"> 
<​Prefix​>​B​</​Prefix​> 
<​Document​>B ​ O512051​</​Document​> 
<​Datetime​>2 ​ 018​-03-10T13:58:14+00:00​</​Datetime​> 
<​Branch​>M ​ AI​</​Branch​> 
<​Acct​>​A001​</​Acct​> 
<​Total​>​67.0560​</​Total​> 
<​Corder​>t​ est123​</​Corder​> 
<​WebOrder​>​WEBM001246​</​WebOrder​> 
<​inits​>​OW​</​inits​> 
<​payref ​/> 
</​AC​> 
</​NewDataSet​> 
</​diffgr:diffgram​> 
</​DataSet​> 

10. Backorders 
It is possible to check the status of parts on backorder if the end user is using this process in the MAM 
BMS using OWGetDocument. 
 
 
10.1. OWGetDocument 
10.1.1. Request: 

<​LM​> 
<​Header​> 
<​User​>O ​ WUser​</​User​> 
<​Pass​>t​ PGees​</​Pass​> 
<​Source​>t​ est​</​Source​> 
</​Header​> 
<​Body​> 
<​SP​> 
  <​SPName​>O ​ WGetDocument​</​SPName​> 
  <​Params​> 
  <​Param​> 
<​Name ​type​='VarChar'>​@Prefix​</​Name​> 
<​Value​>B​ ​</​Value​> 
  </​Param​> 
  <​Param​> 
<​Name ​type​='VarChar'>​@docno​</​Name​> 
<​Value​>2 ​ B
​ 001109​</​Value​> 
  </​Param​> 
  </​Params​> 
</​SP​> 
</​Body​> 
</​LM​> 
 
 
   

 
 
MAM Software Ltd - Seller Services - 3rd Party Integration Guide   Page 19
 
 
 
 
10.1.2. Response 

<​DataSet​> 
<​xs:schema ​id​="NewDataSet" ​xmlns​="" ​xmlns:xs​="​http://www.w3.org/2001/XMLSchema​" 
xmlns:msdata​="urn:schemas-microsoft-com:xml-msdata"> 
<​xs:element n ​ ame​="NewDataSet" m​ sdata:IsDataSet​="true" ​msdata:UseCurrentLocale​="true"> 
  <​xs:complexType​> 
  <​xs:choice m ​ inOccurs​="0" ​maxOccurs​="unbounded"> 
<​xs:element n ​ ame​="AC"> 
<​xs:complexType​> 
<​xs:sequence​> 
<​xs:element ​name​="Document" t​ ype​="xs:string" m ​ inOccurs​="0" /> 
<​xs:element ​name​="Column1" t​ ype​="xs:string" ​minOccurs​="0" /> 
<​xs:element ​name​="deladd" t​ ype​="xs:string" ​minOccurs​="0" /> 
<​xs:element ​name​="Acct" ​type​="xs:string" ​minOccurs​="0" /> 
<​xs:element ​name​="Corder" t​ ype​="xs:string" ​minOccurs​="0" /> 
<​xs:element ​name​="DateTime" t​ ype​="xs:dateTime" m ​ inOccurs​="0" /> 
<​xs:element ​name​="Inits" ​type​="xs:string" m​ inOccurs​="0" /> 
<​xs:element ​name​="Goods" t​ ype​="xs:decimal" m ​ inOccurs​="0" /> 
<​xs:element ​name​="Vat" t​ ype​="xs:decimal" m ​ inOccurs​="0" /> 
<​xs:element ​name​="Msg" t​ ype​="xs:string" ​minOccurs​="0" /> 
<​xs:element ​name​="OpName" t​ ype​="xs:string" ​minOccurs​="0" /> 
<​xs:element ​name​="DelMeth" t​ ype​="xs:string" m ​ inOccurs​="0" /> 
<​xs:element ​name​="rep" t​ ype​="xs:string" ​minOccurs​="0" /> 
<​xs:element ​name​="InvDays" t​ ype​="xs:string" ​minOccurs​="0" /> 
<​xs:element ​name​="InvDaysMonthEnd" t​ ype​="xs:string" m ​ inOccurs​="0" /> 
<​xs:element ​name​="SigImage" t​ ype​="xs:base64Binary" m ​ inOccurs​="0" /> 
<​xs:element ​name​="DeliverDateTime" t​ ype​="xs:dateTime" ​minOccurs​="0" /> 
</​xs:sequence​> 
</​xs:complexType​> 
</​xs:element​> 
<​xs:element n ​ ame​="AC1"> 
<​xs:complexType​> 
<​xs:sequence​> 
<​xs:element ​name​="SeqNo" t​ ype​="xs:short" m ​ inOccurs​="0" /> 
<​xs:element ​name​="Part" t​ ype​="xs:string" ​minOccurs​="0" /> 
<​xs:element ​name​="BopDes" t​ ype​="xs:string" ​minOccurs​="0" /> 
<​xs:element ​name​="VCode" t​ ype​="xs:short" m ​ inOccurs​="0" /> 
<​xs:element ​name​="VRate" t​ ype​="xs:decimal" m ​ inOccurs​="0" /> 
<​xs:element ​name​="PG" t​ ype​="xs:string" m
​ inOccurs​="0" /> 
<​xs:element ​name​="Comments" t​ ype​="xs:string" ​minOccurs​="0" /> 
<​xs:element ​name​="ExInfo" ​type​="xs:string" ​minOccurs​="0" /> 
<​xs:element ​name​="RDisc" t​ ype​="xs:decimal" m ​ inOccurs​="0" /> 
<​xs:element ​name​="RRP" t​ ype​="xs:decimal" m ​ inOccurs​="0" /> 
<​xs:element ​name​="Qty" ​type​="xs:decimal" m ​ inOccurs​="0" /> 
<​xs:element ​name​="cQty" t​ ype​="xs:decimal" m ​ inOccurs​="0" /> 
<​xs:element ​name​="Price" t​ ype​="xs:decimal" ​minOccurs​="0" /> 
<​xs:element ​name​="Vrate1" t​ ype​="xs:decimal" m ​ inOccurs​="0" /> 
<​xs:element ​name​="Total" t​ ype​="xs:decimal" m ​ inOccurs​="0" /> 
<​xs:element ​name​="Surch" t​ ype​="xs:boolean" ​minOccurs​="0" /> 
<​xs:element ​name​="Invoice" t​ ype​="xs:string" m ​ inOccurs​="0" /> 
<​xs:element ​name​="sCode" t​ ype​="xs:string" ​minOccurs​="0" /> 
<​xs:element ​name​="sUnit" t​ ype​="xs:decimal" m ​ inOccurs​="0" /> 
<​xs:element ​name​="sQty" t​ ype​="xs:decimal" m ​ inOccurs​="0" /> 
<​xs:element ​name​="scQty" t​ ype​="xs:decimal" m ​ inOccurs​="0" /> 
<​xs:element ​name​="Code1" t​ ype​="xs:string" ​minOccurs​="0" /> 
<​xs:element ​name​="locn" t​ ype​="xs:string" ​minOccurs​="0" /> 

 
 
MAM Software Ltd - Seller Services - 3rd Party Integration Guide   Page 20
 
 
<​xs:element ​name​="POrder" ​type​="xs:string" m
​ inOccurs​="0" /> 
<​xs:element ​name​="DateReq" t​ ype​="xs:dateTime" ​minOccurs​="0" /> 
</​xs:sequence​> 
</​xs:complexType​> 
</​xs:element​> 
  </​xs:choice​> 
  </​xs:complexType​> 
</​xs:element​> 
</​xs:schema​> 
<​diffgr:diffgram ​xmlns:msdata​="urn:schemas-microsoft-com:xml-msdata" 
xmlns:diffgr​="urn:schemas-microsoft-com:xml-diffgram-v1"> 
<​NewDataSet​> 
  <​AC ​diffgr:id​="AC1" m ​ sdata:rowOrder​="0"> 
  <​Document​>2 ​ B
​ 001109​</​Document​> 
  <​Column1​>B ​ ​</​Column1​> 
  <​deladd​>{​ 0293b16d-9c53-4429-a510-fa3ac0e6dae2}​</​deladd​> 
  <​Acct​>A ​ 001​</​Acct​> 
  <​Corder​>​000040​</​Corder​> 
  <​DateTime​>2 ​ 018​-03-21T17:27:50+00:00​</​DateTime​> 
  <​Inits​>O ​ W​</​Inits​> 
  <​Goods​>​460.6000​</​Goods​> 
  <​Vat​>9​ 2.1200​</​Vat​> 
  <​Msg​>C ​ ustomerDocumentId: 0 ​ 00040 
</​Msg​> 
  <​rep​>R​ 1​</​rep​> 
  </​AC​> 
  <​AC1 d​ iffgr:id​="AC11" ​msdata:rowOrder​="0"> 
  <​SeqNo​>1 ​ ​</​SeqNo​> 
  <​Part​>2 ​ 2460​</​Part​> 
  <​BopDes​>A ​ C Test Part C​</​BopDes​> 
  <​VCode​>​1< ​ /​VCode​> 
  <​VRate​>​20.0000​</​VRate​> 
  <​PG​>​1< ​ /​PG​> 
  <​Comments /​ > 
  <​ExInfo ​/> 
  <​RDisc​>​0.0000​</​RDisc​> 
  <​RRP​>1 ​ 01.2300​</​RRP​> 
  <​Qty​>5 ​ .0000​</​Qty​> 
  <​cQty​>0 ​ .0000​</​cQty​> 
  <​Price​>​92.1200​</​Price​> 
  <​Vrate1​>​20.0000​</​Vrate1​> 
  <​Total​>4 ​ 60.6000​</​Total​> 
  <​Surch​>f​ alse​</​Surch​> 
  <​Invoice ​/> 
  <​Code1 ​/> 
  <​locn ​/> 
  <​POrder ​/> 
  <​DateReq​>1 ​ 900​-01-01T00:00:00+00:00​</​DateReq​> 
  </​AC1​> 
</​NewDataSet​> 
</​diffgr:diffgram​> 
</​DataSet​> 
 
   

 
 
MAM Software Ltd - Seller Services - 3rd Party Integration Guide   Page 21
 
 
 
11. Searching for Individual Parts  
The best method for returning multiple parts prices and stock etc. is the ProcessMessage 
RequestForQuote. You can, however, use this call to search for individual parts including the use of 
wildcards. A common use of this function is when a site or platform has a “Quick Add Parts” function 
which allows the user to enter either a partial, full or the users own part number (note the MAM 
customers own part number must be stored in the MAM BMS Customer Cross-References table).  
 
 
11.1. PartSearchPrice 
11.1.1. Request (Use % for wildcards) 

<​psr​> 
<​User​>​OWUser​</​User​> 
<​Pass​>t​ PGees​</​Pass​> 
<​Part​>​bat1%​</​Part​> 
<​Acct​>A
​ 001​</​Acct​> 
<​Cat​></​Cat​> 
<​type​>K
​ eycode​</​type​> 
</​psr​> 
<​Acct​>A
​ 001​</​Acct​>
 
(NB, there are two Acct nodes, only one needs to be populated) 
 
 
11.1.2. Response (Microsoft dataset) 

​<d
​ s​> 
<​xs:schema i​ d​="NewDataSet" x
​ mlns​="" x
​ mlns:xs​="http://www.w3.org/2001/XMLSchema" 
xmlns:msdata​="urn:schemas-microsoft-com:xml-msdata"> 
<​xs:element n
​ ame​="NewDataSet" ​msdata:IsDataSet​="true" ​msdata:UseCurrentLocale​="true"> 
<​xs:complexType​> 
<​xs:choice m
​ inOccurs​="0" m
​ axOccurs​="unbounded"> 
  <​xs:element n
​ ame​="AC"> 
  <​xs:complexType​> 
  <​xs:sequence​> 
  <​xs:element n
​ ame​="keycode" t​ ype​="xs:string" ​minOccurs​="0" /> 
  <​xs:element n
​ ame​="desc" t​ ype​="xs:string" m
​ inOccurs​="0" /> 
  <​xs:element n
​ ame​="free" t​ ype​="xs:decimal" m
​ inOccurs​="0" /> 
  <​xs:element n
​ ame​="Price" ​type​="xs:string" ​minOccurs​="0" /> 
  <​xs:element n
​ ame​="RRP" t​ ype​="xs:string" ​minOccurs​="0" /> 
  <​xs:element n
​ ame​="Warrenty" t​ ype​="xs:string" m
​ inOccurs​="0" /> 
  <​xs:element n
​ ame​="TradePrice" t​ ype​="xs:string" ​minOccurs​="0" /> 
  <​xs:element n
​ ame​="Core" ​type​="xs:string" m
​ inOccurs​="0" /> 
  <​xs:element n
​ ame​="RestrictedPart" ​type​="xs:string" ​minOccurs​="0" /> 
  </​xs:sequence​> 
  </​xs:complexType​> 
  </​xs:element​> 
</​xs:choice​> 

 
 
MAM Software Ltd - Seller Services - 3rd Party Integration Guide   Page 22
 
 
</​xs:complexType​> 
</​xs:element​> 
</​xs:schema​> 
<​diffgr:diffgram x
​ mlns:msdata​="urn:schemas-microsoft-com:xml-msdata" 
xmlns:diffgr​="urn:schemas-microsoft-com:xml-diffgram-v1"> 
<​NewDataSet ​xmlns​=""> 
<​AC ​diffgr:id​="AC1" m
​ sdata:rowOrder​="0"> 
<​keycode​>B
​ AT1​</​keycode​> 
<​desc​>B
​ attery Leisure ​110​amp​</​desc​> 
<​free​>-​ 8​</​free​> 
<​Price​>1
​ 20​</​Price​> 
<​RRP​>0
​ ​</​RRP​> 
<​Warrenty /​ > 
<​TradePrice​>1
​ 00​</​TradePrice​> 
<​Core​>1
​ 2​</​Core​> 
<​RestrictedPart​>​False​</​RestrictedPart​> 
</​AC​> 
<​AC ​diffgr:id​="AC2" m
​ sdata:rowOrder​="1"> 
<​keycode​>B
​ AT10​</​keycode​> 
<​desc​>B
​ attery Leisure ​110​amp​</​desc​> 
<​free​>-​ 53​</​free​> 
<​Price​>9
​ 6​</​Price​> 
<​RRP​>8
​ 0​</​RRP​> 
<​Warrenty /​ > 
<​TradePrice​>1
​ 2.5​</​TradePrice​> 
<​Core​>1
​ 0​</​Core​> 
<​RestrictedPart​>​False​</​RestrictedPart​> 
</​AC​> 
<​AC ​diffgr:id​="AC3" m
​ sdata:rowOrder​="2"> 
<​keycode​>B
​ AT101​</​keycode​> 
<​desc​>N
​ SP PART​</​desc​> 
<​free​>-​ 16​</​free​> 
<​Price​>4
​ 4​</​Price​> 
<​RRP​>5
​ 7.01​</​RRP​> 
<​Warrenty /​ > 
<​TradePrice​>5
​ 7.01​</​TradePrice​> 
<​Core​>0
​ ​</​Core​> 
<​RestrictedPart​>​False​</​RestrictedPart​> 
</​AC​> 
<​AC ​diffgr:id​="AC4" m
​ sdata:rowOrder​="3"> 
<​keycode​>B
​ AT10ALT​</​keycode​> 
<​desc​>A
​ lt to Battery Leisure 1
​ 10​amp​</​desc​> 
<​free​>-​ 9​</​free​> 
<​Price​>6
​ 0​</​Price​> 
<​RRP​>0
​ ​</​RRP​> 
<​Warrenty /​ > 
<​TradePrice​>5
​ 0​</​TradePrice​> 
<​Core​>0
​ ​</​Core​> 
<​RestrictedPart​>​True​</​RestrictedPart​> 
</​AC​> 
<​AC ​diffgr:id​="AC5" m
​ sdata:rowOrder​="4"> 
<​keycode​>B
​ AT10ALT2​</​keycode​> 

 
 
MAM Software Ltd - Seller Services - 3rd Party Integration Guide   Page 23
 
 
<​desc​>B
​ attery Leisure ​110​amp ALTERNATIVE​</​desc​> 
<​free​>-​ 3​</​free​> 
<​Price​>9
​ 6​</​Price​> 
<​RRP​>8
​ 0​</​RRP​> 
<​Warrenty /​ > 
<​TradePrice​>1
​ 2.5​</​TradePrice​> 
<​Core​>1
​ 0​</​Core​> 
<​RestrictedPart​>​False​</​RestrictedPart​> 
</​AC​> 
</​NewDataSet​> 
</​diffgr:diffgram​> 
</​ds​>  
 

12. Customer Account Functions 


 
12.1. Statements and Customer Balance 
Statements can be built using the AccountListRequest or using the StmtRequest. StmtRequest requires 
document archiving on the MAM BMS system as it returns a PDF or JPG version of the original document.  
 
12.2. AccountListRequest 
12.2.1. Request 

<​lr​> 
<​User​>O ​ WUser​</​User​> 
<​Pass​>t​ PGees​</​Pass​> 
<​Acct​>A
​ 001​</​Acct​> 
<​TopX​>0 ​ <
​ /​TopX​> ​- not used 
<​ShowZero​>f​ alse​</​ShowZero​> 
</​lr​> 

12.2.2. Response 

<​Alr​> 
<​Ref​>​ADV06596​</​Ref​> 
<​ttype​>I​ NV​</​ttype​> 
<​Date​>2 ​ 9​/09/2014​</​Date​> 
<​total​>4
​ 7.71​</​total​> 
<​bal​>4
​ 7.71​</​bal​> 
<​PDate ​/> 
<​PRef ​/> 
</​Alr​> 
<​Alr​> 
<​Ref​>​ADV06595​</​Ref​> 
<​ttype​>I​ NV​</​ttype​> 
<​Date​>0 ​ 1​/09/2014​</​Date​> 
<​total​>4
​ 77.12​</​total​> 
<​bal​>4
​ 77.12​</​bal​> 
<​PDate ​/> 
<​PRef ​/> 
</​Alr​> 
 
 
MAM Software Ltd - Seller Services - 3rd Party Integration Guide   Page 24
 
 
12.3. StmtRequest 
Note: This call is not currently configured on the test server so will return no results.  
 
12.3.1. Request 

<​lr​> 
<​User​>O ​ WUser​</​User​> 
<​Pass​>t​ PGees​</​Pass​> 
<​Acct​>A
​ 001​</​Acct​> 
</​lr​> 
 
 
13. Customer Account Enquiry.  
The AcctDetails function will return full details of the account enquired on; most fields will return blank 
values as the MAM BMS users are not likely to be utilising all the available fields. A dataset is returned 
containing two tables. The first contains the details of the account; the second contains the addresses. The 
fields, for the most part, are self-explanatory. However, the vast majority of MAM BMS users customise the 
usage of various fields so you will need to check with the user which fields they use and what detail they 
contain. 
 
13.1. AcctDetails 
13.1.1. Request 

<​vr​> 
<​User​>O ​ WUser​</​User​> 
<​Pass​>t​ PGees​</​Pass​> 
<​Acct​>A
​ 001​</​Acct​> 
<​PG​></​PG​> 
<​DateFrom​></​DateFrom​> 
<​DateTo​></​DateTo​> 
</​vr​> 
 
13.1.2. Response 

<​ds​> 
<​xs:schema ​xmlns​="" ​xmlns:xs​="http://www.w3.org/2001/XMLSchema" ​xmlns:msdata​="urn:schemas-microsoft-com:xml-msdata" 
id​="NewDataSet"> 
<​xs:element n​ ame​="NewDataSet" m ​ sdata:IsDataSet​="true" ​msdata:UseCurrentLocale​="true"> 
  <​xs:complexType​> 
  <​xs:choice m
​ inOccurs​="0" ​maxOccurs​="unbounded"> 
  <​xs:element n ​ ame​="AC"> 
  <​xs:complexType​> 
  <​xs:sequence​> 
  <​xs:element n ​ ame​="KeyCode" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="SPTerms" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="Name" ​type​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="Addra" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="Addrb" ​type​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="Addrc" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="Addrd" ​type​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="Addre" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="PCode" t​ ype​="xs:string" ​minOccurs​="0"/> 
 
 
MAM Software Ltd - Seller Services - 3rd Party Integration Guide   Page 25
 
 
  <​xs:element n ​ ame​="Tel" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="Fax" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="Info" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="Dob" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="Regno" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="Miles" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="Fleet" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="CDisc" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="Sp5" ​type​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="Sp6" ​type​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="Hist" ​type​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="Plist" ​type​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="MotDue" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="CTitle" ​type​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="X1" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="X2" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="X3" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="X4" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="X5" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="X6" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="X7" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="X8" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="X9" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="X10" ​type​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="X11" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="X12" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="X13" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="Make" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="Model" ​type​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="Eng" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element ​name​="Chassis" ​type​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="Year" ​type​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="Climit" t​ ype​="xs:decimal" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="X20" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="Prices" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="Branch" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="Word1" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="Word2" ​type​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="Word3" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="Word4" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="Word5" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="Maxi" ​type​="xs:decimal" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="Rep" ​type​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="Area" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
<​xs:element ​name​="Lob" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="Cord" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="Cinv" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="Smsg" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="Ptype" ​type​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="Ltype" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="SisAcc" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="SCode" ​type​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="Scacct" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="StopStatus" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="Terms" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="Freq" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="Stmt" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="VCode" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="SrtCde" t​ ype​="xs:string" ​minOccurs​="0"/> 

 
 
MAM Software Ltd - Seller Services - 3rd Party Integration Guide   Page 26
 
 
  <​xs:element n ​ ame​="Stel" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="SCont" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="ACont" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="IFreq" ​type​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="Bords" ​type​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="Curr" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="DPaid" ​type​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="PWord" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="SDisc" ​type​="xs:decimal" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="SetCode" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="PStart" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="PEnd" ​type​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="Pincl" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="Pexcl" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="Additnl" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="Carriage" ​type​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="AutoRet" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="OrderMeth" ​type​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="MinPord" ​type​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="RepCode" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="Bank" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="Factor" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="SuppAcc" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="DialTimes" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="BranchTel" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="PassWord" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element ​name​="Remfile" ​type​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="BaudRate" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="ModemStrn" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="BranchSeq" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="Prefix" ​type​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="Ncode" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="Balances" ​type​="xs:decimal" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="XString1" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="XString2" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="XString3" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element ​name​="XString4" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="XString5" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="LocalBranch" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="Locked" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="Diesel" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="Catalyst" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="MotDueSort" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="ServiceDueSort" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="RadioCode" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="Color" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
<​xs:element n ​ ame​="VehicleNo" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="Bosch1" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="Bosch2" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="Bosch3" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="AutoInvFreq" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="AutoInvLast" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="AutoInvStart" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="AutoInvEnd" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="AutoValue" t​ ype​="xs:decimal" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="AutoMessage" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="Title" t​ ype​="xs:string" m
​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="ForeName" ​type​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="SurName" t​ ype​="xs:string" m ​ inOccurs​="0"/> 

 
 
MAM Software Ltd - Seller Services - 3rd Party Integration Guide   Page 27
 
 
  <​xs:element n​ ame​="LastVisit" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="NextVisit" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="CallDays" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="CallWeeks" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="DelRoute" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="DelDrop" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="BCS" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="GLN" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="OWCustID" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="XString6" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="XString7" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="XString8" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="XString9" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="XString10" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="XString11" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="XString12" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="XString13" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="XString14" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="XString15" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="CarriageCharged" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element ​name​="CarriageRegion" ​type​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="CarriageDefault" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="CarriageThreshold" t​ ype​="xs:int" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="FwdBillingCode" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="SandMHWDisc" t​ ype​="xs:decimal" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="SandMSWDisc" t​ ype​="xs:decimal" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="RestrictSalesAt" t​ ype​="xs:int" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="StmtSentBy" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="OldUnitCreditStyle" t​ ype​="xs:short" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="StatusType" ​type​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="ExclAssoc" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="PreventStop" t​ ype​="xs:boolean" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="AWEmail" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="AWMailShot" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="AWPartsDisc" t​ ype​="xs:decimal" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="AWLabourDisc" t​ ype​="xs:decimal" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="AWCustType" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="AWLabourRate" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="ClassType" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element ​name​="AWTelMobile" ​type​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="Rank" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="StmtLink" t​ ype​="xs:unsignedByte" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="IType" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="ONomand" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="CrRefMand" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="PrimaryBranch" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="SecondaryBranch" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="LocalBranches" ​type​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="DeadAccount" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="MajorAcct" ​type​="xs:boolean" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="MajorAcctInd" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="MajorAcctMgr" t​ ype​="xs:string" ​minOccurs​="0"/> 
<​xs:element ​name​="Owner" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="Depot" ​type​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="RetainSalesBOsFor" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="RetainEDIOrdersFor" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="AutoCreditEDIRetsAt" ​type​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="AmendEDIOrders" ​type​="xs:boolean" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="BarManualCredits" t​ ype​="xs:boolean" ​minOccurs​="0"/> 

 
 
MAM Software Ltd - Seller Services - 3rd Party Integration Guide   Page 28
 
 
  <​xs:element n​ ame​="FordAcctNumber" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="FordOrderCode" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="Email" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="CountryCode" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="NoManualSales" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="LPValue" t​ ype​="xs:decimal" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="IgnoreWSL" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="BarMixedVRCredits" t​ ype​="xs:boolean" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="PrevStopStatus" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="EDIQuitNoPassword" t​ ype​="xs:boolean" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="LoyLoyalty" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="LoyPoints" t​ ype​="xs:int" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="LoyUnRePoints" t​ ype​="xs:int" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="HighBal" ​type​="xs:decimal" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="HighBalDate" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="SLA" t​ ype​="xs:short" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="POD" t​ ype​="xs:boolean" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="CCA" ​type​="xs:unsignedByte" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="SigReq" t​ ype​="xs:boolean" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="ContMeth" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="PrefPhone" ​type​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="SageFlag" t​ ype​="xs:boolean" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="LoyaltyCardPoints" t​ ype​="xs:decimal" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="AllowSMS" t​ ype​="xs:boolean" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="MobileNumber" ​type​="xs:string" ​minOccurs​="0"/> 
<​xs:element ​name​="VatInc" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="VatRate" ​type​="xs:string" ​minOccurs​="0"/> 
  </​xs:sequence​> 
  </​xs:complexType​> 
  </​xs:element​> 
  <​xs:element n ​ ame​="AC1"> 
  <​xs:complexType​> 
  <​xs:sequence​> 
  <​xs:element n ​ ame​="KeyCode" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="AddressType" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="Name" ​type​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="Addra" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="Addrb" ​type​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="Addrc" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="Addrd" ​type​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="Addre" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="PCode" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="Tel" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="Fax" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="Mobile" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="EMail" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="Contact" ​type​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="Title" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="Forename" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="Surname" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="MailIndicator" t​ ype​="xs:int" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="Comments1" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="Comments2" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="Anal1" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="Anal2" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="Anal3" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="Anal4" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="Anal5" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="Anal6" t​ ype​="xs:string" m ​ inOccurs​="0"/> 

 
 
MAM Software Ltd - Seller Services - 3rd Party Integration Guide   Page 29
 
 
  <​xs:element n
​ ame​="Anal7" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n​ ame​="Anal8" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="Anal9" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="Anal10" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="Branch" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="SeqNo" t​ ype​="xs:int" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="Word1" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="Word2" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="Word3" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="Word4" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="Word5" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="GUID" m
​ sdata:DataType​="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, 
PublicKeyToken=b77a5c561934e089" t​ ype​="xs:string" m ​ inOccurs​="0"/> 
  <​xs:element n ​ ame​="StateCode" t​ ype​="xs:string" ​minOccurs​="0"/> 
  <​xs:element n ​ ame​="CountryCode" t​ ype​="xs:string" ​minOccurs​="0"/> 
  </​xs:sequence​> 
  </​xs:complexType​> 
  </​xs:element​> 
  </​xs:choice​> 
  </​xs:complexType​> 
</​xs:element​> 
</​xs:schema​> 
<​diffgr:diffgram ​xmlns:msdata​="urn:schemas-microsoft-com:xml-msdata" 
xmlns:diffgr​="urn:schemas-microsoft-com:xml-diffgram-v1"> 
<​NewDataSet x ​ mlns​=""> 
  <​AC ​diffgr:id​="AC1" m ​ sdata:rowOrder​="0"> 
  <​KeyCode​>A ​ 001​</​KeyCode​> 
  <​SPTerms​>​P< ​ /​SPTerms​> 
  <​Name​>A ​ 001 Vehicle Spares Ltd​</​Name​> 
  <​Addra​>3 ​ 000 ​W Alameda Ave​</​Addra​> 
  <​Addrb​>​Burbank​</​Addrb​> 
  <​Addrc​>C ​ A​</​Addrc​> 
  <​Addrd​/> 
  <​Addre​/> 
  <​PCode​>9 ​ 1523​</​PCode​> 
  <​Tel​>+​ 1-818-840-4444​</​Tel​> 
  <​Fax​/> 
  <​Info​>P ​ hil's Mobile No: ​07888 777777​</​Info​> 
  <​Dob​/> 
  <​Regno​/> 
  <​Miles​/> 
  <​Fleet​/> 
  <​CDisc​>2 ​ < ​ /​CDisc​> 
  <​Sp5​/> 
  <​Sp6​>​19670101​~20130821​</​Sp6​> 
  <​Hist​/> 
  <​Plist​/> 
  <​MotDue​/> 
<​CTitle​>​01845 566350​</​CTitle​> 
  <​X1​/> 
  <​X2​/> 
  <​X3​/> 
  <​X4​/> 
  <​X5​/> 
  <​X6​/> 
  <​X7​/> 
  <​X8​/> 
  <​X9​/> 
  <​X10​/> 
  <​X11​/> 
 
 
MAM Software Ltd - Seller Services - 3rd Party Integration Guide   Page 30
 
 
  <​X12​/> 
  <​X13​/> 
  <​Make​/> 
  <​Model​/> 
<​Eng​/> 
  <​Chassis​/> 
  <​Year​/> 
  <​Climit​>1 ​ 000.0000​</​Climit​> 
  <​X20​/> 
  <​Prices​/> 
  <​Branch​/> 
  <​Word1​>​ACCOUNT​</​Word1​> 
  <​Word2​>​CUSTOMER​</​Word2​> 
  <​Word3​/> 
  <​Word4​/> 
  <​Word5​/> 
  <​Maxi​>0 ​ .0000​</​Maxi​> 
  <​Rep​>R ​ 1​</​Rep​> 
  <​Area​>​BR2​</​Area​> 
  <​Lob​>L ​ B1​</​Lob​> 
  <​Cord​/> 
  <​Cinv​/> 
  <​Smsg​/> 
  <​Ptype​>I​ NVOICE​</​Ptype​> 
  <​Ltype​>A ​ CCOUNT​</​Ltype​> 
  <​SisAcc​/> 
  <​SCode​/> 
  <​Scacct​/> 
<​StopStatus​/> 
  <​Terms​/> 
  <​Freq​>M ​ ​</​Freq​> 
  <​Stmt​/> 
  <​VCode​>​1< ​ /​VCode​> 
  <​SrtCde​/> 
  <​Stel​>+
​ 1-818-840-4444​</​Stel​> 
  <​SCont​>P ​ hil ​</​SCont​> 
  <​ACont​>A ​ lison​</​ACont​> 
  <​IFreq​/> 
  <​Bords​/> 
  <​Curr​/> 
  <​DPaid​>​20060531​</​DPaid​> 
  <​PWord​/> 
  <​SDisc​>0 ​ .0000​</​SDisc​> 
  <​SetCode​/> 
  <​PStart​/> 
  <​PEnd​/> 
  <​Pincl​/> 
  <​Pexcl​/> 
  <​Additnl​>* ​ NO*​</​Additnl​> 
  <​Carriage​/> 
  <​AutoRet​/> 
  <​OrderMeth​/> 
  <​MinPord​/> 
  <​RepCode​/> 
  <​Bank​/> 
  <​Factor​/> 
  <​SuppAcc​/> 
  <​DialTimes​/> 
  <​BranchTel​/> 

 
 
MAM Software Ltd - Seller Services - 3rd Party Integration Guide   Page 31
 
 
  <​PassWord​/> 
  <​Remfile​/> 
  <​BaudRate​/> 
  <​ModemStrn​/> 
  <​BranchSeq​/> 
  <​Prefix​/> 
  <​Ncode​/> 
  <​Balances​>​1252.8700​</​Balances​> 
  <​XString1​/> 
  <​XString2​/> 
  <​XString3​/> 
  <​XString4​/> 
  <​XString5​/> 
  <​LocalBranch​/> 
  <​Locked​/> 
  <​Diesel​/> 
  <​Catalyst​>2 ​ <​ /​Catalyst​> 
<​MotDueSort​/> 
  <​ServiceDueSort​/> 
  <​RadioCode​/> 
  <​Color​/> 
  <​VehicleNo​/> 
  <​Bosch1​>0 ​ ​</​Bosch1​> 
  <​Bosch2​/> 
  <​Bosch3​/> 
  <​AutoInvFreq​/> 
  <​AutoInvLast​/> 
  <​AutoInvStart​/> 
  <​AutoInvEnd​/> 
  <​AutoValue​>0 ​ .0000​</​AutoValue​> 
  <​AutoMessage​/> 
  <​Title​>M
​ r​</​Title​> 
  <​ForeName​>A ​ tkinson​</​ForeName​> 
  <​SurName​>P ​ hilip​</​SurName​> 
  <​LastVisit​>2 ​ 0130801​</​LastVisit​> 
  <​NextVisit​>​20130821​</​NextVisit​> 
  <​CallDays​/> 
  <​CallWeeks​/> 
  <​DelRoute​/> 
  <​DelDrop​/> 
  <​BCS​/> 
  <​GLN​/> 
  <​OWCustID​/> 
  <​XString6​/> 
  <​XString7​/> 
  <​XString8​/> 
  <​XString9​/> 
  <​XString10​/> 
  <​XString11​>B ​ R1~BR1​</​XString11​> 
  <​XString12​/> 
  <​XString13​/> 
  <​XString14​/> 
  <​XString15​/> 
  <​CarriageCharged​/> 
  <​CarriageRegion​/> 
  <​CarriageDefault​/> 
  <​CarriageThreshold​>0 ​ <
​ /​CarriageThreshold​> 
  <​FwdBillingCode​/> 
  <​SandMHWDisc​>0 ​ .0000​</​SandMHWDisc​> 

 
 
MAM Software Ltd - Seller Services - 3rd Party Integration Guide   Page 32
 
 
  <​SandMSWDisc​>0 ​ .0000​</​SandMSWDisc​> 
  <​RestrictSalesAt​>0 ​ <​ /​RestrictSalesAt​> 
  <​StmtSentBy​/> 
  <​OldUnitCreditStyle​>0 ​ ​</​OldUnitCreditStyle​> 
  <​StatusType​>A ​ - Ok​</​StatusType​> 
  <​ExclAssoc​>​S​</​ExclAssoc​> 
  <​PreventStop​>f​ alse​</​PreventStop​> 
  <​AWEmail​/> 
  <​AWMailShot​/> 
  <​AWPartsDisc​>0 ​ .0000​</​AWPartsDisc​> 
  <​AWLabourDisc​>0 ​ .0000​</​AWLabourDisc​> 
  <​AWCustType​/> 
  <​AWLabourRate​/> 
  <​ClassType​/> 
  <​AWTelMobile​/> 
  <​Rank​>G ​ old​</​Rank​> 
  <​StmtLink​>​0< ​ /​StmtLink​> 
  <​IType​/> 
  <​ONomand​>Y ​ <​ /​ONomand​> 
  <​CrRefMand​/> 
  <​PrimaryBranch​/> 
  <​SecondaryBranch​/> 
  <​LocalBranches​/> 
  <​DeadAccount​/> 
  <​MajorAcct​>f​ alse​</​MajorAcct​> 
  <​MajorAcctInd​/> 
  <​MajorAcctMgr​/> 
  <​Owner​/> 
  <​Depot​/> 
  <​RetainSalesBOsFor​/> 
  <​RetainEDIOrdersFor​/> 
  <​AutoCreditEDIRetsAt​/> 
  <​AmendEDIOrders​>f​ alse​</​AmendEDIOrders​> 
  <​BarManualCredits​>f​ alse​</​BarManualCredits​> 
  <​FordAcctNumber​/> 
  <​FordOrderCode​/> 
  <​Email​>p ​ hil@A001.com​</​Email​> 
  <​CountryCode​/> 
  <​NoManualSales​/> 
  <​LPValue​>0 ​ .0000​</​LPValue​> 
  <​IgnoreWSL​/> 
  <​BarMixedVRCredits​>f​ alse​</​BarMixedVRCredits​> 
  <​PrevStopStatus​/> 
  <​EDIQuitNoPassword​>​false​</​EDIQuitNoPassword​> 
  <​LoyLoyalty​/> 
  <​LoyPoints​>0 ​ ​</​LoyPoints​> 
  <​LoyUnRePoints​>0 ​ <​ /​LoyUnRePoints​> 
  <​HighBal​>0 ​ .0000​</​HighBal​> 
  <​HighBalDate​/> 
  <​SLA​>0
​ ​</​SLA​> 
  <​POD​>f​ alse​</​POD​> 
  <​CCA​>0​ ​</​CCA​> 
  <​SigReq​>f​ alse​</​SigReq​> 
  <​ContMeth​/> 
  <​PrefPhone​/> 
  <​SageFlag​>​false​</​SageFlag​> 
  <​LoyaltyCardPoints​>0 ​ .0000​</​LoyaltyCardPoints​> 
  <​AllowSMS​>f​ alse​</​AllowSMS​> 
  <​MobileNumber​>​07674 325900​</​MobileNumber​> 

 
 
MAM Software Ltd - Seller Services - 3rd Party Integration Guide   Page 33
 
 
  <​VatInc​>Y ​ ​</​VatInc​> 
  <​VatRate​>​20.00​</​VatRate​> 
  </​AC​> 
  <​AC1 d ​ iffgr:id​="AC11" ​msdata:rowOrder​="0"> 
  <​KeyCode​>A ​ 001​</​KeyCode​> 
  <​AddressType​>D ​ EL​</​AddressType​> 
  <​Name​>A ​ TKINSONS GARAGE SERVICES​</​Name​> 
  <​Addra​>1 ​ ​Station Road​</​Addra​> 
  <​Addrb​>​Deepcar​</​Addrb​> 
  <​Addrc​>S ​ heffield​</​Addrc​> 
  <​Addrd​>​South Yorks​</​Addrd​> 
  <​Addre​>U ​ K​</​Addre​> 
  <​PCode​>S ​ 62 ​ B​ C​</​PCode​> 
  <​Tel​>0
​ 1420 777777​</​Tel​> 
<​Fax​>0 ​ 1420 777777​</​Fax​> 
  <​Mobile​/> 
  <​EMail​/> 
  <​Contact​>​Mike Shields​</​Contact​> 
  <​Title​/> 
  <​Forename​/> 
  <​Surname​/> 
  <​MailIndicator​>1 ​ <
​ /​MailIndicator​> 
  <​Comments1​/> 
  <​Comments2​/> 
  <​Anal1​/> 
  <​Anal2​/> 
  <​Anal3​/> 
  <​Anal4​/> 
  <​Anal5​/> 
  <​Anal6​/> 
  <​Anal7​/> 
  <​Anal8​/> 
  <​Anal9​/> 
  <​Anal10​/> 
  <​Branch​>H ​ O​</​Branch​> 
  <​SeqNo​>1 ​ ​</​SeqNo​> 
  <​Word1​/> 
  <​Word2​/> 
  <​Word3​/> 
  <​Word4​/> 
  <​Word5​/> 
  <​GUID​>4 ​ 9163​c04-f234-4549-ac37-cb362f5e1cf4​</​GUID​> 
  </​AC1​> 
  <​AC1 d ​ iffgr:id​="AC12" ​msdata:rowOrder​="1"> 
  <​KeyCode​>A ​ 001​</​KeyCode​> 
  <​AddressType​>D ​ EL​</​AddressType​> 
  <​Name​>A ​ TKINSONS GARAGE SERVICES​</​Name​> 
  <​Addra​>1 ​ ​Station Road​</​Addra​> 
  <​Addrb​>​Deepcar​</​Addrb​> 
  <​Addrc​>S ​ heffield​</​Addrc​> 
  <​Addrd​>​South Yorks​</​Addrd​> 
  <​Addre​>U ​ K​</​Addre​> 
  <​PCode​>S ​ 22 ​ B​ C​</​PCode​> 
  <​Tel​>0​ 1765 666666​</​Tel​> 
  <​Fax​>0 ​ 1765 666666​</​Fax​> 
  <​Mobile​/> 
  <​EMail​/> 
  <​Contact​>​ALAN JOHNSTONE​</​Contact​> 
  <​Title​/> 

 
 
MAM Software Ltd - Seller Services - 3rd Party Integration Guide   Page 34
 
 
  <​Forename​/> 
  <​Surname​/> 
  <​MailIndicator​>1 ​ <
​ /​MailIndicator​> 
  <​Comments1​/> 
  <​Comments2​/> 
  <​Anal1​/> 
<​Anal2​/> 
  <​Anal3​/> 
  <​Anal4​/> 
  <​Anal5​/> 
  <​Anal6​/> 
  <​Anal7​/> 
  <​Anal8​/> 
  <​Anal9​/> 
  <​Anal10​/> 
  <​Branch​>H ​ O​</​Branch​> 
  <​SeqNo​>2 ​ ​</​SeqNo​> 
  <​Word1​/> 
  <​Word2​/> 
  <​Word3​/> 
  <​Word4​/> 
  <​Word5​/> 
  <​GUID​>0 ​ 91f285d​-76d8-409a-9c7f-c453acd32fa6​</​GUID​> 
  </​AC1​> 
</​NewDataSet​> 
</​diffgr:diffgram​> 
</​ds​> 
 

14. Requesting Copies of Documents. 


You can request documents in one of two ways. 
 
14.1. InvoiceRequest 
This method returns the invoice information in the form of an XML document that can be interpreted by 
your web application to display the same way as the MAM BMS printed copies and is the preferred 
method for most users. The Prefix is the Document Type. I = Invoice, C = Credit Note. 
 
14.1.1. Request 

<​ir​> 
<​User​>​OWUser​</​User​> 
<​Pass​>t​ PGees​</​Pass​> 
<​Prefix​>I​ <
​ /​Prefix​> 
<​DocNo​>0
​ 02645​</​DocNo​> 
</​ir​> 
 
14.1.2. Response 

<​ds​> 
<​xs:schema ​id​="NewDataSet" ​xmlns​="" ​xmlns:xs​="http://www.w3.org/2001/XMLSchema" 
xmlns:msdata​="urn:schemas-microsoft-com:xml-msdata"> 
<​xs:element n
​ ame​="NewDataSet" ​msdata:IsDataSet​="true" ​msdata:UseCurrentLocale​="true"> 
<​xs:complexType​> 
 
 
MAM Software Ltd - Seller Services - 3rd Party Integration Guide   Page 35
 
 
<​xs:choice m
​ inOccurs​="0" ​maxOccurs​="unbounded"> 
<​xs:element n
​ ame​="AC"> 
  <​xs:complexType​> 
  <​xs:sequence​> 
  <​xs:element n
​ ame​="Document" t​ ype​="xs:string" m
​ inOccurs​="0" /> 
  <​xs:element n
​ ame​="Prefix" ​type​="xs:string" ​minOccurs​="0" /> 
  <​xs:element n
​ ame​="deladd" t​ ype​="xs:string" ​minOccurs​="0" /> 
  <​xs:element n
​ ame​="name" t​ ype​="xs:string" m
​ inOccurs​="0" /> 
  <​xs:element n
​ ame​="addra" t​ ype​="xs:string" ​minOccurs​="0" /> 
  <​xs:element n
​ ame​="addrb" ​type​="xs:string" ​minOccurs​="0" /> 
  <​xs:element n
​ ame​="addrc" t​ ype​="xs:string" ​minOccurs​="0" /> 
  <​xs:element n
​ ame​="addrd" ​type​="xs:string" ​minOccurs​="0" /> 
  <​xs:element n
​ ame​="addre" t​ ype​="xs:string" m
​ inOccurs​="0" /> 
  <​xs:element n
​ ame​="postcode" t​ ype​="xs:string" ​minOccurs​="0" /> 
  <​xs:element n
​ ame​="Acct" ​type​="xs:string" m
​ inOccurs​="0" /> 
  <​xs:element n
​ ame​="Corder" ​type​="xs:string" m
​ inOccurs​="0" /> 
  <​xs:element n
​ ame​="DateTime" t​ ype​="xs:dateTime" m
​ inOccurs​="0" /> 
<​xs:element ​name​="Inits" ​type​="xs:string" m
​ inOccurs​="0" /> 
  <​xs:element n
​ ame​="Goods" t​ ype​="xs:decimal" m
​ inOccurs​="0" /> 
  <​xs:element n
​ ame​="Vat" t​ ype​="xs:decimal" m
​ inOccurs​="0" /> 
  <​xs:element n
​ ame​="Msg" t​ ype​="xs:string" ​minOccurs​="0" /> 
  <​xs:element n
​ ame​="OpName" t​ ype​="xs:string" ​minOccurs​="0" /> 
  <​xs:element n
​ ame​="DelMeth" t​ ype​="xs:string" m
​ inOccurs​="0" /> 
  <​xs:element n
​ ame​="rep" t​ ype​="xs:string" ​minOccurs​="0" /> 
  <​xs:element n
​ ame​="InvDays" ​type​="xs:string" ​minOccurs​="0" /> 
  <​xs:element n
​ ame​="InvDaysMonthEnd" t​ ype​="xs:string" m
​ inOccurs​="0" /> 
  <​xs:element n
​ ame​="SigImage" t​ ype​="xs:base64Binary" m
​ inOccurs​="0" /> 
<​xs:element ​name​="DeliverDateTime" t​ ype​="xs:dateTime" ​minOccurs​="0" /> 
  <​xs:element n
​ ame​="SalesType" t​ ype​="xs:string" ​minOccurs​="0" /> 
  </​xs:sequence​> 
  </​xs:complexType​> 
</​xs:element​> 
<​xs:element n
​ ame​="AC1"> 
  <​xs:complexType​> 
  <​xs:sequence​> 
  <​xs:element n
​ ame​="SeqNo" t​ ype​="xs:short" m
​ inOccurs​="0" /> 
  <​xs:element n
​ ame​="Part" t​ ype​="xs:string" ​minOccurs​="0" /> 
  <​xs:element n
​ ame​="BopDes" t​ ype​="xs:string" ​minOccurs​="0" /> 
  <​xs:element n
​ ame​="VCode" t​ ype​="xs:short" m
​ inOccurs​="0" /> 
  <​xs:element n
​ ame​="VRate" t​ ype​="xs:decimal" m
​ inOccurs​="0" /> 
  <​xs:element n
​ ame​="PG" t​ ype​="xs:string" m
​ inOccurs​="0" /> 
  <​xs:element n
​ ame​="BinSeqNo" ​type​="xs:int" ​minOccurs​="0" /> 
  <​xs:element n
​ ame​="DateTime" t​ ype​="xs:dateTime" m
​ inOccurs​="0" /> 
  <​xs:element n
​ ame​="Comments" t​ ype​="xs:string" ​minOccurs​="0" /> 
  <​xs:element n
​ ame​="ExInfo" ​type​="xs:string" ​minOccurs​="0" /> 
  <​xs:element n
​ ame​="RDisc" t​ ype​="xs:decimal" m
​ inOccurs​="0" /> 
  <​xs:element n
​ ame​="RRP" t​ ype​="xs:decimal" m
​ inOccurs​="0" /> 
  <​xs:element n
​ ame​="Qty" ​type​="xs:decimal" m
​ inOccurs​="0" /> 
  <​xs:element n
​ ame​="cQty" t​ ype​="xs:decimal" m
​ inOccurs​="0" /> 
  <​xs:element n
​ ame​="Price" ​type​="xs:decimal" ​minOccurs​="0" /> 
  <​xs:element n
​ ame​="Vrate1" t​ ype​="xs:decimal" m
​ inOccurs​="0" /> 
  <​xs:element n
​ ame​="Total" t​ ype​="xs:decimal" m
​ inOccurs​="0" /> 

 
 
MAM Software Ltd - Seller Services - 3rd Party Integration Guide   Page 36
 
 
  <​xs:element n
​ ame​="Surch" t​ ype​="xs:boolean" ​minOccurs​="0" /> 
  <​xs:element n
​ ame​="Invoice" t​ ype​="xs:string" m
​ inOccurs​="0" /> 
  <​xs:element n
​ ame​="Credit" t​ ype​="xs:string" ​minOccurs​="0" /> 
  <​xs:element n
​ ame​="sCode" t​ ype​="xs:string" ​minOccurs​="0" /> 
  <​xs:element n
​ ame​="sUnit" t​ ype​="xs:decimal" m
​ inOccurs​="0" /> 
  <​xs:element n
​ ame​="sQty" t​ ype​="xs:decimal" m
​ inOccurs​="0" /> 
  <​xs:element n
​ ame​="scQty" t​ ype​="xs:decimal" m
​ inOccurs​="0" /> 
  <​xs:element n
​ ame​="Code1" t​ ype​="xs:string" ​minOccurs​="0" /> 
  <​xs:element n
​ ame​="locn" t​ ype​="xs:string" ​minOccurs​="0" /> 
<​xs:element ​name​="SurStatus" ​type​="xs:string" m
​ inOccurs​="0" /> 
  <​xs:element n
​ ame​="Weight" t​ ype​="xs:decimal" m
​ inOccurs​="0" /> 
  <​xs:element n
​ ame​="HC" t​ ype​="xs:decimal" m
​ inOccurs​="0" /> 
  <​xs:element n
​ ame​="VOC" t​ ype​="xs:decimal" m
​ inOccurs​="0" /> 
  <​xs:element n
​ ame​="CustPartNo" t​ ype​="xs:string" m
​ inOccurs​="0" /> 
  </​xs:sequence​> 
  </​xs:complexType​> 
</​xs:element​> 
</​xs:choice​> 
</​xs:complexType​> 
</​xs:element​> 
</​xs:schema​> 
<​diffgr:diffgram ​xmlns:msdata​="urn:schemas-microsoft-com:xml-msdata" 
xmlns:diffgr​="urn:schemas-microsoft-com:xml-diffgram-v1"> 
<​NewDataSet ​xmlns​=""> 
<​AC ​diffgr:id​="AC1" ​msdata:rowOrder​="0"> 
<​Document​>0
​ 02645​</​Document​> 
<​Prefix​>​I<
​ /​Prefix​> 
<​deladd ​/> 
<​name​>​ATKINSONS GARAGE SERVICES​</​name​> 
<​addra​>​1 S
​ tation Road​</​addra​> 
<​addrb​>D
​ eepcar​</​addrb​> 
<​addrc​>S
​ heffield​</​addrc​> 
<​addrd​> ​South Yorks​</​addrd​> 
<​addre​>U
​ K​</​addre​> 
<​postcode​>S
​ 6 ​2B
​ C​</​postcode​> 
<​Acct​>​A001​</​Acct​> 
<​Corder​>P
​ 001043​</​Corder​> 
<​DateTime​>2
​ 018​-05-14T10:29:49+01:00​</​DateTime​> 
<​Inits​>​OW​</​Inits​> 
<​Goods​>2
​ 0.0000​</​Goods​> 
<​Vat​>3
​ .5000​</​Vat​> 
<​Msg​>​CustomerDocumentId: P001043​</​Msg​> 
<​rep​>​R1​</​rep​> 
<​SalesType ​/> 
</​AC​> 
<​AC1 d
​ iffgr:id​="AC11" m
​ sdata:rowOrder​="0"> 
<​SeqNo​>1
​ <
​ /​SeqNo​> 
<​Part​>P
​ ART1​</​Part​> 
<​BopDes​>B
​ attery Leisure ​110​amp​</​BopDes​> 
<​VCode​>1
​ <
​ /​VCode​> 
<​VRate​>1
​ 7.5000​</​VRate​> 
<​PG​>B
​ AT​</​PG​> 

 
 
MAM Software Ltd - Seller Services - 3rd Party Integration Guide   Page 37
 
 
<​BinSeqNo​>5
​ 0000146​</​BinSeqNo​> 
<​DateTime​>2
​ 018​-05-14T10:29:49+01:00​</​DateTime​> 
<​Comments /​ > 
<​ExInfo ​/> 
<​RDisc​>0
​ .0000​</​RDisc​> 
<​RRP​>8
​ 0.0000​</​RRP​> 
<​Qty​>1
​ .0000​</​Qty​> 
<​cQty​>​0.0000​</​cQty​> 
<​Price​>2
​ 0.0000​</​Price​> 
<​Vrate1​>1
​ 7.5000​</​Vrate1​> 
<​Total​>​20.0000​</​Total​> 
<​Surch​>t​ rue​</​Surch​> 
<​Invoice ​/> 
<​Credit ​/> 
<​sCode​>P
​ ART1​</​sCode​> 
<​sUnit​>1
​ 0.0000​</​sUnit​> 
<​sQty​>1
​ .0000​</​sQty​> 
<​scQty​>0
​ .0000​</​scQty​> 
<​Code1​>1
​ ​</​Code1​> 
<​locn /​ > 
<​SurStatus​>Y
​ ​</​SurStatus​> 
<​Weight​>0
​ .0000​</​Weight​> 
<​HC​>​0.0000​</​HC​> 
<​VOC​>​0.0000​</​VOC​> 
</​AC1​> 
</​NewDataSet​> 
</​diffgr:diffgram​> 
</​ds​> 
 
 
14.2. DocumentRequest. 
This method returns a PDF of the document you request. It requires Document Archiving to be set up on 
the MAM BMS System. Using this call requires an additional parameter setting and plenty of hard drive 
space. Using this method may also incur an extra cost to the MAM user due to the requirement for to 
store the PDFs.  
 
Please contact MAM Support Services if there is a requirement for this call to be utilised 
 
14.2.1. Request 

<​ir​> 
<​User​>​OWUser​</​User​> 
<​Pass​>t​ PGees​</​Pass​> 
<​Prefix​>I​ <
​ /​Prefix​> 
<​DocNo​>0
​ 02645​</​DocNo​> 
</​ir​> 
 
 

 
 
MAM Software Ltd - Seller Services - 3rd Party Integration Guide   Page 38

You might also like