IMPORTANT NOTICE:
Whilst every effort has been
made to ensure the accuracy of this document, it is recommended that users of
the web services utilise the service description available from the web service
installation location (e.g.
http://localhost/eeewebservice/eeewebserviceauth.asmx?WSDL) as this will always
contain the deployed parameter names and data types.
Contents
Customer
Registration_Merge (EEEWebserviceauth.asmx only)
CustomerChargeStatus_Get
(EEEWebserviceauth.asmx only).
Customer
Confirmation With Details
CustomerDetailsExtendedWithParameters
CustomerConfirmationWithDetailsExtended
CustomerSegmentMembership_Lookup
Customer
Promotion Coupon Methods
CustomerCoupon_Get
(EEEWebserviceauth.asmx only).
CustomerCoupon_AcknowledgeGet
(EEEWebserviceauth.asmx only).
CustomerPoints_Get
(EEEWebserviceauth.asmx only).
CustomerPoints_AcknowledgeGet
(EEEWebserviceauth.asmx only).
Website
Synchronisation Methods
Sample
usage for periodic synchronization
ProductExtended_AcknowledgeGet
ProductPromotion_AcknowledgeGet
ProductPromotionPrice_AcknowledgeGet
CustomerCategoryPrice
_AcknowledgeGet
PromotionCustomer_AcknowledgeGet
PromotionHeader_AcknowledgeGet
SearchHierarchyHighResGraphic_Get
SearchHierarchyItemGroup_AcknowledgeGet
SearchHierarchyItem_AcknowledgeGet
SupplierInventory_AcknowledgeGet
ShippingProvider_AcknowledgeGet
ShippingProviderDispatchPoint_Get
ShippingProviderDispatchPoint_AcknowledgeGet
ShippingProviderContract_AcknowledgeGet
ChargeZonePostcodeRange_AcknowledgeGet
ChargeZoneCountry_AcknowledgeGet
Sale_Insert_With_Result
(EEEWebserviceauth.asmx only).
Sales_Insert
(EEEWebserviceauth.asmx only).
Journal_Get
(EEEWebserviceauth.asmx only).
GoodwillCredit_Insert
(EEEWebserviceauth.asmx only).
Returns_Get
(EEEWebserviceauth.asmx only).
Returns_AcknowledgeGet
(EEEWebserviceauth.asmx only).
CustomerOrderLineStatus_AcknowledgeGet
GiftCard_Get
(EEEWebserviceauth.asmx only).
GiftCard_AcknowledgeGet
(EEEWebserviceauth.asmx only).
CustomerCommunication_GetAvailable
CustomerCommunication_AcknowledgeGet
CustomerCommunication_GetAttachments
CustomerCommunication_GetArchived
CustomerCommunication_GetCustomer
(EEEWebserviceauth.asmx only).
Appendix
B – EEE Configuration Options.
Appendix
C: Demographic Questions and Demographic Responses definition
Repeating
Demographic Questions and Associated Answers definition
Appendix
D: EEE web service interface versions
Appendix
E: Statuses and their meaning.
Appendix
G: ISO Codes in Addresses
Appendix
H: Sale Insert Return Codes
Appendix
I: Good Will Credit Insert Return Codes
|
Document Date |
EEE Versions |
Change Desciption |
|
06-08-2012 |
1.62.5 |
|
|
22-08-2012 |
1.64.1 |
CustomerOrder_History method added Sales_History method documentation updated |
|
05-10-2012 |
1.66.0 |
ERPWebService end point added. GeneralLedger_Get method added to ERPWebService end point. GeneralLedger_AcknowledgeGet method added to ERPWebService end point. |
|
10-10-2012 |
1.64.5 |
CustomerOrder_History interface version 2 added CustomerOrderLineStatus_Get interface version 3 added |
|
26-10-2012 |
1.64.6 |
Customer_Get interface version 2 added |
|
01-11-2012 |
1.66.0 |
CustomerDetailsExtended interface version 2 added CustomerDetailsExtendedWithParameters interface version 2 added CustomerConfirmationWithDetailsExtended interface version 2 added |
|
30-11-2012 |
1.66.2 |
CustomerLoyaltyStatement interface version 3 added |
|
23-01-2013 |
1.64.10 |
CustomerCategoryprice_Get interface version 2 added |
|
08-03-2013 |
1.68.0 |
CustomerConfirmationWithDetails interface version 2 added CustomerDetails interface version 2 added CustomerDetailsByCustomerCode interface version 2 added CustomerDetailsWithParameters interface version 2 added CustomerConfirmationWithDetailsExtended interface version 3 added CustomerDetailsExtended interface version 3 added CustomerDetailsExtendedWithParameters interface version 3 added |
|
08-04-2013 |
1.68.2 |
Added Customer_SetPassword method |
|
15-04-2013 |
|
Added Recommended Method Usage |
|
18-04-2013 |
1.68.3 |
Added CouponsAvailableToCustomer2 method |
|
09-07-2013 |
1.68.9 |
Added CustomerCategoryPrice_Get interface version 3 |
|
22-10-2013 |
1.72.0 |
Added CustomerCommunication_GetArchived |
|
08-01-2014 |
1.72.0 |
Added Style_Get interface version 2 |
|
27-03-2014 |
1.74.0 |
Support for PreAuthorizationCode in CustomerOrder_Insert Tender element |
|
14-04-2014 |
1.74.0 |
Add proposed customer order management methods. |
|
02-06-2014 |
|
Add Appendix E: Statuses and their meaning |
|
15-10-2014 |
1.76.0 |
Added GiftCardIssue and GiftCardIssueReverse |
|
23-12-2014 |
1.74.12 |
Added Customer_Get interface version 3 |
|
13-01-2015 |
1.74.0 |
Support for ISO8601 standard date strings in: · CustomerOrder_Insert o Order/Customer/DateCustomerCreated o Order/OrderDate · Sale_Insert o Sale/TranDate |
|
13-01-2015 |
1.74.12 |
Added Customer_Get interface version 4 |
|
09-02-2015 |
1.76.0 |
Added new method Branch_Get |
|
11-02-2015 |
1.76.0 |
Gift Card methods updated to support 40 char reference2-4. Added GiftCardReturn and GiftCardReturnReverse Auditing for Gift Card Reversals |
|
16-02-2015 |
1.76.0 |
Add interface version 2 to ProductImage_Get |
|
19-02-2015 |
1.76.0 |
Added SearchHierarchy_Get interface version 2 |
|
26-02-2015 |
1.76.0 |
Transaction Reference optional in: GiftCardIssue GiftCardIssueReverse GiftCardRedeem (v2) GiftCardRedeemWithDate (v2) GiftCardReturn GiftCardReturnReverse |
|
10-03-2015 |
1.76.0 |
Allow incremental calls to Branch_Get Added New method Supplier_Get |
|
11-03-2015 |
1.76.0 |
SearchHierarchy modifications |
|
23-03-2015 |
1.76.0 |
Added Url_Insert Added links to PHP sample for Customer_Get and CustomerRegistration Updated CustomerRegistration sample XML |
|
01-04-2015 |
1.76.0, 1.74.14 |
ProductImage_Get v2; Track Priority in deletes |
|
02-04-2015 |
1.76.0 |
Added SearchHierarchyHighResGraphic_Get |
|
13-04-2015 |
1.76.1, 1.78.0 |
Added ExternalFeed_Get |
|
15-04-2015 |
1.78.0 |
Added support for multiple Customer Addresses in CustomerRegistration, v5 of Customer_Get |
|
27-04-2015 |
1.76.2, 1.78.0 |
Added Preferences, CustomerDisabled in Customer_Get output. Respects new configuration setting to send Disabled Customers to website. |
|
25-05-2015 |
1.76.4, 1.78.0 |
Added Customer_Get v7 |
|
29-05-2015 |
1.76.4, 1.78.0 |
Added SearchHierarchy_Get v3, updated SearchHieararchyHighResGraphic_Get to support HighResGraphic2-3 |
|
09-06-2015 |
1.76.05, 1.78.0 |
Added v3 for Customer Details, CustomerDetailsByCustomerCode and CustomerDetailsWithParameters and v5 for CustomerDetailsExtended and CustomerDetailsExtendedWithParameters |
|
12-06-2015 |
1.76.05, 1.78.0 |
Added new ShippingProvider and related methods; Accept ShippingProviderId in CustomerOrder_Insert; Supplier_Get v2 |
|
26-06-2015 |
1.74.18, 1.76.06, 1.78.0 |
ProductImage_Get behavioural changes |
|
26-06-2015 |
1.76.06,1.78.0 |
Add ExternalFeed_AcknowledgeGet and parameters to ExternalFeed_Get |
|
07-07-2015 |
1.76.06,1.78.0 |
Added New method Suburb_Get |
|
10-07-2015 |
1.76.06,1.78.0 |
Added FreeText1 – 8 in CustomerOrderExchange.xsd and CustomerOrderExchangeOptional.xsd |
|
01-09-2015 |
1.76.09, 1.78.0 |
Added WebDetail, LinkRewrite, MetaTitle, MetaDescription, MetaKeywords in Branch_Get v2 |
|
14-09-2015 |
1.76.09, 1.78.0 |
Add BillingDetail support for CustomerOrder_Insert |
|
13-11-2015 |
1.76.12, 1.78.0 |
Add SortOrder in Size_Get v2 |
|
17-02-2016 |
1.78.0 |
Add GiftCardType and VirtualGiftCardDetail elements to CustomerOrderExchange.xsd and CustomerOrderExchangeOptional.xsd |
|
29-03-2016 |
1.78.1, 1.80.0 |
Added CustomerProductEnquiry_Insert |
|
18-08-2017 |
1.80.02, 1.82.0 |
Added CouponRedemptionConfirm, CouponRedemptionReverse Added DiscountDetails elements to CustomerOrderExchange.xsd and CustomerOrderExchangeOptional.xsd |
|
23-10-2018 |
1.82.02, 1.84 |
Added CustomeSegmentMembership_Lookup |
|
05-06-2019 |
1.84.04, 1.86 |
Add CustomerOrderLineStatus_Get v5; corrected method name |
|
16-07-2019 |
1.84.06, 1.86 |
Add Authorised By to StockAdjustment_Put method |
|
03-09-2019 |
1.84.07, 1.86 |
Updates to support Fastway integration |
|
10-11-2019 |
1.84.09, 1.86 |
Add Feefo Places feed update |
|
30-09-2020 |
- |
Added details about using Discounts in CustomerOrder_Insert, specifically loyalty reward coupons. Corrected casing for ProductImage_Get parameter “priority” |
|
23-09-2021 |
1.88.07, 1.90 |
Added Sale_Insert_With_Result and Appendix H – Sale insert return codes |
|
27-09-2021 |
1.88.07, 1.90 |
Added GoodwillCredit_Insert |
|
15-08-2022 |
1.88.17, 1.90 |
Customer_Get interface version 14 added CustomerDetails interface version 6 added CustomerDetailsExtended interface version 9 added |
|
01-11-2022 |
1.88.19, 1.90 |
Customer_Get interface version 15 added CustomerDetails interface version 7 added CustomerDetailsExtended interface
version 10 added |
|
09-04-2023 |
1.92.08, 1.94.00 |
Review samples and include unzipped content samples. Minor fixes as needed to align samples with xsds. |
|
18-04-2024 |
1.92.12, 1.94.04 |
SupplierInventory_Get added SupplierInventory_AcknowledgeGet added |
|
18-07-2024 |
1.92.12, 1.94.04, 1.96 |
|
|
09-08-2024 |
1.92.12, 1.94.04, 1.96 |
Inventory_Get interface version 3 added |
|
13-08-2024 |
1.92.12, 1.94.04, 1.96 |
Brand_Get interface version 5 added |
|
03-02-2026 |
1.96.11, 1.98.00 |
PromotionHeader_Get and PromotionHeader_AcknowledgeGet added |
|
Section |
Case |
Recommended
webservice method unless advised otherwise by Magenta Support |
Notes |
|
Customer Maintenance |
Register a new customer |
For a new customer, the customercode
should be passed through as an empty string. EEE will assign a customer code
and pass this back to you |
|
|
Retrieve
existing customer details |
Interface
version 3 of this method returns Customer details, customer coupons and
customer loyalty card details in a single call |
||
|
Update existing customer details |
Because this is an existing customer
record the CustomerCode must be supplied |
||
|
Verify
a customers email address |
When
a customer adds an email address (either instore or online) EEE can send a
verification email to them. This will contain a link to a page on the website
which passes parameters through to the EEE web service to mark the email a
verified in the EEE database |
||
|
Verify if a customers email already
exists |
Used to prevent customers creating
multiple accounts with the same email address. If EEE is configured to not
allow duplicate email addresses, calling CustomerRegistration with an email
address that has already been used will raise an exception |
||
|
Login
an existing customer that signed up in store |
This
returns a customer code that can then be used to retrieve the customers
details |
||
|
Login an existing customer that
signed up in store and return their customer details |
A single call to locate the customer
and retrieve their details if they signed up in store. |
||
|
The following methods are only
applicable if EEE is managing customer passwords |
|||
|
Login
an existing customer |
|||
|
Send a Forgot Password email |
|||
|
Set
a customers password |
|||
|
Customer Coupons |
Get
a customers available coupons |
A
separate call to get only a customers available coupons (if using
CustomerDetailsExtended interface version 2 or higher this call may not be
required as this data will have already been supplied to you) |
|
|
Redeem a customers coupon |
|||
|
Check
is a customers coupon is still valid |
|||
|
Customer Loyalty Details |
Get
a customers loyalty card details |
A
separate call to get only a customers loyalty card details |
|
|
Get a customer loyalty statement |
|||
|
Transfer
loyalty points from one customer to another |
This
transfers loyalty POINTS only, not loyalty card $ values |
||
|
Get the status of a customers loyalty
card |
|||
|
Gift Cards |
Check a gift card balance |
||
|
Redeem
value from a gift card |
|||
|
Activate an inactive gift card |
|||
|
Sales |
Record a new sale |
||
|
Record
new sales in a batch |
|||
|
Get a customers sales history |
|||
|
Customer Orders |
Record a new customer order |
||
|
Get
the status of customer orders |
Must
be followed by a call to CustomerOrderLineStatus_AcknowledgeGet |
||
|
Get a customers customer order
history |
|||
|
LayBys |
Get the details of a Layby |
|
|
|
|
Record
a layby payment |
|
|
|
|
|
|
|
|
Debtors |
Check
that an amount can be charge to a customers account |
This
is only valid when a customers details contains ChargeAccount = 1 |
|
|
|
|
|
|
|
Customer Communications |
Get
the list of customers to send communications to |
|
|
|
|
|
|
|
The uri for the web service is the path to the host (e.g. http://localhost/eeewebservice) and
· With EEE web service user authorisation ENABLED – eeewebserviceauth.asmx
· With EEE web service user authorisation DISABLED – eeewebservice.asmx
All methods listed below are for the eeewebserviceauth.asmx. The eeewebservice.asmx uses the same methods however it does not implement the websiteUserCode and websitePassword parameters on any methods. The eeewebservice.asmx also only supports interface version 1.
|
Method |
EEEVersion |
||||||||||||
|
Intended Usage |
Version of EEE connected to |
||||||||||||
|
Parameters |
|
||||||||||||
|
Returns |
String |
||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <EEEVersion xmlns="http://www.magentaretail.com.au/"> <websiteUserCode>TEST</websiteUserCode> <webSitePassword>MWSTEST</webSitePassword> </EEEVersion> </soap:Body> </soap:Envelope> |
||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <EEEVersionResponse xmlns="http://www.magentaretail.com.au/"> <EEEVersionResult>1.64</EEEVersionResult> </EEEVersionResponse> </soap:Body> </soap:Envelope> |
|
Method |
GetBranchList |
||||||||||||||||
|
Intended Usage |
Gets a list of branches (stores) from
EEE that are not flagged as Offline. |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
Xml that conforms to
GetBranchList.xsd which is in the form of a .NET data table |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <GetBranchList xmlns="http://www.magentaretail.com.au/"> <includeOfflineStores>false</includeOfflineStores> <websiteUserCode>TEST</websiteUserCode> <webSitePassword>MWSTEST</webSitePassword> </GetBranchList> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <GetBranchListResponse xmlns="http://www.magentaretail.com.au/"> <GetBranchListResult> <xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> <xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:MainDataTable="Data" msdata:UseCurrentLocale="true"> <xs:complexType> <xs:choice minOccurs="0" maxOccurs="unbounded"> <xs:element name="Data"> <xs:complexType> <xs:sequence> <xs:element name="BranchCode" type="xs:string" minOccurs="0" /> <xs:element name="BranchDescription" type="xs:string" minOccurs="0" /> <xs:element name="RegionCode" type="xs:string" minOccurs="0" /> <xs:element name="RegionDescription" type="xs:string" minOccurs="0" /> <xs:element name="Offline" type="xs:boolean" 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"> <DocumentElement xmlns=""> <Data diffgr:id="Data1" msdata:rowOrder="0"> <BranchCode>0701</BranchCode> <BranchDescription>Brisbane CBD</BranchDescription> <RegionCode>07</RegionCode> <RegionDescription>Queensland</RegionDescription> <Offline>false</Offline> </Data> <Data diffgr:id="Data2" msdata:rowOrder="1"> <BranchCode>0201</BranchCode> <BranchDescription>Sydney CBD </BranchDescription> <RegionCode>02</RegionCode> <RegionDescription>New South Wales</RegionDescription> <Offline>false</Offline> </Data> </DocumentElement> </diffgr:diffgram> </GetBranchListResult> </GetBranchListResponse> </soap:Body> </soap:Envelope> |
|
Method |
RetrieveLayby |
||||||||||||||||||||
|
Intended Usage |
Retrieve the details of a layby for a
customer |
||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||
|
Returns |
Xml that conforms to
RetrieveLayby.xsd which is in the form of a .NET data table |
||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <RetrieveLayby xmlns="http://www.magentaretail.com.au/"> <customerSurname>smith</customerSurname> <laybyNumber>9999002000022</laybyNumber> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>TEST</webSitePassword> </RetrieveLayby> </soap:Body> </soap:Envelope> |
||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <RetrieveLaybyResponse xmlns="http://www.magentaretail.com.au/"> <RetrieveLaybyResult>
<xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:MainDataTable="Data" msdata:UseCurrentLocale="true">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="Data">
<xs:complexType> <xs:sequence> <xs:element name="LaybyNumber" type="xs:string" minOccurs="0" /> <xs:element name="CustomerCode" type="xs:string" minOccurs="0" /> <xs:element name="CreationDate" type="xs:dateTime" minOccurs="0" /> <xs:element name="DueDate" type="xs:dateTime" minOccurs="0" /> <xs:element name="LastPaymentDate" type="xs:dateTime" minOccurs="0" /> <xs:element name="Total" type="xs:decimal" minOccurs="0" /> <xs:element name="TotalPaymentsToDate" type="xs:decimal" minOccurs="0" /> <xs:element name="Balance" type="xs:decimal" 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">
<DocumentElement xmlns="">
<Data diffgr:id="Data1" msdata:rowOrder="0">
<LaybyNumber>999902000022</LaybyNumber>
<CustomerCode>000001</CustomerCode>
<CreationDate>2012-07-23T09:56:14+10:00</CreationDate>
<DueDate>2012-09-03T09:56:14+10:00</DueDate>
<LastPaymentDate>2012-07-23T09:56:14+10:00</LastPaymentDate>
<Total>51.0600</Total>
<TotalPaymentsToDate>6.0000</TotalPaymentsToDate>
<Balance>45.0600</Balance>
</Data>
</DocumentElement>
</diffgr:diffgram>
</DataTable> </RetrieveLaybyResult> </RetrieveLaybyResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||
|
|
|
|
Method |
RecordLaybyPayment |
||||||||||||||||||||||||||||||||||||||||
|
Intended Usage |
Record a layby payment for a
customers’ layby |
||||||||||||||||||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||||||||||||||||||
|
Returns |
Boolean – true if payment recorded
successfully, false otherwise. |
||||||||||||||||||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <RecordLaybyPayment xmlns="http://www.magentaretail.com.au/"> <laybyNumber>072101000036</laybyNumber> <transactionNumber>TRN123456</transactionNumber> <line>1</line> <websiteId>MAGENTA</websiteId> <paymentDate>20120806</paymentDate> <amount>10.00</amount> <narration>Deposit online</narration> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>TEST</websitePassword> </RecordLaybyPayment> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <RecordLaybyPaymentResponse xmlns="http://www.magentaretail.com.au/"> <RecordLaybyPaymentResult>true</RecordLaybyPaymentResult> </RecordLaybyPaymentResponse> </soap:Body> </soap:Envelope> |
|
Method |
GetCustomDemographics |
|||||||||
|
Intended Usage |
Gets a list of available customer custom demographic
questions and where applicable their available responses. This data is
relatively static and the method should only be called once a day at most. |
|||||||||
|
Parameters |
|
|||||||||
|
Returns |
XML that conforms to GetCustomDemographics.xsd. See GetCustomDemographics.xml for sample xml |
|||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <GetCustomDemographics xmlns="http://www.magentaretail.com.au/"> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>TEST</webSitePassword> </GetCustomDemographics> </soap:Body> </soap:Envelope> |
|||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <GetCustomDemographicsResponse xmlns="http://www.magentaretail.com.au/"> <GetCustomDemographicsResult> <?xml version="1.0" encoding="utf-8" ?> <CustomDemographics> <DemographicQuestions
QuestionId="1000" QuestionText="Preferred Branch" QuestionType="TEXT" ResponseGroup="" /> <DemographicQuestions
QuestionId="1001" QuestionText="OptOutOfThirdPartyOffers" QuestionType="BOOL"
ResponseGroup="" /> <DemographicQuestions
QuestionId="1003" QuestionText="OptOutOfOnline" QuestionType="BOOL" ResponseGroup="" /> <DemographicQuestions
QuestionId="1005" QuestionText="Homeownershipstatus" QuestionType="SLIST" ResponseGroup="HOStatus"> <DemographicResponses
Answer="395" AnswerText="Owning" Sortkey="1.000000" /> <DemographicResponses
Answer="396" AnswerText="Renting" Sortkey="2.000000" /> <DemographicResponses
Answer="397" AnswerText="Other" Sortkey="3.000000" /> </DemographicQuestions> <DemographicQuestions
QuestionId="1006" QuestionText="Homeownershipstatusother" QuestionType="TEXT"
DependsOnQuestionId="1005" DependsOnValue="Other" DependsOnAction="SHOW" ResponseGroup="" /> <DemographicQuestions
QuestionId="1011" QuestionText="Communication Preference" QuestionType="SLIST"
ResponseGroup="GrpCommMethod"> <DemographicResponses
Answer="402" AnswerText="Mail" Sortkey="0.000000" /> <DemographicResponses
Answer="403" AnswerText="Email" Sortkey="0.000000" /> <DemographicResponses
Answer="404" AnswerText="Sms" Sortkey="0.000000" /> </DemographicQuestions> </CustomDemographics> </GetCustomDemographicsResult> </GetCustomDemographicsResponse> </soap:Body> </soap:Envelope> |
|||||||||
|
Xml Deserialized Content |
<?xml version="1.0" encoding="utf-8" ?> <CustomDemographics> <DemographicQuestions QuestionId="1000" QuestionText="Preferred
Branch" QuestionType="TEXT" ResponseGroup="" /> <DemographicQuestions QuestionId="1001" QuestionText="OptOutOfThirdPartyOffers" QuestionType="BOOL" ResponseGroup="" /> <DemographicQuestions QuestionId="1003" QuestionText="OptOutOfOnline" QuestionType="BOOL" ResponseGroup="" /> <DemographicQuestions QuestionId="1005" QuestionText="Homeownershipstatus" QuestionType="SLIST" ResponseGroup="HOStatus"> <DemographicResponses Answer="395" AnswerText="Owning" Sortkey="1.000000" /> <DemographicResponses Answer="396" AnswerText="Renting" Sortkey="2.000000" /> <DemographicResponses Answer="397" AnswerText="Other" Sortkey="3.000000" /> </DemographicQuestions> <DemographicQuestions QuestionId="1006" QuestionText="Homeownershipstatusother" QuestionType="TEXT" DependsOnQuestionId="1005" DependsOnValue="Other" DependsOnAction="SHOW" ResponseGroup="" /> <DemographicQuestions QuestionId="1011" QuestionText="Communication
Preference" QuestionType="SLIST" ResponseGroup="GrpCommMethod"> <DemographicResponses Answer="402" AnswerText="Mail" Sortkey="0.000000" /> <DemographicResponses Answer="403" AnswerText="Email" Sortkey="0.000000" /> <DemographicResponses Answer="404" AnswerText="Sms" Sortkey="0.000000" /> </DemographicQuestions> </CustomDemographics> |
|
Method |
CustomerRegistration |
||||||||||||||||
|
Intended Usage |
Register a new Customer or save
updates to an existing Customer. This method accepts an xml string of
customer data that conforms to Customer.xsd and then returns the Customer
Code on successful save. Throws a SoapFault on failure. |
||||||||||||||||
|
Notes |
If the CustomerCode is empty, a new
customer record will be added (assuming EEE is configured to automatically
generate customer codes. If the
CustomerCode is not empty, the existing customer record will be updated, or
if EEE is NOT configured to automatically generate customer codes and the
customer code supplied does NOT exist then a new record will be inserted. In the Customer node, the attributes are
mapped into the same fields in a Customer record in EEE. |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
string Customer Code |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerRegistration xmlns="http://www.magentaretail.com.au/"> <customerXmlString><EEECustomer><EEECustomerTable><CustomerRecord
LoyaltyNumber="" CustomerCategoryCode="LOYALTY"
Surname="Jones" Firstname="Mary"
Salutation="Mrs" Address1="50 George St"
Address2="" Address3="" Address4="Sydney"
Postcode="2000" State="NSW" Country="Australia"
Email="asdfdasf@sdfasdf.com" Phone=""
Mobile="0000000000" DOB="1985-01-01"
Password="Password1" PriceBookCode="TRADE"
CustomerSourceCode="WEBSERVICE"
CustomerSourceWebsiteCode="EEEDEFAULT"
ReferralSource="Internet Search" CountryOfResidence="AU"
MarketingOptIn="1" MarketingOptInDate="2021-09-08"
IsCorporate="1" TradeReferralCode="C000003"
IsGuest="1" IsMobileVerified="1"
ExternalId2="dfdfsfsdf2" /> <DemographicQuestions
Answer="20100501" QuestionId="2"/><DemographicQuestions
Answer="2" QuestionId="3"/><DemographicQuestions
ParentId="-1" QuestionId="4"><AssociatedAnswers
Answer="GQ-1a" ParentId="-1" QuestionId="5"/><AssociatedAnswers
Answer="GQ-1b" ParentId="-1" QuestionId="6"/></DemographicQuestions></EEECustomerTable></EEECustomer></customerXmlString> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>FaGx8MuVqI</webSitePassword> </CustomerRegistration> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Decoded Request Content |
<EEECustomer> <EEECustomerTable> <CustomerRecord LoyaltyNumber="" CustomerCategoryCode="LOYALTY" Surname="Jones" Firstname="Mary" Salutation="Mrs" Address1="50 George St" Address2="" Address3="" Address4="Sydney" Postcode="2000" State="NSW" Country="Australia" Email="asdfdasf@sdfasdf.com" Phone="" Mobile="0000000000" DOB="1985-01-01" Password="Password1" PriceBookCode="TRADE" CustomerSourceCode="WEBSERVICE" CustomerSourceWebsiteCode="EEEDEFAULT" ReferralSource="Internet Search" CountryOfResidence="AU" MarketingOptIn="1" MarketingOptInDate="2021-09-08" IsCorporate="1" TradeReferralCode="C000003" IsGuest="1" IsMobileVerified="1" ExternalId2="dfdfsfsdf2" /> <DemographicQuestions
Answer="20100501"
QuestionId="2"/> <DemographicQuestions
Answer="2"
QuestionId="3"/> <DemographicQuestions
ParentId="-1"
QuestionId="4"> <AssociatedAnswers Answer="GQ-1a" ParentId="-1" QuestionId="5"/> <AssociatedAnswers Answer="GQ-1b" ParentId="-1" QuestionId="6"/> </DemographicQuestions> </EEECustomerTable> </EEECustomer> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerRegistrationResponse xmlns="http://www.magentaretail.com.au/"> <CustomerRegistrationResult>999999516</CustomerRegistrationResult> </CustomerRegistrationResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Xml Input Definition |
See Customer.xsd for xml structure
definition. See Appendix for Demographic Questions definition and description. Multiple Customer addresses are
supported via the Addresses/Address element sequence. See Appendix for ISO
Codes in Addresses for details
about the codes used in Addresses. As of EEE 1.76.2 a new, optional Addresses node is supported in the
incoming XML. It is up to the
client to choose whether to: Keep using the existing address system To do this, omit
the Addresses node entirely from
the XML and provide values for the address fields within the Customer record If the Addresses node is not present in the
XML, EEE will continue to import the Address fields within the Customer
record as usual. In addition, this will also update the customer’s address
records so as to keep them in sync. Use the new address system To do this,
provide an Addresses node in the
XML and supply all addresses for the Customer as children of this node (No
need to provide values for address fields within the Customer record). You
will also need to respect unique descriptions used by EEE to ensure that
address changes flow through to the Customer record so that it may be used by
other systems that interface with EEE, including POS. The presence of
this Addresses node (even if it is
empty, e.g. <Addresses />) indicates to EEE that the new address system
is being used, and the call will update EEE with the addresses specified
within this element (if provided). This means that for the customer, any new
addresses (that are not in EEE but is present in the XML) will be created,
existing addresses will be updated and any missing addresses (that are in EEE
that but not in the XML) will be deleted. The Description field is used to
uniquely identify each address for these purposes. This also means that
providing an empty Addresses node
(e.g. <Addresses />) will remove all addresses in EEE for the Customer
and clear the address fields in the Customer’s record. See Appendix for New Customer System for more information. |
||||||||||||||||
|
Sample Xml |
See CustomerRegistrationSample.xml
for sample input xml. |
||||||||||||||||
|
PHP Sample |
|
Method |
CustomerRegistration_Merge |
||||||||||||||||||||||||
|
Intended Usage |
Copy fields from a source customer record to a
destination customer record then disable the source customer record. |
||||||||||||||||||||||||
|
Notes |
If the copyFields is empty then no fields will be
copied from the source customer record and the destination record will be
disabled. |
||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||
|
Returns |
boolean |
||||||||||||||||||||||||
|
Sample Soap
Request |
<?xml version="1.0" encoding="utf-16"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerRegistration_Merge xmlns="http://www.magentaretail.com.au/"> <sourceCustomerCode>VP98300742</sourceCustomerCode> <destinationCustomerCode>WY2017092503</destinationCustomerCode> <copyFields>Address1,Address2,Address3</copyFields> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>lJVlU8EKsY</websitePassword> </CustomerRegistration_Merge> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Soap
Response |
<?xml version="1.0" encoding="utf-16"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerRegistration_MergeResponse xmlns="http://www.magentaretail.com.au/"> <CustomerRegistration_MergeResult>true</CustomerRegistration_MergeResult> </CustomerRegistration_MergeResponse> </soap:Body> </soap:Envelope> |
|
Method |
CustomerChargeStatus_Get |
||||||||||||||||
|
Intended Usage |
Retreive the Charge Account Details of the Customer |
||||||||||||||||
|
Latest Interface
Version |
2 |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
GZipped byte array containing Xml that conforms
to CustomerChargeStatus.xsd Note: ·
CreditLimit will have
xsi:nil="true" when the Customer does not have a credit limit.
Otherwise, CreditLimit will contain the Customers Credit Limit. ·
AvailableCredit will have
xsi:nil="true" when the Customer does not have a credit limit.
Otherwise AvailableCredit will contain Customer Credit Limit – Total Balance. |
||||||||||||||||
|
Sample Soap
Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerChargeStatus_Get xmlns="http://www.magentaretail.com.au/"> <customerCode>000001</customerCode> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>lJVlU8EKsY</websitePassword> </CustomerChargeStatus_Get> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap
Response (Version 2) |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerChargeStatus_GetResponse xmlns="http://www.magentaretail.com.au/"> <CustomerChargeStatus_GetResult> H4sIAAAAAAAACm3RTQrCMBCG4b3gHUIOYH/ThaQF7VZwUS8Q7aCBtCnppHh8a4PFhGY33/Pu wms7ou7A1C9hntCgQDuSddQtlDT+voRW+x0h/KZRqLNQon9AxVh8SGbkkTcv4XUC01pY018Z 7EvboB5qA63EpJqT/zPw1Pc09Mz3LPTc9zx05jsLvfC9cO6Oi+wkkvcoj71UJUVjgZLIFadJ SCXuCly6VfFo6y9m+ADMFg4cpAEAAA== </CustomerChargeStatus_GetResult> </CustomerChargeStatus_GetResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Unzipped Response
Content (Version 2) |
<CustomerChargeStatus CustomerCode="000001"> <TotalBalance>550.1000</TotalBalance> <OverdueBalance>50.1000</OverdueBalance> <StopCredit1>0</StopCredit1> <StopCredit2>0</StopCredit2> <StopCredit3>0</StopCredit3> <StopCredit4>0</StopCredit4> <StopCredit5>0</StopCredit5> <StopCredit6>0</StopCredit6> <CreditLimit xsi:nil="true" />
<AvailableCredit xsi:nil="true" /> </CustomerChargeStatus> |
|
Method |
CustomerConfirmation |
||||||||||||||||||||
|
Intended Usage |
Used to confirm a customers’ email
address. If so configured, when a customer is registered EEE can send an
email address confirmation email to the customer. This should contain a link
to a page on the site which invokes this method. |
||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||
|
Returns |
String – returns the customerCode if
the confirmation is successful. If an empty string or an exception are
returned then the confirmation failed. |
||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerConfirmation xmlns="http://www.magentaretail.com.au/"> <emailId>BA70B12D-40B0-4050-BBAA-AB19C4C0B2BC</emailId> <customerCode>0000002</customerCode> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>TEST</webSitePassword> </CustomerConfirmation> </soap:Body> </soap:Envelope> |
||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerConfirmationResponse xmlns="http://www.magentaretail.com.au/"> <CustomerConfirmationResult>0000002</CustomerConfirmationResult> </CustomerConfirmationResponse> </soap:Body> </soap:Envelope> |
|
Method |
CustomerConfirmationWithDetails |
||||||||||||||||||||
|
Latest Interface Version |
4 |
||||||||||||||||||||
|
Intended Usage |
Used to confirm a customers’ email
address. If so configured, when a customer is registered EEE can send an
email address confirmation email to the customer. This should contain a link
to a page on the site which invokes this method. If confirmation is successful
this method then returns the same data as the CustomerDetails method |
||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||
|
Returns |
Xml that conforms to CustomerDetails.xsd
for the configured version. It is in the form of a .NET data set. |
||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerConfirmationWithDetails xmlns="http://www.magentaretail.com.au/"> <emailId>A5ABC556-8F4B-4B9A-A6D7-4AE8AE9AC457</emailId> <customerCode>000002</customerCode> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>TEST</webSitePassword> </CustomerConfirmationWithDetails> </soap:Body> </soap:Envelope> |
||||||||||||||||||||
|
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerConfirmationWithDetailsResponse xmlns="http://www.magentaretail.com.au/"> <CustomerConfirmationWithDetailsResult> <xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> <xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true"> <xs:complexType> <xs:choice minOccurs="0" maxOccurs="unbounded"> <xs:element name="Table"> <xs:complexType> <xs:sequence> <xs:element name="customercode" type="xs:string" minOccurs="0" /> <xs:element name="LoyaltyCardNumber" type="xs:string" minOccurs="0" /> <xs:element name="surname" type="xs:string" minOccurs="0" /> <xs:element name="firstname" type="xs:string" minOccurs="0" /> <xs:element name="salutation" type="xs:string" minOccurs="0" /> <xs:element name="address1" type="xs:string" minOccurs="0" /> <xs:element name="address2" type="xs:string" minOccurs="0" /> <xs:element name="address3" type="xs:string" minOccurs="0" /> <xs:element name="address4" type="xs:string" minOccurs="0" /> <xs:element name="postCode" type="xs:string" minOccurs="0" /> <xs:element name="state" type="xs:string" minOccurs="0" /> <xs:element name="country" type="xs:string" minOccurs="0" /> <xs:element name="email" type="xs:string" minOccurs="0" /> <xs:element name="phone" type="xs:string" minOccurs="0" /> <xs:element name="mobile" type="xs:string" minOccurs="0" /> <xs:element name="dob" type="xs:string" minOccurs="0" /> <xs:element name="gender" type="xs:string" minOccurs="0" /> <xs:element name="ConsentGiven" type="xs:boolean" minOccurs="0" /> <xs:element name="ConsentDateTime" type="xs:dateTime" minOccurs="0" /> <xs:element name="OptOutEmail" type="xs:boolean" minOccurs="0" /> <xs:element name="OptOutMobile" type="xs:boolean" minOccurs="0" /> <xs:element name="DoNotContact" type="xs:boolean" minOccurs="0" /> <xs:element name="CustomerCategoryCode" type="xs:string" minOccurs="0" /> <xs:element name="ParentCustomerCode" type="xs:string" minOccurs="0" /> <xs:element name="CustomerSubCategoryCode" type="xs:string" minOccurs="0" /> <xs:element name="ExternalId" type="xs:string" minOccurs="0" /> <xs:element name="MasterCustomerCode" type="xs:string" minOccurs="0" /> <xs:element name="MasterCustomerAssociationDate" type="xs:dateTime" minOccurs="0" /> <xs:element name="MasterCustomerAssociationExpiryDate" type="xs:dateTime" minOccurs="0" /> <xs:element name="PriceBookCode" type="xs:string" minOccurs="0" /> <xs:element name="OptOutPost" type="xs:boolean" minOccurs="0" /> <xs:element name="MarketingOptin" type="xs:boolean" minOccurs="0" /> <xs:element name="MarketingOptInDate" type="xs:dateTime" minOccurs="0" /> <xs:element name="IsCorporate" type="xs:boolean" minOccurs="0"/> <xs:element name="TradeReferralCode" type="xs:string" minOccurs="0" /> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="Table1"> <xs:complexType> <xs:sequence> <xs:element name="Id" type="xs:int" minOccurs="0" /> <xs:element name="ParentId" type="xs:int" minOccurs="0" /> <xs:element name="QuestionId" type="xs:int" minOccurs="0" /> <xs:element name="Answer" type="xs:string" minOccurs="0" /> <xs:element name="ResponseId" type="xs:int" 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 xmlns=""> <Table diffgr:id="Table1" msdata:rowOrder="0"> <customercode>000002</customercode> <LoyaltyCardNumber>GC100000000000701225</LoyaltyCardNumber> <surname>Jones</surname> <firstname>Tom</firstname> <salutation>Mr</salutation> <address1>1
ItsNotUnusual St</address1> <address2 /> <address3>Springwood</address3> <address4 /> <postCode>4127</postCode> <state>QLD</state> <country /> <phone>0000000000</phone> <mobile /> <dob>2002-01-01T00:00:00</dob> <ConsentGiven>true</ConsentGiven> <ConsentDateTime>2012-08-08T16:52:32.013+10:00</ConsentDateTime> <OptOutEmail>false</OptOutEmail> <OptOutMobile>false</OptOutMobile> <DoNotContact>false</DoNotContact> <CustomerCategoryCode>TLP</CustomerCategoryCode> <ParentCustomerCode>000001</ParentCustomerCode> <ExternalId /> <MasterCustomerAssociationDate>1999-11-30T00:00:00+10:00</MasterCustomerAssociationDate> <MasterCustomerAssociationExpiryDate/> <PriceBookCode/> <OptOutPost>true</OptOutPost> <MarketingOptin>true</MarketingOptin> <MarketingOptInDate>2021-09-08T00:00:00+10:00</MarketingOptInDate> <IsCorporate>true</IsCorporate> <TradeReferralCode>0000000003</TradeReferralCode> </Table> <Table1 diffgr:id="Table11" msdata:rowOrder="0"> <Id>4334</Id> <QuestionId>1001</QuestionId> <Answer>False</Answer> </Table1> </NewDataSet> </diffgr:diffgram> </CustomerConfirmationWithDetailsResult> </CustomerConfirmationWithDetailsResponse> </soap:Body> </soap:Envelope> |
|
Method |
CustomerValidateLogin |
||||||||||||||||||||||||||||||||
|
Intended Usage |
When email addresses and passwords
are being stored in EEE, this method can be used to validate a customers’
login to the website. |
||||||||||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||||||||||
|
Returns |
The customers CustomerCode if
successful. An exception is thrown if unsuccessful. |
||||||||||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerValidateLogin xmlns="http://www.magentaretail.com.au/"> <emailaddress>testcustomer@gmail.com</emailaddress> <password>testpassw0rd</password> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>TEST</webSitePassword> </CustomerValidateLogin> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerValidateLoginResponse xmlns="http://www.magentaretail.com.au/"> <CustomerValidateLoginResult>00005</CustomerValidateLoginResult> </CustomerValidateLoginResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||||||
|
Method |
CustomerValidateLoginOffline |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Intended Usage |
If a customer signs up in store, they
can use their loyalty card number or customercode plus 2 other pieces of
information to associate their online account with their in store account. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Parameters |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Returns |
The customers CustomerCode if
successful. An exception is thrown if unsuccessful. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerValidateLoginOffline xmlns="http://www.magentaretail.com.au/"> <dob>19680609</dob> <surname>Smith</surname> <postCode>4444</postCode> <customerCode>00005</customerCode> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>TEST</webSitePassword> </CustomerValidateLoginOffline> </soap:Body> </soap:Envelope> |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerValidateLoginOfflineResponse xmlns="http://www.magentaretail.com.au/"> <CustomerValidateLoginOfflineResult>00005</CustomerValidateLoginOfflineResult> </CustomerValidateLoginOfflineResponse> </soap:Body> </soap:Envelope> |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Method |
CustomerDetails |
||||||||||||||||||||
|
Latest Interface Version |
8 |
||||||||||||||||||||
|
Intended Usage |
Retrieve the details for a single customer |
||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||
|
Returns |
Xml that conforms to
CustomerDetails.xsd |
||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerDetails xmlns="http://www.magentaretail.com.au/"> <emailaddress> michael.jones@magentaretail.com.au</emailaddress> <password>password</password> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>KXHCQsxzIh</webSitePassword> </CustomerDetails> </soap:Body> </soap:Envelope> |
||||||||||||||||||||
|
Sample Soap Response (version 8) |
<diffgr:diffgram xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> <NewDataSet xmlns=""> <Table diffgr:id="Table1" msdata:rowOrder="0"> <customercode>0000000001</customercode> <LoyaltyCardNumber>GC100000000111111111</LoyaltyCardNumber> <surname>Jones</surname> <firstname>Michael</firstname> <salutation>Mr</salutation> <address1>14 Some Street</address1> <address2></address2> <address3>BRISBANE CITY</address3> <address4></address4> <postCode>4000</postCode> <state>QLD</state> <country>Australia</country> <email>michael.jones@magentaretail.com.au</email> <dob>1984-06-26T00:00:00</dob> <gender>M</gender> <ConsentDateTime>2010-01-01T00:00:00+10:00</ConsentDateTime> <OptOutEmail>false</OptOutEmail> <OptOutMobile>true</OptOutMobile> <DoNotContact>false</DoNotContact> <ParentCustomerCode/> <ExternalId/> <MasterCustomerCode/> <MasterCustomerAssociationDate/> <MasterCustomerAssociationExpiryDate/> <PriceBookCode/> <OptOutPost>true</OptOutPost> <MarketingOptin>true</MarketingOptin> <IsCorporate>true</IsCorporate> <TradeReferralCode>0000000003</TradeReferralCode> <IsGuest>true</IsGuest> <IsMobileVerified>true</IsMobileVerified> <ExternalId2>AZYX-0000-XYZA</ExternalId2> <IsSuspended>true</IsSuspended> </Table> <Table1 diffgr:id="Table11" msdata:rowOrder="0"> <Id>1</Id> <QuestionId>21</QuestionId> <Answer>False</Answer> </Table1> <Table1 diffgr:id="Table12" msdata:rowOrder="1"> <Id>3</Id> <QuestionId>9</QuestionId> <Answer>Aerobics / Fitness / Cardio</Answer> <ResponseId>1</ResponseId> </Table1> <Table1 diffgr:id="Table13" msdata:rowOrder="2"> <Id>4</Id> <QuestionId>9</QuestionId> <Answer>Rowing</Answer> <ResponseId>29</ResponseId> </Table1> <Table1 diffgr:id="Table14" msdata:rowOrder="3"> <Id>5</Id> <QuestionId>9</QuestionId> <Answer>Rugby Union</Answer> <ResponseId>31</ResponseId> </Table1> <Table1 diffgr:id="Table15" msdata:rowOrder="4"> <Id>7</Id> <QuestionId>12</QuestionId> </Table1> <Table1 diffgr:id="Table16" msdata:rowOrder="5"> <Id>8</Id> <QuestionId>16</QuestionId> </Table1> <Table1 diffgr:id="Table17" msdata:rowOrder="6"> <Id>40</Id> <QuestionId>9</QuestionId> <Answer>Skate, Scooter and In-line</Answer> <ResponseId>35</ResponseId> </Table1> <Table1 diffgr:id="Table18" msdata:rowOrder="7"> <Id>41</Id> <QuestionId>9</QuestionId> <Answer>Snow Sports (Ski & Snowboard)</Answer> <ResponseId>36</ResponseId> </Table1> <Table1 diffgr:id="Table19" msdata:rowOrder="8"> <Id>42</Id> <QuestionId>1</QuestionId> <Answer>False</Answer> </Table1> <Table1 diffgr:id="Table110" msdata:rowOrder="9"> <Id>43</Id> <QuestionId>17</QuestionId> <Answer>False</Answer> </Table1> <Table1 diffgr:id="Table111" msdata:rowOrder="10"> <Id>62</Id> <QuestionId>9</QuestionId> <Answer>Aquarobics</Answer> <ResponseId>2</ResponseId> </Table1> <Table1 diffgr:id="Table112" msdata:rowOrder="11"> <Id>63</Id> <QuestionId>1000</QuestionId> <Answer>False</Answer> </Table1> <Table1 diffgr:id="Table113" msdata:rowOrder="12"> <Id>64</Id> <QuestionId>1001</QuestionId> <Answer>False</Answer> </Table1> <Table1 diffgr:id="Table114" msdata:rowOrder="13"> <Id>68</Id> <QuestionId>9</QuestionId> <Answer>Athletics / Track and Field</Answer> <ResponseId>3</ResponseId> </Table1> <Table1 diffgr:id="Table115" msdata:rowOrder="14"> <Id>69</Id> <QuestionId>9</QuestionId> <Answer>Australian Rules Football</Answer> <ResponseId>4</ResponseId> </Table1> <Table1 diffgr:id="Table116" msdata:rowOrder="15"> <Id>70</Id> <QuestionId>9</QuestionId> <Answer>Badminton</Answer> <ResponseId>5</ResponseId> </Table1> <Table1 diffgr:id="Table117" msdata:rowOrder="16"> <Id>71</Id> <QuestionId>20</QuestionId> <Answer>10</Answer> </Table1> <Table2 diffgr:id="Table22" msdata:rowOrder="1"> <Description>In-store address</Description> <Surname>Jones</Surname> <FirstName>Michael</FirstName> <AddressLine1>1 Some Street</AddressLine1> <AddressLine2></AddressLine2> <AddressLine3>BRISBANE CITY</AddressLine3> <AddressLine4></AddressLine4> <IsoSubdivisionCode>AU-QLD</IsoSubdivisionCode> <IsoCountryCode>AU</IsoCountryCode> <PostCode>4000</PostCode> <ShippingDPID>AABBCC</ShippingDPID> </Table2> <Table2 diffgr:id="Table23" msdata:rowOrder="2"> <Description>In-store delivery address</Description> <Surname>Jones</Surname> <FirstName>Michael</FirstName> <AddressLine1>10 Some Streets</AddressLine1> <AddressLine3>BRISBANE CITY</AddressLine3> <AddressLine4></AddressLine4> <IsoSubdivisionCode>AU-QLD</IsoSubdivisionCode> <IsoCountryCode>AU</IsoCountryCode> <PostCode>4000</PostCode> </Table2> </NewDataSet> </diffgr:diffgram> |
||||||||||||||||||||
|
Notes |
The following nodes are nullable and will not
be present in the dataset if the Customer has a null value for these fields: ·
SubCategoryCode ·
MasterCustomerCode ·
MasterCustomerAssociationDate ·
MasterCustomerAssociationExpiryDate See Demographic Questions and Associated Answers for information on the relationships of Answers. The default interface version is 8. Samples for
other interface versions are available. |
|
Method |
CustomerDetailsByCustomerCode |
||||||||||||||||
|
Latest Interface Version |
8 |
||||||||||||||||
|
Intended Usage |
Retreive the details for a single
customer using their CustomerCode |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
Xml that conforms to
CustomerDetails.xsd |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerDetailsByCustomerCode xmlns="http://www.magentaretail.com.au/"> <customerCode>0000000001</customerCode> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>TEST</webSitePassword> </CustomerDetailsByCustomerCode> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response (version 8) |
<diffgr:diffgram xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> <NewDataSet xmlns=""> <Table diffgr:id="Table1" msdata:rowOrder="0"> <customercode>0000000001</customercode> <LoyaltyCardNumber>GC100000000111111111</LoyaltyCardNumber> <surname>Jones</surname> <firstname>Michael</firstname> <salutation>Mr</salutation> <address1>14 Some Street</address1> <address2></address2> <address3>BRISBANE CITY</address3> <address4></address4> <postCode>4000</postCode> <state>QLD</state> <country>Australia</country> <email>michael.jones@magentaretail.com.au</email> <dob>1984-06-26T00:00:00</dob> <gender>M</gender> <ConsentDateTime>2010-01-01T00:00:00+10:00</ConsentDateTime> <OptOutEmail>false</OptOutEmail> <OptOutMobile>true</OptOutMobile> <DoNotContact>false</DoNotContact> <ParentCustomerCode/> <ExternalId/> <MasterCustomerCode/> <MasterCustomerAssociationDate/> <MasterCustomerAssociationExpiryDate/> <PriceBookCode/> <OptOutPost>true</OptOutPost> <MarketingOptin>true</MarketingOptin> <IsCorporate>true</IsCorporate> <TradeReferralCode>0000000003</TradeReferralCode> <IsGuest>true</IsGuest> <IsMobileVerified>true</IsMobileVerified> <ExternalId2>AZYX-0000-XYZA</ExternalId2> <IsSuspended>true</IsSuspended> </Table> <Table1 diffgr:id="Table11" msdata:rowOrder="0"> <Id>1</Id> <QuestionId>21</QuestionId> <Answer>False</Answer> </Table1> <Table1 diffgr:id="Table12" msdata:rowOrder="1"> <Id>3</Id> <QuestionId>9</QuestionId> <Answer>Aerobics / Fitness / Cardio</Answer> <ResponseId>1</ResponseId> </Table1> <Table1 diffgr:id="Table13" msdata:rowOrder="2"> <Id>4</Id> <QuestionId>9</QuestionId> <Answer>Rowing</Answer> <ResponseId>29</ResponseId> </Table1> <Table1 diffgr:id="Table14" msdata:rowOrder="3"> <Id>5</Id> <QuestionId>9</QuestionId> <Answer>Rugby Union</Answer> <ResponseId>31</ResponseId> </Table1> <Table1 diffgr:id="Table15" msdata:rowOrder="4"> <Id>7</Id> <QuestionId>12</QuestionId> </Table1> <Table1 diffgr:id="Table16" msdata:rowOrder="5"> <Id>8</Id> <QuestionId>16</QuestionId> </Table1> <Table1 diffgr:id="Table17" msdata:rowOrder="6"> <Id>40</Id> <QuestionId>9</QuestionId> <Answer>Skate, Scooter and In-line</Answer> <ResponseId>35</ResponseId> </Table1> <Table1 diffgr:id="Table18" msdata:rowOrder="7"> <Id>41</Id> <QuestionId>9</QuestionId> <Answer>Snow Sports (Ski & Snowboard)</Answer> <ResponseId>36</ResponseId> </Table1> <Table1 diffgr:id="Table19" msdata:rowOrder="8"> <Id>42</Id> <QuestionId>1</QuestionId> <Answer>False</Answer> </Table1> <Table1 diffgr:id="Table110" msdata:rowOrder="9"> <Id>43</Id> <QuestionId>17</QuestionId> <Answer>False</Answer> </Table1> <Table1 diffgr:id="Table111" msdata:rowOrder="10"> <Id>62</Id> <QuestionId>9</QuestionId> <Answer>Aquarobics</Answer> <ResponseId>2</ResponseId> </Table1> <Table1 diffgr:id="Table112" msdata:rowOrder="11"> <Id>63</Id> <QuestionId>1000</QuestionId> <Answer>False</Answer> </Table1> <Table1 diffgr:id="Table113" msdata:rowOrder="12"> <Id>64</Id> <QuestionId>1001</QuestionId> <Answer>False</Answer> </Table1> <Table1 diffgr:id="Table114" msdata:rowOrder="13"> <Id>68</Id> <QuestionId>9</QuestionId> <Answer>Athletics / Track and Field</Answer> <ResponseId>3</ResponseId> </Table1> <Table1 diffgr:id="Table115" msdata:rowOrder="14"> <Id>69</Id> <QuestionId>9</QuestionId> <Answer>Australian Rules Football</Answer> <ResponseId>4</ResponseId> </Table1> <Table1 diffgr:id="Table116" msdata:rowOrder="15"> <Id>70</Id> <QuestionId>9</QuestionId> <Answer>Badminton</Answer> <ResponseId>5</ResponseId> </Table1> <Table1 diffgr:id="Table117" msdata:rowOrder="16"> <Id>71</Id> <QuestionId>20</QuestionId> <Answer>10</Answer> </Table1> <Table2 diffgr:id="Table22" msdata:rowOrder="1"> <Description>In-store address</Description> <Surname>Jones</Surname> <FirstName>Michael</FirstName> <AddressLine1>1 Some Street</AddressLine1> <AddressLine2></AddressLine2> <AddressLine3>BRISBANE CITY</AddressLine3> <AddressLine4></AddressLine4> <IsoSubdivisionCode>AU-QLD</IsoSubdivisionCode> <IsoCountryCode>AU</IsoCountryCode> <PostCode>4000</PostCode> <ShippingDPID>AABBCC</ShippingDPID> </Table2> <Table2 diffgr:id="Table23" msdata:rowOrder="2"> <Description>In-store delivery address</Description> <Surname>Jones</Surname> <FirstName>Michael</FirstName> <AddressLine1>10 Some Streets</AddressLine1> <AddressLine3>BRISBANE CITY</AddressLine3> <AddressLine4></AddressLine4> <IsoSubdivisionCode>AU-QLD</IsoSubdivisionCode> <IsoCountryCode>AU</IsoCountryCode> <PostCode>4000</PostCode> </Table2> </NewDataSet> </diffgr:diffgram> |
|
Method |
CustomerDetailsWithParameters |
||||||||||||||||||||||||||||||||||||||||||||
|
Latest Interface Version |
8 |
||||||||||||||||||||||||||||||||||||||||||||
|
Intended Usage |
Retreive the details of a customer
using their loyalty card number or email address. The method can be configured to
require X number of additional pieces of information to associate their
online account with their in-store account. X can be configured 0 – 6. Participating
fields: ·
dob ·
surname ·
emailAddress ·
postcode ·
phone ·
mobile |
||||||||||||||||||||||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||||||||||||||||||||||
|
Returns |
Xml that conforms to
CustomerDetails.xsd |
||||||||||||||||||||||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerDetailsWithParameters xmlns="http://www.magentaretail.com.au/"> <emailaddress>michael.jones@magentaretail.com.au</emailaddress> <surname>Jones</surname> <postCode>4000</postCode> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>TEST</webSitePassword> </CustomerDetailsWithParameters> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||||||||||||||||||
|
Sample Soap Response (version 8) |
<diffgr:diffgram xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> <NewDataSet xmlns=""> <Table diffgr:id="Table1" msdata:rowOrder="0"> <customercode>0000000001</customercode> <LoyaltyCardNumber>GC100000000111111111</LoyaltyCardNumber> <surname>Jones</surname> <firstname>Michael</firstname> <salutation>Mr</salutation> <address1>14 Some Street</address1> <address2></address2> <address3>BRISBANE CITY</address3> <address4></address4> <postCode>4000</postCode> <state>QLD</state> <country>Australia</country> <email>michael.jones@magentaretail.com.au</email> <dob>1984-06-26T00:00:00</dob> <gender>M</gender> <ConsentDateTime>2010-01-01T00:00:00+10:00</ConsentDateTime> <OptOutEmail>false</OptOutEmail> <OptOutMobile>true</OptOutMobile> <DoNotContact>false</DoNotContact> <ParentCustomerCode/> <ExternalId/> <MasterCustomerCode/> <MasterCustomerAssociationDate/> <MasterCustomerAssociationExpiryDate/> <PriceBookCode/> <OptOutPost>true</OptOutPost> <MarketingOptin>true</MarketingOptin> <IsCorporate>true</IsCorporate> <TradeReferralCode>0000000003</TradeReferralCode> <IsGuest>true</IsGuest> <IsMobileVerified>true</IsMobileVerified> <ExternalId2>AZYX-0000-XYZA</ExternalId2> <IsSuspended>true</IsSuspended> </Table> <Table1 diffgr:id="Table11" msdata:rowOrder="0"> <Id>1</Id> <QuestionId>21</QuestionId> <Answer>False</Answer> </Table1> <Table1 diffgr:id="Table12" msdata:rowOrder="1"> <Id>3</Id> <QuestionId>9</QuestionId> <Answer>Aerobics / Fitness / Cardio</Answer> <ResponseId>1</ResponseId> </Table1> <Table1 diffgr:id="Table13" msdata:rowOrder="2"> <Id>4</Id> <QuestionId>9</QuestionId> <Answer>Rowing</Answer> <ResponseId>29</ResponseId> </Table1> <Table1 diffgr:id="Table14" msdata:rowOrder="3"> <Id>5</Id> <QuestionId>9</QuestionId> <Answer>Rugby Union</Answer> <ResponseId>31</ResponseId> </Table1> <Table1 diffgr:id="Table15" msdata:rowOrder="4"> <Id>7</Id> <QuestionId>12</QuestionId> </Table1> <Table1 diffgr:id="Table16" msdata:rowOrder="5"> <Id>8</Id> <QuestionId>16</QuestionId> </Table1> <Table1 diffgr:id="Table17" msdata:rowOrder="6"> <Id>40</Id> <QuestionId>9</QuestionId> <Answer>Skate, Scooter and In-line</Answer> <ResponseId>35</ResponseId> </Table1> <Table1 diffgr:id="Table18" msdata:rowOrder="7"> <Id>41</Id> <QuestionId>9</QuestionId> <Answer>Snow Sports (Ski & Snowboard)</Answer> <ResponseId>36</ResponseId> </Table1> <Table1 diffgr:id="Table19" msdata:rowOrder="8"> <Id>42</Id> <QuestionId>1</QuestionId> <Answer>False</Answer> </Table1> <Table1 diffgr:id="Table110" msdata:rowOrder="9"> <Id>43</Id> <QuestionId>17</QuestionId> <Answer>False</Answer> </Table1> <Table1 diffgr:id="Table111" msdata:rowOrder="10"> <Id>62</Id> <QuestionId>9</QuestionId> <Answer>Aquarobics</Answer> <ResponseId>2</ResponseId> </Table1> <Table1 diffgr:id="Table112" msdata:rowOrder="11"> <Id>63</Id> <QuestionId>1000</QuestionId> <Answer>False</Answer> </Table1> <Table1 diffgr:id="Table113" msdata:rowOrder="12"> <Id>64</Id> <QuestionId>1001</QuestionId> <Answer>False</Answer> </Table1> <Table1 diffgr:id="Table114" msdata:rowOrder="13"> <Id>68</Id> <QuestionId>9</QuestionId> <Answer>Athletics / Track and Field</Answer> <ResponseId>3</ResponseId> </Table1> <Table1 diffgr:id="Table115" msdata:rowOrder="14"> <Id>69</Id> <QuestionId>9</QuestionId> <Answer>Australian Rules Football</Answer> <ResponseId>4</ResponseId> </Table1> <Table1 diffgr:id="Table116" msdata:rowOrder="15"> <Id>70</Id> <QuestionId>9</QuestionId> <Answer>Badminton</Answer> <ResponseId>5</ResponseId> </Table1> <Table1 diffgr:id="Table117" msdata:rowOrder="16"> <Id>71</Id> <QuestionId>20</QuestionId> <Answer>10</Answer> </Table1> <Table2 diffgr:id="Table22" msdata:rowOrder="1"> <Description>In-store address</Description> <Surname>Jones</Surname> <FirstName>Michael</FirstName> <AddressLine1>1 Some Street</AddressLine1> <AddressLine2></AddressLine2> <AddressLine3>BRISBANE CITY</AddressLine3> <AddressLine4></AddressLine4> <IsoSubdivisionCode>AU-QLD</IsoSubdivisionCode> <IsoCountryCode>AU</IsoCountryCode> <PostCode>4000</PostCode> <ShippingDPID>AABBCC</ShippingDPID> </Table2> <Table2 diffgr:id="Table23" msdata:rowOrder="2"> <Description>In-store delivery address</Description> <Surname>Jones</Surname> <FirstName>Michael</FirstName> <AddressLine1>10 Some Streets</AddressLine1> <AddressLine3>BRISBANE CITY</AddressLine3> <AddressLine4></AddressLine4> <IsoSubdivisionCode>AU-QLD</IsoSubdivisionCode> <IsoCountryCode>AU</IsoCountryCode> <PostCode>4000</PostCode> </Table2> </NewDataSet> </diffgr:diffgram> |
|
Method |
CustomerForgotPassword |
||||||||||||||||||||
|
Intended Usage |
Sends the customer a forgot your
password style email from EEE if EEE is being used for customer
communications |
||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||
|
Returns |
True if sending the email was
successful False if not successful or a password
has not been set. |
||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerForgotPassword xmlns="http://www.magentaretail.com.au/"> <emailAddress>test@magentaretail.com.au</emailAddress> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>TEST</webSitePassword> </CustomerForgotPassword> </soap:Body> </soap:Envelope> |
||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerForgotPasswordResponse xmlns="http://www.magentaretail.com.au/"> <CustomerForgotPasswordResult>true</CustomerForgotPasswordResult> </CustomerForgotPasswordResponse> </soap:Body> </soap:Envelope> |
|
Method |
Customer_SetPassword |
||||||||||||||||||||||||
|
Intended Usage |
Updates a customers password with the
newPassword sent to this method |
||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||
|
Returns |
Xml that conforms to CustomerDetailsExtended
xsd for the selected interface version if the password reset was successful.
Otherwise a soap exception is returned. |
||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Customer_SetPassword xmlns="http://www.magentaretail.com.au/"> <communicationWebReferenceId>6c3381a4-da9f-e211-be71-002354287e28</communicationWebReferenceId> <customerCode>000001</customerCode> <newPassword>newpassword</newPassword> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>TEST</webSitePassword> </Customer_SetPassword> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Soap Response (version 11) |
<EEECustomerTable CustomerCode="000001"> <CustomerRecord Address1="10 Some Street" Address2="" Address3="BRISBANE CITY" Address4="" Postcode="4000" State="QLD" ConsentDateTime="2012-06-07T14:51:42" ConsentGiven="1" Country="Australia" CustomerCategoryCode="LOYALTY" CustomerCode="000001" CustomerSubCategoryCode="" DOB="1968-06-09T00:00:00" Delivery1="10 Some Street" Delivery2="" Delivery3="BRISBANE CITY" Delivery4="" DeliveryPostcode="4000" DeliveryState="QLD" Demographic1="" Demographic10="" Demographic11="" Demographic12="" Demographic13="" Demographic14="" Demographic15="" Demographic16="" Demographic17="" Demographic18="" Demographic19="test" Demographic2="" Demographic20="" Demographic3="" Demographic4="" Demographic5="" Demographic6="" Demographic7="" Demographic8="" Demographic9="" DoNotContact="0" Email="joan.smith@magentaretail.com.au" ExternalId="test" FirstName="Joan" Gender="F" LoyaltyNumber="GC100000000000075638" MasterCustomerAssociationDate="2012-08-10T00:00:00" MasterCustomerCode="MAGENTA" Mobile="" OptOutEmail="0" OptOutMobile="0" ParentCustomerCode="" Phone="07 883 7843" Postcode="4000" Salutation="Mrs" State="QLD" Surname="Smith" MasterCustomerAssociationExpiryDate="" PriceBookCode="" OptOutPost="" BranchCode="" BranchDescription="" SignUpCouponIssued="" MarketingOptin="1" IsCorporate="1" TradeReferralCode="0000000003" IsGuest="1" IsMobileVerified="1" ExternalId2="AXC001927394739" IsSuspended="0"/> <DemographicQuestions Answer="99" Id="799" QuestionId="20"/> <DemographicQuestions Answer="True" Id="880" QuestionId="21"/> <DemographicQuestions Answer="False" Id="2282" QuestionId="1"/> <DemographicQuestions Id="2283" QuestionId="2"/> <CouponsAvailableToCustomer> <Coupon CouponCode="0000001G1" CouponDollarValue="50.00" CouponNumber="52" CouponPercentageValue="0.00" CustomerCode="000001" EndDate="1900-01-01T00:00:00" ExpiryDate="2011-06-03T00:00:00" IssueDate="2011-05-03T00:00:00" PromotionCode="VIP201101" PromotionCouponId="54" PromotionDescription="VIP Signup Sale" PromotionType="VIP Signup" RedeemDate="1900-01-01T00:00:00" StartDate="2011-01-01T00:00:00"/> </CouponsAvailableToCustomer> <CustomerLoyaltyCardDetails> <CustomerLoyaltyCard AccumulatedPoints="2098.1320" CustomerCode="000001" ExpiryDate="2013-02-10T00:00:00" IssueDate="2010-07-27T11:45:40" LoyaltyCardNumber="GC100000000000075638" RemainingValue="45.0000"/> </CustomerLoyaltyCardDetails> <CustomerAddresses> <Address Description="In-store address" Surname="Smith" FirstName="Joan" AddressLine1="10 Some Street" AddressLine2="" AddressLine3="BRISBANE CITY" AddressLine4="" IsoCountryCode="AU" IsoSubdivisionCode="AU-QLD" PostCode="4000" Notes="Leave unattended if not
present." ShippingDPID="auspostdpid" ShippingEmail="joan.smith@magentaretail.com.au" /> <Address Description="In-store delivery address" Surname="Smith" FirstName="Joan" AddressLine1="10 Some Street" AddressLine2="" AddressLine3="BRISBANE CITY" AddressLine4="" IsoCountryCode="AU" IsoSubdivisionCode="AU-QLD" PostCode="4000" /> <Address Description="Other Address" Surname="Smith" IsoCountryCode="AU" IsoSubdivisionCode="AU-QLD" /> </CustomerAddresses> </EEECustomerTable> |
|
Method |
CustomerEmailExists |
||||||||||||||||
|
Intended Usage |
Determine if the customer email
address is already in use in EEE. |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
Boolean – true if the email address
exists in the customer database. |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerEmailExists xmlns="http://www.magentaretail.com.au/"> <emailAddress>test@magentaretail.com.au</emailAddress> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>TEST</webSitePassword> </CustomerEmailExists> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerEmailExistsResponse xmlns="http://www.magentaretail.com.au/"> <CustomerEmailExistsResult>true</CustomerEmailExistsResult> </CustomerEmailExistsResponse> </soap:Body> </soap:Envelope> |
|
Method |
CustomerDetailsExtended |
||||||||||||||||
|
Latest interface version |
11 |
||||||||||||||||
|
Intended Usage |
Returns the customers demographic detail,
available coupons and loyalty card details |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
Xml that conforms to
CustomerDetailsExtended xsd for the selected interface version |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerDetailsExtended xmlns="http://www.magentaretail.com.au/"> <customerCode>000001</customerCode> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>TEST</webSitePassword> </CustomerDetailsExtended> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response (version 11) |
<EEECustomerTable CustomerCode="000001"> <CustomerRecord Address1="10 Some Street" Address2="" Address3="BRISBANE CITY" Address4="" Postcode="4000" State="QLD" ConsentDateTime="2012-06-07T14:51:42" ConsentGiven="1" Country="Australia" CustomerCategoryCode="LOYALTY" CustomerCode="000001" CustomerSubCategoryCode="" DOB="1968-06-09T00:00:00" Delivery1="10 Some Street" Delivery2="" Delivery3="BRISBANE CITY" Delivery4="" DeliveryPostcode="4000" DeliveryState="QLD" Demographic1="" Demographic10="" Demographic11="" Demographic12="" Demographic13="" Demographic14="" Demographic15="" Demographic16="" Demographic17="" Demographic18="" Demographic19="test" Demographic2="" Demographic20="" Demographic3="" Demographic4="" Demographic5="" Demographic6="" Demographic7="" Demographic8="" Demographic9="" DoNotContact="0" Email="joan.smith@magentaretail.com.au" ExternalId="test" FirstName="Joan" Gender="F" LoyaltyNumber="GC100000000000075638" MasterCustomerAssociationDate="2012-08-10T00:00:00" MasterCustomerCode="MAGENTA" Mobile="" OptOutEmail="0" OptOutMobile="0" ParentCustomerCode="" Phone="07 883 7843" Postcode="4000" Salutation="Mrs" State="QLD" Surname="Smith" MasterCustomerAssociationExpiryDate="" PriceBookCode="" OptOutPost="" BranchCode="" BranchDescription="" SignUpCouponIssued="" MarketingOptin="1" IsCorporate="1" TradeReferralCode="0000000003" IsGuest="1" IsMobileVerified="1" ExternalId2="AXC001927394739" IsSuspended="0"/> <DemographicQuestions Answer="99" Id="799" QuestionId="20"/> <DemographicQuestions Answer="True" Id="880" QuestionId="21"/> <DemographicQuestions Answer="False" Id="2282" QuestionId="1"/> <DemographicQuestions Id="2283" QuestionId="2"/> <CouponsAvailableToCustomer> <Coupon CouponCode="0000001G1" CouponDollarValue="50.00" CouponNumber="52" CouponPercentageValue="0.00" CustomerCode="000001" EndDate="1900-01-01T00:00:00" ExpiryDate="2011-06-03T00:00:00" IssueDate="2011-05-03T00:00:00" PromotionCode="VIP201101" PromotionCouponId="54" PromotionDescription="VIP Signup Sale" PromotionType="VIP Signup" RedeemDate="1900-01-01T00:00:00" StartDate="2011-01-01T00:00:00"/> </CouponsAvailableToCustomer> <CustomerLoyaltyCardDetails> <CustomerLoyaltyCard AccumulatedPoints="2098.1320" CustomerCode="000001" ExpiryDate="2013-02-10T00:00:00" IssueDate="2010-07-27T11:45:40" LoyaltyCardNumber="GC100000000000075638" RemainingValue="45.0000"/> </CustomerLoyaltyCardDetails> <CustomerAddresses> <Address Description="In-store address" Surname="Smith" FirstName="Joan" AddressLine1="10 Some Street" AddressLine2="" AddressLine3="BRISBANE CITY" AddressLine4="" IsoCountryCode="AU" IsoSubdivisionCode="AU-QLD" PostCode="4000" Notes="Leave unattended if not
present." ShippingDPID="auspostdpid" ShippingEmail="joan.smith@magentaretail.com.au" /> <Address Description="In-store delivery address" Surname="Smith" FirstName="Joan" AddressLine1="10 Some Street" AddressLine2="" AddressLine3="BRISBANE CITY" AddressLine4="" IsoCountryCode="AU" IsoSubdivisionCode="AU-QLD" PostCode="4000" /> <Address Description="Other Address" Surname="Smith" IsoCountryCode="AU" IsoSubdivisionCode="AU-QLD" /> </CustomerAddresses> </EEECustomerTable> |
|
Method |
CustomerDetailsExtendedWithParameters |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Latest interface version |
11 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Intended Usage |
Returns the customers demographic detail,
available coupons and loyalty card details. The
method can be configured to require X number of additional pieces of
information to associate their online account with their in-store account. X
can be configured 0 – 6. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Returns |
Xml that conforms to
CustomerDetailsExtended xsd for the selected interface version |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerDetailsExtendedWithParameters xmlns="http://www.magentaretail.com.au/"> <emailaddress /> <loyaltycardnumber>GC100000000000075638</loyaltycardnumber> <dob /> <surname>Smith</surname> <postCode>4000</postCode> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>TEST</webSitePassword> </CustomerDetailsExtendedWithParameters> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Sample Soap Response (version 11) |
<EEECustomerTable CustomerCode="000001"> <CustomerRecord Address1="10 Some Street" Address2="" Address3="BRISBANE CITY" Address4="" Postcode="4000" State="QLD" ConsentDateTime="2012-06-07T14:51:42" ConsentGiven="1" Country="Australia" CustomerCategoryCode="LOYALTY" CustomerCode="000001" CustomerSubCategoryCode="" DOB="1968-06-09T00:00:00" Delivery1="10 Some Street" Delivery2="" Delivery3="BRISBANE CITY" Delivery4="" DeliveryPostcode="4000" DeliveryState="QLD" Demographic1="" Demographic10="" Demographic11="" Demographic12="" Demographic13="" Demographic14="" Demographic15="" Demographic16="" Demographic17="" Demographic18="" Demographic19="test" Demographic2="" Demographic20="" Demographic3="" Demographic4="" Demographic5="" Demographic6="" Demographic7="" Demographic8="" Demographic9="" DoNotContact="0" Email="joan.smith@magentaretail.com.au" ExternalId="test" FirstName="Joan" Gender="F" LoyaltyNumber="GC100000000000075638" MasterCustomerAssociationDate="2012-08-10T00:00:00" MasterCustomerCode="MAGENTA" Mobile="" OptOutEmail="0" OptOutMobile="0" ParentCustomerCode="" Phone="07 883 7843" Postcode="4000" Salutation="Mrs" State="QLD" Surname="Smith" MasterCustomerAssociationExpiryDate="" PriceBookCode="" OptOutPost="" BranchCode="" BranchDescription="" SignUpCouponIssued="" MarketingOptin="1" IsCorporate="1" TradeReferralCode="0000000003" IsGuest="1" IsMobileVerified="1" ExternalId2="AXC001927394739" IsSuspended="0"/> <DemographicQuestions Answer="99" Id="799" QuestionId="20"/> <DemographicQuestions Answer="True" Id="880" QuestionId="21"/> <DemographicQuestions Answer="False" Id="2282" QuestionId="1"/> <DemographicQuestions Id="2283" QuestionId="2"/> <CouponsAvailableToCustomer> <Coupon CouponCode="0000001G1" CouponDollarValue="50.00" CouponNumber="52" CouponPercentageValue="0.00" CustomerCode="000001" EndDate="1900-01-01T00:00:00" ExpiryDate="2011-06-03T00:00:00" IssueDate="2011-05-03T00:00:00" PromotionCode="VIP201101" PromotionCouponId="54" PromotionDescription="VIP Signup Sale" PromotionType="VIP Signup" RedeemDate="1900-01-01T00:00:00" StartDate="2011-01-01T00:00:00"/> </CouponsAvailableToCustomer> <CustomerLoyaltyCardDetails> <CustomerLoyaltyCard AccumulatedPoints="2098.1320" CustomerCode="000001" ExpiryDate="2013-02-10T00:00:00" IssueDate="2010-07-27T11:45:40" LoyaltyCardNumber="GC100000000000075638" RemainingValue="45.0000"/> </CustomerLoyaltyCardDetails> <CustomerAddresses> <Address Description="In-store address" Surname="Smith" FirstName="Joan" AddressLine1="10 Some Street" AddressLine2="" AddressLine3="BRISBANE CITY" AddressLine4="" IsoCountryCode="AU" IsoSubdivisionCode="AU-QLD" PostCode="4000" Notes="Leave unattended if not
present." ShippingDPID="auspostdpid" ShippingEmail="joan.smith@magentaretail.com.au" /> <Address Description="In-store delivery address" Surname="Smith" FirstName="Joan" AddressLine1="10 Some Street" AddressLine2="" AddressLine3="BRISBANE CITY" AddressLine4="" IsoCountryCode="AU" IsoSubdivisionCode="AU-QLD" PostCode="4000" /> <Address Description="Other Address" Surname="Smith" IsoCountryCode="AU" IsoSubdivisionCode="AU-QLD" /> </CustomerAddresses> </EEECustomerTable> |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Method |
CustomerConfirmationWithDetailsExtended |
||||||||||||||||||||
|
Latest interface version |
11 |
||||||||||||||||||||
|
Intended Usage |
Confirms a customers email address as valid and
returns the customers demographic detail and available coupons and loyalty
card details. |
||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||
|
Returns |
Xml that conforms to
CustomerDetailsExtended xsd for the selected interface version |
||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerConfirmationWithDetailsExtended xmlns="http://www.magentaretail.com.au/"> <emailId>BCA0003E-E17F-4C38-826B-6444A0405225</emailId> <customerCode>000001</customerCode> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>TEST</webSitePassword> </CustomerConfirmationWithDetailsExtended> </soap:Body> </soap:Envelope> |
||||||||||||||||||||
|
Sample Soap Response (version 11) |
<EEECustomerTable CustomerCode="000001"> <CustomerRecord Address1="10 Some Street" Address2="" Address3="BRISBANE CITY" Address4="" Postcode="4000" State="QLD" ConsentDateTime="2012-06-07T14:51:42" ConsentGiven="1" Country="Australia" CustomerCategoryCode="LOYALTY" CustomerCode="000001" CustomerSubCategoryCode="" DOB="1968-06-09T00:00:00" Delivery1="10 Some Street" Delivery2="" Delivery3="BRISBANE CITY" Delivery4="" DeliveryPostcode="4000" DeliveryState="QLD" Demographic1="" Demographic10="" Demographic11="" Demographic12="" Demographic13="" Demographic14="" Demographic15="" Demographic16="" Demographic17="" Demographic18="" Demographic19="test" Demographic2="" Demographic20="" Demographic3="" Demographic4="" Demographic5="" Demographic6="" Demographic7="" Demographic8="" Demographic9="" DoNotContact="0" Email="joan.smith@magentaretail.com.au" ExternalId="test" FirstName="Joan" Gender="F" LoyaltyNumber="GC100000000000075638" MasterCustomerAssociationDate="2012-08-10T00:00:00" MasterCustomerCode="MAGENTA" Mobile="" OptOutEmail="0" OptOutMobile="0" ParentCustomerCode="" Phone="07 883 7843" Postcode="4000" Salutation="Mrs" State="QLD" Surname="Smith" MasterCustomerAssociationExpiryDate="" PriceBookCode="" OptOutPost="" BranchCode="" BranchDescription="" SignUpCouponIssued="" MarketingOptin="1" IsCorporate="1" TradeReferralCode="0000000003" IsGuest="1" IsMobileVerified="1" ExternalId2="AXC001927394739" IsSuspended="0"/> <DemographicQuestions Answer="99" Id="799" QuestionId="20"/> <DemographicQuestions Answer="True" Id="880" QuestionId="21"/> <DemographicQuestions Answer="False" Id="2282" QuestionId="1"/> <DemographicQuestions Id="2283" QuestionId="2"/> <CouponsAvailableToCustomer> <Coupon CouponCode="0000001G1" CouponDollarValue="50.00" CouponNumber="52" CouponPercentageValue="0.00" CustomerCode="000001" EndDate="1900-01-01T00:00:00" ExpiryDate="2011-06-03T00:00:00" IssueDate="2011-05-03T00:00:00" PromotionCode="VIP201101" PromotionCouponId="54" PromotionDescription="VIP Signup Sale" PromotionType="VIP Signup" RedeemDate="1900-01-01T00:00:00" StartDate="2011-01-01T00:00:00"/> </CouponsAvailableToCustomer> <CustomerLoyaltyCardDetails> <CustomerLoyaltyCard AccumulatedPoints="2098.1320" CustomerCode="000001" ExpiryDate="2013-02-10T00:00:00" IssueDate="2010-07-27T11:45:40" LoyaltyCardNumber="GC100000000000075638" RemainingValue="45.0000"/> </CustomerLoyaltyCardDetails> <CustomerAddresses> <Address Description="In-store address" Surname="Smith" FirstName="Joan" AddressLine1="10 Some Street" AddressLine2="" AddressLine3="BRISBANE CITY" AddressLine4="" IsoCountryCode="AU" IsoSubdivisionCode="AU-QLD" PostCode="4000" Notes="Leave unattended if not
present." ShippingDPID="auspostdpid" ShippingEmail="joan.smith@magentaretail.com.au" /> <Address Description="In-store delivery address" Surname="Smith" FirstName="Joan" AddressLine1="10 Some Street" AddressLine2="" AddressLine3="BRISBANE CITY" AddressLine4="" IsoCountryCode="AU" IsoSubdivisionCode="AU-QLD" PostCode="4000" /> <Address Description="Other Address" Surname="Smith" IsoCountryCode="AU" IsoSubdivisionCode="AU-QLD" /> </CustomerAddresses> </EEECustomerTable> |
|
Method |
CustomerSegmentMembership_Lookup |
||||||||||||||||
|
Intended Usage |
Retrieves the segments that a supplied customer
is a member of |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
Xml that conforms to CustomerSegmentMembership_Lookup
xsd |
||||||||||||||||
|
Sample Soap Request |
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Header> <Action s:mustUnderstand="1" xmlns="http://schemas.microsoft.com/ws/2005/05/addressing/none"> http://www.magentaretail.com.au/CustomerSegmentMembership_Lookup </Action> </s:Header> <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <CustomerSegmentMembership_Lookup xmlns="http://www.magentaretail.com.au/"> <customerCode>0000000003A</customerCode> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>mBJmafmM0y</websitePassword> </CustomerSegmentMembership_Lookup> </s:Body> </s:Envelope> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerSegmentMembership_LookupResponse xmlns="http://www.magentaretail.com.au/"> <CustomerSegmentMembership_LookupResult>
H4sIAAAAAAAEAI3RSwrCMBAG4KsM3YemxfqAWJC2oIviwhPUZrBBk5RkVDybC4/kFVRU0IKP2
U3mh2/CnI8nkW09WY1ugSuNhkrUS3S+US08J5mVOA74raIgFY8gzOQ4SK59jr52qiVlTTpvCZ
QBslBWbo2kzAoKXamNCF9jIq8IC0PoUKYxj3qMJ4wPrqGXdxE+pHdy2CGfW3rYK2rslqC2Wvv
v4E1jMf8LHHXAabVDKA/3f8FESof+B9dnPGbRZy78eIT0AmS1Hj6jAQAA </CustomerSegmentMembership_LookupResult> </CustomerSegmentMembership_LookupResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Unzipped Response Content |
<CustomerSegmentMembership CustomerCode="000001"> <Segment Id="5"> <Description>Opt in to Marketing Email</Description> <DateEntered>2014-05-07</DateEntered> </Segment> <Segment Id="8"> <Description>Customers without comms</Description> <DateEntered>2015-07-20</DateEntered> </Segment> <Segment Id="9"> <Description>Have My Email Address</Description> <DateEntered>2016-02-10</DateEntered> </Segment> </CustomerSegmentMembership> |
|
Method |
ItemsToPromoteToCustomer |
||||||||||||||||||||||||
|
Intended Usage |
Gets a list of products to promote to
the customer |
||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||
|
Returns |
Xml that conforms to
ItemsToPromoteToCustomer.xsd which is in the form of a .NET data set |
||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ItemsToPromoteToCustomer xmlns="http://www.magentaretail.com.au/"> <customerCode>000001</customerCode> <branchCode>99</branchCode> <webSiteItemsOnly>0</webSiteItemsOnly> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>TEST</websitePassword> </ItemsToPromoteToCustomer> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ItemsToPromoteToCustomerResponse xmlns="http://www.magentaretail.com.au/"> <ItemsToPromoteToCustomerResult>
<xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="Table">
<xs:complexType> <xs:sequence> <xs:element name="Type" type="xs:string" minOccurs="0" /> <xs:element name="productcode" type="xs:string" minOccurs="0" /> <xs:element name="Code" type="xs:string" minOccurs="0" /> </xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Table1">
<xs:complexType> <xs:sequence> <xs:element name="Column1" type="xs:string" minOccurs="0" /> <xs:element name="productcode" type="xs:string" minOccurs="0" /> <xs:element name="Code" type="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 xmlns="">
<Table1 diffgr:id="Table11" msdata:rowOrder="0">
<Column1>RECOMMEND BY ANALYSIS1</Column1>
<productcode>6686072</productcode>
<Code>WW</Code>
</Table1>
<Table1 diffgr:id="Table12" msdata:rowOrder="1">
<Column1>RECOMMEND BY ANALYSIS1</Column1>
<productcode>6686067005</productcode>
<Code>WW</Code>
</Table1>
<Table1 diffgr:id="Table13" msdata:rowOrder="2">
<Column1>RECOMMEND BY ANALYSIS1</Column1>
<productcode>6686067006</productcode>
<Code>WW</Code>
</Table1>
</NewDataSet>
</diffgr:diffgram> </ItemsToPromoteToCustomerResult> </ItemsToPromoteToCustomerResponse> </soap:Body> </soap:Envelope> |
|
Method |
Customer_Invoice |
||||||||||||||||||||||||
|
Intended Usage |
Retrieve tax invoices for specific customers. |
||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||
|
Returns |
Xml including base64 encoded
pdf files. |
||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap12:Body> <Customer_Invoice xmlns="http://www.magentaretail.com.au/"> <customerCode>0000004147</customerCode> <invoiceNumber></invoiceNumber> <customerOrderNumber>070201000001</customerOrderNumber> <websiteUserCode>XXX</websiteUserCode> <websitePassword>XXX</websitePassword> </Customer_Invoice> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Customer_InvoiceResponse xmlns="http://www.magentaretail.com.au/"> <Customer_InvoiceResult> <Invoices> <Invoice FileName="20145.pdf" MimeType="application/pdf">JVBERi0xLjQKJdP0zOEKJ...0YK</Invoice> </Invoices> </Customer_InvoiceResult> </Customer_InvoiceResponse> </soap:Body> </soap:Envelope> |
|
Method |
CustomerLoyaltyCardDetails |
||||||||||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||||||||||
|
Returns |
Xml data that conforms to
CustomerLoyaltyCardDetails.xsd |
||||||||||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerLoyaltyCardDetails xmlns="http://www.magentaretail.com.au/"> <emailaddress>test@magentaretail.com.au</emailaddress> <password>password</password> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>TEST</webSitePassword> </CustomerLoyaltyCardDetails> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerLoyaltyCardDetailsResponse xmlns="http://www.magentaretail.com.au/"> <CustomerLoyaltyCardDetailsResult>
<xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="Table">
<xs:complexType> <xs:sequence> <xs:element name="CustomerCode" type="xs:string" minOccurs="0" /> <xs:element name="LoyaltyCardNumber" type="xs:string" minOccurs="0" /> <xs:element name="IssueDate" type="xs:dateTime" minOccurs="0" /> <xs:element name="ExpiryDate" type="xs:dateTime" minOccurs="0" /> <xs:element name="RemainingValue" type="xs:decimal" minOccurs="0" /> <xs:element name="AccumulatedPoints" type="xs:decimal" 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 xmlns="">
<Table diffgr:id="Table1" msdata:rowOrder="0">
<CustomerCode>000001</CustomerCode>
<LoyaltyCardNumber>GC100000000000075638</LoyaltyCardNumber>
<IssueDate>2010-07-27T11:45:40+10:00</IssueDate>
<ExpiryDate>2013-11-28T00:00:00+10:00</ExpiryDate>
<RemainingValue>160.0000</RemainingValue>
<AccumulatedPoints>63.1320</AccumulatedPoints>
</Table>
</NewDataSet>
</diffgr:diffgram> </CustomerLoyaltyCardDetailsResult> </CustomerLoyaltyCardDetailsResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||||||
|
Method |
LoyaltyGiftCardStatus |
||||||||||||||||
|
Intended Usage |
Determine the current status of a
loyalty gift card |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
0 = Card is valid and not issued and
can be used 1 = Card is invalid 2 = Card is valid but is already
issued to a customer |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <LoyaltyGiftCardStatus xmlns="http://www.magentaretail.com.au/"> <loyaltycardnumber>GC100000000000075638</loyaltycardnumber> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>KXHCQsxzIh</webSitePassword> </LoyaltyGiftCardStatus> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <LoyaltyGiftCardStatusResponse xmlns="http://www.magentaretail.com.au/"> <LoyaltyGiftCardStatusResult>2</LoyaltyGiftCardStatusResult> </LoyaltyGiftCardStatusResponse> </soap:Body> </soap:Envelope> |
|
Method |
CustomerLoyaltyStatement |
||||||||||||||||||||||||
|
Latest interface version |
4 |
||||||||||||||||||||||||
|
Intended Usage |
Used to retrieve a customer’s loyalty
statement detail. |
||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||
|
Returns |
Xml that conforms to
CustomerLoyaltyStatement.xsd |
||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerLoyaltyStatement xmlns="http://www.magentaretail.com.au/"> <customerCode>000002</customerCode> <dateFrom>20120701</dateFrom> <dateTo>20120801</dateTo> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>TEST</webSitePassword> </CustomerLoyaltyStatement> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerLoyaltyStatementResponse xmlns="http://www.magentaretail.com.au/"> <CustomerLoyaltyStatementResult>
<LoyaltyStatement xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
OpeningBalance="55.25" ClosingBalance="30.45" AsAtDate="01/08/2012"
FromDate="01/07/2012" LoyaltyRewardIssued="15.00"
LoyaltyRewardRedeemed="5.00" LoyaltyRewardExpired="0.00"
LoyaltyRewardClosingBalance="10.00" LoyaltyRewardOpeningBalance="0.00"
ConsumedIssued="300.00" ConsumedExpired="0.00"
ConsumedTransferred="0.00" xmlns="">
<LoyaltyTransaction
TransactionDate="23/07/2012 14:57:58"
SortTransactionDate="2012-07-23T14:57:58.140"
Detail="Points Bonus: Manual Points 1 (99\SA) "
RewardPoints="100.00"
ConsumedReason="Points Issued" InvoiceNumber="" />
<LoyaltyTransaction TransactionDate="23/07/2012 14:58:37"
SortTransactionDate="2012-07-23T14:58:37"
ConsumedReason="Reward Issued" PointsConsumed="-100.00" />
<LoyaltyTransaction TransactionRef="99990200000193"
TransactionDate="24/07/2012 16:19:56"
SortTransactionDate="2012-07-24T16:19:56"
Detail="Gift Card Redemption"
RewardPoints="-5.00" BranchDescription="Head Office's"
ConsumedReason="Points Issued" InvoiceNumber="999902000086" />
<LoyaltyTransaction TransactionDate="24/07/2012 17:00:00"
SortTransactionDate="2012-07-24T17:00:00"
ConsumedReason="Reward Issued" PointsConsumed="-200.00" />
<LoyaltyTransaction TransactionDate="07/05/2021 13:39:17"
SortTransactionDate="2021-05-07T13:39:17" ConsumedReason="test2"
PointsConsumed="-85.00" />
<RewardTransaction VoucherNumber="GC100000000000050011"
TransactionType="R" BranchCode="0722" Till="01 "
Reference1="07220100000170"
Date="2019-12-24T10:18:51" Amount="550.0000" Notes="" />
<RewardTransaction VoucherNumber="GC100000000000050011"
TransactionType="R" BranchCode="0722" Till="01 "
Reference1="07220100000152"
Date="2019-12-23T08:22:00" Amount="320.0000" Notes="" />
<RewardTransaction VoucherNumber="GC100000000000050011"
TransactionType="R" BranchCode="0722" Till="01 "
Reference1="07220100000154"
Date="2019-12-23T08:23:28" Amount="450.0000" Notes="" />
<RewardTransaction VoucherNumber="GC100000000000050011"
TransactionType="R" BranchCode="0722" Till="01 "
Reference1="07220100000156"
Date="2019-12-23T08:26:03" Amount="450.0000" Notes="" />
</LoyaltyStatement> </CustomerLoyaltyStatementResult> </CustomerLoyaltyStatementResponse> </soap:Body> </soap:Envelope> |
|
Method |
LoyaltyPointsTransfer |
||||||||||||||||||||||||
|
Intended Usage |
Transfer loyalty points from one
customer to another |
||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||
|
Returns |
True, when transfer complete. False, otherwise. |
||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <LoyaltyPointsTransfer xmlns="http://www.magentaretail.com.au/"> <customerCodeFrom>000002</customerCodeFrom> <loyaltyCardNumberTo>GC100000000000075638</loyaltyCardNumberTo> <pointsToTransfer>10</pointsToTransfer> <websiteUserCode>TEST</websiteUserCode> <webSitePassword>KXHCQsxzIh</webSitePassword> </LoyaltyPointsTransfer> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <LoyaltyPointsTransferResponse xmlns="http://www.magentaretail.com.au/"> <LoyaltyPointsTransferResult>true</LoyaltyPointsTransferResult> </LoyaltyPointsTransferResponse> </soap:Body> </soap:Envelope> |
|
Method |
CouponRedemption |
||||||||||||||||||||||||
|
Intended Usage |
Redeem a coupon for a customer using
the coupon code and customer code to locate the coupon |
||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||
|
Returns |
True, when coupon redeemed. False otherwise. |
||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CouponRedemption xmlns="http://www.magentaretail.com.au/"> <couponCode>0000000W4</couponCode> <customerCode>000001</customerCode> <redeemTransactionNumber>995598</redeemTransactionNumber> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>TEST</webSitePassword> </CouponRedemption> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CouponRedemptionResponse xmlns="http://www.magentaretail.com.au/"> <CouponRedemptionResult>true</CouponRedemptionResult> </CouponRedemptionResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
NOTE: |
The RedeemedDate of the coupon is set to the
time that this method is executed |
|
Method |
CouponRedemptionById |
||||||||||||||||||||||||||||
|
Intended Usage |
Redeem a coupon for a customer using
the PromotionCouponId to locate the coupon |
||||||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||||||
|
Returns |
True, when coupon redeemed. False, otherwise. |
||||||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CouponRedemptionById xmlns="http://www.magentaretail.com.au/"> <promotionCouponId>1578</promotionCouponId> <customerCode>000001</customerCode> <redeemTransactionNumber>7854111</redeemTransactionNumber> <redeemDate>2012-12-15T10:51:08</redeemDate> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>TEST</webSitePassword> </CouponRedemptionById> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CouponRedemptionByIdResponse xmlns="http://www.magentaretail.com.au/"> <CouponRedemptionByIdResult>true</CouponRedemptionByIdResult> </CouponRedemptionByIdResponse> </soap:Body> </soap:Envelope> |
|
Method |
CouponValid |
||||||||||||||||||||
|
Intended Usage |
Verifies that a coupon is able to be redeemed |
||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||
|
Returns |
True, when coupon able to be used. False, otherwise. |
||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CouponValid xmlns="http://www.magentaretail.com.au/"> <couponCode>0000000W4</couponCode> <customerCode>000001</customerCode> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>TEST</webSitePassword> </CouponValid> </soap:Body> </soap:Envelope> |
||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CouponValidResponse xmlns="http://www.magentaretail.com.au/"> <CouponValidResult>false</CouponValidResult> </CouponValidResponse> </soap:Body> </soap:Envelope> |
|
Method |
CouponsAvailableToCustomer |
||||||||||||||||
|
Intended Usage |
Retreive a list of coupons available to the
customer for redemption |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
Xml that conforms to
CouponsAvailableToCustomer.xsd |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CouponsAvailableToCustomer xmlns="http://www.magentaretail.com.au/"> <customerCode>000001</customerCode> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>TEST</websitePassword> </CouponsAvailableToCustomer> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CouponsAvailableToCustomerResponse xmlns="http://www.magentaretail.com.au/"> <CouponsAvailableToCustomerResult>
<xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:MainDataTable="Data" msdata:UseCurrentLocale="true">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="Data">
<xs:complexType> <xs:sequence> <xs:element name="CouponCode" type="xs:string" minOccurs="0" /> <xs:element name="CouponNumber" type="xs:long" minOccurs="0" /> <xs:element name="CouponImage" type="xs:base64Binary" minOccurs="0" /> <xs:element name="PromotionCode" type="xs:string" minOccurs="0" /> <xs:element name="StartDate" type="xs:dateTime" minOccurs="0" /> <xs:element name="EndDate" type="xs:dateTime" minOccurs="0" /> <xs:element name="CustomerCode" type="xs:string" minOccurs="0" /> <xs:element name="IssueDate" type="xs:dateTime" minOccurs="0" /> <xs:element name="ExpiryDate" type="xs:dateTime" minOccurs="0" /> <xs:element name="RedeemDate" type="xs:dateTime" minOccurs="0" /> <xs:element name="RedeemTransactionNumber" type="xs:string" minOccurs="0" /> <xs:element name="PromotionType" type="xs:string" minOccurs="0" /> <xs:element name="CouponPercentageValue" type="xs:decimal" minOccurs="0" /> <xs:element name="CouponDollarValue" type="xs:decimal" minOccurs="0" /> <xs:element name="PromotionDescription" type="xs:string" minOccurs="0" /> <xs:element name="PromotionCouponId" type="xs:int" 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">
<DocumentElement xmlns="">
<Data diffgr:id="Data1" msdata:rowOrder="0">
<CouponCode>0000000W4</CouponCode>
<CouponNumber>32</CouponNumber>
<CouponImage>iVBORw0KGgoAAAANSUhEUgAAAVgAAAAzCAYAAADSKBBtAAAAAXNSR0</CouponImage>
<PromotionCode>CSCCOUPON</PromotionCode>
<StartDate>2010-01-01T00:00:00+10:00</StartDate>
<CustomerCode>000001</CustomerCode>
<IssueDate>2012-04-24T14:29:47+10:00</IssueDate>
<ExpiryDate>2012-12-30T00:00:00+10:00</ExpiryDate>
<RedeemTransactionNumber />
<PromotionType>Generic</PromotionType>
<CouponPercentageValue>0.00</CouponPercentageValue>
<CouponDollarValue>10.0000</CouponDollarValue>
<PromotionDescription>CSC Coupon</PromotionDescription>
<PromotionCouponId>1489</PromotionCouponId>
</Data>
</DocumentElement>
</diffgr:diffgram> </CouponsAvailableToCustomerResult> </CouponsAvailableToCustomerResponse> </soap:Body> </soap:Envelope> |
|
Method |
CouponsAvailableToCustomer2 |
||||||||||||||||
|
Intended Usage |
Retreive a list of coupons available to the
customer for redemption |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
GZipped byte array containing Xml
that conforms to CouponsAvailableToCustomer2.xsd |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CouponsAvailableToCustomer2 xmlns="http://www.magentaretail.com.au/"> <customerCode>000001</customerCode> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>TEST</websitePassword> </CouponsAvailableToCustomer2> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CouponsAvailableToCustomer2Response xmlns="http://www.magentaretail.com.au/"> <CouponsAvailableToCustomer2Result>
H4sIAAAAAAAACn2Ry2rDMBBF94X+g9DejR41JMEpFDsLQ9uYRhS6VBIRBLIl9Cj131eK41TddB
iQmDncuRpVtQ5GD+75i0vFD0owXQfndS/s0/0dANXUB9NR65PYQHQJ3JbwWn4L/UHYDSwfIeis
7rWXM9u971537LPbRnjvufUN97FMECYFIgWhDKH1JaPYdfDvFEwoBMnGHK1zQdwkaJLAy0xi+2
2kHXOgLPCKEbouVzEze2w0kXnRI1d+BHt5HoKZ39MJexSD52fxwVVIXh6SeG5kAhutFLcZlLDb
iEa4o5UmXf8uIttRUmlP0eySxsYi7rxa/PslP9rC8kSxAQAA </CouponsAvailableToCustomer2Result> </CouponsAvailableToCustomer2Response> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Unzipped Response Content |
<CouponsAvailableToCustomer> <Coupon CouponCode="0000001I5" CouponNumber="54" PromotionCode="PROMOTYPE5" StartDate="2012-02-23T00:00:00" CustomerCode="0000123" IssueDate="2013-02-18T00:00:00" ExpiryDate="2013-05-19T23:59:59" PromotionType="Loyalty Signup" CouponPercentageValue="0.00" CouponDollarValue="0.0000" PromotionDescription="PROMOTYPE5" PromotionCouponId="2835" /> </CouponsAvailableToCustomer> |
|
Method |
CouponRedemptionConfirm |
||||||||||||||||||||||||||||
|
Intended Usage |
“Hardens” a coupon redemption
performed using CouponRedemption. NOTE: There is a process in EEE that
can “unredeem” coupons where the redemption was within a specified number of
hours and the redeem transaction number starts with a specified string. |
||||||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||||||
|
Returns |
True, when coupon redeemed. False, otherwise. |
||||||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CouponRedemptionConfirm xmlns="http://www.magentaretail.com.au/"> <couponCode>0000000W4</couponCode> <customerCode>000001</customerCode> <redeemTransactionNumber>995598</redeemTransactionNumber> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>TEST</webSitePassword> <originalRedeemTransactionNumber>
PSC_995598 </originalRedeemTransactionNumber> </CouponRedemptionConfirm> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CouponRedemptionConfirmResponse xmlns="http://www.magentaretail.com.au/"> <CouponRedemptionConfirmResult>true</CouponRedemptionConfirmResult> </CouponRedemptionConfirmResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||
|
NOTE: |
The RedeemedDate of the coupon is set to the
time that this method is executed |
|
Method |
CouponRedemptionReverse |
||||||||||||||||||||||||
|
Intended Usage |
Reverses a “soft” coupon redemption
performed using CouponRedemption. NOTE: There is a process in EEE that can
“unredeem” coupons where the redemption was within a specified number of
hours and the redeem transaction number starts with a specified string. |
||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||
|
Returns |
True, when coupon redemption reversed. False, otherwise. |
||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CouponRedemptionReverse xmlns="http://www.magentaretail.com.au/"> <couponCode>0000000W4</couponCode> <customerCode>000001</customerCode> <originalRedeemTransactionNumber>PSC_995598</originalRedeemTransactionNumber > <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>TEST</webSitePassword> </CouponRedemptionReverse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CouponRedemptionReverseResponse xmlns="http://www.magentaretail.com.au/"> <CouponRedemptionReverseResult>true</CouponRedemptionReverseResult> </CouponRedemptionReverseResponse> </soap:Body> </soap:Envelope> |
|
Method |
CustomerCoupon_Get |
||||||||||||||||||||||||
|
Intended Usage |
Customer Coupon Details |
||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||
|
Returns |
Xml that conforms to CustomerCoupon_Get.xsd. |
||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerCoupon_Get xmlns="http://www.magentaretail.com.au/"> <websiteCode>MAGENTA</websiteCode> <maxRows>5</maxRows> <fullLoad>true</fullLoad> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>zZaarDhpS5</websitePassword> </CustomerCoupon_Get> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerCoupon_GetResponse xmlns="http://www.magentaretail.com.au/"> <CustomerCoupon_GetResult> <CustomerCoupon_Get ExtractGuid="BE9EEEAB-7BFE-4CBE-8952-21A41BBF6460" xmlns=""> <CustomerCoupon xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <CouponCode>0000001L6</CouponCode> <CouponNumber>57</CouponNumber> <CouponImage> iVBORw0KGgoAAAANSUhEUgAAAfcAAABKCAYAAACmVh04AAAAAXNSR0I 7DAcdvqGQAAAwDSURBVHhe7ZvRkiO5CkT7/3967vR2eNft6yrIBMqyf …omitted… YFJR0IQAACEIAAw50egAAEIAABCGxGgOG+WUFJBwIQgAAEIMBwpwcgA AEIQAACmxFguG9WUNKBAAQgAAEIMNzpAQhAAAIQgMBmBP4HmT1V1aNe FncAAAAASUVORK5CYII= </CouponImage> <PromotionCode>RLY0000001</PromotionCode> <StartDate>2012-01-01T00:00:00</StartDate> <EndDate>2020-11-24T00:00:00</EndDate> <CustomerCode>0000000001</CustomerCode> <IssueDate>2013-08-05T00:00:00</IssueDate> <ExpiryDate>2287-05-20T00:00:00</ExpiryDate> <RedeemDate xsi:nil="true" /> <RedeemTransactionNumber xsi:nil="true" /> <PromotionType>Generic</PromotionType> <CouponPercentageValue>0.00</CouponPercentageValue> <CouponDollarValue>10.0000</CouponDollarValue> <PromotionDescription>Loyalty $10 eVoucher</PromotionDescription> <PromotionCouponId>193</PromotionCouponId> </CustomerCoupon> </CustomerCoupon_Get> </CustomerCoupon_GetResult> </CustomerCoupon_GetResponse> </soap:Body> </soap:Envelope> |
|
Method |
CustomerCoupon_AcknowledgeGet |
||||||||||||||||
|
Intended Usage |
Acknowledge a batch retrieved with
CustomerCoupon_Get |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
Boolean
- True on success, False otherwise. |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-16"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerCoupon_AcknowledgeGet xmlns="http://www.magentaretail.com.au/"> <batchId> BE9EEEAB-7BFE-4CBE-8952-21A41BBF6460</batchId> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>zZaarDhpS5</websitePassword> </CustomerCoupon_AcknowledgeGet> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerCoupon_AcknowledgeGetResponse xmlns="http://www.magentaretail.com.au/"> <CustomerCoupon_AcknowledgeGetResult>true</CustomerCoupon_AcknowledgeGetResult> </CustomerCoupon_AcknowledgeGetResponse> </soap:Body> </soap:Envelope> |
|
Method |
CustomerPoints_Get |
||||||||||||||||||||||||
|
Intended Usage |
Customer Points Details |
||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||
|
Returns |
Xml that conforms to CustomerPoints_Get.xsd. |
||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-16"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerPoints_Get xmlns="http://www.magentaretail.com.au/"> <websiteCode>MAGENTA</websiteCode> <maxRows>5</maxRows> <fullLoad>true</fullLoad> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>zZaarDhpS5</websitePassword> </CustomerPoints_Get> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerPoints_GetResponse xmlns="http://www.magentaretail.com.au/"> <CustomerPoints_GetResult> <CustomerPoints_Get ExtractGuid="C1B6BA85-7E56-4649-9CD5-0C73808C7249" xmlns=""> <CustomerLoyalty AccumulatedPoints="153.5000" CustomerCode="99999999991847" /> <CustomerLoyalty AccumulatedPoints="0.0000" CustomerCode="99999999991848" /> <CustomerLoyalty AccumulatedPoints="0.0000" CustomerCode="99999999991849" /> <CustomerLoyalty AccumulatedPoints="0.0000" CustomerCode="9999999999185" /> <CustomerLoyalty AccumulatedPoints="0.0000" CustomerCode="99999999991850" /> </CustomerPoints_Get> </CustomerPoints_GetResult> </CustomerPoints_GetResponse> </soap:Body> </soap:Envelope> |
|
Method |
CustomerPoints_AcknowledgeGet |
||||||||||||||||
|
Intended Usage |
Acknowledge a batch retrieved with CustomerPoints_Get |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
Boolean
- True on success, False otherwise. |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerPoints_AcknowledgeGet xmlns="http://www.magentaretail.com.au/"> <batchId>B0619126-F9D2-47E6-8555-59E493F31585</batchId> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>zZaarDhpS5</websitePassword> </CustomerPoints_AcknowledgeGet> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerPoints_AcknowledgeGetResponse xmlns="http://www.magentaretail.com.au/"> <CustomerPoints_AcknowledgeGetResult>true</CustomerPoints_AcknowledgeGetResult> </CustomerPoints_AcknowledgeGetResponse> </soap:Body> </soap:Envelope> |
|
Method |
Email Statistics |
|||||||||||||||
|
Parameters |
|
|||||||||||||||
|
Returns |
True if the
statistics were imported without
errors |
|||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <EmailStatistics xmlns="http://www.magentaretail.com.au/"> <emailStatsXmlString> <stats
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <stat> <ccid>3008</ccid> <action>1</action> <linkid
xsi:nil="true" /> <clicksourceid
xsi:nil="true" /> <sourceid>1</sourceid> <utccreated>2010-06-15T06:17:21.993</utccreated> </stat> <stat> <ccid>3008</ccid> <action>2</action> <linkid>100</linkid> <clicksourceid
xsi:nil="true" /> <sourceid>2</sourceid> <utccreated>2010-06-15T06:17:21.993</utccreated> </stat> <stat> <ccid>3008</ccid> <action>3</action> <linkid
xsi:nil="true" /> <clicksourceid>2</clicksourceid> <sourceid>3</sourceid> <utccreated>2010-06-15T06:17:21.993</utccreated> </stat> </stats> </emailStatsXmlString> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>KXHCQsxzIh</webSitePassword> </EmailStatistics> </soap:Body> </soap:Envelope> |
|||||||||||||||
|
Sample Decoded Request Content |
<stats xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <stat> <ccid>3008</ccid> <action>1</action> <linkid xsi:nil="true" /> <clicksourceid xsi:nil="true" /> <sourceid>1</sourceid> <utccreated>2010-06-15T06:17:21.993</utccreated> </stat> <stat> <ccid>3008</ccid> <action>2</action> <linkid>100</linkid> <clicksourceid xsi:nil="true" /> <sourceid>2</sourceid> <utccreated>2010-06-15T06:17:21.993</utccreated> </stat> <stat> <ccid>3008</ccid> <action>3</action> <linkid xsi:nil="true" /> <clicksourceid>2</clicksourceid> <sourceid>3</sourceid> <utccreated>2010-06-15T06:17:21.993</utccreated> </stat> </stats> |
|||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <EmailStatisticsResponse xmlns="http://www.magentaretail.com.au/"> <EmailStatisticsResult>true</EmailStatisticsResult> </EmailStatisticsResponse> </soap:Body> </soap:Envelope> |
|||||||||||||||
The website synchronisation methods are in place to enable customers to retrieve product and related data from EEE for use on their public facing web stores. There are also methods for the web stores to use to send sales and customer orders to the EEE database.
This document describes data extraction methods via web service from EEE to external systems.
· Get/Acknowledge Get methods - each synchronisation method (_Get) can be operated in either full load or incremental mode and supports an acknowledgement method (_AcknowledgeGet) to confirm successful receipt of the data. Acknowledging an extraction is required to instruct the system prepare changes for the next incremental extraction. Acknowledgement is required for both full and incremental modes. The synchronisation API is intended to be called in sequence to return pages of data, one at a time Get, Ack, Get, Ack etc.
· Look Up methods (_LookUp) - provide a real time lookup of EEE.
· Insert (_Insert) methods - commit data to EEE.
A reset is performed behind the scenes when the Get synchronisation methods are invoked with the fullLoad flag set to true.
For the initial call, EEE expects the appropriate Get method to be invoked with fullLoad set to true. Subsequent calls are expected to be made with fullLoad set to false to retrieve queued changes.
EEE will automatically queue any changes to published products in the background so after the initial full load, the method should be invoked with the fullLoad parameter set to false unless a full load of data is required.
The following example is for Product Extended but applies to all synchronisation methods.
For example, to retrieve a full load of data for extended product details:
· A call is made ProductExtended_Get with fullLoad = true, maxRows = 1000, websiteCode = "MAGENTA"
o EEE queues every product published to the MAGENTA website for send
o EEE sends the first 1000 products and the extractGuid
· The consuming website processes the 1000 products and sends ProductExtended_AcknowledgeGet with the supplied extractGuid
o EEE sends true to confirm acknowledgement
· While more data is found
o A call is made to ProductExtended_ Get with fullLoad = false, maxRows = 1000, websiteCode = "MAGENTA"
§ EEE sends the next 1000 products and a new extractGuid
o The consuming website processes the 1000 products and sends ProductExtended_AcknowledgeGet with the supplied extractGuid
§ EEE sends true to confirm acknowledgement
Similarly, calls can be made to periodically request changes to keep the Product data in sync:
On a regular schedule:
· A call is made ProductExtended_Get with fullLoad = false, maxRows = 1000, websiteCode = "MAGENTA"
o EEE sends the first 1000 products with changes since the last call and the extractGuid
· The consuming website processes the 1000 products and sends ProductExtended_AcknowledgeGet with the supplied extractGuid
o EEE sends true to confirm acknowledgement
· While more data is found
o A call is made to ProductExtended_ Get with fullLoad = false, maxRows = 1000, websiteCode = "MAGENTA"
§ EEE sends the next 1000 products and a new extractGuid
o The consuming website processes the 1000 products and sends ProductExtended_AcknowledgeGet with the supplied extractGuid
§ EEE sends true to confirm acknowledgement
|
Method |
Product_Get |
||||||||||||||||||||||||
|
Intended Usage |
Returns a gzipped UTF8 encoded byte array of
Product xml data. In incremental mode (fullLoad = false), the set returned
also identifies Products previously sent that are no longer available on the
website. Refer usage samples. |
||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||
|
Returns |
byte[] - Returns a gzipped base64
encoded byte array of Product xml data that conforms to ProductExchange.xsd
except when customised output is selected. See Customise Website Fields |
||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Product_Get xmlns="http://www.magentaretail.com.au/"> <fullLoad>true</fullLoad> <maxRows>0</maxRows> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>PZmuYczbDQ</webSitePassword> </Product_Get> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Product_GetResponse xmlns="http://www.magentaretail.com.au/"> <Product_GetResult> H4sIAAAAAAAEAO2WXW7bOBDHrzLwc21Zcj6aQBEQy0k2QBcN1uhmXxlqbBGmSC1JRVGfeo2eZR/2LnuBvcIOLccfqdQWxWLRAusnkf/hzHiG85P +/uPP+M7orOJujg6eCqns+ZMVF4PcufI8COq6HtWTkTbLIBqPw+C3n9/MeY4FGwplHVMcB3D15Azj7qYS2cVgMr0OT86i02F6Fl4Oj6I0HE7Ty fHw6uT1SToOT48vo3CQPAe13xZyez6JLxWTjRU2THWGyTiMg8OdrUG0Mdg3iQ5NJq0J2exMJocmR+vl29m+l3YvnhqmsvXjzew6jYPdupVmaLk RpRNaJTdaZ3BdGSVcZRBSXZRMNZsz+4ZxqqWujHcDVKRzJeTFwJmKyh4k8QxLl3fu7zxEMDOsRgNTyfhqHapytCSbVRwcxLpG5tMJOzw+S+N+L eqXJv3SUb903C+d9Eun/dLrfumsQ/oJxTJ3HcKtvceHeYlcMDlDKR7RNL/g75UwmCV0dz6rx2+0Wu6X/UriI3MIDfUZam1WtmQcoRbUWpcjXHK nFWzb6Ps2gtSwhcMMFtrAgyZL6xqJQLcHFpXi3jGTwjWvyIWw8O5XKJlQ/kRG58EiKyRaKxt4kKgyCwXdMKO8KpaqDV76qRacSXKuDVviCO79v qCxdbUGn6fQlYVsnZl9BVYirkAKhbTwuZQGC1EVUNAfNFQNu8lnnQRRQ1n6A4Ul2waM1gVQjhoYnVuPN1UOUD0Ko1WByo3i4GXxnkGwnbsx/Wg 297fju8rwnFm8owGYi/eYhKPx+kd2L6V4nmvj9kJ09N8b9kzk3LehT6vKUgo0YTJ/d+eT3G3E/sIIhy+Df2F6+06Ru56rey+yTmIEW6B2k7Xjy AFEP6NPvqBvkRr9KEilieXOCA5UfJg7f9F9P+AtWwX3OTXkf65+B1y9dcB1gbaFGaOFekQliCMbYG2EoiRwbggHLXt9Rx8qIR19cgBnhEgimCL dUwiIUBSwIjsuK0fT2LKOranmdEl+DXq6AqHFLCmQ1Z7u5EkBMiuIuq3SMr/MtSK23rq/PnwkFMLSUO2gZo2PJApiIWHQvwnQLLXSheAW9KI9q xcLQYnQW8C6Kmu+lpDRv0nIr5mHTxH130G0C4PfzsfnJ+uZIJFeqbuNzRPs1fZisH0rTVtPn5wKdl/gyT+QjsbUkQsAAA== </Product_GetResult> </Product_GetResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Unzipped Response Content |
<ProductSet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ExtractGuid="3BF16927-C91A-42C1-BC35-E686C0175A21"> <Products xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Product> <Analysis1Code>01</Analysis1Code> <Analysis2Code>0101</Analysis2Code> <Analysis3Code>0010</Analysis3Code> <Analysis4Code>OD01</Analysis4Code> <BrandCode>GDFC</BrandCode> <BrandDescription>Good Furniture Company</BrandDescription> <ColourCode xsi:nil="true" /> <Depth xsi:nil="true" /> <Description>2 Drawer Black Computer Desk</Description> <Feature1 xsi:nil="true" /> <Feature10 xsi:nil="true" /> <Feature2 xsi:nil="true" /> <Feature3 xsi:nil="true" /> <Feature4 xsi:nil="true" /> <Feature5 xsi:nil="true" /> <Feature6 xsi:nil="true" /> <Feature7 xsi:nil="true" /> <Feature8 xsi:nil="true" /> <Feature9 xsi:nil="true" /> <Height xsi:nil="true" /> <IsWebSpecialDeliveryRequired>0</IsWebSpecialDeliveryRequired> <LongDescription>Elevate your workspace with the Acton 2 Drawer Desk. Crafted for
both style and functionality, this UV painted desk seamlessly blends modern
design with practical storage. With its two spacious drawers, sleek lines,
and premium materials, this desk transforms any room into a productive
environment.</LongDescription> <ProductCode>GDFC00001</ProductCode> <PurchasePackSize>1.000000</PurchasePackSize> <ShortDescription xsi:nil="true" /> <SizeCode xsi:nil="true" /> <StyleCode xsi:nil="true" /> <Supplier1>SUP01</Supplier1> <WebSiteShortDescription>2 Drawer Black Computer Desk</WebSiteShortDescription> <Weight xsi:nil="true" /> <Width xsi:nil="true" /> </Product> <Product> <Analysis1Code xsi:nil="true" /> <Analysis2Code xsi:nil="true" /> <Analysis3Code xsi:nil="true" /> <Analysis4Code>OD02</Analysis4Code> <BrandCode>GDFC</BrandCode> <BrandDescription>Good Furniture Company</BrandDescription> <ColourCode xsi:nil="true" /> <Depth xsi:nil="true" /> <Description>Electric Sit Stand Desk Oak/White</Description> <Feature1 xsi:nil="true" /> <Feature10 xsi:nil="true" /> <Feature2 xsi:nil="true" /> <Feature3 xsi:nil="true" /> <Feature4 xsi:nil="true" /> <Feature5 xsi:nil="true" /> <Feature6 xsi:nil="true" /> <Feature7 xsi:nil="true" /> <Feature8 xsi:nil="true" /> <Feature9 xsi:nil="true" /> <Height xsi:nil="true" /> <IsWebSpecialDeliveryRequired>0</IsWebSpecialDeliveryRequired> <LongDescription>It comes with a convenient drawer with ample storage space and
built-in cable management to reduce clutter, and a desktop wireless charger
so you can easily charge your phone. It’s a great way to improve the
ergonomics of your office or study.</LongDescription> <ProductCode>GDFC00002</ProductCode> <PurchasePackSize>1.000000</PurchasePackSize> <ShortDescription>Electric Sit Stand Desk Oak/White</ShortDescription> <SizeCode xsi:nil="true" /> <StyleCode xsi:nil="true" /> <Supplier1>SUP01</Supplier1> <WebSiteShortDescription xsi:nil="true" /> <Weight xsi:nil="true" /> <Width xsi:nil="true" /> </Product> </Products> <DeletedProducts> <Product ProductCode="GDFC00001B" /> </DeletedProducts> </ProductSet> |
|
Method |
Product_AcknowledgeGet |
||||||||||||||||
|
Intended Usage |
Acknowledge a batch retrieved using
Product_Get. Refer usage samples. |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
True on success, false otherwise. |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Product_AcknowledgeGet xmlns="http://www.magentaretail.com.au/"> <extractGuid>3BF16927-C91A-42C1-BC35-E686C0175A21</extractGuid> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>TEST</webSitePassword> </Product_AcknowledgeGet> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Product_AcknowledgeGetResponse xmlns="http://www.magentaretail.com.au/"> <Product_AcknowledgeGetResult>true</Product_AcknowledgeGetResult> </Product_AcknowledgeGetResponse> </soap:Body> </soap:Envelope> |
|
Method |
ProductExtended_Get |
||||||||||||||||||||||||
|
Intended Usage |
Returns a gzipped UTF8
encoded byte array of Product xml data including renamed Extra Info fields
and Extended Attributes as defined in EEE. These field names may change if
they are changed in EEE. In incremental mode (fullLoad = false), the set
returned also identifies Products previously sent that are no longer
available on the website. Refer usage samples. |
||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||
|
Returns |
byte[] - Returns a gzipped UTF8
encoded byte array of Product xml data similar to what is defined in
ProductExchange.xsd. When customised output is selected the extended data is
not covered by an XSD. See Customise Website Fields |
||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ProductExtended_Get xmlns="http://www.magentaretail.com.au/"> <fullLoad>false</fullLoad> <websiteCode>MAGENTA</websiteCode> <maxRows>0</maxRows> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>TEST</webSitePassword> </ProductExtended_Get> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ProductExtended_GetResponse xmlns="http://www.magentaretail.com.au/"> <ProductExtended_GetResult> H4sIAAAAAAAEAO1X0XLqNhD9FU2er7ExkADjMEMgSZkbbm4DKX3LCFtgDbLkSnKAPvU3+i196L/0B/oLXRljTGKHTl 7ubSe8YO85K612V9Lx33/86X2VIkh8PSEabSLGVXej6OVZqHXcte31el1bN2pCLm3Xcer2z+O7iR+SCFuUK425T87Q 9UZL7OvbhAaXZ51+u94ati+sVr/et5oX13Xrqu4MrHanOexfOTcX9VbnrLefVL1vyty/5/U5ZltFFcwhAoJgoC6n7P JMywRCswsEg/ecumcfW3KCmxGKFPeY0thRgHOgNI4pzfT1flgcpXlMaZ2I9PwEfnECb5/AOxX4ldgMSazDcugHQpeh LsdmNCh3k5gH6eJvhzcDzz6876AhUb6ksaaC926FCNBNIjnViSRoIKIY823mUyR6A8FEIisWMZAEG9oQa9JzHbdpOU 2r3prWG92m2221ap0OFO+I5VWtujiri4YSr4lEVwz7qzS8RMMrcFaefRQf7AciIdejoF4y6AF1y1GJR3whKlwlnpJN WRVuMH/aOI7rPI2FFjJ7nmGt8bIsT7dMzEnG+jHBXFO9LaFVVn3EYcvTZ9gNnp0/eyM1I/NJTHyK2ZAwsMntA/kloZ IEKfMt3BtpEg2SOfXHREuiSma9o3z1QNaSmuJaQVoRa24qYvlZRawgrUiR6d0JviyW6JqRZ6g82kIfobWQKxVjn6A1 hTbQIUF9XwuO8pKbGtfQQOKFJgFaCInmAphKbxlB0J1okXDfDIwZZPETDEEVevwJxZhy42EiQorgiBGl2BbNGeGBQh F0sOQGpUu+mzw2Byn1MYPBhYTK1dDM2CmclHotkImTikSh3dLVJ6QYISvEKCfwYmKJJYloEqEIFighzSqLJw0C+ocr WECkgLtFUogIQYwCYfBLT1QoCSL8mUrBI8J1DTL5InkeVAcXDCVlMozPZAuZDcqqaOAp1aysL8cieLV1z7tO02zd83 bDs/cEwySsZIQvb5xjOfYIx0xv7NnHhhSvbPkDWPQuWFLG7C332YH8ebnzn730rzhLc6w4+cHgcbN7qtZ9APfeLyw7 RuXSC+jRAMXFp4bK1RfQfPkvbRmpIgEH8CiEQgru4TiRNCBTvHkwLQIHzkvTXjjkl5IDP7iqi+Y9Z7qNyzp0QrD0Q2 jvckwJXnE1TUIh9dsbZ0J/JVXe5rSpwpI4ZpTIem/y+NUs52DIMeNadqlAZmSarJoD+dq/edU3R4Zkd0f6134a4036 1Hkq8yDzPmNifQXnNBwJRJrKvDbmvOtNDJkqkjKLYVxP+2b/l08zTk9cbkRiRarM/RPSOKZ8CWV+htaQKrMruCu+iI kW/moawv0TChZUjADMl9U8oRCqvMxw5ko/zkX5tIY3Ag0MAZYSKrZepTqDPoYkqfwJZf+XZ66T/hoX7Xb7PCXbB7ad i+93qvA3cPcE3jiB5/Lb/ZDf35n8brW6brvWPL94j/wGxeZrSX0EmwhNtBE6Zl+he7yyZyFsrA8N/i00OMnKYsHZaZ mP8yCV35aAsqx3ZXlTiI80At0O06TqF8MLfyacgvDMFG4GRDGIxUwSo51YNy0wTyjTFuXIx6CpQfJywI1sRSBpYTkJ 8HyWaKj2ThzjVAZrEcO4khg5jvwQyyVMpIT5HICROIJLnIJM3yG7j4Q4FBzE+Ej/9dvvoJ3R0nQwWuOtmYlGIJ5BN5 tPByKXgouI+gqJxc5XLBYUAoHPBqWTYPshqT8k9f9eUrvfRlL/m3vitQT7UN3/WdVdLZS/W0HdaVQL6v1TwTghuvcP YfY+gacXAAA= </ProductExtended_GetResult> </ProductExtended_GetResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Unzipped Response Content |
<ProductSet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ExtractGuid="9A815D87-5A1A-47E1-B10C-894DAB0F7159"> <Products xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Product> <Analysis10Code xsi:nil="true" /> <Analysis1Code>01</Analysis1Code> <Analysis2Code>0101</Analysis2Code> <Analysis3Code>0010</Analysis3Code> <Analysis4Code>OD01</Analysis4Code> <Analysis5Code xsi:nil="true" /> <Analysis6Code xsi:nil="true" /> <Analysis7Code xsi:nil="true" /> <Analysis8Code xsi:nil="true" /> <Analysis9Code xsi:nil="true" /> <BoxDepth xsi:nil="true" /> <BoxHeight xsi:nil="true" /> <BoxWidth xsi:nil="true" /> <BrandCode>GDFC</BrandCode> <BrandDescription>Good Furniture Company</BrandDescription> <ColourCode xsi:nil="true" /> <CreationDate>2024-04-15T13:42:55.990</CreationDate> <Depth xsi:nil="true" /> <Description>2 Drawer Black Computer Desk</Description> <ExternalId1 xsi:nil="true" /> <ExternalId2 xsi:nil="true" /> <ExtraInfo1 xsi:nil="true" /> <ExtraText xsi:nil="true" /> <Fan_x0020_Motor_x0020_Wattage xsi:nil="true" /> <Globe_x0020_Quantity xsi:nil="true" /> <Height xsi:nil="true" /> <Inactive>0</Inactive> <IsWebSpecialDeliveryRequired>0</IsWebSpecialDeliveryRequired> <ItemCubicMetres xsi:nil="true" /> <LinkRewrite>2-drawer-black-computer-desk</LinkRewrite> <LongDescription>
Elevate your workspace with the Acton 2 Drawer Desk. Crafted for both
style and functionality, this UV painted desk seamlessly blends modern
design with
practical storage. With its two spacious drawers, sleek lines, and
premium
materials, this desk transforms any room into a productive
environment. </LongDescription> <MetaDescription xsi:nil="true" /> <MetaKeywords xsi:nil="true" /> <MetaTitle xsi:nil="true" /> <ModDate>2024-04-15T16:04:55.683</ModDate> <Model xsi:nil="true" /> <NBoxDepth xsi:nil="true" /> <NBoxDepthUnit>M</NBoxDepthUnit> <NBoxHeight xsi:nil="true" /> <NBoxHeightUnit>M</NBoxHeightUnit> <NBoxWeight xsi:nil="true" /> <NBoxWeightUnit>Kg</NBoxWeightUnit> <NBoxWidth xsi:nil="true" /> <NBoxWidthUnit>M</NBoxWidthUnit> <nItemDepth xsi:nil="true" /> <nItemDepthUnit>M</nItemDepthUnit> <nItemHeight xsi:nil="true" /> <nItemHeightUnit>M</nItemHeightUnit> <nItemWeight xsi:nil="true" /> <nItemWeightUnit>Kg</nItemWeightUnit> <nItemWidth xsi:nil="true" /> <nItemWidthUnit>M</nItemWidthUnit> <OverrideTaxRate>0</OverrideTaxRate> <ProductCode>GDFC00001</ProductCode> <ProductType xsi:nil="true" /> <SearchKey xsi:nil="true" /> <SeasonCode xsi:nil="true" /> <ShortDescription xsi:nil="true" /> <SizeCode xsi:nil="true" /> <StyleCode xsi:nil="true" /> <Supplier1>SUP01</Supplier1> <SupplierCode1 xsi:nil="true" /> <Taxrate>0.00</Taxrate> <Wattage xsi:nil="true" /> <Wattage_x0020__x0028_Max_x0029_ xsi:nil="true" /> <WebAllowBackorder>0</WebAllowBackorder> <WebAllowExport>0</WebAllowExport> <WebETADate xsi:nil="true" /> <WebMaintenanceCode xsi:nil="true" /> <WebShippingProviders
/> <WebsiteNoStockThreshold xsi:nil="true" /> <WebSiteShortDescription>2 Drawer Black Computer Desk</WebSiteShortDescription> <WebTextAllowBackorder xsi:nil="true" /> <WebTextInstock xsi:nil="true" /> <Weight xsi:nil="true" /> <Width xsi:nil="true" /> <Barcodes>
<Barcode Barcode="2000000378886" /> </Barcodes> </Product> <Product> <Analysis10Code xsi:nil="true" /> <Analysis1Code xsi:nil="true" /> <Analysis2Code xsi:nil="true" /> <Analysis3Code xsi:nil="true" /> <Analysis4Code>OD02</Analysis4Code> <Analysis5Code xsi:nil="true" /> <Analysis6Code xsi:nil="true" /> <Analysis7Code xsi:nil="true" /> <Analysis8Code xsi:nil="true" /> <Analysis9Code xsi:nil="true" /> <BoxDepth xsi:nil="true" /> <BoxHeight xsi:nil="true" /> <BoxWidth xsi:nil="true" /> <BrandCode>GDFC</BrandCode> <BrandDescription>Good Furniture Company</BrandDescription> <ColourCode xsi:nil="true" /> <CreationDate>2024-04-15T13:55:28.467</CreationDate> <Depth xsi:nil="true" /> <Description>Electric Sit Stand Desk Oak/White</Description> <ExternalId1 xsi:nil="true" /> <ExternalId2 xsi:nil="true" /> <ExtraInfo1 xsi:nil="true" /> <ExtraText xsi:nil="true" /> <Fan_x0020_Motor_x0020_Wattage xsi:nil="true" /> <Globe_x0020_Quantity xsi:nil="true" /> <Height xsi:nil="true" /> <Inactive>0</Inactive> <IsWebSpecialDeliveryRequired>0</IsWebSpecialDeliveryRequired> <ItemCubicMetres xsi:nil="true" /> <LinkRewrite>electric-sit-stand-desk-oak/white</LinkRewrite> <LongDescription> It
comes with a convenient drawer with ample storage space and built-in
cable management to reduce clutter, and a desktop wireless charger so
you can easily
charge your phone. It’s a great way to improve the ergonomics of your
office or
study. </LongDescription> <MetaDescription xsi:nil="true" /> <MetaKeywords xsi:nil="true" /> <MetaTitle xsi:nil="true" /> <ModDate>2024-04-15T16:04:55.683</ModDate> <Model xsi:nil="true" /> <NBoxDepth xsi:nil="true" /> <NBoxDepthUnit>M</NBoxDepthUnit> <NBoxHeight xsi:nil="true" /> <NBoxHeightUnit>M</NBoxHeightUnit> <NBoxWeight xsi:nil="true" /> <NBoxWeightUnit>Kg</NBoxWeightUnit> <NBoxWidth xsi:nil="true" /> <NBoxWidthUnit>M</NBoxWidthUnit> <nItemDepth xsi:nil="true" /> <nItemDepthUnit>M</nItemDepthUnit> <nItemHeight xsi:nil="true" /> <nItemHeightUnit>M</nItemHeightUnit> <nItemWeight xsi:nil="true" /> <nItemWeightUnit>Kg</nItemWeightUnit> <nItemWidth xsi:nil="true" /> <nItemWidthUnit>M</nItemWidthUnit> <OverrideTaxRate>0</OverrideTaxRate> <ProductCode>GDFC00002</ProductCode> <ProductType xsi:nil="true" /> <SearchKey xsi:nil="true" /> <SeasonCode xsi:nil="true" /> <ShortDescription>Electric Sit Stand Desk Oak/White</ShortDescription> <SizeCode xsi:nil="true" /> <StyleCode xsi:nil="true" /> <Supplier1>SUP01</Supplier1> <SupplierCode1 xsi:nil="true" /> <Taxrate>0.00</Taxrate> <Wattage xsi:nil="true" /> <Wattage_x0020__x0028_Max_x0029_ xsi:nil="true" /> <WebAllowBackorder>0</WebAllowBackorder> <WebAllowExport>0</WebAllowExport> <WebETADate xsi:nil="true" /> <WebMaintenanceCode xsi:nil="true" /> <WebShippingProviders
/> <WebsiteNoStockThreshold xsi:nil="true" /> <WebSiteShortDescription xsi:nil="true" /> <WebTextAllowBackorder xsi:nil="true" /> <WebTextInstock xsi:nil="true" /> <Weight xsi:nil="true" /> <Width xsi:nil="true" /> <Barcodes>
<Barcode Barcode="2000000378893" /> </Barcodes> </Product> </Products> </ProductSet> |
|
Method |
ProductExtended_AcknowledgeGet |
||||||||||||||||
|
Intended Usage |
Acknowledge a batch retrieved using
ProductExtended_Get. |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
True on success, false otherwise. |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ProductExtended_AcknowledgeGet xmlns="http://www.magentaretail.com.au/"> <extractGuid>B0619126-F9D2-47E6-8555-59E493F31585</extractGuid> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>TEST</webSitePassword> </ProductExtended_AcknowledgeGet> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ProductExtended_AcknowledgeGetResponse xmlns="http://www.magentaretail.com.au/"> <ProductExtended_AcknowledgeGetResult>true</ProductExtended_AcknowledgeGetResult> </ProductExtended_AcknowledgeGetResponse> </soap:Body> </soap:Envelope> |
|
Method |
ProductPromotion_Get |
||||||||||||||||||||||||
|
Intended Usage |
Returns a gzipped UTF8
encoded byte array of ProductPromotion xml data. In incremental mode
(fullLoad = false), the set returned also identifies ProductPromotions
previously sent that are no longer available on the website. The data conforms to
ProductPromotionExchange.xsd. Refer usage samples. |
||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||
|
Returns |
byte[] - Returns a
gzipped UTF8 encoded byte array. |
||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ProductPromotion_Get xmlns="http://www.magentaretail.com.au/"> <fullLoad>true</fullLoad> <websiteCode>MAGENTA</websiteCode> <maxRows>0</maxRows> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>OHBKfnlkXa</webSitePassword> </ProductPromotion_Get> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ProductPromotion_GetResponse xmlns="http://www.magentaretail.com.au/"> <ProductPromotion_GetResult>
H4sIAAAAAAAACm2PPQuDMBRF90L/Q8geE2PBRlQw8WOpWOrQrhKlCtUUjcSfX0EpHfqWO9zD4T7/Oqp6l
nqNXulODWWjwdK/hslbpi6ArdZvD2NjjGUcS41PTAmx8SO/lLJt+gp1w6SrQTYQJIseK6mzuasDSFIeC0
45SsVZoJMbJYi5giKWUs6ciMTUZTA8HgDw9wVAqLoJYBangqxnb+3Wb9N24p7w663IixUBeFPg3fFPuFN
f5vfT8ANqA3AP/wAAAA== </ProductPromotion_GetResult> </ProductPromotion_GetResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Unzipped Response Content |
<ProductPromotionSet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ExtractGuid="0FBDCB2B-FC8C-47AE-97C2-9F2B93A0D279"> <Product Code="GDFC00001"> <Promotion Code="WEBPROMO01" /> </Product> <Product Code="1" /> </ProductPromotionSet> |
|
Method |
ProductPromotion_AcknowledgeGet |
||||||||||||||||
|
Intended Usage |
Acknowledge a batch retrieved using
ProductPromotion_Get. |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
bool - True on success, false
otherwise |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ProductPromotion_AcknowledgeGet xmlns="http://www.magentaretail.com.au/"> <extractGuid>0FBDCB2B-FC8C-47AE-97C2-9F2B93A0D279</extractGuid> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>OHBKfnlkXa</webSitePassword> </ProductPromotion_AcknowledgeGet> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ProductPromotion_AcknowledgeGetResponse xmlns="http://www.magentaretail.com.au/"> <ProductPromotion_AcknowledgeGetResult>true</ProductPromotion_AcknowledgeGetResult> </ProductPromotion_AcknowledgeGetResponse> </soap:Body> </soap:Envelope> |
|
Method |
ProductPromotionPrice_Get |
||||||||||||||||||||||||
|
Intended Usage |
Returns a gzipped UTF8
encoded byte array of ProductPromotionPrice xml data. In incremental mode
(fullLoad = false), the set returned also identifies ProductPromotionPrices
previously sent that are no longer available on the website. Note
ProductPromotionPrice_Get ONLY returns data for promotions which explicitly
set a promotional price at the SKU or style level. Promotions set by percentage are NOT
returned by this call – refer Price_Get as the preferred promotional price
interface. The data conforms to
ProductPromotionPriceExchange.xsd. |
||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||
|
Returns |
byte[] - Returns a
gzipped UTF8 encoded byte array. |
||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ProductPromotionPrice_Get xmlns="http://www.magentaretail.com.au/"> <fullLoad>true</fullLoad> <websiteCode>MAGENTA</websiteCode> <maxRows>0</maxRows> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>KXHCQsxzIh</webSitePassword> </ProductPromotionPrice_Get> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ProductPromotionPrice_GetResponse xmlns="http://www.magentaretail.com.au/"> <ProductPromotionPrice_GetResult>
H4sIAAAAAAAACm1QS4+DIBC+N9n/QLgjWFvARnrARy9tatrD7tUgWUlWaZBGf/7SaPaynctk8j0zWe1s+1Q+rN56Y4faGaXv2oO5/
xnGwzwaATvvHweMp2mKpiSy7htvCYnx1+V8V53uG2SG0TeD0hCUs3eN8qenaQXkCS1pTgvEUsnQju4I4jytUMFKLhPO5L6o4PFjA0
C21gC5bbWAp6LKSZh4QRd86bcyPktZ366Xa6AA6UJ2JyBh23A9ZgETmkYvPQR4scer/7uwoHmx/jj/XnH8BbtbMY0lAQAA </ProductPromotionPrice_GetResult> </ProductPromotionPrice_GetResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Unzipped Response Content |
<ProductPromotionPriceSet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ExtractGuid="836E6C6D-79B7-4640-889F-D7E8B387B5DF"> <Product Code="GDFC00001"> <Promotion Code="WEBPROMO01" Branch="0721" px="369.0000" /> </Product> <Product Code="1" /> </ProductPromotionPriceSet> |
|
Method |
ProductPromotionPrice_AcknowledgeGet |
||||||||||||||||
|
Intended Usage |
Acknowledge a batch retrieved using
ProductPromotionPrice_Get. |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
bool - True on success, false otherwise |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ProductPromotionPrice_AcknowledgeGet xmlns="http://www.magentaretail.com.au/"> <extractGuid>836E6C6D-79B7-4640-889F-D7E8B387B5DF</extractGuid> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>KXHCQsxzIh</webSitePassword> </ProductPromotionPrice_AcknowledgeGet> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ProductPromotionPrice_AcknowledgeGetResponse xmlns="http://www.magentaretail.com.au/"> <ProductPromotionPrice_AcknowledgeGetResult>true</ProductPromotionPrice_AcknowledgeGetResult> </ProductPromotionPrice_AcknowledgeGetResponse> </soap:Body> </soap:Envelope> |
|
Method |
Inventory_Get |
||||||||||||||||||||||||||||
|
Intended Usage |
Returns a gzipped UTF8 encoded byte array of Inventory xml
data. The data conforms to InventoryExchangev{x}.xsd
where {x} indicates interface version used. |
||||||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||||||
|
Returns |
byte[] - Returns a gzipped UTF8 encoded byte array. |
||||||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Inventory_Get xmlns="http://www.magentaretail.com.au/"> <fullLoad>true</fullLoad> <websiteCode>MAGENTA</websiteCode> <branchCode>0721</branchCode> <maxRows>0</maxRows> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>OHBKfnlkXa</webSitePassword> </Inventory_Get> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Inventory_GetResponse xmlns="http://www.magentaretail.com.au/"> <Inventory_GetResult>
H4sIAAAAAAAACo2PsQrCMBRFd8F/CNlj05ASh7TQl6TFTfELQhNolxTCq9i/tyKIOIh3PBwOXH1Kt5hwzus1InF3zH7Afpl
CTQWAdUZapsB2TLYVsFaBZADKKHWsuJCONvsdIfodIec8h2VAM4dY0952hm8rKYHs0zC+MFdiI5fFJ5xwrWm5KYenxzklxV
9F8btYfQV18XmzeQABnH7G9QAAAA== </Inventory_GetResult> </Inventory_GetResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||
|
Sample Unzipped Response Content |
<InventorySet ExtractGuid="2BBDEC4D-7BDF-4A5B-A7B4-BB7C7785024E"> <Inventory ProductCode="GDFC00001" BranchCode="0721" Quantity="1000.000000" /> <Inventory ProductCode="GDFC00002" BranchCode="0721" Quantity="500.000000" /> </InventorySet> |
|
Method |
Inventory_AcknowledgeGet |
||||||||||||||||
|
Intended Usage |
Acknowledge a batch retrieved using Inventory_Get. |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
bool - True on success, false otherwise |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Inventory_AcknowledgeGet xmlns="http://www.magentaretail.com.au/"> <extractGuid>2BBDEC4D-7BDF-4A5B-A7B4-BB7C7785024E</extractGuid> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>KXHCQsxzIh</webSitePassword> </Inventory_AcknowledgeGet> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Inventory_AcknowledgeGetResponse xmlns="http://www.magentaretail.com.au/"> <Inventory_AcknowledgeGetResult>true</Inventory_AcknowledgeGetResult> </Inventory_AcknowledgeGetResponse> </soap:Body> </soap:Envelope> |
|
Method |
Inventory_LookUp |
||||||||||||||||||||||||
|
Intended Usage |
Real time Inventory look up for a single product. |
||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||
|
Returns |
decimal - Quantity on hand. |
||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Inventory_LookUp xmlns="http://www.magentaretail.com.au/"> <productCode>GDFC00001</productCode> <branchCode>0721</branchCode> <websiteCode>MAGENTA</websiteCode> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>KXHCQsxzIh</webSitePassword> </Inventory_LookUp> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Inventory_LookUpResponse xmlns="http://www.magentaretail.com.au/"> <Inventory_LookUpResult>1000.000000</Inventory_LookUpResult> </Inventory_LookUpResponse> </soap:Body> </soap:Envelope> |
|
Method |
Inventory_LookUps |
||||||||||||||||
|
Intended Usage |
Used to retrieve the current
inventory levels for a product or products at multiple locations |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
Returns a gzipped UTF8 encoded
byte array of Inventory xml data that conforms to
Inventory_Lookups_Response.xsd |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Inventory_LookUps xmlns="http://www.magentaretail.com.au/"> <lookupXml>
H4sIAAAAAAAACrPxzCtLzSvJL6r0yc/PLi2w4+VSULAJKMpPKU0uUYDSzvkpqbZK7i5uzgZAYKgEV
gRU5lSUmJecoQChIIoMzI0MlRT08aswgqmw0YfaQIS1RrSx1kYfMwQAWaKushUBAAA= </lookupXml> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>TEST</webSitePassword> </Inventory_LookUps> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Unzipped Request Content |
<InventoryLookup> <Product ProductCode="GDFC00001"> <Branch BranchCode="0721" /> <Branch BranchCode="0722" /> </Product> <Product ProductCode="GDFC00002"> <Branch BranchCode="0721" /> <Branch BranchCode="0722" /> </Product> </InventoryLookup> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Inventory_LookUpsResponse xmlns="http://www.magentaretail.com.au/"> <Inventory_LookUpsResult>
H4sIAAAAAAAEAHu/e7+NZ15Zal5JflFlcGqJHYKnEFCUn1KaXOKcn5Jqq+Tu4uZsAASGSgpORYl5yRkQYQ
NzI6BIYGliXklmSaWtkiFQiZ4BGCgp6JNhmhGyaaQYZYTfYaYkuQvTMNzu0kcJPwCw8eHgUQEAAA== </Inventory_LookUpsResult> </Inventory_LookUpsResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Unzipped Response Content |
<InventorySet> <Inventory ProductCode="GDFC00001" BranchCode="0721" Quantity="1000.000000" /> <Inventory ProductCode="GDFC00001" BranchCode="0722" Quantity="0.000000" /> <Inventory ProductCode="GDFC00002" BranchCode="0721" Quantity="500.000000" /> <Inventory ProductCode="GDFC00002" BranchCode="0722" Quantity="0.000000" /> </InventorySet> |
Note: Allows customised
output. See Customise
Website Fields:
|
Field Exported |
Source Table |
Source Column |
Description |
|
BranchCode |
Price |
BranchCode |
Branch
code that the price applies to |
|
ChangedByReplication |
Price |
ChangedByReplication |
N/A –
do not use |
|
DutyFreePrice |
Price |
DutyFreePrice |
Duty
free price set against the product in EEE |
|
FullPrice |
Price |
FullPrice |
Original
/ Full price set in EEE |
|
ProductCode |
Price |
ProductCode |
Product
that the price applies to |
|
RetailPrice |
Price |
RetailPrice |
Current
retail price set in EEE |
|
RRP |
Price |
RRP |
Current
RRP set in EEE |
|
RRPOverrideExists |
Price |
RRPOverrideExists |
N/A –
do not use |
|
SellPriceOverrideExists |
Price |
SellPriceOverrideExists |
N/A –
do not use |
|
PromotionPrice |
WebsitePromotionalPrice |
wpp.BestPrice |
The
current best price. If retail is the
best price then PromotionalPrice will be the same as retail, otherwise
PromotionalPrice will be the current best promotional price. |
|
MemberPrice |
WebsitePromotionalPrice |
wpp.MemberPrice |
The
best member price available. If there
is no special member price then this will contain the best available price –
either RetailPrice or PromotionalPrice.
This field is also available only if Loyalty Customer Categories are
configured in EEE “Loyalty and Gift Cards” (the member price is the best
price for the first configured
loyalty category) and if EEE is configured to calculate member prices. |
|
PromotionCode |
WebsitePromotionalPrice |
wpp.PromotionCode |
The
promotion code, if applicable, that sets a PromotionPrice lower than
RetailPrice. |
|
ReasonCode |
WebsitePromotionalPrice |
wpp.ReasonCode |
The
reason code, if applicable, that sets a PromotionPrice lower than
RetailPrice. |
|
Method |
Price_Get |
||||||||||||||||||||||||||||
|
Intended Usage |
Returns a gzipped UTF8 encoded byte array of Price xml
data. The data conforms to PriceExchange.xsd. |
||||||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||||||
|
Returns |
byte[] - Returns a gzipped UTF8 encoded byte array. |
||||||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Price_Get xmlns="http://www.magentaretail.com.au/"> <fullLoad>true</fullLoad> <websiteCode>MAGENTA</websiteCode> <branchCode>0721</branchCode> <maxRows>5</maxRows> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>KXHCQsxzIh</webSitePassword> </Price_Get> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Price_GetResponse xmlns="http://www.magentaretail.com.au/"> <Price_GetResult>
H4sIAAAAAAAEAK1RSwrCMBC9Ssm+mlpNUrCFph+XlnqCkAwaqK3EKPVsLjySVzD1Ayound2bN+8Dcz1f5pXRElZgvaK3Rki7OGgVI1qSNGcR
90OCqT8t08BnAWE+TgnljNN8RlKUPMQeN6KVm6xTECNMJwHyso1o16D4qYZdo6Wwumsdh7zKdOog7eN2kZcZduMENVihm7tdjMIoGg17t66r
L7g8gjFaQdHrvd3fPVfQNLtB+YNzedtuSH9a46fT+F/dJ1/dScTeu3/A/3Ufv76W3ADHGd2twwEAAA== </Price_GetResult> </Price_GetResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||
|
Sample Unzipped Response Content |
<PriceSet ExtractGuid="7F6AD89B-3607-4FA1-8168-0A67B8B7D56A"> <Price BranchCode="0721" ChangedByReplication="0" ProductCode="GDFC00001" RetailPrice="399.0000" RRP="399.0000" RRPOverrideExists="0" SellpriceOverrideExists="0" PromotionPrice="0.0000" /> <Price BranchCode="0721" ChangedByReplication="0" ProductCode="GDFC00002" RetailPrice="698.0000" RRP="698.0000" RRPOverrideExists="0" SellpriceOverrideExists="0" PromotionPrice="0.0000" /> </PriceSet> |
|
Method |
Price_AcknowledgeGet |
||||||||||||||||
|
Intended Usage |
Acknowledge a batch retrieved using Price_Get. |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
bool - True on success, false otherwise |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Price_AcknowledgeGet xmlns="http://www.magentaretail.com.au/"> <extractGuid>7F6AD89B-3607-4FA1-8168-0A67B8B7D56A</extractGuid> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>KXHCQsxzIh</webSitePassword> </Price_AcknowledgeGet> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Price_AcknowledgeGetResponse xmlns="http://www.magentaretail.com.au/"> <Price_AcknowledgeGetResult>true</Price_AcknowledgeGetResult> </Price_AcknowledgeGetResponse> </soap:Body> </soap:Envelope> |
|
Method |
Price_LookUp |
||||||||||||||||||||||||||||||||
|
Intended Usage |
Real time Price look up for a product. Considers Customer
discounts if CustomerCode is specified. |
||||||||||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||||||||||
|
Returns |
decimal - Extended Price for the specified Product and Quantity. |
||||||||||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Price_LookUp xmlns="http://www.magentaretail.com.au/"> <productCode>GDFC00001</productCode> <quantity>1</quantity> <branchCode>0721</branchCode> <customerCode>000001</customerCode> <websiteCode>MAGENTA</websiteCode> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>OHBKfnlkXa</webSitePassword> </Price_LookUp> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Price_LookUpResponse xmlns="http://www.magentaretail.com.au/"> <Price_LookUpResult>399.00</Price_LookUpResult> </Price_LookUpResponse> </soap:Body> </soap:Envelope> |
|
Method |
CustomerCategoryPrice_Get |
||||||||||||||||||||||||||||||||
|
Latest Interface Version |
3 |
||||||||||||||||||||||||||||||||
|
Intended Usage |
Used to get Customer Category prices as built
by the Website Customer Category Price build process |
||||||||||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||||||||||
|
Returns |
Returns a gzipped UTF8 encoded byte
array of Customer Category Price xml data that conforms to CustomerCategoryPriceExchange.xsd depending on the interface version used |
||||||||||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerCategoryPrice_Get xmlns="http://www.magentaretail.com.au/"> <fullLoad>true</fullLoad> <websiteCode>MAGENTA</websiteCode> <branchCode>0721</branchCode> <customerCategoryCode>LOYALTY</customerCategoryCode> <maxRows>0</maxRows> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>KXHCQsxzIh</websitePassword> </CustomerCategoryPrice_Get> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerCategoryPrice_GetResponse xmlns="http://www.magentaretail.com.au/"> <CustomerCategoryPrice_GetResult>
H4sIAAAAAAAEAJWQzQqCQBSFX2WYvT9zK1NIwbk6boSk2rgK0aFc5MA4Qj1bix6pV8gwt1F3c+Fwvns493l/bArd1nIvDUmvRle1y
Ya2CakH6PHERwsYT6ylgNQKRCAs8D2OHAMOTNBogvvPJlxXXX1G1ciQumtglBRaNUNtJilLBLrjjDoOvVEXqbEy8qT0bTLk2zLOD+
UbG8+FdLEKbDYClOxk1atuch0R4wMlzp+p8GuqB74NX1KdubQzvy56AfyBPzdIAQAA </CustomerCategoryPrice_GetResult> </CustomerCategoryPrice_GetResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||||||
|
Sample Unzipped Response Content |
<PriceSet ExtractGuid="62C6BD8C-21BD-4F2E-9F9F-286BCBC9B21F"> <Prices> <Price BranchCode="0721" ProductCode="GDFC00001" CustomerCategoryCode="LOYALTY" Price="359.1000" ReasonCode="_CCAT" /> <Price BranchCode="0721" ProductCode="GDFC00002" CustomerCategoryCode="LOYALTY" Price="628.2000" ReasonCode="_CCAT" /> </Prices> </PriceSet> |
|
Method |
CustomerCategoryPrice_AcknowledgeGet |
||||||||||||||||
|
Intended Usage |
Acknowledge a batch retrieved using
CustomerCategoryPrice_Get. |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
True on success, false otherwise. |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerCategoryPrice_AcknowledgeGet xmlns="http://www.magentaretail.com.au/"> <extractGuid>62C6BD8C-21BD-4F2E-9F9F-286BCBC9B21F</extractGuid> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>KXHCQsxzIh</websitePassword> </CustomerCategoryPrice_AcknowledgeGet> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerCategoryPrice_AcknowledgeGetResponse xmlns="http://www.magentaretail.com.au/"> <CustomerCategoryPrice_AcknowledgeGetResult>true</CustomerCategoryPrice_AcknowledgeGetResult> </CustomerCategoryPrice_AcknowledgeGetResponse> </soap:Body> </soap:Envelope> |
|
Method |
Cost_Get |
||||||||||||||||||||||||||||||||
|
Intended Usage |
Returns a gzipped UTF8 encoded byte array of Cost xml
data. The data conforms to CostExchange.xsd. |
||||||||||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||||||||||
|
Returns |
byte[] - Returns a gzipped UTF8 encoded byte array. |
||||||||||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Cost_Get xmlns="http://www.magentaretail.com.au/"> <fullLoad>true</fullLoad> <websiteCode>MAGENTA</websiteCode> <branchCode>0721</branchCode> <costType>2</costType> <maxRows>5</maxRows> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>KXHCQsxzIh</webSitePassword> </Cost_Get> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Cost_GetResponse xmlns="http://www.magentaretail.com.au/"> <Cost_GetResult>
H4sIAAAAAAAEAH2PSw6CMABEr9J0X1oKhk+EpC2fjSYmLHRLChESoYaWwN1ceCSvIKiJK53lZOZN5nG7b4XSpqgNmLtLr8NZt
xFsjLmGGE/TZE2OpYYzpoTY+LTfFbKpuxK1vTZlL2sI0tkMpTT52FYRDAKXU9/NEOUpRS7zbMQ2KUc8I47vs8ARCYPxaxEcBl
WN0ghV1RHMk0yQRTYEfFjAzdsmHl2cIxMr2loDEOB/ffqzvxz4AvDnc/wEAk0tGgABAAA= </Cost_GetResult> </Cost_GetResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||||||
|
Sample Unzipped Response Content |
<CostSet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ExtractGuid="994B284F-2BE2-4A71-A5EB-BF0388A93CDA"> <Cost ProductCode="GDFC00001" BranchCode="0721" WAC="99.0000" /> <Cost ProductCode="GDFC00002" BranchCode="0721" WAC="200.0000" /> </CostSet> |
|
Method |
Cost_AcknowledgeGet |
||||||||||||||||
|
Intended Usage |
Acknowledge a batch retrieved using Cost_Get. |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
bool - True on success, false otherwise |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Cost_AcknowledgeGet xmlns="http://www.magentaretail.com.au/"> <extractGuid>B0619126-F9D2-47E6-8555-59E493F31585</extractGuid> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>OHBKfnlkXa</webSitePassword> </Cost_AcknowledgeGet> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Cost_AcknowledgeGetResponse xmlns="http://www.magentaretail.com.au/"> <Cost_AcknowledgeGetResult>true</Cost_AcknowledgeGetResult> </Cost_AcknowledgeGetResponse> </soap:Body> </soap:Envelope> |
|
Method |
Colour_Get |
||||||||||||||||||||||||
|
Intended Usage |
Returns a gzipped UTF8 encoded byte array of Colour xml
data. The data conforms to ColourExchange.xsd. |
||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||
|
Returns |
byte[] - Returns a gzipped UTF8 encoded byte array. |
||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Colour_Get xmlns="http://www.magentaretail.com.au/"> <fullLoad>true</fullLoad> <websiteCode>MAGENTA</websiteCode> <maxRows>0</maxRows> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>KXHCQsxzIh</webSitePassword> </Colour_Get> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Colour_GetResponse xmlns="http://www.magentaretail.com.au/"> <Colour_GetResult>H4sIAAAAAAAACqWTS4vDIBSF94X+B8k+RI02BtJAE0t3pfRB1yG5MDIhKdYMM/9++n7MYu7Cn
fdy/M5Rr1nZt/1gN+DI/NvZqnaLwTTTQFEqU8F1GGsxCYXWNExLVYSKJ4Lp2TwpSh7k4xEh2ZVwWT+qsm8gp4xm0Ut9
U2g41tYcnOm7vGir+jOLXlsX5m0basAwg/2HceBhwDGDNTQe+BjDr0zncz8C4y8sQOdhINEDDPbQ+rxAis/Q4MHn6Iw
uq68fjK+hBQfNtXV89yFP/DTYbaWMmVIBif5XJUyxGFWlTE7EXXUO+SfGPeXpf+e/zeRRzesDAAA= </Colour_GetResult> </Colour_GetResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Unzipped Response Content |
<ColourSet ExtractGuid="8005942D-3D46-4DD0-9C8B-82741DAE7BC2"> <Colour> <ColourCode>010</ColourCode> <Description>Black</Description> </Colour> <Colour> <ColourCode>011</ColourCode> <Description>White</Description> </Colour> <Colour> <ColourCode>012</ColourCode> <Description>Red</Description> </Colour> <Colour> <ColourCode>013</ColourCode> <Description>Pink</Description> </Colour> <Colour> <ColourCode>014</ColourCode> <Description>Green</Description> </Colour> <Colour> <ColourCode>015</ColourCode> <Description>Purple</Description> </Colour> <Colour> <ColourCode>019</ColourCode> <Description>Blue</Description> </Colour> <Colour> <ColourCode>020</ColourCode> <Description>Navy</Description> </Colour> <DeletedColours> <Colour ColourCode="UT553188" /> <Colour ColourCode="UT571813" /> <Colour ColourCode="UT591564" /> </DeletedColours> </ColourSet> |
|
Method |
Colour_AcknowledgeGet |
||||||||||||||||
|
Intended Usage |
Acknowledge a batch retrieved using Colour_Get. |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
bool - True on success, false otherwise |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Colour_AcknowledgeGet xmlns="http://www.magentaretail.com.au/"> <extractGuid>8005942D-3D46-4DD0-9C8B-82741DAE7BC2</extractGuid> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>KXHCQsxzIh</webSitePassword> </Colour_AcknowledgeGet> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Colour_AcknowledgeGetResponse xmlns="http://www.magentaretail.com.au/"> <Colour_AcknowledgeGetResult>true</Colour_AcknowledgeGetResult> </Colour_AcknowledgeGetResponse> </soap:Body> </soap:Envelope> |
|
Method |
Size_Get |
||||||||||||||||||||||||
|
Intended Usage |
Returns a gzipped UTF8 encoded byte array of Size xml
data. The data conforms to SizeExchange.xsd. |
||||||||||||||||||||||||
|
Maximum Interface Version |
2 |
||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||
|
Returns |
byte[] - Returns a gzipped UTF8 encoded byte array. |
||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Size_Get xmlns="http://www.magentaretail.com.au/"> <fullLoad>true</fullLoad> <websiteCode>MAGENTA</websiteCode> <maxRows>0</maxRows> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>OHBKfnlkXa</webSitePassword> </Size_Get> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Size_GetResponse xmlns="http://www.magentaretail.com.au/"> <Size_GetResult>
H4sIAAAAAAAACn3RvQ7CIBAH8N3EdyDsWD4VEuhgBR+gT2BaBhZrKibGp5dGF0hgYbnf/e8u6DF8/OgjsO+43qZ4fYXZQEo
HQTghiHFqEWfujJTiGDnMlXSMSisw7Pc7APTWD7ZnWGZvIMYEgot/Tmt4xLDcDTxC0FUoLelB1DEr8KlOeUlbuamUYVmn6Z
SctnLTfhlWdZpG5rSVm3IyTPDP6u7/lf0XFh5qx9QBAAA= </Size_GetResult> </Size_GetResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Unzipped Response Content |
<SizeSet ExtractGuid="22C51411-342E-43FB-9940-F0498F328E50"> <Size SizeCode="001" Description="6" /> <Size SizeCode="002" Description="6.5" /> <Size SizeCode="003" Description="7" /> <Size SizeCode="004" Description="7.5" /> <Size SizeCode="005" Description="8" /> <Size SizeCode="006" Description="8.5" /> <Size SizeCode="007" Description="9" /> <Size SizeCode="008" Description="9.5" /> <Size SizeCode="009" Description="10" /> </SizeSet> |
|
Method |
Size_AcknowledgeGet |
||||||||||||||||
|
Intended Usage |
Acknowledge a batch retrieved using Size_Get. |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
bool - True on success, false otherwise |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Size_AcknowledgeGet xmlns="http://www.magentaretail.com.au/"> <extractGuid>22C51411-342E-43FB-9940-F0498F328E50</extractGuid> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>KXHCQsxzIh</webSitePassword> </Size_AcknowledgeGet> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Size_AcknowledgeGetResponse xmlns="http://www.magentaretail.com.au/"> <Size_AcknowledgeGetResult>true</Size_AcknowledgeGetResult> </Size_AcknowledgeGetResponse> </soap:Body> </soap:Envelope> |
|
Method |
Style_Get |
||||||||||||||||||||||||
|
Maximum Interface Version |
2 |
||||||||||||||||||||||||
|
Intended Usage |
Returns a gzipped UTF8 encoded byte array of Style xml
data. The data conforms to StyleExchange.xsd. |
||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||
|
Returns |
byte[] - Returns a gzipped UTF8 encoded byte array. |
||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Style_Get xmlns="http://www.magentaretail.com.au/"> <fullLoad>true</fullLoad> <websiteCode>MAGENTA</websiteCode> <maxRows>5</maxRows> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>KXHCQsxzIh</webSitePassword> </Style_Get> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Style_GetResponse xmlns="http://www.magentaretail.com.au/"> <Style_GetResult>
H4sIAAAAAAAEAJ2T306DMBTGX4VwzwpsumzpmgAbajISIzPztsLJaGSFtIew+Wpe+Ei+grg/ukTYjL05zfc753ynafvx9k5j
3OYQAxqbdS71eKPFxMwQyzEhdV336n6vUCvi2rZDnqJ5nGSw5paQGrlMwDRmG1Q8wZtKpBPTCdzQGfqhZV8PA2vQvxpY/nDq
Wd5oGnqhOwpCzzbZ3lL/z/BQfQhBkQKLIrtJpuRHoUt41gIhzgqFU9CJEiWKQhqN2ViKfGKiqprhCaMnlEVFpcGIOFJyKtM/
tJkXcnU+I67KMhegHOY/Lhazh2beb4V6kudbLbTzNX5L8ZG7F3j/Ah90cF9xmZ5j5892X6kk4xruefISi1dgTs/eLUp+IboU
KWatN1G26rcgVhm2gGUXkHcI6y6bHezy2sFOw33fLkoOD3Mf9XHTfC32CZaUKMloAwAA </Style_GetResult> </Style_GetResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Unzipped Response Content |
<StyleSet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ExtractGuid="1C2F17BF-067C-4354-B7DA-A9DFAF29CFA0"> <Styles xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Style> <StyleCode>MM0001</StyleCode> <WebsiteShortDescription xsi:nil="true" /> <Description>Mouse Mat</Description> <ShortDescription xsi:nil="true" /> <LongDescription xsi:nil="true" /> <Supplier1>BUTTER</Supplier1> <Analysis1Code xsi:nil="true" /> <Analysis2Code xsi:nil="true" /> <Analysis3Code xsi:nil="true" /> <Analysis4Code xsi:nil="true" /> <BrandCode xsi:nil="true" /> <BrandDescription xsi:nil="true" /> <PurchasePackSize>1.000000</PurchasePackSize> <Width xsi:nil="true" /> <Depth xsi:nil="true" /> <Height xsi:nil="true" /> <Weight xsi:nil="true" /> <nItemWidth xsi:nil="true" /> <nItemDepth xsi:nil="true" /> <nItemHeight xsi:nil="true" /> <nItemWeight xsi:nil="true" /> </Style> </Styles> </StyleSet> |
|
Method |
Style_AcknowledgeGet |
||||||||||||||||
|
Intended Usage |
Acknowledge a batch retrieved using Style_Get. |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
bool - True on success, false otherwise |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Style_AcknowledgeGet xmlns="http://www.magentaretail.com.au/"> <extractGuid>1C2F17BF-067C-4354-B7DA-A9DFAF29CFA0</extractGuid> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>KXHCQsxzIh</webSitePassword> </Style_AcknowledgeGet> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Style_AcknowledgeGetResponse xmlns="http://www.magentaretail.com.au/"> <Style_AcknowledgeGetResult>true</Style_AcknowledgeGetResult> </Style_AcknowledgeGetResponse> </soap:Body> </soap:Envelope> |
|
Method |
StyleExtended_Get |
||||||||||||||||||||||||
|
Intended Usage |
Returns a gzipped UTF8
encoded byte array of Style xml data including Extended Attributes as defined
in EEE. These fieldnames may change if they are changed in EEE. In
incremental mode (fullLoad = false), the set returned also identifies Styles
previously sent that are no longer available on the website. The data will
loosely resemble StyleExchange.xsd. |
||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||
|
Returns |
byte[] - Returns a gzipped UTF8 encoded byte array. |
||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <StyleExtended_Get xmlns="http://www.magentaretail.com.au/"> <fullLoad>true</fullLoad> <websiteCode>MAGENTA</websiteCode> <maxRows>5</maxRows> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>KXHCQsxzIh</webSitePassword> </StyleExtended_Get> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <StyleExtended_GetResponse xmlns="http://www.magentaretail.com.au/"> <StyleExtended_GetResult>
H4sIAAAAAAAACp1ZW3PqNhB+70z/QybvBMwlCRnCTALklDkhMIHTnLeOYitYjS1TSQ7QX9+VsC3fkHXKE9r9VpfVavWtPFqLY4D
XWFwcwoDyuwMn95e+ELu7dnu/31/te1cR27a7nY7T/rl4Xrs+DlGLUC4QdfHlxewgGHLFt5h495eD66dh52nWaz30p71WfzqYtR
6unUmr9/RwOxs+Xj9O+reX499/u7gYqWH5/xtU9ZD2kTTS5iTy8Hix6IDpqK0lGWiKucvITpCIjhdRzPHFAolROy/WHfoREznNB
czzjpLg/lKwGNbe1tA5BSeQLzzujNrZ/0z7EtE5/cJUROwoEYV2hnrDZOuLV/xPTBj2JK4k0RPDjKDgJQ7fMcvja+WZ1SvmghFX
YG/FIi92hTSpCnOznhLuRjEVhG5P084LMtwPSsTyY4ERjxk2+EiFyvr7D7khBtgkCqKYwWw+SLqd85+z6ahdVRS7Pum5oes1+Rf
n7ZcvM3BaSViaL2hNXT5QFBw54U7DqlJc1xLXs8T1LXEDS9y1Je7GEndriRta4pxOAzAJ481xZ0Kt490uIJg548cfm83sFcIgk1
RAckTH0NljfFzBGcLOuHM1gMwzamtJpbOuxazkgCZc2n0XBuwUBuxWO+tZDmjCpd33KgP2ciCGqNewO2/EE75BP8U7o/4PlRFNA
zQB1Kme04/ItKMZyLQLGcjkuQzUtwENbEDXNqAbG9CtDWho5cyOFcrK546V0x0rrztWbnes/O5YOd6x8rxj5XrHyvddk+/XGDHX
/46PppQZAwRxvELup7zvxo465PKYV1S1Ri8oNB16mRhcvyEzwER5RBtAz4gDHRKIBCr5jAdJNirLiwavqyxtpW2dcGJxfGIYn+x
SWFGagZdfmDHi4Q06vCKhyF5ZlGFBwBQGuhy101b+mgp3Qu3hBh8UFSuLSthJxIUiKBk0k1SvtWeMvA0x7kp2If0CtmeBhcDYni
ap/pQv5nmItsaL/gt2Eb0HeEnf8DsnJzfXSPUeR3Rrx9IT05doLSL3c+MzzP0o8AwWTxPp5CwukqbmqqvlJGYMU/fYELl/YupFQ
MqBZgZyQYW2LiPCHZQc2PtrLZCIuaomSiK9Jwi8AT2ImFFF/vPt/JLXsORfKGWWtLDkpKkPM+QT81IXkTeVsd7tdPutTr/VHW6c
/l3v5q7XvxoOb0btFKDdyDCSs6ox6w7uuv2rTh9mUkBltizawxHksnB7UD/w1d/z+1E7p9DBFQTR/pSO1vG7LvlkhJ1R5cLsiAJ
xfMV7xLzZAcMBlHZ1Yl1ynZQrdAyh2nsKkKqjaqRnLGRKMXi6CJ4d3ADyTP0oeWWuYoZjgL05fUMM+7IaHndl1VyR5mrIXYAp4b
7sU3JsaVAVaqcl+WJB4NziT6600mt18qoVOihtwSKV6YuQesuPZ/KBZWCYriG4rbIXAVMBGnMRhcXKuiLTR5bLI7bDLlTeUxxA3
c+OeUujXucZCG2onk38KIGYyFECMTGjBGKiRQnExIkSiIkQJRATG0ogJiqUQEw8KHWdiQXBXa5eUiBA5nQF9U78TtwFFsb3ikkU
hoTLBNJwDOeUYpYyJNPNCBA9sulVYS5waIekEtpYFSlUU+11AjV1dSKUQIwiRsTRbmbyhWi8GLXLopr5FaBaUjdJpfi+TbHnum0
qKTWoMLaW5Bk3ZvAOMfca6pgEZTqqkmE2hNXLY3Ro3A4NytxREmXQbwx5TblP8uOZR8TaBfZrYgnPhH7CnQcxgMehvCNaoXxHzY
s1IQBmbsc9JBJqlX3EPN4A2xARmA8lPEfK5+IGLy+FD/nAR8BVeQMUXj+RZAlJ6ZO8itZIC+zLJ7sdCIH+fkGdAO+TRUIqqT7MV
d65ZuY62zw0XHBJbycmA7kGvIiZGV/Ent6cy8IKfnaQlDQPTiSFqGxMShqUHrySpBjkDdkrw+Q7q0kgUtyUEjJMvq+ahACUnEHM
wO7aFDRzCsyKQQUTqI8AtfK6MiggtGqUE2sbV8QoSOqsUwZIys86jcksyyXndPXGf5wdM9GYzFJfn1Odma/c4dpVKoXBqHa8moA
p6FUQ1A13UhiMaoc7E1PCis+mL93o0JDUH6HGhA800Jv8PKTYdFmksctF0xMu5DR4DgBawgsftWrlOZq8VMk/DeRCO794qHHPDZ
580FOt5L+cefIXvmGO/wMFB2ObzhwAAA== </StyleExtended_GetResult> </StyleExtended_GetResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Unzipped Response Content |
<StyleSet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ExtractGuid="56F90FE3-A4D3-4D5E-A61C-3FA8E9B6BC48"> <Styles xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Style> <StyleCode>MM0001</StyleCode> <Description>Mouse Mat</Description> <ShortDescription xsi:nil="true" /> <Inactive>0</Inactive> <NonInventory>0</NonInventory> <WeightRequired>0</WeightRequired> <SerialNumberRequired>0</SerialNumberRequired> <RestrictedProduct>0</RestrictedProduct> <NoDiscounting>0</NoDiscounting> <UnitOfMeasure xsi:nil="true" /> <ExtraSKUCode xsi:nil="true" /> <ColourProfileCode>MIXED</ColourProfileCode> <ExtraColours xsi:nil="true" /> <SizeProfileCode>ONE</SizeProfileCode> <ExtraSizes xsi:nil="true" /> <Analysis1Code xsi:nil="true" /> <Analysis2Code xsi:nil="true" /> <Analysis3Code xsi:nil="true" /> <Analysis4Code xsi:nil="true" /> <Analysis5Code xsi:nil="true" /> <Analysis6Code xsi:nil="true" /> <Analysis7Code xsi:nil="true" /> <Analysis8Code xsi:nil="true" /> <Analysis9Code xsi:nil="true" /> <Analysis10Code xsi:nil="true" /> <ProductType xsi:nil="true" /> <Supplier1>BUTTER</Supplier1> <SupplierCode1 xsi:nil="true" /> <BuyPrice1>0.5000</BuyPrice1> <Supplier2 xsi:nil="true" /> <SupplierCode2 xsi:nil="true" /> <BuyPrice2>0.0000</BuyPrice2> <Supplier3 xsi:nil="true" /> <SupplierCode3 xsi:nil="true" /> <BuyPrice3>0.0000</BuyPrice3> <BrandCode xsi:nil="true" /> <Width xsi:nil="true" /> <Depth xsi:nil="true" /> <Height xsi:nil="true" /> <Weight xsi:nil="true" /> <ExtraInfo1 xsi:nil="true" /> <ExtraInfo2 xsi:nil="true" /> <ExtraInfo3 xsi:nil="true" /> <ExtraInfo4 xsi:nil="true" /> <ExtraInfo5 xsi:nil="true" /> <ExtraInfo6 xsi:nil="true" /> <ExtraInfo7 xsi:nil="true" /> <ExtraInfo8 xsi:nil="true" /> <ExtraInfo9 xsi:nil="true" /> <ExtraInfo10 xsi:nil="true" /> <ExtraInfo11 xsi:nil="true" /> <ExtraInfo12 xsi:nil="true" /> <ExtraInfo13 xsi:nil="true" /> <ExtraInfo14 xsi:nil="true" /> <ExtraInfo15 xsi:nil="true" /> <ExtraInfo16 xsi:nil="true" /> <ExtraInfo17 xsi:nil="true" /> <ExtraInfo18 xsi:nil="true" /> <ExtraInfo19 xsi:nil="true" /> <ExtraInfo20 xsi:nil="true" /> <SearchKey xsi:nil="true" /> <PurchasePackSize>1.000000</PurchasePackSize> <PurchasePackName xsi:nil="true" /> <BranchCode xsi:nil="true" /> <SeasonCode xsi:nil="true" /> <LastRetailPrice>5.0000</LastRetailPrice> <LastRRP>0.0000</LastRRP> <DutyFreePrice>0.0000</DutyFreePrice> <OverrideTaxRate>0</OverrideTaxRate> <Taxrate>0.00</Taxrate> <PromptExtraText>0</PromptExtraText> <PromptCostCode>0</PromptCostCode> <Supplier1LeadTime xsi:nil="true" /> <Supplier2LeadTime xsi:nil="true" /> <Supplier3LeadTime xsi:nil="true" /> <Purge>0</Purge> <ProductImage xsi:nil="true" /> <AvailableOnWebsite>0</AvailableOnWebsite> <LongDescription xsi:nil="true" /> <WebsiteNoStockThreshold xsi:nil="true" /> <FCCost>0.0000</FCCost> <CPOCurrencyCode xsi:nil="true" /> <VendorRefill>0</VendorRefill> <Imported_Status>0</Imported_Status> <SaleOrReturn>0</SaleOrReturn> <WebSiteShortDescription xsi:nil="true" /> <OnCost>0.0000</OnCost> <Barcode xsi:nil="true" /> <ModDate>2024-04-29T14:37:34.997</ModDate> <CreationDate>2024-04-29T14:25:24.040</CreationDate> <rowversion>AAAAAAtedjI=</rowversion> <AllowBranchSubscription>0</AllowBranchSubscription> <LoyaltyRewardExempt>0</LoyaltyRewardExempt> <RoyaltyPaymentFlag>0</RoyaltyPaymentFlag> <RoyaltyPaymentRate xsi:nil="true" /> <RoyaltyPaymentExclTaxFlag>0</RoyaltyPaymentExclTaxFlag> <StockedInWarehouse>2</StockedInWarehouse> <ReplenishmentType>2</ReplenishmentType> <LeadTimeMinWeeksType>0</LeadTimeMinWeeksType> <LeadTimeMaxWeeks>0</LeadTimeMaxWeeks> <EndOfLifeDate xsi:nil="true" /> <BaseStyleCode xsi:nil="true" /> <CustomerRequired>0</CustomerRequired> <IsWebSpecialDeliveryRequired>0</IsWebSpecialDeliveryRequired> <Feature1 xsi:nil="true" /> <Feature2 xsi:nil="true" /> <Feature3 xsi:nil="true" /> <Feature4 xsi:nil="true" /> <Feature5 xsi:nil="true" /> <Feature6 xsi:nil="true" /> <Feature7 xsi:nil="true" /> <Feature8 xsi:nil="true" /> <Feature9 xsi:nil="true" /> <Feature10 xsi:nil="true" /> <FreightRateInPerCubicMetre xsi:nil="true" /> <CommissionRate xsi:nil="true" /> <InnerPackSize xsi:nil="true" /> <PackCubicMetres xsi:nil="true" /> <ItemCubicMetres xsi:nil="true" /> <nItemHeight xsi:nil="true" /> <nItemWidth xsi:nil="true" /> <nItemWeight xsi:nil="true" /> <SearchPriority xsi:nil="true" /> <nItemHeightUnit>M</nItemHeightUnit> <nItemWidthUnit>M</nItemWidthUnit> <nItemWeightUnit>Kg</nItemWeightUnit> <nItemDepth xsi:nil="true" /> <nItemDepthUnit>M</nItemDepthUnit> <ExternalId1 xsi:nil="true" /> <ExternalId2 xsi:nil="true" /> <DutyRate xsi:nil="true" /> <NBoxWeight xsi:nil="true" /> <NBoxWeightUnit>Kg</NBoxWeightUnit> <GradeCode xsi:nil="true" /> <LastEditScreen xsi:nil="true" /> <LinkRewrite>mouse-mat</LinkRewrite> <MetaDescription xsi:nil="true" /> <MetaKeywords xsi:nil="true" /> <MetaTitle xsi:nil="true" /> <InsuranceRate xsi:nil="true" /> <OtherChargesRate xsi:nil="true" /> <DisallowPurchasing>0</DisallowPurchasing> <WebShippingProviders
/> <WebTextInstock xsi:nil="true" /> <WebETADate xsi:nil="true" /> <WebTextAllowBackorder xsi:nil="true" /> <WebAllowBackorder>0</WebAllowBackorder> <WebAllowExport>0</WebAllowExport> <NBoxHeight xsi:nil="true" /> <NBoxHeightUnit>M</NBoxHeightUnit> <NBoxWidth xsi:nil="true" /> <NBoxWidthUnit>M</NBoxWidthUnit> <NBoxDepth xsi:nil="true" /> <NBoxDepthUnit>M</NBoxDepthUnit> <StarRating xsi:nil="true" /> <AvailableInStoreOnly>0</AvailableInStoreOnly> <AvailableOnlineOnly>0</AvailableOnlineOnly> <ActualProductWeight>0.00</ActualProductWeight> <ActualProductWeightUnit>Kg</ActualProductWeightUnit> <ActualProductHeight>0.00</ActualProductHeight> <ActualProductHeightUnit>M</ActualProductHeightUnit> <ActualProductWidth>0.00</ActualProductWidth> <ActualProductWidthUnit>M</ActualProductWidthUnit> <ActualProductDepth>0.00</ActualProductDepth> <ActualProductDepthUnit>M</ActualProductDepthUnit> <StartOfLifeDate xsi:nil="true" /> <ProductTaxCode xsi:nil="true" /> <BillOfMaterials>0</BillOfMaterials> <BOMCode xsi:nil="true" /> <WebSuppressInventory>0</WebSuppressInventory> <IsOptionOnly>0</IsOptionOnly> <Status xsi:nil="true" /> </Style> </Styles> </StyleSet> |
|
Method |
StyleExtended_AcknowledgeGet |
||||||||||||||||
|
Intended Usage |
Acknowledge a batch
retrieved using StyleExtended_Get. |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
bool - True on success, false otherwise |
||||||||||||||||
|
Sample Soap
Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <StyleExtended_AcknowledgeGet xmlns="http://www.magentaretail.com.au/"> <extractGuid>56F90FE3-A4D3-4D5E-A61C-3FA8E9B6BC48</extractGuid> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>KXHCQsxzIh</webSitePassword> </StyleExtended_AcknowledgeGet> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap
Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <StyleExtended_AcknowledgeGetResponse xmlns="http://www.magentaretail.com.au/"> <StyleExtended_AcknowledgeGetResult>true</StyleExtended_AcknowledgeGetResult> </StyleExtended_AcknowledgeGetResponse> </soap:Body> </soap:Envelope> |
|
Method |
Analysis1_Get |
||||||||||||||||||||||||
|
Intended Usage |
Returns a gzipped UTF8 encoded byte array of Analysis1 xml data. The data conforms to Analysis1Exchange.xsd. Refer usage samples. |
||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||
|
Returns |
byte[] - Returns a gzipped UTF8 encoded byte array. |
||||||||||||||||||||||||
|
Sample Soap
Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Analysis1_Get xmlns="http://www.magentaretail.com.au/"> <fullLoad>true</fullLoad> <websiteCode>MAGENTA</websiteCode> <maxRows>0</maxRows> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>OHBKfnlkXa</webSitePassword> </Analysis1_Get> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Soap
Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Analysis1_GetResponse xmlns="http://www.magentaretail.com.au/"> <Analysis1_GetResult> H4sIAAAAAAAACpySwWqDQBCGzy30HWTvmzWJtUlQwY3aFNoekgZ7XXRoFnQNuytrn62HPlJfoYk5ZIV ASo//z8z3zWF+vr6DWLDqU3E13oB2uroSatEpHqKd1vsFIcaYkZmOGvlBJq47Ju8vz5tiBzXDXCjNRA HISTstWaEfW16GiC7nfjb1KE7oA8Ve7Pt4PnFjnGbZzI19eu/RFEV3tzdns/qf9wixKH208rIpIVrlA Rk2p6kEVCH5XvNGRKumBsMkqIDYdU8/L//Flm3Xr09v23V6XZq1UnDdSrgqtaLqcwIVaCiHrXWKM3CH KM+RQ06kS6sW//ACh+IXAAD//wMAeBm0CxYCAAA= </Analysis1_GetResult> </Analysis1_GetResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample
Unzipped Response Content |
<Analysis1Set xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ExtractGuid="BC96F34B-DB7B-4A66-920A-EFF80A6B54BE"> <Analysis1s xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Analysis1> <Analysis1Code>HW</Analysis1Code> <Description>Homewares</Description> </Analysis1> <Analysis1> <Analysis1Code>FURNITURE</Analysis1Code> <Description>Furniture</Description> </Analysis1> </Analysis1s> <DeletedAnalysis1s> <Analysis1 Analysis1Code="WW" /> </DeletedAnalysis1s> </Analysis1Set> |
|
Method |
Analysis1_AcknowledgeGet |
||||||||||||||||
|
Intended Usage |
Acknowledge a batch retrieved using Analysis1_Get. |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
bool - True on success, false otherwise |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Analysis1_AcknowledgeGet xmlns="http://www.magentaretail.com.au/"> <extractGuid>BC96F34B-DB7B-4A66-920A-EFF80A6B54BE</extractGuid> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>OHBKfnlkXa</webSitePassword> </Analysis1_AcknowledgeGet> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Analysis1_AcknowledgeGetResponse xmlns="http://www.magentaretail.com.au/"> <Analysis1_AcknowledgeGetResult>true</Analysis1_AcknowledgeGetResult> </Analysis1_AcknowledgeGetResponse> </soap:Body> </soap:Envelope> |
|
Method |
Analysis2_Get Refer usage
samples. |
||||||||||||||||||||||||
|
Intended Usage |
Returns a gzipped UTF8
encoded byte array of Analysis2 xml data. The data conforms to
Analysis2Exchange.xsd. |
||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||
|
Returns |
byte[] - Returns a gzipped
UTF8 encoded byte array. |
||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Analysis2_Get xmlns="http://www.magentaretail.com.au/"> <fullLoad>false</fullLoad> <websiteCode>MAGENTA</websiteCode> <maxRows>50</maxRows> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>OHBKfnlkXa</webSitePassword> </Analysis2_Get> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Analysis2_GetResponse xmlns="http://www.magentaretail.com.au/"> <Analysis2_GetResult> H4sIAAAAAAAACtyUzW6CQBSF9036DoQ98iMNaoQE+bEkUojUtFuKV51kGMzMEOyzddFH6iuUqkWsiSFdupxzT86Z +2UyXx+fY5uk+J0hpiXAhV2OCRvtGDLFDefbkSxXVdWr+r2CrmVNUVT5NZwl2QbyVEKE8ZRkIArejtM049MSLU1R e9BswxlOJMPQFElX9b40GEx0yR/qQ3ti6H3Vs0Xr/k4QTtXsf8X7lHbOUWhLTrEEK/L9wPHG8rnamF1gGUVbjgpi RasVykDwS0oQLymM5fb0Il/dJ/mL+VPwvJi3Kg6Dxj+NY6AZEJ6uQajXHBGETZHTssYnn2whIigv82l8xWNjXFRJ isFS6rrmcD6fpW+AY4oIR2TdGM/VI70Tlc48wyBxOtEMEcsA45RAUTIh4JCzLkCvbH9bIF3PieadSLqQFbTTY3x8 uYFX2Dqzg+ACBg7LP3KbqHCG0RQjP/Ad7/fWP+wuE1o99f9nfQMAAP//AwAcyqGuEQUAAA== </Analysis2_GetResult> </Analysis2_GetResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Unzipped Response Content |
<Analysis2Set xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ExtractGuid="252A7C9B-7720-4143-88B4-F949AB7431EA"> <Analysis2s xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Analysis2> <Analysis2Code>OFFICE</Analysis2Code> <Description>Office Furniture</Description> <Analysis1Code>FURNITURE</Analysis1Code> <GPPercentage xsi:nil="true" /> <MinimumGP xsi:nil="true" /> <AllowSale>0</AllowSale> <AllowLabelPrinting>0</AllowLabelPrinting> </Analysis2> <Analysis2> <Analysis2Code>MISC</Analysis2Code> <Description>Miscellaneous Items</Description> <Analysis1Code xsi:nil="true" /> <GPPercentage xsi:nil="true" /> <MinimumGP xsi:nil="true" /> <AllowSale>0</AllowSale> <AllowLabelPrinting>0</AllowLabelPrinting> </Analysis2> <Analysis2> <Analysis2Code>DECOR</Analysis2Code> <Description>Decor</Description> <Analysis1Code>HW</Analysis1Code> <GPPercentage xsi:nil="true" /> <MinimumGP xsi:nil="true" /> <AllowSale>0</AllowSale> <AllowLabelPrinting>0</AllowLabelPrinting> </Analysis2> </Analysis2s> <DeletedAnalysis2s> <Analysis2 Analysis2Code="OFIFCE" /> </DeletedAnalysis2s> </Analysis2Set> |
|
Method |
Analysis2_AcknowledgeGet |
||||||||||||||||
|
Intended
Usage |
Acknowledge a batch
retrieved using Analysis2_Get. |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
bool - True on success, false otherwise |
||||||||||||||||
|
Sample
Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Analysis2_AcknowledgeGet xmlns="http://www.magentaretail.com.au/"> <extractGuid>252A7C9B-7720-4143-88B4-F949AB7431EA</extractGuid> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>OHBKfnlkXa</webSitePassword> </Analysis2_AcknowledgeGet> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample
Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Analysis2_AcknowledgeGetResponse xmlns="http://www.magentaretail.com.au/"> <Analysis2_AcknowledgeGetResult>true</Analysis2_AcknowledgeGetResult> </Analysis2_AcknowledgeGetResponse> </soap:Body> </soap:Envelope> |
|
Method |
Analysis3_Get |
||||||||||||||||||||||||
|
Intended Usage |
Returns a gzipped UTF8 encoded byte array of Analysis3 xml data. The data conforms to Analysis3Exchange.xsd. Refer usage samples. |
||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||
|
Returns |
byte[] - Returns a gzipped UTF8 encoded byte array. |
||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Analysis3_Get xmlns="http://www.magentaretail.com.au/"> <fullLoad>false</fullLoad> <websiteCode>MAGENTA</websiteCode> <maxRows>50</maxRows> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>KXHCQsxzIh</webSitePassword> </Analysis3_Get> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Analysis3_GetResponse xmlns="http://www.magentaretail.com.au/"> <Analysis3_GetResult> H4sIAAAAAAAACq2SQWuDMBzFzxvsO4TcbYwaV4sKndYy2OjBy64hpjXMxuI/Q/ft5xTWCDuUsVveS957v0PirebNJyjwS2nQcG4 0bAZQCa6NuWwI6ft+1furtjsRz3UpeXt9KUUtz9xRGgzXQmK0G0zHhdl/qCrBgRsEXu6tnfAxfHKCcDxFjGYOixhj1GdRtKU4fb i/i3+W4W+73yVWyyQtnbWVTMeoG5OlN7/LJYhOXYxqdXo4HpWQaLTeISb2zbLTm/KHonjOdtfW2Z1grks3wtGb4bKaq+4/6SwJk 85lI42slq7FjBakCc7LYo8Rmbt+C1sL4+dKvwAp2ZOxawIAAA== </Analysis3_GetResult> </Analysis3_GetResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample
Unzipped Response Content |
<Analysis3Set xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ExtractGuid="40442D28-676B-4628-951C-5955513599A1"> <Analysis3s xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Analysis3> <Analysis3Code>0010</Analysis3Code> <Description>Office Desks</Description> <Analysis2Code>OFFICE</Analysis2Code> </Analysis3> <Analysis3> <Analysis3Code>0011</Analysis3Code> <Description>Office Chairs</Description> <Analysis2Code>OFFICE</Analysis2Code> </Analysis3> </Analysis3s> <DeletedAnalysis3s> <Analysis3 Analysis3Code="DSFG" /> </DeletedAnalysis3s> </Analysis3Set> |
|
Method |
Analysis3_AcknowledgeGet |
||||||||||||||||
|
Intended Usage |
Acknowledge a batch retrieved using Analysis3_Get. |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
bool - True on success, false otherwise |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Analysis3_AcknowledgeGet xmlns="http://www.magentaretail.com.au/"> <extractGuid>40442D28-676B-4628-951C-5955513599A1</extractGuid> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>KXHCQsxzIh</webSitePassword> </Analysis3_AcknowledgeGet> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Analysis3_AcknowledgeGetResponse xmlns="http://www.magentaretail.com.au/"> <Analysis3_AcknowledgeGetResult>true</Analysis3_AcknowledgeGetResult> </Analysis3_AcknowledgeGetResponse> </soap:Body> </soap:Envelope> |
|
Method |
Analysis4_Get |
||||||||||||||||||||||||
|
Intended Usage |
Returns a gzipped UTF8 encoded byte array of Analysis4 xml data. The data conforms to Analysis4Exchange.xsd. Refer usage samples. |
||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||
|
Returns |
byte[] - Returns a gzipped UTF8 encoded byte array. |
||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Analysis4_Get xmlns="http://www.magentaretail.com.au/"> <fullLoad>false</fullLoad> <websiteCode>MAGENTA</websiteCode> <maxRows>2</maxRows> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>KXHCQsxzIh</webSitePassword> </Analysis4_Get> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Analysis4_GetResponse xmlns="http://www.magentaretail.com.au/"> <Analysis4_GetResult> H4sIAAAAAAAACrWSQQuCMBTH70HfQbyvqTPKUEGddSk6eOkqOmpkU3wL7ds3KmoGHQraafuN93+/N+ZHIq8uwMHNmDT6U yVg0QMPzIOUzQLjrusmHZnU7R47lmXj3WadFQd2yhEXIHNRMHM8MtRKe9nmhVydeRmYXkRo6lGCHEIocqdzD3k0jdFsvkwSO6auHc VmeC/0nwbwW/9HzjBLg8OLpC5ZuKWW7eMheyugDIqWN5LXIlT7I/hYRx/iyS1KiVqv+DvTJF+Nf1N3vlDP1BuVxrkxyj/PoBFQSDu qjxVeAdSM9CBnAgAA </Analysis4_GetResult> </Analysis4_GetResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample
Unzipped Response Content |
<Analysis4Set xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ExtractGuid="9A3DE9D3-233D-4589-9DEB-78FCC1BD41AB"> <Analysis4s xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Analysis4> <Analysis4Code>OD01</Analysis4Code> <Description>Desks</Description> <Analysis3Code>0010</Analysis3Code> </Analysis4> <Analysis4> <Analysis4Code>OD02</Analysis4Code> <Description>Stand up desks</Description> <Analysis3Code>0010</Analysis3Code> </Analysis4> </Analysis4s> </Analysis4Set> |
|
Method |
Analysis4_AcknowledgeGet |
||||||||||||||||
|
Intended Usage |
Acknowledge a batch retrieved using Analysis4_Get. |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
bool - True on success, false otherwise |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Analysis4_AcknowledgeGet xmlns="http://www.magentaretail.com.au/"> <extractGuid>B0619126-F9D2-47E6-8555-59E493F31585</extractGuid> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>OHBKfnlkXa</webSitePassword> </Analysis4_AcknowledgeGet> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Analysis4_AcknowledgeGetResponse xmlns="http://www.magentaretail.com.au/"> <Analysis4_AcknowledgeGetResult>true</Analysis4_AcknowledgeGetResult> </Analysis4_AcknowledgeGetResponse> </soap:Body> </soap:Envelope> |
|
Method |
ProductImage_Get |
||||||||||||||||||||||||||||||||
|
Latest interface version |
2 |
|||||||||||||||||||||||||||||||||
|
Intended Usage |
Returns a gzipped UTF8 encoded byte array of Product Image
xml data. The data conforms to ProductImage_Get.xsd. |
||||||||||||||||||||||||||||||||
|
EEE Configuration |
The following settings need to be correctly configured in the EEE Configuration Screen on the e-Store tab for this method:
|
|||||||||||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||||||||||
|
Returns |
byte[] - Returns a gzipped UTF8 encoded byte array. |
||||||||||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ProductImage_Get xmlns="http://www.magentaretail.com.au/"> <fullLoad>true</fullLoad> <websiteCode>MAGENTA</websiteCode> <sizeType>IMG</sizeType> <priority>1</priority> <maxRows>0</maxRows> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>KXHCQsxzIh</webSitePassword> </ProductImage_Get> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ProductImage_GetResponse xmlns="http://www.magentaretail.com.au/"> <ProductImage_GetResult>
H4sIAAAAAAAACp2UXY+iMBSG7zfZ/2C8NVpQEZ2oSYvAgOIMIipzp4CFEUFLEfTXb8GJzu5ebLJNoIfnfLw9pO3wnSRe5lLtuM
W+5dNacYzi9KVIw1E9oPT0AkCe562800oIBm2O48HGmFlu4B+3zTBO6TZ2/XpNLijZulTNQm9UH7S7g05H7Df7crvf7ApQaEJR
aDeF7oATub40GEC5Pv75o1YbfldP/0+7KvRHqS/GqEWvkS8lnl9jZV/iMBrVKcnYisEzRkqiJCP/CPoqX0aN1YkicWzwQ/AdP0
XDm7+8nvyxZqhD8Ph6+DVv3BeHgE0PNPFTl4QnGibxWEqOp4z6pOb56aF2Cl2aEX8Ivoc88pSwbC+mfkwfsFYLV+htkXNTFSeQ
jbllB7KNmVWk7GVACTpsRsatc16UAXAztxacBknadXtmCRaxafMIQqn4zC99x7RLqLty8OHmEE5S4ynGHOIEut7lrLLU90Zk2Q
u0eg18UeeUWF2uuJ0PhNfOrQhWYSZdZ+JslhFi9LJbKqYNMbvglMym3aCQFOScINSWAeriSHZhAyF5KmfaU2yPXSL0blnnTD6F
2+4A3kUjV6/TeA9egcexbdcjcYeP30jvdAOCoEWW4KTrnX64fpT2No38ThTxoIH2R07THNM0D9iZokzm0aaPLmf+KdZqtd6OIa
W+x6wnrpIwDpwtSmVFL7MSvutULNAslB4UbeMql0Tp7yqGIIOJqm1s5dJVGgwyhiQL4UTtLm1ln6sNYldMkpQgUfOnmGlHpftz
w9zMq8qBpl5NO/DydQNvCloxGTGIncAz1wBvBFoxWddUCe+CubkCcNejVsk0TVureIeQFTEozr2DJD3FqojQnB+wMG3IcYFs72
utSWJdTTfYT5YDdJ4m914NE344xt1mPSpXplb1oMqHWQDblnRXdJYycln/5X97irEsXRLMeZVddV7gnc6M+zpDk67naQEGn9DI
b18Pv6Agug1APlfMM8Ezu+AR249sL+sLW5DJQccYj0aP4wH+Ph+PM3u/KUpUXUW/4ZQF/07Y3Tj+BS8MN8wtBQAA </ProductImage_GetResult> </ProductImage_GetResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||||||
|
Sample Unzipped Response Content |
<ProductImageSet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ExtractGuid="92493378-8E28-45A5-A752-5490708C99AE"> <ProductImages xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ProductImage> <StyleCode xsi:nil="true" /> <ColourCode xsi:nil="true" /> <ProductCode>GDFC00001</ProductCode> <SizeType>IMG</SizeType> <Id>87</Id> <Description>Computer desk picture</Description> <FileContent>
iVBORw0KGgoAAAANSUhEUgAAAxsAAAMACAYAAABMz3qRAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsM
AAA7DAcdvqGQAAP+lSURBVHhe7J0FnGTV0be/5H3zxhViuCyL7LLurrM6uzs7s+7uvgsrLK4hxCFBYpAAIThB4glEcA+BBEKEuI
fgcr56zu3qrj5zbk/P7MwGyKnf/H/d03376rn31nOr6pz/55IlS5YsWbJkyZIlS5asle3ll1/+Bfm0IIYQQQkgYKBuE1BX8Bvq1
...Omitted...
IYQQQgghYaBsEFJX8Bvo14YQQgghhISBskFIXcFvoF8bQgghhBASBsoGIXUFv4F+bQghhBBCSBgoG4TUFfwG+rUhhBBCCCFhoGw
QUlfwG+jXhhBCCCGEhIGyQUhdwW+gXxtCCCGEEBIGygYhdQW/gX5tCCGEEEJIGCgbhNQV/Ab6tSGEEEIIIWGgbBBSl/Ab7NdkCC
GEEEIiQNkg5K+EnxBUdQghhBBCooSyQchfDT9BqKoQQgghhMQAZYMQQgghhBASFygbhBBCCCGEkLhA2SCEEEIIIYTEBcoGIYQQQ
gghJC5QNgghhBBCCCFxgbJBCCGEEEIIiQtWNsx/9jAMwzAMwzAMw1Rt/lz9/wNFQqrgLUx1BwAAAABJRU5ErkJggg== </FileContent> </ProductImage> </ProductImages> </ProductImageSet> |
||||||||||||||||||||||||||||||||
|
Notes |
When
getting images for all priorities, please use interface version 2 or greater in
which the Priority of the images are returned in the result. EEE 1.74.18, 1.76.06, 1.78.0 and
newer ·
Changes to Priority in EEE will no longer
send a deleted ProductImage element for the old priority. Instead a normal
ProductImage element will be sent with the revised Priority. ·
Clients are advised to collectively use the
values of the following fields to uniquely identify each row: ·
In EEE, an image cannot be moved from a
priority that is monitored to a priority that is not monitored in order to
remove the image from a website. For a delete record to be sent in the
result, the record itself must physically be removed. |
||||||||||||||||||||||||||||||||
|
Method |
ProductImage_AcknowledgeGet |
||||||||||||||||
|
Intended Usage |
Acknowledge a batch retrieved using ProductImage_Get. |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
bool - True on success, false otherwise |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ProductImage_AcknowledgeGet xmlns="http://www.magentaretail.com.au/"> <extractGuid>B0619126-F9D2-47E6-8555-59E493F31585</extractGuid> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>OHBKfnlkXa</webSitePassword> </ProductImage_AcknowledgeGet> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ProductImage_AcknowledgeGetResponse xmlns="http://www.magentaretail.com.au/"> <ProductImage_AcknowledgeGetResult>true</ProductImage_AcknowledgeGetResult> </ProductImage_AcknowledgeGetResponse> </soap:Body> </soap:Envelope> |
|
Method |
Customer_Get |
||||||||||||||||||||||||
|
Intended Usage |
Used to synchronise customer details
that have been added / changed since the last call to Customer_Get. |
||||||||||||||||||||||||
|
Latest interface version |
20 |
||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||
|
Returns |
Returns a gzipped UTF8 encoded byte
array of Customer xml data that conforms to Customer_Getv{x}.xsd where {x}
indicates interface version used |
||||||||||||||||||||||||
|
EEE Configuration |
The following settings need to be correctly configured in the EEE Configuration Screen on the Comms tab for this method:
|
||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Customer_Get xmlns="http://www.magentaretail.com.au/"> <fullLoad>true</fullLoad> <websiteCode>MAGENTA</websiteCode> <maxRows>5</maxRows> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>KXHCQsxzIh</webSitePassword> </Customer_Get> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Customer_GetResponse xmlns="http://www.magentaretail.com.au/"> <Customer_GetResult>
H4sIAAAAAAAACs1XW3PiNhR+z0z+g8fPdWzZZsEZ8NQ2l9IhkMWk2310bCWosS1GEiH8+x4Z4xubnTQPbQlk+I
7O5ZPORWYY7LmgGWYhFspblub89o2TkboVYner64fD4eZg3VD2rJuGgfQ/7xZhvMVZpJGciyiPsapM3gSLYjHb
k2SkTsdTZPiOr5l2z9LsycDX/IE91bygNxgE07H/xQlU9/pKUYbnyPxzcQsnDTclbkgCmmDXKF7mUG9JL3TXOK
Ysub5qao3U0lhVFvQYpeK43GePmI1UVQn3LI8yUPmd5pirypQwLpaF5C5iR1CI0r2IBKE5SBhoeEnCMOdopPYM
ZYZha1gJRSU3pdfyuwXfr69KYI/U8JjkGHzeUy7ighgcigExIACAZfhNVQK6zwU7jlQPdsCilESqMsYpecXsCD
FrUAQ6AxmpAhCpBnUsoHIWlgEh51lE0pGawVZv/pIn8GtOdzRPbmKaqfdbkEitO/pI0uoY5Qv8r/yRipxBTzMQ
vDeGcVu8ZeSMPrNotyVxSbjCZsmiEpS8K1xSr3Cvg790cL+DBx3sAG7yMTrrCHUZofJca0GXI+qSRF2WqEsTdX
miLlHkdImYBdcZzhNZqYqsjJzjXMwgg1CLRiUYQy43RFYscgzjIh2rnVjtRZnoClcpBRZ0SQX4EtD8UtBoHvD8
TNnx1ESL1XdvsfkO5RsxCNvuMGBzHkD7x7ZdMVkwtFk6T4pqijjAjvn1VVvscU5jUvSd3N87e7tnJMY+pS/nSD
6DmbI9IceBvYFtFYlhQEDBNBC4cjTD3CDz1kK3dg/il6MBWoMVR1rrmb1GyIdNsACmdzSplOwLpXuGnzAcUoz5
SD0BrmzJ81Z7hXGCE4UInMEsOVMbEx49ppIbGBepgizNy53/iK7i+cuiH5XyU/tan0PL03asYGD0LFPzDHOs2Y
FnaAMHTTUDprs96U+s/tiXCT8NndXTGnOSSGOYPw8yVewFC5I/Ax0CRYfaopqhiQqGg8YZzPlsj7kojOb8VG9/
YEaeiNwnalYFtBxPnvgT/IMZrddTvdEOX6UzqAauyH3ZZr+vKmeZlJjg0cv5QTbLNEo5/qAjy3LajhDcU590ZR
sXrqza1YbtP+4JXXiyP0vKvHDV/5mr8rrCvBLVwoaoCMpjRqAyaO7+BqU31JuSlmp5zbrFLTvUz7ClU129rrx5
h3qNW2ollQXJMXJRTwkhsrJOhnpr4T0Ty52tJ5NluFjdT8KWjdW2mXMKkywhr4TDboqHDe9B+7oYD/UfLHVNy4
YqzQqTpqilLm/oQmqjHhrqFWwrybvYNfoIhoH8A71C0lI6NZlr2LVWKWqk8rznf5Teb5S9/DvpDWi2i/Kj6/kB
XHBsR1lxCcBzX7nwk2I41UIoPlgLprvArzhVzF/gMRAmsmLC8bfW368ifz0PfW85+b+VEFwF/0EJVZJqatTP6a
cfCRWUCjWCXyvu3/Hcf8K7DAAA </Customer_GetResult> </Customer_GetResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Unzipped Response Content |
<CustomerSet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ExtractGuid="FDF10B9B-2453-4E8B-B84F-AC588CFDB69C"> <Customers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Customer> <CustomerCode>0000002</CustomerCode> <CustomerRecord CustomerCode="0000002" LoyaltyNumber="" Surname="Jones" FirstName="Mary" Salutation="Mrs" Address1="50 George St" Address2="" Address3="" Address4="Sydney" Postcode="2000" State="NSW" Country="Australia" Delivery1="" Delivery2="" Delivery3="" Delivery4="" DeliveryPostcode="" DeliveryState="" Email="mary.jones@nopond.com"Phone="" Mobile="0000000000" DOB="1985-01-01T00:00:00" Demographic1="" Demographic2="" Demographic3="" Demographic4="" Demographic5="" Demographic6="" Demographic7="" Demographic8="" Demographic9=""Demographic10="" Demographic11="" Demographic12="" Demographic13="" Demographic14="" Demographic15="" Demographic16="" Demographic17="" Demographic18="" Demographic19="" Demographic20="" Gender=" " ConsentGiven="0" ConsentDateTime="1900-01-01T00:00:00" OptOutEmail="0" OptOutMobile="0" DoNotContact="0" CustomerCategoryCode="LOYALTY" ParentCustomerCode="" CustomerSubCategoryCode="" ExternalId="" MasterCustomerCode="" MasterCustomerAssociationDate="1900-01-01T00:00:00" PriceBookCode="" BranchCode="99" DateCustomerCreated="2010-09-02T12:31:45" LoyaltyStartDate="2010-09-25T00:00:00" UTCLastModDate="2014-09-25T00:00:00" Preferences="Prefers high-valued items" CustomerDisabled="0" EmailOptInDate="2010-09-02T12:31:45" ABN="000 000 000" CustomerReferenceId="93C80532-A02D-4CA0-891F-0F104E7E37DB" CountryOfResidence="AU" MarketingOptin="1" MarketingOptInDate="2021-09-08T00:00:00" IsGuest="1" IsMobileVerified="1" ExternalId2="sdfsfsdf2" /> <DemographicQuestions Id="4277" QuestionId="21" Answer="False" /> <DemographicQuestions Id="4339" QuestionId="1001" Answer="False" /> <DemographicQuestions Id="4340" QuestionId="1003" Answer="True" /> <DemographicQuestions Id="4341" QuestionId="1004" Answer="False" /> <DemographicQuestions Id="4342" QuestionId="1007" Answer="False" /> <Addresses>
<Address>
<Description>Home</Description>
<Surname>Jones</Surname>
<FirstName>Mary</FirstName>
<AddressLine1>15 Some Rd</AddressLine1>
<AddressLine3>GREENSLOPES</AddressLine3>
<IsoSubdivisionCode>AU-QLD</IsoSubdivisionCode>
<IsoCountryCode>AU</IsoCountryCode>
<PostCode>4151</PostCode>
<Phone>0710101010</Phone>
<Mobile>0410101010</Mobile>
</Address>
<Address>
<Description>Work</Description>
<Surname>Jones</Surname>
<FirstName>Mary</FirstName>
<Company>ABC Corporation</Company>
<AddressLine1>1 Some St</AddressLine1>
<AddressLine2>Level 2, Suite 21</AddressLine2>
<AddressLine3>BRISBANE</AddressLine3>
<IsoSubdivisionCode>AU-QLD</IsoSubdivisionCode>
<IsoCountryCode>AU</IsoCountryCode>
<PostCode>4000</PostCode>
<Phone>0710101010</Phone>
<Mobile>0410101010</Mobile>
</Address> </Addresses> </Customer> </Customers> </CustomerSet> |
||||||||||||||||||||||||
|
PHP Sample |
|||||||||||||||||||||||||
|
Notes |
Multiple Customer addresses are
supported via the Addresses/Address element sequence. See Appendix
for New Customer System for more
information for the new Address system. See Appendix for ISO Codes in
Addresses for details about the codes used in
Addresses. As of EEE 1.76.2, disabled Customers
can be sent to websites using a configuration setting. |
|
Method |
Customer_AcknowledgeGet |
||||||||||||||||
|
Intended Usage |
Acknowledge the data
received from the Customer_Get call |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
Boolean – true on success,
false otherwise |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Customer_AcknowledgeGet xmlns="http://www.magentaretail.com.au/"> <extractGuid>FDF10B9B-2453-4E8B-B84F-AC588CFDB69C</extractGuid> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>TEST</webSitePassword> </Customer_AcknowledgeGet> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Customer_AcknowledgeGetResponse xmlns="http://www.magentaretail.com.au/"> <Customer_AcknowledgeGetResult>true</Customer_AcknowledgeGetResult> </Customer_AcknowledgeGetResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
PHP Sample |
|
Method |
MasterCustomer_Get |
||||||||||||||||||||||||||||
|
Intended Usage |
Retrieves Master
Customers. |
||||||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||||||
|
Returns |
Returns a gzipped UTF8
encoded byte array of Master Customer xml data. The data conforms to
MasterCustomerExchange.xsd. |
||||||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <MasterCustomer_Get xmlns="http://www.magentaretail.com.au/"> <fullLoad>true</fullLoad> <websiteCode>MAGENTA</websiteCode> <customerCategoryCode>TLP</customerCategoryCode> <maxRows>2</maxRows> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>KXHCQsxzIh</webSitePassword> </MasterCustomer_Get> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <MasterCustomer_GetResponse xmlns="http://www.magentaretail.com.au/"> <MasterCustomer_GetResult>
H4sIAAAAAAAACnWQTYvCMBCG74L/IeRekzTBVkkLtepe1r3owl5jO2ihH9JMaX++u1prhfUy8D4k7z
OMjhuLVQH1HpB0RV7aZWezgJ4RL0vG2radtXJW1Sfmci7Yz+5zn5yhME5WWjRlApRsOqxNgh9NlgaU
R0Kpubd11NaXf8Nzok28cORqEXHPF1JJn4bTCSH6Yba3OAJ9HpG4SiHkSrhiLl3NXvDw+MsUEO7MCU
o0JM6bo2Y31LcPv+72Id71eg05IKRvlyJjaUC/D1xK33MpYX3fPwVPye91wysO3S7gawEAAA== </MasterCustomer_GetResult> </MasterCustomer_GetResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||
|
Sample Unzipped Response Content |
<CustomerSet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ExtractGuid="0A14467F-4F83-4F87-AEC9-3B9A07813438"> <Customers> <Customer> <CustomerCode>04121632</CustomerCode> <Name>Magenta Club</Name> </Customer> </Customers> <DeletedCustomers> <Customer CustomerCode="UT033872" /> </DeletedCustomers> </CustomerSet> |
|
Method |
MasterCustomer_AcknowledgeGet |
||||||||||||||||
|
Intended Usage |
Acknowledge the data
received from the MasterCustomer_Get call |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
Boolean – true on success,
false otherwise |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <MasterCustomer_AcknowledgeGet xmlns="http://www.magentaretail.com.au/"> <extractGuid>FDF10B9B-2453-4E8B-B84F-AC588CFDB69C</extractGuid> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>KXHCQsxzIh</webSitePassword> </MasterCustomer_AcknowledgeGet> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <MasterCustomer_AcknowledgeGetResponse xmlns="http://www.magentaretail.com.au/"> <MasterCustomer_AcknowledgeGetResult>true</MasterCustomer_AcknowledgeGetResult> </MasterCustomer_AcknowledgeGetResponse> </soap:Body> </soap:Envelope> |
|
Method |
PromotionCustomer_Get |
||||||||||||||||||||||||
|
Intended Usage |
Returns a gzipped UTF8 encoded byte array of Promotion Customer xml data. The data conforms to PromotionCustomerExchange.xsd. NOTE: This method only returns
PromotionCustomer records where an explicit Customer is added to the
promotion. It does not include PromotionCustomer records where a Customer
Category or Customer Sub Category is added to the promotion. |
||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||
|
Returns |
byte[] - Returns a gzipped UTF8 encoded byte array. |
||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <PromotionCustomer_Get xmlns="http://www.magentaretail.com.au/"> <fullLoad>true</fullLoad> <websiteCode>MAGENTA</websiteCode> <maxRows>5</maxRows> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>KXHCQsxzIh</webSitePassword> </PromotionCustomer_Get> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <PromotionCustomer_GetResponse xmlns="http://www.magentaretail.com.au/"> <PromotionCustomer_GetResult>
H4sIAAAAAAAACm2Pyw6CMBBF9yb+Q9N9aSlvAiSAxY2vyEaXBBohEWpoCXy+GJUVs5uckztz
g3SQSrS8v/SiFaoRncy5AlP77KQ/ySaEtVIvH+NxHLXR0ET/wJQQHd+Oh7yseVugppOq6EoO
AZtUX5RqPzRVCIlrWgbTGbIMjyLTcmLk2p6NrNShmWOmTpIkMNpuAAiW2yAVFQ8hO+3O2Z3F
V0qo+XVm6/PpTyDz6BDgFWRQ+gcBXoLnPcCrVaM3fjwIbAIBAAA= </PromotionCustomer_GetResult> </PromotionCustomer_GetResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Xml Content |
<CustomerPromotionsSet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ExtractGuid="08453E1E-5392-457A-8696-5C72F74C7BBB"> <Promotion Code="ENDOFYEAR2024"> <Cust Code="00001" /> <Cust Code="322" /> </Promotion> </CustomerPromotionsSet> |
|
Method |
PromotionCustomer_AcknowledgeGet |
||||||||||||||||
|
Intended Usage |
Acknowledge
a batch retrieved using PromotionCustomer_Get. |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
Boolean – true on success,
false otherwise |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <PromotionCustomer_AcknowledgeGet xmlns="http://www.magentaretail.com.au/"> <extractGuid>08453E1E-5392-457A-8696-5C72F74C7BBB</extractGuid> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>KXHCQsxzIh</webSitePassword> </PromotionCustomer_AcknowledgeGet> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <PromotionCustomer_AcknowledgeGetResponse xmlns="http://www.magentaretail.com.au/"> <PromotionCustomer_AcknowledgeGetResult>true</PromotionCustomer_AcknowledgeGetResult> </PromotionCustomer_AcknowledgeGetResponse> </soap:Body> </soap:Envelope> |
|
Method |
PromotionHeader_Get |
||||||||||||||||||||||||
|
Intended Usage |
Returns a gzipped UTF8 encoded byte array of Promotion Header xml data. The data conforms to PromotionHeaderExchange.xsd. |
||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||
|
Returns |
byte[] - Returns a gzipped UTF8 encoded byte array. |
||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <PromotionHeader_Get xmlns="http://www.magentaretail.com.au/"> <fullLoad>true</fullLoad> <websiteCode>MAGENTA</websiteCode> <maxRows>5</maxRows> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>KXHCQsxzIh</websitePassword> </PromotionHeader_Get> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <PromotionHeader_GetResponse xmlns="http://www.magentaretail.com.au/"> <PromotionHeader_GetResult>
H4sIAAAAAAAACm2Pyw6CMBBF9yb+Q9N9aSlvAiSAxY2vyEaXBBohEWpoCXy+GJUVs5uckztz
g3SQSrS8v/SiFaoRncy5AlP77KQ/ySaEtVIvH+NxHLXR0ET/wJQQHd+Oh7yseVugppOq6EoO
AZtUX5RqPzRVCIlrWgbTGbIMjyLTcmLk2p6NrNShmWOmTpIkMNpuAAiW2yAVFQ8hO+3O2Z3F
V0qo+XVm6/PpTyDz6BDgFWRQ+gcBXoLnPcCrVaM3fjwIbAIBAAA= </PromotionHeader_GetResult> </PromotionHeader_GetResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Xml Content |
<PromotionHeaderSet
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
ExtractGuid="AEB81608-328B-4AEF-89AC-E3E5BCB27F42"> <PromotionHeaders
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<PromotionHeader>
<PromotionCode>25PARTNER</PromotionCode>
<Description>25 off partner coupon</Description>
<StartDate>20220101</StartDate> <StartTime
xsi:nil="true" />
<EndDate>20260112</EndDate> <EndTime
xsi:nil="true" />
</PromotionHeader>
<PromotionHeader>
<PromotionCode>WebUT1</PromotionCode>
<Description>Flat $30 off</Description>
<StartDate>20190428</StartDate> <StartTime
xsi:nil="true" />
<EndDate>20260112</EndDate> <EndTime
xsi:nil="true" />
</PromotionHeader>
</PromotionHeaders> </PromotionHeaderSet> |
|
Method |
PromotionHeader_AcknowledgeGet |
||||||||||||||||
|
Intended Usage |
Acknowledge
a batch retrieved using PromotionHeader_Get. |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
Boolean – true on success,
false otherwise |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <PromotionHeader_AcknowledgeGet xmlns="http://www.magentaretail.com.au/"> <extractGuid>08453E1E-5392-457A-8696-5C72F74C7BBB</extractGuid> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>KXHCQsxzIh</websitePassword> </PromotionHeader_AcknowledgeGet> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <PromotionHeader_AcknowledgeGetResponse xmlns="http://www.magentaretail.com.au/"> <PromotionHeader_AcknowledgeGetResult>true</PromotionHeader_AcknowledgeGetResult> </PromotionHeader_AcknowledgeGetResponse> </soap:Body> </soap:Envelope> |
|
Method |
PriceBook_Get |
||||||||||||||||||||||||||||||||
|
Intended Usage |
Returns
a gzipped UTF8 encoded byte array of Price Book Prices xml data. The data
conforms to PriceBookExchange.xsd. |
||||||||||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||||||||||
|
Returns |
byte[] - Returns a gzipped UTF8 encoded byte array. |
||||||||||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <PriceBook_Get xmlns="http://www.magentaretail.com.au/"> <fullLoad>false</fullLoad> <websiteCode>MAGENTA</websiteCode> <branchCode>0721</branchCode> <priceBookCode>WEBPB01</priceBookCode> <maxRows>5</maxRows> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>KXHCQsxzIh</websitePassword> </PriceBook_Get> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <PriceBook_GetResponse xmlns="http://www.magentaretail.com.au/"> <PriceBook_GetResult>
H4sIAAAAAAAEAE2QwU6EMBCGX6XpvXSA2i2bhWS73RgTNege9FpLI40CWkrAZ/PgI/
kKNmjUOc3M/3/5J/P5/rGrvTNWDsPTyQa0dM/9uF1GV+I2hJctpfM8J3OeDP6RZgAp
vb+6PJnWdpq4fgy6Nxaj4xK8NuF8ck2JFeNwplhGhJJ7EgdGZM4OpIBc7JWSXAiGq7
9YdBGhu6OsJaQYXevOxtE+oNWAVkcUfgAkfYxsD0MTXbDJIlH7oZlM+F5xLjjwDcAq
RKDEaZYUBQBGt/Z1ct42N5PugwtvUUpgLYxotaO/F/3v41OqL6+yrxYmAQAA </PriceBook_GetResult> </PriceBook_GetResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||||||
|
Sample Unzipped Response Content |
<PriceBookSet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ExtractGuid="D4605D42-8DBA-4604-B34C-9038ADDB6884"> <PriceBook Id="WEBPB01" Name="Web Price Book 01"> <Price BranchCode="0721" ProductCode="6686067001" Price="12.9900" RequiredQuantity="1.000000" /> </PriceBook> </PriceBookSet> |
|
Method |
PriceBook_AcknowledgeGet |
||||||||||||||||
|
Intended Usage |
Acknowledge
a batch retrieved using PriceBook_Get. |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
Boolean – true on success,
false otherwise |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <PriceBook_AcknowledgeGet xmlns="http://www.magentaretail.com.au/"> <extractGuid>D4605D42-8DBA-4604-B34C-9038ADDB6884</extractGuid> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>KXHCQsxzIh</websitePassword> </PriceBook_AcknowledgeGet> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <PriceBook_AcknowledgeGetResponse xmlns="http://www.magentaretail.com.au/"> <PriceBook_AcknowledgeGetResult>true</PriceBook_AcknowledgeGetResult> </PriceBook_AcknowledgeGetResponse> </soap:Body> </soap:Envelope> |
The search hierarchy structure is modelled:
· Menu Header Item
o Menu Detail Item – a Menu Header Item may have 0 to many Menu Detail Items. A Menu Detail item may be a Child Menu action or an Item Group action, or both.
§ An Item Group is composed of a list of 0 to many Items which can be a mix of either Products or Styles
· Item – either a Product Code or a Style Code and a Search Order.
§ A Child Menu is simply a Menu Header Item which can then contain 0 to many Menu Detail Items
This method does not have a matching acknowledgement.
|
Method |
SearchHierarchy_Get |
||||||||||||||||
|
Latest Interface Version |
5 |
||||||||||||||||
|
Intended Usage |
Returns a gzipped UTF8 encoded byte array of
Search Hierarchy xml data. The call always
returns the full search hierarchy. |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
byte[] - Returns a gzipped UTF8
encoded byte array of Search Hierarchy xml data that conforms to SearchHierarchy_Get
xsd of the version in use. |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <SearchHierarchy_Get xmlns="http://www.magentaretail.com.au/"> <websiteCode>MAGENTA</websiteCode> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>KXHCQsxzIh</websitePassword> </SearchHierarchy_Get> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <SearchHierarchy_GetResponse xmlns="http://www.magentaretail.com.au/"> <SearchHierarchy_GetResult>
H4sIAAAAAAAACr1WW2/aMBh9n7T/4GVSH+m4tlXLpEBoQTIJSlJVezTEAmuJnTmGln8/O0AMxE3DNu2FkE/xOcff5dgPU0zXAR
bfP38C4EG9APUzZBHuW0/QG4wCK4+4KFGRmM1xtouE+E30Lcg4TgBJs3XSaDQsMMlClkK8wXHf+mblsHvgwVoIRrN96CQIAoz4
YuXxCHO1DEA0VwDDRwgOlLtPxgRz9dxOBE6eOFunk6hvNbsWcHC24CQVhNGxSOTiq1jcp1dLca9RVOg6j119fbPv5SKSpTHa5p
wKqNW0wPXHCpuFQjhyBs9wEOSvH4jsVYmUQHuRINIffSy4pQU/XJ+neRcx1nZqT9zjykKyXAlClye13ccA/rUmaYKpOK1v82/r
O8M0QlRkXywwXJE40vJmI9ex3VA2HyT0p49fOREynO4XKJUCHWWzbwmcCZDI6FGSZJ3yzF9Y1CBlIlZ7z0q6gpkXwsnTWCk7p5
GlGCLKKFmg+JlLnGS12SR0vkks4OOIcLwQITv9pJ60ViHtBcWxTIlR24sNYUnbvk/atXjaevJWiEY4lo1c5hmObdcZwcnINySh
U4uoUxB5axExxksk3nPoeJ5fJujWIujqCUVJWt4DtKczg/peLfBeAf6IaBn70XYN0De1oG8KaIe90nea0PFe3Pea8LYWzW1Bc7
DXM4qD9Z/D39WCv9OjlIfBfAt8xpISzeCH73lTw8TKtj0dFIRQrSm6yAS1y2gjPHjSsREWLr1Q8qXLSBTl0tqe//HBF3IUEeVr
KAZa0FnyQt921A4M6Wtf6HgjivlyCwK0UXavGSvPMwNv50I7m8qNcFqTsGsg/NPjT+dOV96cdEMXnN55mv+1C0CzOkktQ5K6F3
aDkbdVzds28PYu7AYjb7uat2PgrWe1+rAz8krgKl51mTvnree9+uwz8spiVfHKvZV4j0y5Ygh2f9Rd/zdWatra9QsAAA== </SearchHierarchy_GetResult> </SearchHierarchy_GetResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Unzipped Response Content |
<MenuSet> <Menu MenuCode="GLOBES" MenuName="Globes" MenuText="Lorem ipsum..." IsTopLevel="0"> <MenuButtons> <MenuButton SearchOrder="0" Label="CFL Globes" SearchHierarchyItemGroupId="15"
DescriptionHtml="<p>CFL Globes</p>
" Display="0" Id="21" /> <MenuButton SearchOrder="1" Label="LEDBULBSLabel" SearchHierarchyItemGroupId="16"
DescriptionHtml="<p>LED Globes description</p>
" Display="0" Id="22" /> </MenuButtons> </Menu> <Menu MenuCode="MAIN" MenuName="Lighting" MenuText="Lighting equipment" IsTopLevel="1"> <MenuButtons> <MenuButton SearchOrder="0" Label="Pendants!" ChildMenuCode="PENDANTS"
LinkRewrite="pendants" MetaDescription="test meta" Display="1" Id="1" /> <MenuButton SearchOrder="1" Label="Spotlights" ChildMenuCode="SPOTLIGHTS"
Display="1" Id="2" CanonicalUrl="mhvvmnbvm" RedirectToCanonicalUrl="1" /> <MenuButton SearchOrder="2" Label="Wall Lights" ChildMenuCode="WALLLIGHTS" Display="0" Id="3" /> <MenuButton SearchOrder="3" Label="Chandeliers" ChildMenuCode="CHANDELIERS" Display="1" Id="4" /> <MenuButton SearchOrder="4" Label="Outdoor" ChildMenuCode="OUTDOOR" Display="1" Id="5" /> <MenuButton SearchOrder="5" Label="Lamps" ChildMenuCode="LAMPS" Display="1" Id="6" /> <MenuButton SearchOrder="6" Label="Fans" ChildMenuCode="FANS" Display="1" Id="7" /> <MenuButton SearchOrder="7" Label="Downlights" ChildMenuCode="DOWNLIGHTS" Display="1" Id="8" /> <MenuButton SearchOrder="8" Label="Globes" ChildMenuCode="GLOBES" Display="1" Id="9" /> <MenuButton SearchOrder="9" Label="Search by Room" ChildMenuCode="BYROOM"
Display="1" Id="10" CanonicalUrl="aaa" RedirectToCanonicalUrl="1" /> </MenuButtons> </Menu> <Menu MenuCode="PENDANTS" MenuName="Pendants" MenuText="<p>child menu desc</p>" IsTopLevel="0"> <MenuButtons> <MenuButton SearchOrder="0" Label="Traditional Pendants" ChildMenuCode="TRADPEND" Display="1" Id="13" /> <MenuButton SearchOrder="1" Label="Energy Saving Pendants" SearchHierarchyItemGroupId="1"
Display="1" Id="14" /> <MenuButton SearchOrder="2" Label="Modern Pendants" SearchHierarchyItemGroupId="5" Display="1" Id="12" /> </MenuButtons> </Menu> <Menu MenuCode="TRADPEND" MenuName="Traditional Pendants" MenuText="<p>Lorem ipsum...1</p>" IsTopLevel="0"> <MenuButtons> <MenuButton SearchOrder="0" Label="Traditional Pendants 1"
SearchHierarchyItemGroupId="2" Display="1" Id="15" /> <MenuButton SearchOrder="1" Label="Traditional Pendants 2"
SearchHierarchyItemGroupId="3" Display="1" Id="16" /> <MenuButton SearchOrder="2" Label="Traditional Pendants 3"
SearchHierarchyItemGroupId="4" Display="1" Id="17" /> <MenuButton SearchOrder="3" Label="Traditional Pendants 4"
SearchHierarchyItemGroupId="6" Display="1" Id="18" /> <MenuButton SearchOrder="4" Label="Traditional Pendants 5"
SearchHierarchyItemGroupId="7" Display="1" Id="19" /> </MenuButtons> </Menu> </MenuSet> |
||||||||||||||||
|
Note |
EEE 1.76.0 + · As of EEE 1.76.0, when Top Level Menus have been specified for a website in EEE, only those menus and their dependents are sent to the website. EEE 1.76.04 + ·
As of EEE 1.76.04 HighResGraphic is no longer
coupled with Graphic and either can be updated independently of each other.
Interface v3 of this method available in this EEE version will retrieve any
HighResGraphicId, HighResGraphic2Id and HighResGraphic3Id that can be
optionally monitored for changes and used to retrieve the corresponding high
resolution graphics via SearchHierarchyHighResGraphic_Get method. Version 2 · Interface version 2 sends a GraphicId for each menu detail item with a graphic in the result. This can be optionally monitored and used to retrieve high resolution graphics for buttons via the SearchHierarchyHighResGraphic_Get call. This conserves bandwidth by not sending every high resolution graphic in each result. Version 3 · v3 of the method also now returns the MIME type of the 4 graphics that can be used the infer the file content type if required. · v3 also includes a new field, Display, that can be set in EEE and can be used by the receiving website to choose to display the menu item or not. |
This method does not have a matching acknowledgement.
|
Method |
SearchHierarchyHighResGraphic_Get |
||||||||||||||||||||
|
Latest Interface Version |
1 |
||||||||||||||||||||
|
Intended Usage |
Returns a byte array of image data. Returns
nothing if no high resolution graphic is found. |
||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||
|
Returns |
byte[] – Returns a byte array of image
data that matches the graphicId. Nothing if match not found. |
||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <SearchHierarchyHighResGraphic_Get xmlns="http://www.magentaretail.com.au/"> <websiteCode>MAGENTA</websiteCode> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>KXHCQsxzIh</websitePassword> <graphicId>396F526D-95C4-43D5-8013-5DBAEC1EA23A</graphicId> </SearchHierarchyHighResGraphic_Get> </soap:Body> </soap:Envelope> |
||||||||||||||||||||
|
Sample Soap Response* |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <SearchHierarchyHighResGraphic_GetResponse xmlns="http://www.magentaretail.com.au/"> <SearchHierarchyHighResGraphic_GetResult>
/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEB
AQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/2wBDAQEBAQEBAQEBAQEBAQEB
AQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/wAAR
CABkAGQDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAA
...
...omitted...
...
3DeFdDM0mM/ec2OT7nqepOSTRRW3JCbXPCM7WtzRUrXlG9rp2vZX9DGdScHHknOF9+WTje0o
2vZq9ru3qX7L4Z/D6yYtaeC/DFueP9VoWlj19bU1v2Om6ZYFHsdNsLJjEcm0tILX9IEj/AP1
UUVMUlFJJJWWiVlt5Gj3+S/JG24yp/wA+39aq/YraXczwxMzcEmGEnp/1z96KKoRLFGifKii
NcdE4/wAaVRkgUUUASp90fj/M0UUUAf/Z </SearchHierarchyHighResGraphic_GetResult> </SearchHierarchyHighResGraphic_GetResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||
|
Note |
EEE 1.76.03 and earlier ·
After the initial call to SearchHierarchy_Get, this method will need
to be invoked for each GraphicId in the result in order to retrieve the high
resolution graphic for each detail item. ·
For subsequent calls to SearchHierarchy_Get, the GraphicId field in
the result can be monitored and compared to the existing GraphicIds. o Upon detecting any changes, this
method only needs to be invoked for each changed GraphicId which will yield
the new high resolution graphic. o If no changes are detected, this
means that the no graphic has changed and this method need not be called. EEE 1.76.04 and later ·
After the initial call to SearchHierarchy_Get, this method will need
to be invoked for each HighResGraphicId, HighResGraphic2Id and
HighResGraphic3Id in the result in order to retrieve up to three high
resolution graphics for each detail item. ·
For subsequent calls to SearchHierarchy_Get, the above three
HighResGraphicId fields in the result can be monitored and compared to the
existing GraphicIds. o Upon detecting any changes, this
method only needs to be invoked for each changed HighResGraphicId which will
yield the new high resolution graphic. o If no changes are detected, this
means that the no graphic has changed and this method need not be called. ·
Since Graphic and HighResGraphic are no longer tied to each other from
the EEE version onwards, invoking this method with the GraphicId from the
result of SearchHierarchy_Get will yield no
result. Please use one of the HighResGraphicId fields instead. |
* note that the response base 64 binary string has been shortened for brevity.
|
Method |
SearchHierarchyItemGroup_Get |
||||||||||||||||||||||||
|
Intended Usage |
Returns a gzipped UTF8
encoded byte array of Search Hierarchy Item Group xml data. |
||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||
|
Returns |
byte[] - Returns a gzipped UTF8
encoded byte array of Search Hierarchy Item Group xml data that conforms to
SearchHierarchyItemGroupExchange.xsd. |
||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <SearchHierarchyItemGroup_Get xmlns="http://www.magentaretail.com.au/"> <fullLoad>true</fullLoad> <websiteCode>MAGENTA</websiteCode> <maxRows>5</maxRows> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>KXHCQsxzIh</websitePassword> </SearchHierarchyItemGroup_Get> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <SearchHierarchyItemGroup_GetResponse xmlns="http://www.magentaretail.com.au/"> <SearchHierarchyItemGroup_GetResult>
H4sIAAAAAAAEAHu/e7+NZ0lqrntRfmlBcGqJgmtFSVFicol7aWaKrZKhqYWhk6Orq66buaWB
romJm4muhbGBma6RkZuLgbOhqbObgamSHcKAYiS2Apj0BJmiBGH7Jeam2iq5+rkGuUcGuPq5
KCnoY1VvhKI+JMjRBaTaEJdyY6zKjXApN8Gq3BiXclMU5b7+LhCXg8VCUitKbJXUckqsC9TS
S6x981NSi/IUAlLzUhLzSorLQBL6YBmw4frIwaSPHOh2AHYmBSqGAQAA </SearchHierarchyItemGroup_GetResult> </SearchHierarchyItemGroup_GetResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Unzipped Response Content |
<ItemGroupSet ExtractGuid="1581BAEE-F790-44F4-8306-22FD0C15CF05"> <ItemGroups> <ItemGroup GroupId="1" GroupName="ENERGYPEND" /> <ItemGroup GroupId="2" GroupName="TRADPEND1" /> <ItemGroup GroupId="3" GroupName="TRADPEND2" /> <ItemGroup GroupId="4" GroupName="TRADPEND3" /> <ItemGroup GroupId="5" GroupName="MODPEND" GroupText="<p>Modern Pendantsv</p>" /> </ItemGroups> </ItemGroupSet> |
||||||||||||||||||||||||
|
Note |
As of EEE 1.76.0, when Top Level Menus have been
specified for a website in EEE, only the item groups referenced by those
menus and their dependents are sent to the website. |
|
Method |
SearchHierarchyItemGroup_AcknowledgeGet |
||||||||||||||||
|
Intended Usage |
Acknowledge a batch retrieved using SearchHierarchyItemGroup_Get. |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
True on success, false otherwise. |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <SearchHierarchyItemGroup_AcknowledgeGet xmlns="http://www.magentaretail.com.au/"> <extractGuid>1581BAEE-F790-44F4-8306-22FD0C15CF05</extractGuid> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>KXHCQsxzIh</websitePassword> </SearchHierarchyItemGroup_AcknowledgeGet> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <SearchHierarchyItemGroup_AcknowledgeGetResponse xmlns="http://www.magentaretail.com.au/"> <SearchHierarchyItemGroup_AcknowledgeGetResult>true</SearchHierarchyItemGroup_AcknowledgeGetResult> </SearchHierarchyItemGroup_AcknowledgeGetResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Note |
As
of EEE 1.76.0, when Top Level Menus have been specified for a website in EEE,
only the items referenced by those menus and their dependents are sent to the
website. |
|
Method |
SearchHierarchyItem_Get |
||||||||||||||||||||||||
|
Intended Usage |
Returns a gzipped UTF8
encoded byte array of Search Hierarchy Item xml data. |
||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||
|
Returns |
byte[] - Returns a gzipped UTF8
encoded byte array of Search Hierarchy Item xml data that conforms to
SearchHierarchyItemExchange.xsd. |
||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <SearchHierarchyItem_Get xmlns="http://www.magentaretail.com.au/"> <fullLoad>true</fullLoad> <websiteCode>MAGENTA</websiteCode> <maxRows>5</maxRows> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>KXHCQsxzIh</websitePassword> </SearchHierarchyItem_Get> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <SearchHierarchyItem_GetResponse xmlns="http://www.magentaretail.com.au/"> <SearchHierarchyItem_GetResult>
H4sIAAAAAAAEAHu/e7+NZ0lqbnBqiYJrRUlRYnKJe2lmiq2Si4WJsYGRmaWuubmro66Jo5mBroW
js4uugbm5sYWbo5mpi6uhkh1YbzGEUgARnkCt5hbGZmaWSgruRfmlBSABUyWFgKL8lNLkEuf8lF
RbJUMlheDUxKLkDP+ilNQiMF/fzkYfapY+1D12AB3k+DScAAAA </SearchHierarchyItem_GetResult> </SearchHierarchyItem_GetResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Unzipped Response Content |
<ItemSet ExtractGuid="D8430269-77EA-4A60-8ACD-07738FA65DE1"> <Items> <Item ItemId="783669" GroupId="5" ProductCode="1" SearchOrder="1" /> </Items> </ItemSet> |
|
Method |
SearchHierarchyItem_AcknowledgeGet |
||||||||||||||||
|
Intended Usage |
Acknowledge a batch retrieved using SearchHierarchyItem_Get. |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
True on success, false otherwise. |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <SearchHierarchyItem_AcknowledgeGet xmlns="http://www.magentaretail.com.au/"> <extractGuid>D8430269-77EA-4A60-8ACD-07738FA65DE1</extractGuid> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>KXHCQsxzIh</websitePassword> </SearchHierarchyItem_AcknowledgeGet> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <SearchHierarchyItem_AcknowledgeGetResponse xmlns="http://www.magentaretail.com.au/"> <SearchHierarchyItem_AcknowledgeGetResult>true</SearchHierarchyItem_AcknowledgeGetResult> </SearchHierarchyItem_AcknowledgeGetResponse> </soap:Body> </soap:Envelope> |
|
Method |
Branch_Get |
||||||||||||||||||||||||||||
|
Intended Usage |
Gets Branch details from EEE |
||||||||||||||||||||||||||||
|
Latest Interface Version |
4 |
||||||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||||||
|
Returns |
Returns a gzipped UTF8 encoded byte
array of Branch XML data that conforms to Branch_Get.xsd |
||||||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Branch_Get xmlns="http://www.magentaretail.com.au/"> <websiteCode>MAGENTA</websiteCode> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>KXHCQsxzIh</websitePassword> <includeOffline>false</includeOffline> <fullLoad>true</fullLoad> <maxRows>5</maxRows> </Branch_Get> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Branch_GetResponse xmlns="http://www.magentaretail.com.au/"> <Branch_GetResult>
H4sIAAAAAAAEAI2T21LbMBCGX0Wje8fH4IapGYzjlIswHMwM3C7WEmvGljw61ElfrRd9JF6hcgOEAuN
WN5J2f0n/t5Kefv76eqZA1E2Fhmy7VujjreYZbYzpj31/GIbZEM+k2vhREIT+/cW6qhvswONCG7cOKS
m3RkFtvlnOMponeRnly8KbF6vUS1ZfYi+Py7lX5mFyFMXpIg8LevJ8JuqXEdl3hWSY0SCNQkqWqGvFe
8OlyOiZ4voBBJKcq14qQ0nOmEKtw4yGJBc7Uh1i8UFPyZXUZr9tEgQBcY06LRgXuF4vx9kNbv6ccW0R
hW5BMEoKaYVRO8djtaNrOdBni2UHvN17PO1gg8KAQuNis1p2M7CUXD4+rrkYOSjxPwVcLN7hnSOwcR0
f6/mGbO5kQnBNbiSw10yU0asWfgApGugeUOm35FWvuNgMUrK/2MMonWLf92Q09k90RGT4Xdt+vIj/qM
GFFAx2lz0KZ+xcWqUzmkJHPJL0HSW3FvVU/g6ZmFbcNi4yJVgpPpWuwFj1QVC0UqMrYmU/2n/Juev1D
0/Zf/1JJ78B5pZeZlgDAAA= </Branch_GetResult> </Branch_GetResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||
|
Sample Unzipped Response Content |
<BranchSet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ExtractGuid="A4AE2ADC-5CF7-4F83-A3E5-EA1462379A1C"> <Branches> <Branch BranchCode="0721" Description="Brisbane Airport" Address1="1 Any St"
Address3="Brisbane" PostCode="4000 " State="QLD " Region="Queensland"
Country="Australia" BranchEmail="0721@magentaretail.com.au" OffLine="0" /> <Branch BranchCode="99" Description="Head Office" Address1="15 Dennis Road"
Address2="Plaza Chambers" Address3="Springwood" PostCode="4127 "
State="QLD " Region="Region 99" Country="Australia"
BranchEmail="eeedevsupport@magentaretail.com.au" OffLine="0"
MondayOpeningHours="7am - 4pm" TuesdayOpeningHours="7am - 4pm"
WednesdayOpeningHours="7am - 4pm" ThursdayOpeningHours="7am - 4pm"
FridayOpeningHours="7am - 4pm" SaturdayOpeningHours="Closed"
SundayOpeningHours="Closed" /> </Branches> </BranchSet> |
||||||||||||||||||||||||||||
|
Notes |
StorefrontImage element in response
The Storefront image is base 64 encoded binary data of the
image. |
|
Method |
Branch_AcknowledgeGet |
||||||||||||||||
|
Intended Usage |
Acknowledge a batch retrieved using Branch_Get. |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
bool - True on success, false otherwise |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Branch_AcknowledgeGet xmlns="http://www.magentaretail.com.au/"> <extractGuid>A4AE2ADC-5CF7-4F83-A3E5-EA1462379A1C</extractGuid> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>KXHCQsxzIh</webSitePassword> </Branch_AcknowledgeGet> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Branch_AcknowledgeGetResponse xmlns="http://www.magentaretail.com.au/"> <Branch_AcknowledgeGetResult>true</Branch_AcknowledgeGetResult> </Branch_AcknowledgeGetResponse> </soap:Body> </soap:Envelope> |
|
Method |
Brand_Get |
||||||||||||||||||||||||
|
Intended Usage |
Gets Brand details from EEE |
||||||||||||||||||||||||
|
Latest Interface Version |
4 |
||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||
|
Returns |
Returns a gzipped UTF8 encoded byte
array of Brand XML data that conforms to Brand_Get.xsd |
||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Brand_Get xmlns="http://www.magentaretail.com.au/"> <websiteCode>MAGENTA</websiteCode> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>KXHCQsxzIh</websitePassword> <fullLoad>true</fullLoad> <maxRows>5</maxRows> </Brand_Get> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Response Element |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Brand_GetResponse xmlns="http://www.magentaretail.com.au/"> <Brand_GetResult>
H4sIAAAAAAAACpWRTWvDMAyG74P9B+G74480SxqaQmO3vbRskA12NYlZDakdbGfp/v1K9nEY9DAdxP
sKJD1Iq9or2zU6wuXc21BegqnQKcahJGSapmRKE+ffCKeUkdfjoWlP+qywsSEq22oE20v0qo370XQV
ytKCFTLnuBa5xIu03uAlrwWu0x2XQvItKxha398BrOa1YdY/DuYsXKcrJB4PCKQOrTdDNM5eK65Xvn
MgehdPOiBoxmHojfbsq6N5eaIMwdF1UsWr55QvMM0wTZ9pXmZFmbEky3IE3k3v2od56GaOqDVpKwTk
Js5e7sQfnr1zHexGb00cvQbhzoOyH//FWpb0ISl4egsr/GKtyO/JvuX1aetPhRKeZL8BAAA= </Brand_GetResult> </Brand_GetResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Unzipped Response Content |
<BrandSet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ExtractGuid="53818D72-BC7D-43BA-92BC-B3F2DCD2E181"> <Brands> <Brand BrandCode="COL" Description="Colardo
Clothes" Supplier1Code="SUP01" ModDate="2024-05-03T07:58:51.557" rowversion="AAAAAAtee/c=" /> <Brand BrandCode="GDFC" Description="Good Furniture
Company" Supplier1Code="SUP01" ModDate="2024-05-03T07:59:06.823" rowversion="AAAAAAtee/s=" /> </Brands> </BrandSet> |
||||||||||||||||||||||||
|
Notes |
StorefrontImage
element in response
The Storefront image is base 64 encoded binary data of the
image. |
|
Method |
Brand_AcknowledgeGet |
||||||||||||||||
|
Intended Usage |
Acknowledge a batch retrieved using Brand_Get. |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
bool - True on success, false otherwise |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Brand_AcknowledgeGet xmlns="http://www.magentaretail.com.au/"> <extractGuid>171B71C5-B2FD-4EBF-817E-89178986280A</extractGuid> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>KXHCQsxzIh</webSitePassword> </Brand_AcknowledgeGet> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Brand_AcknowledgeGetResponse xmlns="http://www.magentaretail.com.au/"> <Brand_AcknowledgeGetResult>true</Brand_AcknowledgeGetResult> </Brand_AcknowledgeGetResponse> </soap:Body> </soap:Envelope> |
|
Method |
CouponDetail_Get |
||||||||||||||||||||||||
|
Intended Usage |
Gets Coupon details from EEE |
||||||||||||||||||||||||
|
Latest Interface Version |
2 |
||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||
|
Returns |
Returns a gzipped UTF8 encoded byte
array of Coupon XML data that conforms to CouponDetail_Get.xsd |
||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CouponDetail_Get xmlns="http://www.magentaretail.com.au/"> <websiteCode>MAGENTA</websiteCode> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>KXHCQsxzIh</websitePassword> <fullLoad>true</fullLoad> <maxRows>50</maxRows> </CouponDetail_Get> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Response Element (v2) |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CouponDetail_GetResponse xmlns="http://www.magentaretail.com.au/"> <CouponDetail_GetResult>
H4sIAAAAAAAEAI1S226CQBD9FbLvuAsVW42Y4F4MCa20aOLrBra6ycISWKJ
+Wx/6Sf2FQkit2sS6bzNnZs6cM/v18TnFuil1QYThUiXCWIdcFfXkUEsf7I
wpJxDu9/vB/mGgqy10EXLg5jlK0p3IuS2L2vAiFcCiB1Px1CwamfmA0ieCv
DG2AxcH9tDzHu0xC5jNhoyM5iOEaDAHswvm+jK0+gDrTPgAux6w4krn2shT
brmOly8d0FeujmWbTWKKQxbi+C3EFFiJLLZKrGvR1/gAtaybXBFu+GwaGpF
3Y7MmNf3QBWEYtc8BFpF1qpvCiCyuZNpijuMNOgxY8Gbr/L9eeFoAniu+pT
/esMj5YwGLglVvw6UJlNIOIssoCt7uMoEpbohWilcninZpcJYP8k6QD9wfI
b/Qa8OVfD+2LEkpivb6DkJ3qIVX14dX/3D2DTes/CycAgAA </CouponDetail_GetResult> </CouponDetail_GetResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Unzipped Response Content (v2) |
<CouponDetailSet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ExtractGuid="EE8D059C-A2CA-4557-9FAF-F4FD6B600EAB"> <CouponDetails> <CouponDetail CouponCode="C25" PromotionCode="COUPON25" CouponType="SPECIFICPRICE" SingleUseCoupon="0"> <XmlData>
<Item ProductCode="GDFC00001" DiscountedPrice="115.0000" />
<Item ProductCode="GDFC00001B" DiscountedPrice="115.0000" /> </XmlData> </CouponDetail> <CouponDetail CouponCode="CPXFL1" PromotionCode="FLATCOUPON" CouponType="EEEFLATDOLLAR" SingleUseCoupon="0"> <XmlData>
<Item FlatDollarPromotion="1" FlatDollarAmount="25.0000" FlatDollarQualifyingSpend="100.0000" /> </XmlData> </CouponDetail> </CouponDetails> </CouponDetailSet> |
|
Method |
CouponDetail_AcknowledgeGet |
||||||||||||||||
|
Intended Usage |
Acknowledge a batch retrieved using CouponDetail_Get. |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
bool - True on success, false otherwise |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CouponDetail_AcknowledgeGet xmlns="http://www.magentaretail.com.au/"> <extractGuid>EE8D059C-A2CA-4557-9FAF-F4FD6B600EAB</extractGuid> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>KXHCQsxzIh</webSitePassword> </CouponDetail_AcknowledgeGet> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CouponDetail_AcknowledgeGetResponse xmlns="http://www.magentaretail.com.au/"> <CouponDetail_AcknowledgeGetResult>true</CouponDetail_AcknowledgeGetResult> </CouponDetail_AcknowledgeGetResponse> </soap:Body> </soap:Envelope> |
|
Method |
Supplier_Get |
||||||||||||||||||||||||||||
|
Intended Usage |
Gets Supplier details from EEE |
||||||||||||||||||||||||||||
|
Latest Interface Version |
2 |
||||||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||||||
|
Returns |
Returns a gzipped UTF8 encoded byte
array of Supplier XML data that conforms to Supplier_Get.xsd |
||||||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Supplier_Get xmlns="http://www.magentaretail.com.au/"> <websiteCode>MAGENTA</websiteCode> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>KXHCQsxzIh</websitePassword> <includeInactive>true</includeInactive> <fullLoad>true</fullLoad> <maxRows>50</maxRows> </Supplier_Get> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Supplier_GetResponse xmlns="http://www.magentaretail.com.au/"> <Supplier_GetResult>
H4sIAAAAAAAACq2STU/DMAyG70j8Byv3fqXt2KZ1YltXQGxooiC4Rk1oI7VplaTr
+PdEEy3bAbQD78GxncR5HHmWtk1TciZTpuFQlUJND4pHqNC6mTpO13V259u1zB3s
up7zvt2kWcEqYnGhNBEZQ7A+aEkyfddyGqFg6cbj0SSxkpsQW0EyWVuLcby0Vusx
jsNwGQQjF82vrwBm/cvqGJ4koHdWNWURSl93rofgiVQmuOd5AQlRBa+FQrCgVDKl
vAiFLmzrVug9Zx0802ELR2jw/QjtzKprgWBX1MLU8zzwjI7GtFIRXkZItY3r3VYk
Z0ITybRJ2lld2aRF8CAWmeZ7c9VF4FyAjnv0xWq7hhdJKBc57PQnbDQ97eCNSGEq
/M6eEC4/OCvpQI8xYKOjOaPH/0Xv9/Tffw4xlyzTp9w4dIIQQ6rhkZeU/NFAf2Tg
933wjY7mjN+/nH/mnA7ST2QGev4Fz6hr+N4CAAA= </Supplier_GetResult> </Supplier_GetResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||
|
Sample Unzipped Response Content |
<SupplierSet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ExtractGuid="4B0D869F-F752-4F9E-A8DB-CE82D55B4460"> <Suppliers> <Supplier SupplierCode="SUP01" Name="High Fashions" Address1="50 Mountview Rd" Address2="" Address3="Preston" Phone="11 1111 1111" Email="sup01@magentaretail.com.au" InActive="0" /> <Supplier SupplierCode="SUP02" Name="ACME Trading Pty Ltd" Address1="Warner Rd" Address2="" Address3="Fairfield" Phone="22 2222 2222" Email="sup02@magentaretail.com.au" InActive="0" /> <Supplier SupplierCode="SUP03" Name="Fashion Direct" Address1="25/452 St Kilda Rd" Address2="" Address3="St Kilda" Phone="33 3333 3333" Email="sup03@magentaretail.com.au" InActive="0" /> </Suppliers> </SupplierSet> |
|
Method |
Supplier_AcknowledgeGet |
||||||||||||||||
|
Intended Usage |
Acknowledge a batch retrieved using Supplier_Get. |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
bool - True on success, false otherwise |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Supplier_AcknowledgeGet xmlns="http://www.magentaretail.com.au/"> <extractGuid>4B0D869F-F752-4F9E-A8DB-CE82D55B4460</extractGuid> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>KXHCQsxzIh</webSitePassword> </Supplier_AcknowledgeGet> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Supplier_AcknowledgeGetResponse xmlns="http://www.magentaretail.com.au/"> <Supplier_AcknowledgeGetResult>true</Supplier_AcknowledgeGetResult> </Supplier_AcknowledgeGetResponse> </soap:Body> </soap:Envelope> |
|
Method |
SupplierInventory_Get |
||||||||||||||||||||||||
|
Intended
Usage |
Gets SupplierInventory details from
EEE |
||||||||||||||||||||||||
|
Latest Interface Version |
1 |
||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||
|
Returns |
Returns a gzipped
UTF8 encoded byte array of Supplier XML data that conforms to SupplierInventory_Get.xsd |
||||||||||||||||||||||||
|
Sample
Soap Request |
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body>
<SupplierInventory_Get xmlns="http://www.magentaretail.com.au/">
<maxRows>10</maxRows>
<fullLoad>true</fullLoad>
<websiteCode>SLTEST</websiteCode>
<websiteUserCode>MWSTEST</websiteUserCode>
<websitePassword>MWSTEST</websitePassword>
</SupplierInventory_Get> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample
Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <SupplierInventory_GetResponse xmlns="http://www.magentaretail.com.au/"> <SupplierInventory_GetResult>H4sIAAAAAAAEAK3Uy2qEMBQG4FcJ2WsuaoxDHbCOLYUODHUW3aYx</SupplierInventory_GetResult> </SupplierInventory_GetResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Notes |
The result string has been truncated for brevity. |
|
Method |
SupplierInventory_AcknowledgeGet |
||||||||||||||||
|
Intended Usage |
Acknowledge a batch
retrieved using SupplierInventory_Get. |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
bool - True on success, false otherwise |
||||||||||||||||
|
Sample Soap
Request |
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body>
<SupplierInventory_AcknowledgeGet xmlns="http://www.magentaretail.com.au/">
<extractGuid>65BB3C43-D130-4F2D-AF98-22FC659F0955</extractGuid>
<websiteUserCode>MWSTEST</websiteUserCode>
<websitePassword>1234</websitePassword>
</SupplierInventory_AcknowledgeGet> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap
Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <SupplierInventory_AcknowledgeGetResponse xmlns="http://www.magentaretail.com.au/"> <SupplierInventory_AcknowledgeGetResult>true</SupplierInventory_AcknowledgeGetResult> </SupplierInventory_AcknowledgeGetResponse> </soap:Body> </soap:Envelope> |
|
Method |
Suburb_Get |
||||||||||||||||||||||||
|
Intended Usage |
Gets Suburb details from EEE |
||||||||||||||||||||||||
|
Latest Interface Version |
1 |
||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||
|
Returns |
Returns a gzipped UTF8 encoded byte
array of Suburb XML data that conforms to Suburb_Get.xsd |
||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Suburb_Get xmlns="http://www.magentaretail.com.au/"> <fullLoad>true</fullLoad> <websiteCode>MAGENTA</websiteCode> <maxRows>10</maxRows> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>KXHCQsxzIh</websitePassword> </Suburb_Get> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Suburb_GetResponse xmlns="http://www.magentaretail.com.au/"> <Suburb_GetResult>
H4sIAAAAAAAACrWUXWvCMBSG7wf7DyH3tR/WKmKF0zTOYBZH0+q8GlXLFGY72pS6f79uuoG
CY0i9ykkIz5OcN2Qgy2WZL2Wi0H73lhb9fbF18Uap976uV1XVqtqtLH/VLcMw9edHLlebZB
dr27RQcbpKMKJ7lccr9VBu1y42fbvn28TRTMf2NbtrjDToWJ7mGRZtO9Tp+Z0uHt7fITQ4e
IvrrN+IXwg6DC4GAoQBGjPOJUZPWaFItk5cbPQs62s/RiQrU5V/HJdNjKSKVV2KECNWZC9g
1ZQII/2SgcMcTtGm0RBaRPwc3dSpIxkGwBkIJCBkUwEcRYLNaCBZuDhx1h3/2wnkn1IPFjN
G52c5NNQsL2BiwsRtkvCi0Qj4FJGA0sltEiEgI6jvcKO3dAlvNoQfQ8CpRD4E8/MQrkt4oB
//g3r2U9d/0vATQggiK58EAAA= </Suburb_GetResult> </Suburb_GetResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Unzipped Response Content |
<SuburbSet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ExtractGuid="1D48D4C6-164D-470F-A52B-B02E36E68D57"> <Suburbs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Suburb Suburb="ACACIA HILLS" PostCode="0822 " CountryCode="01" State="NT" Iso_A2="AU" /> <Suburb Suburb="ALAWA" PostCode="0810 " CountryCode="01" State="NT" Iso_A2="AU" /> <Suburb Suburb="ANULA" PostCode="0812 " CountryCode="01" State="NT" Iso_A2="AU" /> <Suburb Suburb="AUSTRALIAN NATIONAL
UNIVERSITY" PostCode="0200 " CountryCode="01" State="ACT" Iso_A2="AU" /> <Suburb Suburb="BAYVIEW" PostCode="0820 " CountryCode="01" State="NT" Iso_A2="AU" /> <Suburb Suburb="BRINKIN" PostCode="0810 " CountryCode="01" State="NT" Iso_A2="AU" /> <Suburb Suburb="BUFFALO CREEK" PostCode="0812 " CountryCode="01" State="NT" Iso_A2="AU" /> <Suburb Suburb="CASUARINA" PostCode="0810 " CountryCode="01" State="NT" Iso_A2="AU" /> <Suburb Suburb="CASUARINA" PostCode="0811 " CountryCode="01" State="NT" Iso_A2="AU" /> <Suburb Suburb="CHARLES DARWIN" PostCode="0820 " CountryCode="01" State="NT" Iso_A2="AU" /> </Suburbs> </SuburbSet> |
|
Method |
Suburb_AcknowledgeGet |
||||||||||||||||
|
Intended Usage |
Acknowledge a batch retrieved using Suburb_Get. |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
bool - True on success, false otherwise |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Suburb_AcknowledgeGet xmlns="http://www.magentaretail.com.au/"> <extractGuid>1D48D4C6-164D-470F-A52B-B02E36E68D57</extractGuid> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>KXHCQsxzIh</websitePassword> </Suburb_AcknowledgeGet> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Suburb_AcknowledgeGetResponse xmlns="http://www.magentaretail.com.au/"> <Suburb_AcknowledgeGetResult>true</Suburb_AcknowledgeGetResult> </Suburb_AcknowledgeGetResponse> </soap:Body> </soap:Envelope> |
|
Method |
Url_Insert |
||||||||||||||||||||
|
Intended Usage |
Provide EEE a complete URL for a Product, Style or Menu
Button (Search Hierarchy Detail record) in the website. This method accepts a
Gzipped UTF8 encoded byte array of URL XML. The data must conform to
UrlExchange.xsd and is rejected if non-conforming. |
||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||
|
Returns |
True on success, false otherwise. |
||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Url_Insert xmlns="http://www.magentaretail.com.au/"> <urlXml>
H4sIAAAAAAAEAJ2SwW6CQBRFf4XMXqbWnQEXKokkGkjBNF1O4UWmYZzJ8AjybV30k/o
LZRQtsDDiavJecu9952Z+v3+cvc4jwIUTapmWCTZjsXB8BGG1m5VMwSXv3jJ8C9b7VT
wlVlyrZhWyAxCrEbgkQ1RzSquqsuHEhMqh4Ah2IgWt4HOiLk6TRkofNddcMF37YnwI5
UZkf6nDOY72yCKsc+hAnufbFVH8sfWeACyMSxevb+v1bUejtfZDsA7LDo7lskSUxw6b
WV5u2AQ7j1gRMJ1kgU5Bu+TlOm84aPPWa0DGcz91ycgGMingH/1u6vR19lDuqIpM/rC
bYSG0/ed/qfMKu/MCAAA= </urlXml> <websiteCode>MAGENTA</websiteCode> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>KXHCQsxzIh</websitePassword> </Url_Insert> </soap:Body> </soap:Envelope> |
||||||||||||||||||||
|
Sample Unzipped urlXml Content |
<UrlSet> <ProductUrls> <Item ProductCode="WEBPRODUCT1" Type="Page" Url="http://www.examplesite.com/web-product-1" /> <Item ProductCode="WEBPRODUCT1" Type="PrimaryImage" Url="http://www.examplesite.com/web-product-1/image.jpg" /> </ProductUrls> <StyleUrls> <Item StyleCode="WEBSTYLE1" Type="Page" Url="http://www.examplesite.com/web-style-1" /> <Item StyleCode="WEBETYLE1" Type="PrimaryImage" Url="http://www.examplesite.com/web-style-1/image.jpg" /> </StyleUrls> <MenuButtonUrls> <Item MenuCode="HOME" SearchOrder="0" SearchHierarchyDetailId="1" Type="Page" Url="http://www.examplesite.com/home" /> <Item MenuCode="HOME" SearchOrder="123" SearchHierarchyDetailId="1" Type="PrimaryImage" Url="http://www.examplesite.com/home/image.jpg" /> </MenuButtonUrls> </UrlSet> |
||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Url_InsertResponse xmlns="http://www.magentaretail.com.au/"> <Url_InsertResult>true</Url_InsertResult> </Url_InsertResponse> </soap:Body> </soap:Envelope> |
· The Type attribute can be one of:
o Page
o PrimaryImage
· The Url attribute is the complete URL to the page or image of them item. E.g. http://mywebsite/product/ or http://mywebsite/product/image.jpg
External feeds are used to create and populate data for sites like MyShopping.com.au and GetPrice.com.au. These sites require XML files in a specified format to be placed in the root of your website. EEE can generate this data and make it available through the ExternalFeed_Get method. The website calls this method, writes the content to the appropriate file and the external sites pick up the files from your website.
The external feed method also returns files uploaded in EEE in the Additional Content screens for a website. This upload allows Image, Video, Audio, Html, Plain Text, PDF, Word and Excel files to be uploaded into EEE and then sent to the website. Useful for updating static catalogues and content etc.
|
Method |
ExternalFeed_Get |
||||||||||||||||||||||||
|
Intended Usage |
Get a feed of product data to be used by an external site.
The data conforms to ExternalFeed_Get.xsd |
||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||
|
Returns |
Xml that conforms to ExternalFeed_Get.xsd. The FeedContent is the base64 encoded binary content of the
file. When Compressed = 1, then the content has been gzipped. |
||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ExternalFeed_Get xmlns="http://www.magentaretail.com.au/"> <websiteCode>MAGENTA</websiteCode> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>KXHCQsxzIh</websitePassword> <fullLoad>true</fullLoad> <maxRows>1</maxRows> </ExternalFeed_Get> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ExternalFeed_GetResponse xmlns="http://www.magentaretail.com.au/"> <ExternalFeed_GetResult>
H4sIAAAAAAAEAO17x87EypXeqwh3S2iY02A0AMlmDs3QjDtmsplzeDUv/Eh+BfO/kuCR
dCV7MxjY1gFIoqqJQ7LqhO+rU/0//tt//zf+XPO5j1shzzMnX393dm2//Ou51H/4pVrX
8V9B8DiOfznQfxnmEkQgCAYDXXPSKu/i39f9ssZ9mv/yu0fLHKeruNXZH37hWRjFcZr8
PU9z6O8xksd/z+IU+/sXBvMwTyA8SUC//PtfPHn5y+bvfk5C3eZG3OV/+MWJu7HN+TPN
... omitted ...
+9s/M07K0fwW7zyN+eMT2Gdu7efRnH85IG/BUopO/xpzowhDJQ2Egwo7dotQv+R3rMs1
4r7ySjx8VN34f9Gb8M+tibaewizV4Kyt4YYj024f1+nKCiczSk/OnlL/81MxNnYX+kUj
pT78xz9OsePDAxXcr+qvf60q/2X33FDN875suTZH36Bfvkd+O//Bv7VJnzwr/4O8O//E
8Q3DUwjMAAA </ExternalFeed_GetResult> </ExternalFeed_GetResponse> </soap:Body> </soap:Envelope> |
|
Method |
ExternalFeed_AcknowledgeGet |
||||||||||||||||
|
Intended Usage |
Acknowledge a batch retrieved using External_Get. |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
bool - True on success, false otherwise |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ExternalFeed_AcknowledgeGet xmlns="http://www.magentaretail.com.au/"> <extractGuid>E389A71B-94F9-4ACC-A339-84F2D8D17648</extractGuid> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>KXHCQsxzIh</websitePassword> </ExternalFeed_AcknowledgeGet> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ExternalFeed_AcknowledgeGetResponse xmlns="http://www.magentaretail.com.au/"> <ExternalFeed_AcknowledgeGetResult>true</ExternalFeed_AcknowledgeGetResult> </ExternalFeed_AcknowledgeGetResponse> </soap:Body> </soap:Envelope> |
|
Method |
ShippingProvider_Get |
||||||||||||||||||||||||||||
|
Intended Usage |
Gets Shipping Provider details from
EEE |
||||||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||||||
|
Returns |
Returns a gzipped UTF8 encoded byte
array of ShippingProvider XML data that conforms to ShippingProvider_Get.xsd |
||||||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ShippingProvider_Get xmlns="http://www.magentaretail.com.au/"> <websiteCode>MAGENTA</websiteCode> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>KXHCQsxzIh</websitePassword> <fullLoad>true</fullLoad> <maxRows>3</maxRows> </ShippingProvider_Get> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||
|
Sample Response Element |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ShippingProvider_GetResponse xmlns="http://www.magentaretail.com.au/"> <ShippingProvider_GetResult>
H4sIAAAAAAAEAKWS3WqEMBCFXyXk3k38AetSF0TtstAWwZveBh00oIlk4uo+W
y/6SH2FilBocbeU9vYwc87HnHl/fbsvWzkMUjWF0WdZgynBkrnvFO5nlDFtrR
32jE3TtJv8nTYN8zh32cvTY1m10AtHKrRCVUBJPlsjKnscZR3TlKd+Enl3Tvg
QBk4Qcc9JgjR3Ejf3wiDyuR9k9LBJx61EToudS8mz6CGmyYhLSicFKTRaAoUw
FXSUnLAwUhtpL597MeWLrCwYJazUSnSrkuke0Mpq9UyFKkHVmVANGD3iUesa1
zF2A8S7AfIt6Lc47lcc/hcc/+e7LJ0MBhCvA7n/uw+7Ut5GW97p8AFg4w+NZw
IAAA== </ShippingProvider_GetResult> </ShippingProvider_GetResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||
|
Sample Unzipped Response Content |
<ShippingProviderSet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ExtractGuid="C0C3A928-7F74-4902-A4CE-A1E27493034D"> <ShippingProviders> <ShippingProvider Id="1" Name="Australia Post eParcel" IsPriorityProvider="0" International="0" Domestic="1" CanSendDangerousGoods="0" /> <ShippingProvider Id="2" Name="Australia Post International" IsPriorityProvider="0" International="1" Domestic="0" CanSendDangerousGoods="0" /> <ShippingProvider Id="3" Name="Australia Post eParcel
Express" IsPriorityProvider="1" International="0" Domestic="1" CanSendDangerousGoods="0" /> </ShippingProviders> </ShippingProviderSet> |
|
Method |
ShippingProvider_AcknowledgeGet |
||||||||||||||||
|
Intended Usage |
Acknowledge a batch retrieved using ShippingProvider_Get. |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
bool - True on success, false otherwise |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ShippingProvider_AcknowledgeGet xmlns="http://www.magentaretail.com.au/"> <extractGuid>C0C3A928-7F74-4902-A4CE-A1E27493034D</extractGuid> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>KXHCQsxzIh</websitePassword> </ShippingProvider_AcknowledgeGet> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ShippingProvider_AcknowledgeGetResponse xmlns="http://www.magentaretail.com.au/"> <ShippingProvider_AcknowledgeGetResult>true</ShippingProvider_AcknowledgeGetResult> </ShippingProvider_AcknowledgeGetResponse> </soap:Body> </soap:Envelope> |
|
Method |
ShippingProviderDispatchPoint_Get |
||||||||||||||||||||||||||||
|
Intended Usage |
Gets Shipping Provider Dispatch Point
details from EEE |
||||||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||||||
|
Returns |
Returns a gzipped UTF8 encoded byte
array of ShippingProviderDispatchPoint XML data that conforms to
ShippingProviderDispatchPoint_Get.xsd |
||||||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ShippingProviderDispatchPoint_Get xmlns="http://www.magentaretail.com.au/"> <websiteCode>MAGENTA</websiteCode> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>KXHCQsxzIh</websitePassword> <fullLoad>true</fullLoad> <maxRows>3</maxRows> </ShippingProviderDispatchPoint_Get> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||
|
Sample Response Element |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ShippingProviderDispatchPoint_GetResponse xmlns="http://www.magentaretail.com.au/"> <ShippingProviderDispatchPoint_GetResult>
H4sIAAAAAAAEAJXS3WrCMBQH8FcJuY/5qKZWVkFrGAMHsnqx29JmJqBJSeLad9uFj7R
XWCfbxcRWd3vOP+R3OOfz4/SQK13X2uw2zr7rSrqV9nURSrWx2oRcBtAe9sbPWq9TqE
KoZxg3TTNqopF1O8wIofj1eZ2XSh4KpI0PhSklBKINrijD41FXKaScck4ZRTQTMRovK
EfTBWMoIWQqRJxEKxbB+TDF3+iDp++PILgM/ZSXrnOpzFYyhSRmV4KZNWfy+cEYgt/6
i3yTTnZDpXAr8i0E+B4J65Hwv5QkGYYwchVyL6JHEcX/U0xovwLf2tpwoLuw+RdBlvE
khwIAAA== </ShippingProviderDispatchPoint_GetResult> </ShippingProviderDispatchPoint_GetResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||
|
Sample Unzipped Response Content |
<ShippingProviderDispatchPointSet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ExtractGuid="16166121-1CE7-4A16-8A22-9008EE793D23"> <ShippingProviderDispatchPoints> <ShippingProviderDispatchPoint Id="1" ShippingProviderId="1" BranchCode="0721" ShippingProviderContractId="14" ProviderReference="TEST" /> <ShippingProviderDispatchPoint Id="2" ShippingProviderId="16" BranchCode="99" ShippingProviderContractId="20" ProviderReference="" /> <ShippingProviderDispatchPoint Id="22" ShippingProviderId="37" BranchCode="99" ShippingProviderContractId="51" ProviderReference="" /> </ShippingProviderDispatchPoints> </ShippingProviderDispatchPointSet> |
|
Method |
ShippingProviderDispatchPoint_AcknowledgeGet |
||||||||||||||||
|
Intended Usage |
Acknowledge a batch retrieved using
ShippingProviderDispatchPoint_Get. |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
bool - True on success, false otherwise |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ShippingProviderDispatchPoint_AcknowledgeGet xmlns="http://www.magentaretail.com.au/"> <extractGuid>16166121-1CE7-4A16-8A22-9008EE793D23</extractGuid> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>KXHCQsxzIh</websitePassword> </ShippingProviderDispatchPoint_AcknowledgeGet> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ShippingProviderDispatchPoint_AcknowledgeGetResponse xmlns="http://www.magentaretail.com.au/"> <ShippingProviderDispatchPoint_AcknowledgeGetResult>true</ShippingProviderDispatchPoint_AcknowledgeGetResult> </ShippingProviderDispatchPoint_AcknowledgeGetResponse> </soap:Body> </soap:Envelope> |
|
Method |
ShippingProviderContract_Get |
||||||||||||||||||||||||||||
|
Intended Usage |
Gets Shipping Provider Contract details
from EEE |
||||||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||||||
|
Returns |
Returns a gzipped UTF8 encoded byte
array of ShippingProviderContract XML data that conforms to
ShippingProviderContract_Get.xsd |
||||||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ShippingProviderContract_Get xmlns="http://www.magentaretail.com.au/"> <websiteCode>MAGENTA</websiteCode> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>KXHCQsxzIh</websitePassword> <fullLoad>true</fullLoad> <maxRows>3</maxRows> </ShippingProviderContract_Get> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||
|
Sample Response Element |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ShippingProviderContract_GetResponse xmlns="http://www.magentaretail.com.au/"> <ShippingProviderContract_GetResult>
H4sIAAAAAAAEAJ2STU7DMBCFr2J5P/VPm4ZWpFIpFqoEKCgbJMTCpKPGUmJHtkty
NxYciSsQyg41/G3njd4382beXl7Pi8q0rbH73Ltns0O/cTZ6XcYCI+mb2oZlH0xG
qxjbJWNd10266cT5PZOcC3Z/c12UFTYajA1R2xIpUf3R4OpgdhkVMk35PFGguFIw
U2oNZ1ykkF7Ok82gcMkXdDU6RRiXyPbDfkbJ14ZjnZJb3WBGJRcJcAliAaqHC2/C
k7b4cCceYX0Ig1FtNMldiARz7UusKWE/MZPTzOm/mUNkrccQfsFOT7Pl39lbG9Fb
HY2z+nNr9s0VRrXhT1bvBbvC8kgCAAA= </ShippingProviderContract_GetResult> </ShippingProviderContract_GetResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||
|
Sample Unzipped Response Content |
<ShippingProviderContractSet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ExtractGuid="1277065E-E0EE-4EEA-8017-7D65C7060209"> <ShippingProviderContracts> <ShippingProviderContract Id="14" ShippingProviderId="1" Name="2015-02-19-Ex-Brisbane[Q1]-Australia
Post eParcel" /> <ShippingProviderContract Id="15" ShippingProviderId="3" Name="2015-02-19-Ex-Brisbane[Q1]-Australia
Post eParcel Express" /> <ShippingProviderContract Id="17" ShippingProviderId="2" Name="2015-02-19-Ex-Brisbane[Q1]-Australia
Post International" /> </ShippingProviderContracts> </ShippingProviderContractSet> |
|
Method |
ShippingProviderContract_AcknowledgeGet |
||||||||||||||||
|
Intended Usage |
Acknowledge a batch retrieved using
ShippingProviderContract_Get. |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
bool - True on success, false otherwise |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ShippingProviderContract_AcknowledgeGet xmlns="http://www.magentaretail.com.au/"> <extractGuid>1277065E-E0EE-4EEA-8017-7D65C7060209</extractGuid> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>KXHCQsxzIh</websitePassword> </ShippingProviderContract_AcknowledgeGet> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ShippingProviderContract_AcknowledgeGetResponse xmlns="http://www.magentaretail.com.au/"> <ShippingProviderContract_AcknowledgeGetResult>true</ShippingProviderContract_AcknowledgeGetResult> </ShippingProviderContract_AcknowledgeGetResponse> </soap:Body> </soap:Envelope> |
|
Method |
ChargeZone_Get |
||||||||||||||||||||||||||||
|
Intended Usage |
Gets Charge Zone details from EEE |
||||||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||||||
|
Returns |
Returns a gzipped UTF8 encoded byte
array of ChargeZone XML data that conforms to ChargeZone_Get.xsd |
||||||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ChargeZone_Get xmlns="http://www.magentaretail.com.au/"> <websiteCode>MAGENTA</websiteCode> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>KXHCQsxzIh</websitePassword> <fullLoad>true</fullLoad> <maxRows>3</maxRows> </ChargeZone_Get> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||
|
Sample Response Element |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ChargeZone_GetResponse xmlns="http://www.magentaretail.com.au/"> <ChargeZone_GetResult>
H4sIAAAAAAAEAJXRTQrCMBAF4KuE7GOStloVFdK0iqAg1oW4K21oA5qUNNp6NhceyS
v4gwuLC3H5mOF7MHO7XEe8SEwudlqJWFjQHPaqGjaVHMPC2nKIcV3XndrtaJNjhxCK
t8tFnBbikCCpKpuoVEAQNdYkqZ0dZTaGjPhR6LlT5PGeizyHdRGLBj3E+oROIz+kNH
Dh5KO3+gxg/iB8AkFcyLKUKl8ZfZKZMFyrV8lzTj0InstcZ+JRyDYQbM7lO4YQ4G+R
/iMG69+g8w/Ig28Qty6AW3+Y3AFEGNdomgEAAA== </ChargeZone_GetResult> </ChargeZone_GetResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||
|
Sample Unzipped Response Content |
<ChargeZoneSet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ExtractGuid="A07ED43F-4C63-42A5-AE96-A801FE7D11B3"> <ChargeZones> <ChargeZone Id="70" ShippingProviderContractId="14" ZoneCode="AAT" TypeCode="D" /> <ChargeZone Id="71" ShippingProviderContractId="14" ZoneCode="BR" TypeCode="D" /> <ChargeZone Id="72" ShippingProviderContractId="14" ZoneCode="CB" TypeCode="D" /> </ChargeZones> </ChargeZoneSet> |
|
Method |
ChargeZone_AcknowledgeGet |
||||||||||||||||
|
Intended Usage |
Acknowledge a batch retrieved using ChargeZone_Get. |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
bool - True on success, false otherwise |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ChargeZone_AcknowledgeGet xmlns="http://www.magentaretail.com.au/"> <extractGuid>A07ED43F-4C63-42A5-AE96-A801FE7D11B3</extractGuid> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>KXHCQsxzIh</websitePassword> </ChargeZone_AcknowledgeGet> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ChargeZone_AcknowledgeGetResponse xmlns="http://www.magentaretail.com.au/"> <ChargeZone_AcknowledgeGetResult>true</ChargeZone_AcknowledgeGetResult> </ChargeZone_AcknowledgeGetResponse> </soap:Body> </soap:Envelope> |
|
Method |
ChargeZonePostcodeRange_Get |
||||||||||||||||||||||||||||
|
Intended Usage |
Gets Charge Zone Postcode Range
details from EEE |
||||||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||||||
|
Returns |
Returns a gzipped UTF8 encoded byte
array of ChargeZonePostcodeRange XML data that conforms to
ChargeZonePostcodeRange_Get.xsd |
||||||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ChargeZonePostcodeRange_Get xmlns="http://www.magentaretail.com.au/"> <websiteCode>MAGENTA</websiteCode> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>KXHCQsxzIh</websitePassword> <fullLoad>true</fullLoad> <maxRows>3</maxRows> </ChargeZonePostcodeRange_Get> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||
|
Sample Response Element |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ChargeZonePostcodeRange_GetResponse xmlns="http://www.magentaretail.com.au/"> <ChargeZonePostcodeRange_GetResult>
H4sIAAAAAAAEAI3R3WrDIBwF8FcR761GzYylLTRfY7BCWXcxdiepJIFGS7Qk77aLP
dJeYbY3hY6Q3Z5z+PFHf76+V1mj+lp/WqP31vnKHvWbMrU+aA/G7mTccnTtGjben5
cYD8OwGNjC9jWmhET4Y/d6qBrdKdQa55WpNATF6HtV+edLe1xDIYtSblmJipwniMs
kRSnPYpQTlgsq0qetoHAzdYSbbMBLwKMIgnt/TYSA4LrLwq7sbRc2hJB79m5DIlkM
AZ6h6TxN/9CUcjlPs3/QMUke6DjiNxpPv9VUFf5y8wu4mZ4o6wEAAA== </ChargeZonePostcodeRange_GetResult> </ChargeZonePostcodeRange_GetResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||
|
Notes |
<ChargeZonePostcodeRangeSet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ExtractGuid="79EF9A3F-ED48-498B-B4C5-D03D727B6A72"> <ChargeZonePostcodeRanges> <ChargeZonePostcodeRange Id="11" ChargeZoneId="77" PostCodeFrom="1000" PostCodeTo="1935" /> <ChargeZonePostcodeRange Id="12" ChargeZoneId="77" PostCodeFrom="2000" PostCodeTo="2249" /> <ChargeZonePostcodeRange Id="13" ChargeZoneId="77" PostCodeFrom="2508" PostCodeTo="2514" /> </ChargeZonePostcodeRanges> </ChargeZonePostcodeRangeSet> |
|
Method |
ChargeZonePostcodeRange_AcknowledgeGet |
||||||||||||||||
|
Intended Usage |
Acknowledge a batch retrieved using
ChargeZonePostcodeRange_Get. |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
bool - True on success, false otherwise |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ChargeZonePostcodeRange_AcknowledgeGet xmlns="http://www.magentaretail.com.au/"> <extractGuid>79EF9A3F-ED48-498B-B4C5-D03D727B6A72</extractGuid> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>KXHCQsxzIh</websitePassword> </ChargeZonePostcodeRange_AcknowledgeGet> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ChargeZonePostcodeRange_AcknowledgeGetResponse xmlns="http://www.magentaretail.com.au/"> <ChargeZonePostcodeRange_AcknowledgeGetResult>true</ChargeZonePostcodeRange_AcknowledgeGetResult> </ChargeZonePostcodeRange_AcknowledgeGetResponse> </soap:Body> </soap:Envelope> |
|
Method |
ChargeZoneCountry_Get |
||||||||||||||||||||||||||||
|
Intended Usage |
Gets Charge Zone Country details from
EEE |
||||||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||||||
|
Returns |
Returns a gzipped UTF8 encoded byte
array of ChargeZoneCountry XML data that conforms to
ChargeZoneCountry_Get.xsd |
||||||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ChargeZoneCountry_Get xmlns="http://www.magentaretail.com.au/"> <websiteCode>MAGENTA</websiteCode> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>KXHCQsxzIh</websitePassword> <fullLoad>true</fullLoad> <maxRows>3</maxRows> </ChargeZoneCountry_Get> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||
|
Sample Response Element |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ChargeZoneCountry_GetResponse xmlns="http://www.magentaretail.com.au/"> <ChargeZoneCountry_GetResult>
H4sIAAAAAAAEAH3QQQqCQBQG4KsMsx9HZ9QsUtBBwygJ3ESbEBtUyDGcEe1sL
TpSVyjatNDc/o/vf7z3ejzXrMzagp8awVnTCdXeU67AUF+FXA2ycmGp1G2Fcd
/3Wk+1pi0w0XUDH/e7NC95naFKSJWJnEMQDqrNcrXpqosLbcsyltSJEIuMBTL
9kKIgCCPkByaxGItMx7ahN14vJzIQfwoNCH6Db2ASCGLZnH3iwuQEAf5HyZjS
H2XJDKWzdHv4Ujx1xTj8fNZ7A87d4oFzAQAA </ChargeZoneCountry_GetResult> </ChargeZoneCountry_GetResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||
|
Sample Unzipped Response Content |
<ChargeZoneCountrySet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ExtractGuid="6551938F-CF17-4AE3-BBEF-AB425CCF4866"> <ChargeZoneCountrys> <ChargeZoneCountry Id="1" ChargeZoneId="142" Iso_A2="NZ" /> <ChargeZoneCountry Id="2" ChargeZoneId="143" Iso_A2="CN" /> <ChargeZoneCountry Id="3" ChargeZoneId="143" Iso_A2="JP" /> </ChargeZoneCountrys> </ChargeZoneCountrySet> |
|
Method |
ChargeZoneCountry_AcknowledgeGet |
||||||||||||||||
|
Intended Usage |
Acknowledge a batch retrieved using ChargeZoneCountry_Get. |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
bool - True on success, false otherwise |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ChargeZoneCountry_AcknowledgeGet xmlns="http://www.magentaretail.com.au/"> <extractGuid>6551938F-CF17-4AE3-BBEF-AB425CCF4866</extractGuid> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>KXHCQsxzIh</websitePassword> </ChargeZoneCountry_AcknowledgeGet> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ChargeZoneCountry_AcknowledgeGetResponse xmlns="http://www.magentaretail.com.au/"> <ChargeZoneCountry_AcknowledgeGetResult>true</ChargeZoneCountry_AcknowledgeGetResult> </ChargeZoneCountry_AcknowledgeGetResponse> </soap:Body> </soap:Envelope> |
|
Method |
ChargeZoneRate_Get |
||||||||||||||||||||||||||||
|
Intended Usage |
Gets Charge Zone Rate details from
EEE |
||||||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||||||
|
Returns |
Returns a gzipped UTF8 encoded byte
array of ChargeZoneRate XML data that conforms to ChargeZoneRate_Get.xsd |
||||||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ChargeZoneRate_Get xmlns="http://www.magentaretail.com.au/"> <websiteCode>MAGENTA</websiteCode> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>KXHCQsxzIh</websitePassword> <fullLoad>true</fullLoad> <maxRows>3</maxRows> </ChargeZoneRate_Get> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||
|
Sample Response Element |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ChargeZoneRate_GetResponse xmlns="http://www.magentaretail.com.au/"> <ChargeZoneRate_GetResult>
H4sIAAAAAAAEAMWSwUrEMBBAfyXk3qRJmnS72AVXWxEVFiso3mod2sC21SSl/TcPf
pK/4O4qrrSreHNu84aZeQzz9vJ6dFLlpoT7toHr3EEGDg31urHzweoYV849zSnt+5
70grSmpNz3Gb27usyKCurc0411eVMARsngTF64s04/xljyMJKRDDwl0sQL1Ix5Sy4
iT5yyJEln0TINQ7wY7bZjgM43oxhGe7oFm06Umra+BV1W7qKMsU/8XWB0036n8pOm
2lh3bJwu1rAyuoAYKxLJbSnrHiw8d9CM6h8jMdqlKzD7NRjRg578L57SZxNPzr/0D
4iGRInfRBVhYizKSMB+FhUT0eD/D0onr0Anj7l4BwYDq7qvAgAA </ChargeZoneRate_GetResult> </ChargeZoneRate_GetResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||
|
Sample Unzipped Response Content |
<ChargeZoneRateSet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ExtractGuid="52795954-63FE-4681-B239-3D1EEF89BF77"> <ChargeZoneRates> <ChargeZoneRate Id="1" ChargeZoneId="77" FromWeightKg="0.000000" ToWeightKg="0.500000" FirstArticlePrice="6.9500" SubsequentArticlePrice="0.0000" PricePerKg="0.0000" /> <ChargeZoneRate Id="2" ChargeZoneId="77" FromWeightKg="0.501000" ToWeightKg="22.000000" FirstArticlePrice="7.6300" SubsequentArticlePrice="6.1300" PricePerKg="1.4100" /> <ChargeZoneRate Id="3" ChargeZoneId="74" FromWeightKg="0.000000" ToWeightKg="0.500000" FirstArticlePrice="6.9500" SubsequentArticlePrice="0.0000" PricePerKg="0.0000" /> </ChargeZoneRates> </ChargeZoneRateSet> |
|
Method |
ChargeZoneRate_AcknowledgeGet |
||||||||||||||||
|
Intended Usage |
Acknowledge a batch retrieved using ChargeZoneRate_Get. |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
bool - True on success, false otherwise |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ChargeZoneRate_AcknowledgeGet xmlns="http://www.magentaretail.com.au/"> <extractGuid>52795954-63FE-4681-B239-3D1EEF89BF77</extractGuid> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>KXHCQsxzIh</websitePassword> </ChargeZoneRate_AcknowledgeGet> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ChargeZoneRate_AcknowledgeGetResponse xmlns="http://www.magentaretail.com.au/"> <ChargeZoneRate_AcknowledgeGetResult>true</ChargeZoneRate_AcknowledgeGetResult> </ChargeZoneRate_AcknowledgeGetResponse> </soap:Body> </soap:Envelope> |
|
Method |
Sale_Insert |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Intended Usage |
Commit one sale to EEE. This method accepts a gzipped UTF8
encoded byte array of Sale xml. The data must conform to SaleExchange.xsd and
is rejected if non-conforming. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Returns |
True on success, false otherwise. See Appendix H: Sale
Insert Return Codes for list of possible error codes |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Sale_Insert xmlns="http://www.magentaretail.com.au/"> <saleXml>
H4sIAAAAAAAEAO2V3W7aMBiGbwVxntgJpCnItRR+xioBYiTTduomX4u1xEGOI
+DadrBL2i3M+aEQAm3PVx/Z7/vG/r5Hkf339x/isxg6+yQW2XCf8YfuRqntEK
HdbmfuemYqX5CNsYV+LuZ+uIGEGVxkiokQupQEkonHiA7KgbHtuu6dRVAtl/a
EKaA2tvsGdgx8F+D+0LGHfadKlS4Z55lKE5DjNAKKi6E3aYhllSP9QbipQq6t
Ixci8VUa/mqnLlSyYJnS+zYP1eW72MKWe0/QlQCZPC7z5AkktYpB0Oua/ICnj
CsoYwtvNl0GHkHnIlnDM0jJ4jGTUfVVR6MeCh4/dJXMC5KonamannMBp5mmWv
ddr8hKplEeqvIgm6DzJfmWM6G4OlALmyVWTNCrRr4LrnyIYy5eVpKHQK2BOXC
KTMsh070CEUE04VmY5kJRyzGr/VoOOc7WwLJU0MUE9zSupkhm/Fm9haPp618k
zbepKNpqZ08ePbG5Qc++TW80nc89Y7ReGhb+BPkeyN6HQH7+ke+C7H8IZP9/A
ElnXwx9E9/kFxTlyMt5dSc21rUbHLZAx57/9WiXQnUdg37BrlbYQacWVlxccQ
tnph+uHTsUG76d8EGpGBIQqnjrrmSryrykJOwO7o+11sp5ZzUM+g/XVNYotwc
AAA== </saleXml> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>KXHCQsxzIh</webSitePassword> </Sale_Insert> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Sample Unzipped Request Content |
<Sale xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <TranId>99999900277761</TranId> <TranDate>2024-05-06T04:52:45</TranDate> <CustomerCode>000001</CustomerCode> <SaleBranchCode>0721</SaleBranchCode> <StockBranchCode>0721</StockBranchCode> <MasterCustomerCode>009007010178</MasterCustomerCode> <DINumber>11111</DINumber> <WebsiteCode>MAGENTA</WebsiteCode> <ReferralCardNumber xsi:nil="true"></ReferralCardNumber> <SaleLine> <SaleLineId>1</SaleLineId> <ProductCode>2</ProductCode> <Quantity>10.000000</Quantity> <UnitSellingPrice>19.9500</UnitSellingPrice> <ExtendedDiscount>15.0000</ExtendedDiscount> <DiscountReason>MD03</DiscountReason> <GiftCardNumber xsi:nil="true"></GiftCardNumber> <CouponCode xsi:nil="true"></CouponCode> </SaleLine> <SaleLine> <SaleLineId>2</SaleLineId> <ProductCode>BELLA-BRN-10</ProductCode> <Quantity>10.000000</Quantity> <UnitSellingPrice>19.9500</UnitSellingPrice> <ExtendedDiscount>15.0000</ExtendedDiscount> <DiscountReason>MD03</DiscountReason> <GiftCardNumber xsi:nil="true"></GiftCardNumber> <CouponCode xsi:nil="true"></CouponCode> </SaleLine> <SaleLine> <SaleLineId>3</SaleLineId> <ProductCode>BELLA-BRN-12</ProductCode> <Quantity>10.000000</Quantity> <UnitSellingPrice>19.9500</UnitSellingPrice> <ExtendedDiscount>15.0000</ExtendedDiscount> <DiscountReason>MD03</DiscountReason> <GiftCardNumber xsi:nil="true"></GiftCardNumber> <CouponCode xsi:nil="true"></CouponCode> </SaleLine> <SaleLine> <SaleLineId>4</SaleLineId> <ProductCode>BELLA-BRN-14</ProductCode> <Quantity>10.000000</Quantity> <UnitSellingPrice>19.9500</UnitSellingPrice> <ExtendedDiscount>15.0000</ExtendedDiscount> <DiscountReason>MD03</DiscountReason> <GiftCardNumber xsi:nil="true"></GiftCardNumber> <CouponCode>GF-009</CouponCode> </SaleLine> <TenderLine> <TenderLineId>1</TenderLineId> <TenderType>CASH</TenderType> <ReferenceNumber xsi:nil="true" /> <GiftCardPin xsi:nil="true" /> <CardGatewayType xsi:nil="true" /> <CardGatewaySettlementDate xsi:nil="true" /> <TenderAmount>798</TenderAmount> </TenderLine> </Sale> |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Sale_InsertResponse xmlns="http://www.magentaretail.com.au/"> <Sale_InsertResult>true</Sale_InsertResult> </Sale_InsertResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Configuration |
The following settings need to be correctly configured in the EEE Configuration screen on the Comms tab.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Notes |
Return transactions are supported. See SaleExchange-Return.xml for sample XML. Gift Card returns · See SaleExchange-GCReturn.xml for a sample XML. · Process very similar to standard return process · Requires a Gift Card Product and a Valid Gift card number passed into the xml · Gift Card Number will be validated in a similar way to EEPOS o The Gift Card must exist and already be issued. o Gift Card must not have already been returned. o Value to be returned must match amount remaining on gift card exactly. o Value on the gift card must be greater than 0. Nillable fields are required to have the attribute: xsi:nil=”true” when no value is supplied. If this attribute is not set, Sale_Insert will throw business rule violation exceptions. Emails alert to admin on exception Discounts The following examples illustrate how to use the UnitSellingPrice and ExtendedDiscount values to generate the correct Tender amount. · UnitSellingPrice - price of individual item with discount applied · ExtendedDiscount - total discount amount for sale line Examples: 1. An item has a retail price of $100 and sells for $60 (discount of $40), only one item is sold. · Quantity = 1 · UnitSellingPrice = $60 · ExtendedDiscountPrice =$40 · Tendered Amount = $60 2. An item is returned which had a retail price of $100 and sells for $60 (discount of $40), only one item is RETURNED. · Quantity = -1 -ve · UnitSellingPrice = $60 +ve · ExtendedDiscountPrice =-$40 -ve · Tendered Amount = $60 -ve 3. An item has a retail price of $100 and sells for $60 (discount of $40), TWO items sold. · Quantity = 2 · UnitSellingPrice = $60 · ExtendedDiscountPrice =$80 · Tendered Amount = $120 4. An item is returned which had a retail price of $100 and sells for $60 (discount of $40), TWO items RETURNED. · Quantity = -2 -ve · UnitSellingPrice = $60 +ve · ExtendedDiscountPrice =-$80 -ve · Tendered Amount = -$120 -ve |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Xml Field Descriptions |
This section contains a brief description of each field and expected usage for the Sale Exchange elements. Please refer to the xsd for more detail. Sale
Sale Line Type
Tender Line Type
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Method |
Sale_Insert_With_Result |
||||||||||||||||
|
Intended Usage |
Commit one sale to EEE. This method accepts a gzipped UTF8
encoded byte array of Sale xml. The data must conform to SaleExchange.xsd and
is rejected if non-conforming. Conforms to all the same configuration and
rules as Sale_Insert |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
Byte[] - gzipped UTF8 encoded byte array of xml data with a status for the sale insert as per the example below. See Appendix H: Sale
Insert Return Codes for list of possible error codes |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Sale_Insert xmlns="http://www.magentaretail.com.au/"> <saleXml>
H4sIAAAAAAAEAO2V3W7aMBiGbwVxntgJpCnItRR+xioBYiTTduomX4u1xEGOI
+DadrBL2i3M+aEQAm3PVx/Z7/vG/r5Hkf339x/isxg6+yQW2XCf8YfuRqntEK
HdbmfuemYqX5CNsYV+LuZ+uIGEGVxkiokQupQEkonHiA7KgbHtuu6dRVAtl/a
EKaA2tvsGdgx8F+D+0LGHfadKlS4Z55lKE5DjNAKKi6E3aYhllSP9QbipQq6t
Ixci8VUa/mqnLlSyYJnS+zYP1eW72MKWe0/QlQCZPC7z5AkktYpB0Oua/ICnj
CsoYwtvNl0GHkHnIlnDM0jJ4jGTUfVVR6MeCh4/dJXMC5KonamannMBp5mmWv
ddr8hKplEeqvIgm6DzJfmWM6G4OlALmyVWTNCrRr4LrnyIYy5eVpKHQK2BOXC
KTMsh070CEUE04VmY5kJRyzGr/VoOOc7WwLJU0MUE9zSupkhm/Fm9haPp618k
zbepKNpqZ08ePbG5Qc++TW80nc89Y7ReGhb+BPkeyN6HQH7+ke+C7H8IZP9/A
ElnXwx9E9/kFxTlyMt5dSc21rUbHLZAx57/9WiXQnUdg37BrlbYQacWVlxccQ
tnph+uHTsUG76d8EGpGBIQqnjrrmSryrykJOwO7o+11sp5ZzUM+g/XVNYotwc
AAA== </saleXml> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>KXHCQsxzIh</webSitePassword> </Sale_Insert> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Unzipped Request Content |
<Sale xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <TranId>99999900277761</TranId> <TranDate>2024-05-06T04:52:45</TranDate> <CustomerCode>000001</CustomerCode> <SaleBranchCode>0721</SaleBranchCode> <StockBranchCode>0721</StockBranchCode> <MasterCustomerCode>009007010178</MasterCustomerCode> <DINumber>11111</DINumber> <WebsiteCode>MAGENTA</WebsiteCode> <ReferralCardNumber xsi:nil="true"></ReferralCardNumber> <SaleLine> <SaleLineId>1</SaleLineId> <ProductCode>2</ProductCode> <Quantity>10.000000</Quantity> <UnitSellingPrice>19.9500</UnitSellingPrice> <ExtendedDiscount>15.0000</ExtendedDiscount> <DiscountReason>MD03</DiscountReason> <GiftCardNumber xsi:nil="true"></GiftCardNumber> <CouponCode xsi:nil="true"></CouponCode> </SaleLine> <SaleLine> <SaleLineId>2</SaleLineId> <ProductCode>BELLA-BRN-10</ProductCode> <Quantity>10.000000</Quantity> <UnitSellingPrice>19.9500</UnitSellingPrice> <ExtendedDiscount>15.0000</ExtendedDiscount> <DiscountReason>MD03</DiscountReason> <GiftCardNumber xsi:nil="true"></GiftCardNumber> <CouponCode xsi:nil="true"></CouponCode> </SaleLine> <SaleLine> <SaleLineId>3</SaleLineId> <ProductCode>BELLA-BRN-12</ProductCode> <Quantity>10.000000</Quantity> <UnitSellingPrice>19.9500</UnitSellingPrice> <ExtendedDiscount>15.0000</ExtendedDiscount> <DiscountReason>MD03</DiscountReason> <GiftCardNumber xsi:nil="true"></GiftCardNumber> <CouponCode xsi:nil="true"></CouponCode> </SaleLine> <SaleLine> <SaleLineId>4</SaleLineId> <ProductCode>BELLA-BRN-14</ProductCode> <Quantity>10.000000</Quantity> <UnitSellingPrice>19.9500</UnitSellingPrice> <ExtendedDiscount>15.0000</ExtendedDiscount> <DiscountReason>MD03</DiscountReason> <GiftCardNumber xsi:nil="true"></GiftCardNumber> <CouponCode>GF-009</CouponCode> </SaleLine> <TenderLine> <TenderLineId>1</TenderLineId> <TenderType>CASH</TenderType> <ReferenceNumber xsi:nil="true" /> <GiftCardPin xsi:nil="true" /> <CardGatewayType xsi:nil="true" /> <CardGatewaySettlementDate xsi:nil="true" /> <TenderAmount>798</TenderAmount> </TenderLine> </Sale> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Sale_Insert_With_ResultResponse xmlns="http://www.magentaretail.com.au/"> <Sale_Insert_With_ResultResult>
H4sIAAAAAAAEAHu/e79NcGJOqmdecWpRSVBqcWlOSbGdTXBpcnJqcbGdoY0
+jGkTlFpSWpTnnJ+Samdgo4/EA6rBMAEAWfVKZFgAAAA= </Sale_Insert_With_ResultResult> </Sale_Insert_With_ResultResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Uzipped Response Content |
<SaleInsertResults> <Success>1</Success> <ReturnCode>0</ReturnCode> </SaleInsertResults> |
|
Method |
Sales_Insert |
||||||||||||||||
|
Intended Usage |
Commits a batch of sales to EEE. This method accepts a
gzipped UTF8 encoded byte array of Sales xml. The data must conform to
SalesExchange.xsd and is rejected if non-conforming. |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
Byte[] - gzipped UTF8 encoded byte array of xml data with a status for each sale insert as per the example below See Appendix H: Sale Insert
Return Codes for list of possible error codes |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Sales_Insert xmlns="http://www.magentaretail.com.au/"> <saleXml>
H4sIAAAAAAAEAO2V247aMBCGXwVxH+wEaAB5LYVD6UqAKKFqb73J7GI1cZDjCHi2XvS
R+gp1nLCcd7dVL1ZqfBN75rc98yny/+vHT+KzCNLaNo5E2tum/K6+UmrdQ2iz2TQ2zU
Yin5CDsY2+TSd+sIKYWVykiokA6tRs/tu9S8nEfUi7ZmDsuK7bdgkqwyY9ZAqog52Wh
dsW/rDErV6z3cNOoTJZMshSlcQgB0kIFOfDJugkaKrs6w3BqhC5jpacBYmvkuD7peos
SqYsVfrc00t1+S62se12CLoiIMP7WRY/gKR2Pgh6XpOv8JByBUY29caj2dIj6DhIFvA
IUrJowGRY7Kpp1D3Bo7u6kllOEl1qiqYnXMBhpqmWfZcrMpdJmAXKXKShHi/J54wJxd
WO2rhhsGKCnmPki+DKhyji4mkueQDU7ja67VxzkSGjrQIRQjjkaZBkQlG73SjOu8iQ/
WwBLE0EnQ5xU+M6DZIxf1Qv4TjN618kydaJyNu61B5y9MDmBj3nNr3+aDLxrP5iZtm4
AvkayOabQFZ/5KsgW28C2fofQNLxR0u/xDf5LfNy5Pm8eBNP1mV2uVsDHXj+p33aBIr
nGLSDXa2whg4tzLm4ks0zY21cG7bLD3xZ4YNSEcQgVO51V7RFZV5sCLvdzr7WMnLcWQ
nj33t2p/LsyrPf7QtZeXbl2e8LZOXZlWf/qWebT0p/AynBTzKwDwAA </saleXml> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>KXHCQsxzIh</webSitePassword> </Sales_Insert> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Unzipped Request Content |
<Sales xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Sale xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <TranId>99999900277757</TranId> <TranDate>2024-05-06T04:35:02</TranDate> <CustomerCode>000001</CustomerCode> <SaleBranchCode>0721</SaleBranchCode> <StockBranchCode>0721</StockBranchCode> <MasterCustomerCode>009007010178</MasterCustomerCode> <DINumber>11111</DINumber> <WebsiteCode>MAGENTA</WebsiteCode> <ReferralCardNumber xsi:nil="true"></ReferralCardNumber> <SaleLine> <SaleLineId>1</SaleLineId> <ProductCode>2</ProductCode> <Quantity>10.000000</Quantity> <UnitSellingPrice>19.9500</UnitSellingPrice> <ExtendedDiscount>15.0000</ExtendedDiscount> <DiscountReason>MD03</DiscountReason> <GiftCardNumber xsi:nil="true"></GiftCardNumber> <CouponCode xsi:nil="true"></CouponCode> </SaleLine> <SaleLine> <SaleLineId>2</SaleLineId> <ProductCode>BELLA-BRN-10</ProductCode> <Quantity>10.000000</Quantity> <UnitSellingPrice>19.9500</UnitSellingPrice> <ExtendedDiscount>15.0000</ExtendedDiscount> <DiscountReason>MD03</DiscountReason> <GiftCardNumber xsi:nil="true"></GiftCardNumber> <CouponCode xsi:nil="true"></CouponCode> </SaleLine> <SaleLine> <SaleLineId>3</SaleLineId> <ProductCode>BELLA-BRN-12</ProductCode> <Quantity>10.000000</Quantity> <UnitSellingPrice>19.9500</UnitSellingPrice> <ExtendedDiscount>15.0000</ExtendedDiscount> <DiscountReason>MD03</DiscountReason> <GiftCardNumber xsi:nil="true"></GiftCardNumber> <CouponCode xsi:nil="true"></CouponCode> </SaleLine> <SaleLine> <SaleLineId>4</SaleLineId> <ProductCode>BELLA-BRN-14</ProductCode> <Quantity>10.000000</Quantity> <UnitSellingPrice>19.9500</UnitSellingPrice> <ExtendedDiscount>15.0000</ExtendedDiscount> <DiscountReason>MD03</DiscountReason> <GiftCardNumber xsi:nil="true"></GiftCardNumber> <CouponCode>GF-009</CouponCode> </SaleLine> <TenderLine> <TenderLineId>1</TenderLineId> <TenderType>CASH</TenderType> <ReferenceNumber xsi:nil="true" /> <GiftCardPin xsi:nil="true" /> <CardGatewayType xsi:nil="true" /> <CardGatewaySettlementDate xsi:nil="true" /> <TenderAmount>798</TenderAmount> </TenderLine> </Sale> <Sale xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <TranId>99999900277758</TranId> <TranDate>2024-05-06T04:35:02</TranDate> <CustomerCode>000001</CustomerCode> <SaleBranchCode>0721</SaleBranchCode> <StockBranchCode>0721</StockBranchCode> <MasterCustomerCode>009007010178</MasterCustomerCode> <DINumber>11111</DINumber> <WebsiteCode>MAGENTA</WebsiteCode> <ReferralCardNumber xsi:nil="true"></ReferralCardNumber> <SaleLine> <SaleLineId>1</SaleLineId> <ProductCode>2</ProductCode> <Quantity>10.000000</Quantity> <UnitSellingPrice>19.9500</UnitSellingPrice> <ExtendedDiscount>15.0000</ExtendedDiscount> <DiscountReason>MD03</DiscountReason> <GiftCardNumber xsi:nil="true"></GiftCardNumber> <CouponCode xsi:nil="true"></CouponCode> </SaleLine> <SaleLine> <SaleLineId>2</SaleLineId> <ProductCode>BELLA-BRN-10</ProductCode> <Quantity>10.000000</Quantity> <UnitSellingPrice>19.9500</UnitSellingPrice> <ExtendedDiscount>15.0000</ExtendedDiscount> <DiscountReason>MD03</DiscountReason> <GiftCardNumber xsi:nil="true"></GiftCardNumber> <CouponCode xsi:nil="true"></CouponCode> </SaleLine> <SaleLine> <SaleLineId>3</SaleLineId> <ProductCode>BELLA-BRN-12</ProductCode> <Quantity>10.000000</Quantity> <UnitSellingPrice>19.9500</UnitSellingPrice> <ExtendedDiscount>15.0000</ExtendedDiscount> <DiscountReason>MD03</DiscountReason> <GiftCardNumber xsi:nil="true"></GiftCardNumber> <CouponCode xsi:nil="true"></CouponCode> </SaleLine> <SaleLine> <SaleLineId>4</SaleLineId> <ProductCode>BELLA-BRN-14</ProductCode> <Quantity>10.000000</Quantity> <UnitSellingPrice>19.9500</UnitSellingPrice> <ExtendedDiscount>15.0000</ExtendedDiscount> <DiscountReason>MD03</DiscountReason> <GiftCardNumber xsi:nil="true"></GiftCardNumber> <CouponCode>GF-009</CouponCode> </SaleLine> <TenderLine> <TenderLineId>1</TenderLineId> <TenderType>CASH</TenderType> <ReferenceNumber xsi:nil="true" /> <GiftCardPin xsi:nil="true" /> <CardGatewayType xsi:nil="true" /> <CardGatewaySettlementDate xsi:nil="true" /> <TenderAmount>798</TenderAmount> </TenderLine> </Sale> </Sales> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Sales_InsertResponse xmlns="http://www.magentaretail.com.au/"> <Sales_InsertResult>
H4sIAAAAAAAEAHu/e79NcGJOqmdecWpRSVBqcWlOSbEdWEghpCgxzzPFVskSDAwMjM
zNzU3NlRSCS5OTU4uLbZUMlRSCUktKi/JCUitKbJVgPOf8lFRbJQMlBX18BlmQZpA+
pisBr6MkbLwAAAA= </Sales_InsertResult> </Sales_InsertResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Uzipped Response Content |
<SaleInsertResults> <Sale TranId="99999900277757" Success="1" ReturnText="" ReturnCode="0" /> <Sale TranId="99999900277758" Success="1" ReturnText="" ReturnCode="0" /> </SaleInsertResults> |
||||||||||||||||
|
Configuration |
Configuration and Notes are the same as those for the Sale_Insert method above |
|
Method |
Sales_History |
||||||||||||||||||||||||
|
Latest interface version |
4 |
||||||||||||||||||||||||
|
Intended Usage |
Retrieves a customers sale history for sales
and customer orders that have been recognised as sales (note: only lines that
have been taken will appear in the sale lines for customer orders) For the Interface version less than 4, it
returns the customer sales history for sales and customer orders that have
been recognised as sales. For the Interface version 4, only customer
sales history for sales will be returned. |
||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||
|
Returns |
Byte[] - gzipped UTF8 encoded byte array of xml data that conforms to the
Sales_History.xsd |
||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Sales_History xmlns="http://www.magentaretail.com.au/"> <customerCode>000001</customerCode> <dateFrom>20200101</dateFrom> <dateTo>20290101</dateTo> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>KXHCQsxzIh</webSitePassword> </Sales_History> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Sales_HistoryResponse xmlns="http://www.magentaretail.com.au/"> <Sales_HistoryResult>
H4sIAAAAAAAACu2WTY+bMBCG75X6H9Deg42BsIlcSySk3ajZdLuJ+nEk4DaWwKxs0yT/
fg0Br5Oop2ZPXU7jeZ8xeN6xBL5jUlXi4OzLgsvxXrIPN1ulnsYA7HY7d+e7lfgNEIQe
+HG/WGVbWqYDxqVKeUZvyPt3joNXaUHbSMcToYXttMopgRHyMLASHdLgSaooQRAFAxgO
4HANg7EfjiHCwKgd/Uh/UUH1yzwyah8IURRFYYSBJZ3DqId9DQcWinr0O92smKLth93H
n2bLdYyBney4daXSYs6zdbon0ejWhfrBwM7aYMJkVtVcddIQ2vyZaNe1uyM3HBrYIuI8
F1RKj3gBdD7Whaq4kwj2h2JgpFMUkZXRzIm7tU8SKgQra2UQ/wwJyEQwuUn5yxsC455q
zPk2n2qr2rDLP1RStX3z4VB7Y5adPG0OLg4krqUSacFSDPpU3wfKcyoSKjPBnhSrOJnG
qzvny3LxU7fkQrSGacE4/Yf5PdmH6JE1sVE/MzVXtFzW5YYKoi06TRjuQVR5nR0PrmfZ
Xhrma51yxdSBeMfhaBw3OUPN9qo5cr6kKi6bRhFvNHLDlr7ULsr09PRlt64eG6vqRbqo
6ge0Lw276f2L3llw3q/re4Ku5clktljEg8njcuDpgjd7rmOP/wr2vN2eq92e4BXsCf7P
23Nc6hCD7r+JPAP1K5LIQQkAAA== </Sales_HistoryResult> </Sales_HistoryResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Unzipped Response Content (v4) |
<History xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Sale> <BranchCode>0721</BranchCode> <SaleDate>2024-05-06T04:35:02</SaleDate> <Reference1>99999900277757</Reference1> <Reference2>999999032774</Reference2> <WebSiteCode>MAGENTA</WebSiteCode> <TotalIncTax>798.0000</TotalIncTax> <TotalDiscountIncTax>60.0000</TotalDiscountIncTax> <TotalTax>72.5600</TotalTax> <Address1>140 Fulton Drive</Address1> <Address2>S</Address2> <Address3>Derrimut</Address3> <Address4>Brisbane</Address4> <State>VIC</State> <PostCode>3067</PostCode> <Country>Australia</Country> <TenderDescription>CASH ONLY</TenderDescription> <SaleLine xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SaleLine>1</SaleLine> <KitItemNumber>0</KitItemNumber> <ProductCode>2</ProductCode> <Quantity>10.000000</Quantity> <ExtendedNetAmount>199.5000</ExtendedNetAmount> <ExtendedTaxAmount>18.1400</ExtendedTaxAmount> <ExtendedDiscountAmount>15.0000</ExtendedDiscountAmount> </SaleLine> <SaleLine xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SaleLine>2</SaleLine> <KitItemNumber>0</KitItemNumber> <ProductCode>BELLA-BRN-10</ProductCode> <Quantity>10.000000</Quantity> <ExtendedNetAmount>199.5000</ExtendedNetAmount> <ExtendedTaxAmount>18.1400</ExtendedTaxAmount> <ExtendedDiscountAmount>15.0000</ExtendedDiscountAmount> </SaleLine> <SaleLine xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SaleLine>3</SaleLine> <KitItemNumber>0</KitItemNumber> <ProductCode>BELLA-BRN-12</ProductCode> <Quantity>10.000000</Quantity> <ExtendedNetAmount>199.5000</ExtendedNetAmount> <ExtendedTaxAmount>18.1400</ExtendedTaxAmount> <ExtendedDiscountAmount>15.0000</ExtendedDiscountAmount> </SaleLine> <SaleLine xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SaleLine>4</SaleLine> <KitItemNumber>0</KitItemNumber> <ProductCode>BELLA-BRN-14</ProductCode> <Quantity>10.000000</Quantity> <ExtendedNetAmount>199.5000</ExtendedNetAmount> <ExtendedTaxAmount>18.1400</ExtendedTaxAmount> <ExtendedDiscountAmount>15.0000</ExtendedDiscountAmount> </SaleLine> </Sale> </History> |
|
Method |
Sales_Get |
||||||||||||||||||||||||||||||||||||
|
Intended Usage |
Creates a batch of sales to return |
||||||||||||||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||||||||||||||
|
Returns |
String
containing the Sales Get Handle to pass to Sales_GetData |
||||||||||||||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Sales_Get xmlns="http://www.magentaretail.com.au/"> <dateFrom>2024-04-07T10:07:28.7234513+10:00</dateFrom> <dateTo>2024-05-07T10:07:28.7234513+10:00</dateTo> <deltaMode>false</deltaMode> <customerCategoryList
/> <customerSalesOnly>false</customerSalesOnly> <branchList>0721</branchList> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>KXHCQsxzIh</websitePassword> </Sales_Get> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Sales_GetResponse xmlns="http://www.magentaretail.com.au/"> <Sales_GetResult>5E38CD99-6016-4445-84E6-5BE68D9BF279</Sales_GetResult> </Sales_GetResponse> </soap:Body> </soap:Envelope> |
|
Method |
Sales_GetData |
||||||||||||||||||||||||
|
Intended Usage |
Retrieve a page of data from batch created in
prior call to Sales_Get |
||||||||||||||||||||||||
|
Latest interface version |
2 |
||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||
|
Returns |
byte[] - Returns a gzipped
base64 encoded byte array which extracts to XML complying with
Sales_GetData.xsd |
||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Sales_GetData xmlns="http://www.magentaretail.com.au/"> <salesGetHandle>5E38CD99-6016-4445-84E6-5BE68D9BF279</salesGetHandle> <maxSales>5</maxSales> <includeDescriptions>true</includeDescriptions> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>KXHCQsxzIh</websitePassword> </Sales_GetData> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Sales_GetDataResponse xmlns="http://www.magentaretail.com.au/"> <Sales_GetDataResult>
H4sIAAAAAAAEAO2Y226bMBiAXwXlarsgPgChQQ4SNOlBIkmXZGp7ScFrLCWmMs
6SPlsv9kh7hXEYCd26DmWr1LTmyvwHbPzJ4hPfH76RabigqTbYSBFG8nTF4l7L
Rr5hGranm8fQ0k2MbN33jY6OkNXt+0fQhCew5Rad2ma54KmzSVmvNZfyzgFgvV
6310Y7EbcAQ4jA1TCYRnO6DHXGUxnyiGa9E/qFCpqNkdstLgixbduWTUAttSvD
VZmRlZm1Ilyuox9K6mKITT1bMezMoOkYlgMxAdss8UU2+fw4iakLbYwIqAXI8S
qVyZKKMp1fWcGj4K4ke9ptIu6LaDC+9oLZda22ni1394KKNOHu+fBiPJmVK6pi
9YJyORrIZgrTOaNi21HdV4mfldmuO5wtei0pVrSVN17Sm5RJWsw99E4Ho5lHQD
1IMtBU8HBxHj/RHjBOzyVdprvhvoDz98qf4aLyhYsxuRBJvIpksZSMTf2W9Gka
CXYnWbYt04Tfa5dnOoLwamhqZzSMtbt5wmlKQL2OfFqFXDJ57yLYLqhBArax4m
V5TOMRld4yWXHpom63bRVVv+e25X2WRnmk6rHa8FHLL/lt3yzcVC1HbWTWW3Yp
MhbsluUE+NeERfQJDKDa/P+IAf8Jgz8IAk/3J6Nss58hEoxHp9pJMJ54geYH48
/Tgfbhhi4W4cdtrwKzDxijAZjnjsrfwGAFZj8wZgMw5j+AMd8ZGFD7uhQ7+zIG
cdTEICxlEMog3sexUwbx1sEog3ilYJRBHKJBdFATg+g0MggLO6alDEIZxCEfO2
UQbx2MMohXCkYZxEEaBG5iEHYDg8h/QDgWUgahDOKQj50yiLcORhnEKwWjDOLF
DaL8FLo/AAJteppNIQAA </Sales_GetDataResult> </Sales_GetDataResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Result XML |
<Sales ExtractGuid="71B3437A-4C05-4217-BB36-1159DB8040F0"> <Sale xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Reference1>99999900277761</Reference1> <Reference2>999999032776</Reference2> <SaleDate>2024-05-06T04:52:45</SaleDate> <BranchCode>0721</BranchCode> <CustomerCode>000001</CustomerCode> <CustomerCategoryCode>LOYALTY</CustomerCategoryCode> <SalesPerson>IMPORT</SalesPerson> <SalesPersonBranch
/> <Cashier>IMPORT</Cashier> <CashierBranch xsi:nil="true" /> <WebsiteCode>MAGENTA</WebsiteCode> <ExternalId xsi:nil="true" /> <LineItems> <LineItem xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SaleLine>1</SaleLine>
<ProductCode>2</ProductCode>
<Description>Sony WH-100XM4 Head phones</Description>
<Quantity>10.000000</Quantity>
<ExtendedNetAmount>199.5000</ExtendedNetAmount>
<ExtendedDiscountAmount>15.0000</ExtendedDiscountAmount>
<ExtendedTaxAmount>18.1400</ExtendedTaxAmount>
<OriginalInvoice xsi:nil="true" /> </LineItem> <LineItem xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SaleLine>2</SaleLine>
<ProductCode>BELLA-BRN-10</ProductCode>
<Description>LONG FLORAL BLOUSE
(bella)-BRN-10</Description>
<Quantity>10.000000</Quantity>
<ExtendedNetAmount>199.5000</ExtendedNetAmount>
<ExtendedDiscountAmount>15.0000</ExtendedDiscountAmount>
<ExtendedTaxAmount>18.1400</ExtendedTaxAmount>
<OriginalInvoice xsi:nil="true" /> </LineItem> <LineItem xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SaleLine>3</SaleLine>
<ProductCode>BELLA-BRN-12</ProductCode>
<Description>LONG FLORAL BLOUSE
(bella)-BRN-12</Description>
<Quantity>10.000000</Quantity>
<ExtendedNetAmount>199.5000</ExtendedNetAmount>
<ExtendedDiscountAmount>15.0000</ExtendedDiscountAmount>
<ExtendedTaxAmount>18.1400</ExtendedTaxAmount>
<OriginalInvoice xsi:nil="true" /> </LineItem> <LineItem xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SaleLine>4</SaleLine>
<ProductCode>BELLA-BRN-14</ProductCode>
<Description>LONG FLORAL BLOUSE
(bella)-BRN-14</Description>
<Quantity>10.000000</Quantity>
<ExtendedNetAmount>199.5000</ExtendedNetAmount>
<ExtendedDiscountAmount>15.0000</ExtendedDiscountAmount>
<ExtendedTaxAmount>18.1400</ExtendedTaxAmount>
<OriginalInvoice xsi:nil="true" /> </LineItem> </LineItems> </Sale> <Sale xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Reference1>99999900277762</Reference1> <Reference2>999999032777</Reference2> <SaleDate>2024-05-06T05:02:51</SaleDate> <BranchCode>0721</BranchCode> <CustomerCode>000001</CustomerCode> <CustomerCategoryCode>LOYALTY</CustomerCategoryCode> <SalesPerson>IMPORT</SalesPerson> <SalesPersonBranch
/> <Cashier>IMPORT</Cashier> <CashierBranch xsi:nil="true" /> <WebsiteCode>MAGENTA</WebsiteCode> <ExternalId xsi:nil="true" /> <LineItems> <LineItem xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SaleLine>1</SaleLine>
<ProductCode>2</ProductCode>
<Description>Sony WH-100XM4 Head phones</Description>
<Quantity>10.000000</Quantity>
<ExtendedNetAmount>199.5000</ExtendedNetAmount>
<ExtendedDiscountAmount>15.0000</ExtendedDiscountAmount>
<ExtendedTaxAmount>18.1400</ExtendedTaxAmount>
<OriginalInvoice xsi:nil="true" /> </LineItem> <LineItem xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SaleLine>2</SaleLine>
<ProductCode>BELLA-BRN-10</ProductCode>
<Description>LONG FLORAL BLOUSE
(bella)-BRN-10</Description>
<Quantity>10.000000</Quantity>
<ExtendedNetAmount>199.5000</ExtendedNetAmount>
<ExtendedDiscountAmount>15.0000</ExtendedDiscountAmount>
<ExtendedTaxAmount>18.1400</ExtendedTaxAmount>
<OriginalInvoice xsi:nil="true" /> </LineItem> <LineItem xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SaleLine>3</SaleLine>
<ProductCode>BELLA-BRN-12</ProductCode>
<Description>LONG FLORAL BLOUSE
(bella)-BRN-12</Description>
<Quantity>10.000000</Quantity>
<ExtendedNetAmount>199.5000</ExtendedNetAmount>
<ExtendedDiscountAmount>15.0000</ExtendedDiscountAmount>
<ExtendedTaxAmount>18.1400</ExtendedTaxAmount>
<OriginalInvoice xsi:nil="true" /> </LineItem> <LineItem xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SaleLine>4</SaleLine>
<ProductCode>BELLA-BRN-14</ProductCode>
<Description>LONG FLORAL BLOUSE
(bella)-BRN-14</Description>
<Quantity>10.000000</Quantity>
<ExtendedNetAmount>199.5000</ExtendedNetAmount>
<ExtendedDiscountAmount>15.0000</ExtendedDiscountAmount>
<ExtendedTaxAmount>18.1400</ExtendedTaxAmount>
<OriginalInvoice xsi:nil="true" /> </LineItem> </LineItems> </Sale> </Sales> |
|
Method |
Sales_AcknowledgeGet |
||||||||||||||||
|
Intended Usage |
Acknowledge a batch retrieved using
Sales_GetData |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
Bool
– True on success, false otherwise |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-16"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Sales_AcknowledgeGet xmlns="http://www.magentaretail.com.au/"> <extractGuid>71B3437A-4C05-4217-BB36-1159DB8040F0</extractGuid> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>KXHCQsxzIh</websitePassword> </Sales_AcknowledgeGet> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-16"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Sales_AcknowledgeGetResponse xmlns="http://www.magentaretail.com.au/"> <Sales_AcknowledgeGetResult>true</Sales_AcknowledgeGetResult> </Sales_AcknowledgeGetResponse> </soap:Body> </soap:Envelope> |
|
Method |
Journal_Get |
||||||||||||||||||||
|
Intended Usage |
Gets the Journal record by Reference1 and Sale Date The JournalData field will contain the line
“****************** COPY ONLY *******************” |
||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||
|
Returns |
Xml
that conforms to Journal_Get.xsd. |
||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Journal_Get xmlns="http://www.magentaretail.com.au/"> <reference1>99999900277753</reference1> <saleDate>2024-03-22T15:02:04.000</saleDate> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>KXHCQsxzIh</websitePassword> </Journal_Get> </soap:Body> </soap:Envelope> |
||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Journal_GetResponse xmlns="http://www.magentaretail.com.au/"> <Journal_GetResult>
<Journal_Get reference1="99999900277753" date="2024-03-22T15:02:04" xmlns="">
<Branchcode>0721</Branchcode>
<Till>01 </Till>
<Date>2024-03-22T15:02:04</Date>
<Operator>WEB</Operator>
<OperatorBranch>0721</OperatorBranch>
<Reference1>99999900277753</Reference1>
<Referene2>0322T150204</Referene2>
<JournalData> Magenta Retail Demo 1 Any St Brisbane Line 555555555555 Line 666666666666 Order Number: 0322T150204 March 22, 2024 15:02:04 99999900277753 Invoice: 0322T150204 0721 Sale/TAX INVOICE ****************** COPY ONLY ******************* Customer Details: 208944 Viola Lucha $ CHARLIE TALLBOT 6DRW 2,257.84 Z 8871493 Qty 2.00 @ $2,257.84 CHARLIE BEDSIDE 2DRW 1,445.93 Z 8871501 Qty 3.00 @ $1,445.93 CHARLIE DRESSER 6DRW W/MIRROR 1,128.92 Z 8871485 Qty 1.00 @ $1,128.92 CHARLIE SLATBED QUEEN 886.31 Z 8871477 Qty 1.00 @ $886.31 Delivery 125.00 Total $5,844.00 Items 7 Cash: 5844.00 Order Total 5844.00 Deposit to Date 0.00 This Payment 5844.00 Order Balance 0.00 This is a TAX INVOICE ****************** COPY ONLY ******************* Thanks you for shopping with us Please retain this receipt as a refund or exchange. change of mind returns must be made
within 30 days of purchase. website: www.magentaretail.com.au
</JournalData>
<SequenceNumber>167449</SequenceNumber>
<ActivityNumber>0</ActivityNumber>
</Journal_Get> </Journal_GetResult> </Journal_GetResponse> </soap:Body> </soap:Envelope> |
|
Method |
GoodwillCredit_Insert |
||||||||||||||||
|
Intended Usage |
Insert Goodwill Credit against a Customer Web
Order to EEE |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
bool
- True on success, False otherwise. |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <GoodwillCredit_Insert xmlns="http://www.magentaretail.com.au/"> <goodwillCreditXml>
H4sIAAAAAAAEAF2O0WrDIBiFX2X03virSVyCE0YLZdBRWAfrrUTTCkZLdKTvto
s90l5hYUtpyLn8znfg/Hx9i20IerDOrXujbYoP1875WF+jfVqdU7rUGA/DkA0s
C/0JUwCCj6+7Q3M2nULWx6R8Y1ZSvGj5WLTAm5whpoCjvGAVqlpaIk0pKTlVBW
uZwKMo9r09Wa/cvtemH0H1F2CUcy7wsl1cvM8Pypmd9WZ0yH02o+J/sVHJSAqU
oPEXlO+E1RRqyAWe9ZP73IVPnyQtMoBbP7HJeDMqBr8O2sjtB5CbNMMCLx8vQJ
S/38cPkXoBAAA= </goodwillCreditXml> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>KXHCQsxzIh</webSitePassword> </GoodwillCredit_Insert> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Unzipped Request Content |
<GoodwillCredits xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Id>85f07c43-3a07-4539-9f26-d221672a53f3</Id> <OriginalOrderId>999999032777</OriginalOrderId> <GoodwillCredit> <OriginalSaleLineId>1</OriginalSaleLineId> <CreditDate>2021-07-06T13:20:04</CreditDate> <CreditAmount>25.00</CreditAmount> <CreditReasonCode>GW01</CreditReasonCode> </GoodwillCredit> </GoodwillCredits> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <GoodwillCredit_InsertResponse xmlns="http://www.magentaretail.com.au/"> <GoodwillCredit_InsertResult>
H4sIAAAAAAAEAHu/e7+Ne35+SnlmTo5zUWpKZolnXnFqUUlQanFpTokdWC4cLqfgm
WKrZGGaZmCebGKsa5xoYK5rYmpsqWuppBBcmpycWlxsq2SopBCUWlJalBeSWlFiq
wTjOeenpNoqGSgp6NvZ6OOxEQBp8z0PkQAAAA== </GoodwillCredit_InsertResult> </GoodwillCredit_InsertResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Unzipped Response Content |
<GoodwillCreditInsertResult> <GoodWillCredit Id="85f07c43-3a07-4539-9" Success="1" ReturnText="" ReturnCode="0" /> </GoodwillCreditInsertResult> |
|
Method |
Returns_Get |
||||||||||||||||
|
Intended Usage |
Details of in-store returns processed against
online sales |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
Returns
a gzipped UTF8 encoded byte array of Returns xml data. The data conforms to
Returns_Get.xsd. |
||||||||||||||||
|
Sample Soap Request |
<?xml vers<?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <Returns_Get xmlns="http://www.magentaretail.com.au/"> <websiteCode>MAGENTA</websiteCode> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>zZaarDhpS5</webSitePassword> </Returns_Get> </soap12:Body> </soap12:Envelope> |
||||||||||||||||
|
Sample Soap
Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Returns_GetResponse xmlns="http://www.magentaretail.com.au/"> <Returns_GetResult>
H4sIAAAAAAAACu1UW4ubQBR+L/Q/iO86FzVrxAiuCdtC9tIqtK9Wp8lAHJdxJMm/72i8TNws
dBsKW6hPznc5c5wzfv5XImrOKm11EDzNxF1N84VuW+7SjeYzA82RY9g2jIzQdUNjeYtWqzDC
YRjaevDxg6b5J792KHas8g4VXehbIZ49APb7vbm3zJJvAIYQge/36zjbkiI1KKtEyjJyqtDW
+Ek4kQgK5vKBNpQG24GuDxRqKsa9GEmxKsWjtOltmQoSYIiRAWcGtBJkedj2IG4cA985brls
bBuVOZHFfaAsO0FUV6IsCG8xWeJsPdXIwpuSH1suWUeKWmV6V1ptKeFBHEpd935OnbppGztH
Otk38iOmgrRF78O71UMiS6lgp1tTRj4LUlRXTU0pNCDDmbdMHqD+jLu1onviZV5nou1LytSl
opK3knCW7hRak+16jO4WuuA10TWg6r/UKRNUHANkyjskHx8M0KQsy0n+QERYlDUTgYEdU14m
qX/JXTAuaZU1XO+GJmo3e4W/UCFJD8PWpjVTzSOl+B453VB5Eo88J1wepXL3b3wwZS8Y43RH
xrFcQIexgslcR6DqkaRplDfwaDthyfGZBFEYf/KBAkxEw5fP2jH10rOv7sFhk/4u/fXcQb+f
O479ptyxbzznf+68m9xJLDnId5A9aH5F9sDuF/qj6EGmi6+IHsf6d6OnP7c3Rk//WgW/AAY0
bwI7CQAA </Returns_GetResult> </Returns_GetResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Unzipped
Response Content |
<Returns ExtractGuid="438D8C96-1915-440C-A88A-DB1EEAC2AAA4"> <Return xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Reference1>99990400014508</Reference1> <Reference2>999904010148</Reference2> <ReturnDate>2021-06-03T13:24:02</ReturnDate> <BranchCode>99</BranchCode> <CustomerCode>2</CustomerCode> <CustomerCategoryCode>TLC</CustomerCategoryCode> <Cashier>SA</Cashier> <CashierBranch>99</CashierBranch> <WebSiteCode>MAGENTA</WebSiteCode> <LineItems xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <LineItem>
<ReturnLineId>1</ReturnLineId>
<ProductCode>1</ProductCode>
<ExternalProductCode xsi:nil="true" />
<Quantity>1.000000</Quantity>
<ExtendedNetAmount>-25.9900</ExtendedNetAmount>
<ExtendedDiscountAmount>-0.1000</ExtendedDiscountAmount>
<ExtendedTaxAmount>-2.3600</ExtendedTaxAmount>
<OriginalOrderId>999904010147</OriginalOrderId>
<OriginalSaleLineId>1</OriginalSaleLineId> </LineItem> </LineItems> <TenderLine> <TenderType>CASH</TenderType> <TenderAmount>-26.0000</TenderAmount> </TenderLine> </Return> <Return xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Reference1>99990400014518</Reference1> <Reference2>999904010154</Reference2> <ReturnDate>2021-06-03T13:47:52</ReturnDate> <BranchCode>99</BranchCode> <CustomerCode>2</CustomerCode> <CustomerCategoryCode>TLC</CustomerCategoryCode> <Cashier>SA</Cashier> <CashierBranch>99</CashierBranch> <WebSiteCode>MAGENTA</WebSiteCode> <LineItems xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <LineItem>
<ReturnLineId>1</ReturnLineId>
<ProductCode>T3999</ProductCode>
<ExternalProductCode xsi:nil="true" />
<Quantity>1.000000</Quantity>
<ExtendedNetAmount>-19.9900</ExtendedNetAmount>
<ExtendedDiscountAmount>0.0000</ExtendedDiscountAmount>
<ExtendedTaxAmount>-1.8200</ExtendedTaxAmount>
<OriginalOrderId>999904010153</OriginalOrderId>
<OriginalSaleLineId>1</OriginalSaleLineId> </LineItem> </LineItems> <TenderLine> <TenderType>CASH</TenderType> <TenderAmount>-20.0000</TenderAmount> </TenderLine> </Return> </Returns> |
|
Method |
Returns_AcknowledgeGet |
||||||||||||||||
|
Intended Usage |
Acknowledge a batch retrieved with Returns_Get |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
bool
- True on success, False otherwise. |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Returns_AcknowledgeGet xmlns="http://www.magentaretail.com.au/"> <batchId>86D8CBD7-AD06-4C02-AA03-6FEA6CFFD0BE</batchId> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>KXHCQsxzIh</webSitePassword> </Returns_AcknowledgeGet> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Returns_AcknowledgeGetResponse xmlns="http://www.magentaretail.com.au/"> <Returns_AcknowledgeGetResult>true</Returns_AcknowledgeGetResult> </Returns_AcknowledgeGetResponse> </soap:Body> </soap:Envelope> |
|
Method |
CustomerOrder_Insert |
||||||||||||||||
|
Intended Usage |
Commit one Customer Order to EEE. This method accepts a gzipped UTF8 encoded byte array of Customer Order xml. The data must conform to CustomerOrderExchange.xsd or CustomerOrderExchangeOptional.xsd (depending on configuration below) and is rejected if non-conforming. |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
bool
- True on success, False otherwise. |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerOrder_Insert xmlns="http://www.magentaretail.com.au/"> <customerOrderXml>
H4sIAAAAAAAEAN1VyW7bMBD9FSN3SyTlHQxRbwkMOLYaGW2vjMTYBCQxoKjYzq/10E/qL3S023HS
Beil9UGYlZw3fDP+/vUbXetA6NYhCuNkdEjk9dXOmKeRbe/3e2vvWEpvbYIQtr/cLT1/JyLelnFi
eOyLK0anaWJUJHQjTVUgGEGDYadD7TMj9VId80iwqTTyRcTUrgz0RurE5KKXCmo3KvV4mBpupIpb
UNwoluH1ldFpdrfd+BgdB4EWSVILmA26LQ/ubrkh9+HM2l5FEFYbSW102FrzeNvEO7Wrc1lA5WHU
VYnxc+QDhKhdq9SDAgVbeZ+h3FykU5XGRh/ZGHqjeSg5tKk01ScyOhOhfBb6+J/guoAzj7gMs9cu
yfAh4lsRG66FAYflq8jiKbWLMOruVCwYIj2nRxzHGUAluaVw4EsEhR2IxQ+g5d879SBDSLErYbae
XCaCETxqpcxUQTm+YY88TKBvZ7aa7TOZ8IdQBFXUhZ3OoDn1GGgBWgDjgXEbddtkuMG9kdMfoZ7V
HfThkjeC6a2IYULZDbVLqZk1CNgqfczH69PCPRm4U09jZsW0r9LoAZRh/kOI9PuDHkzrqY9OgC/+
Ls9HfYKpfWIoTsmKBSik00a9NnI2GI8QASjlQbmbwnFLGYuEEWrXcs3uWf7ajb4qV0CrXhFnnp9P
xVKlOkj+8bkoiXtBdVy6yDtcB0gLWMs69bN9CNH2uXqiERYK/ixasFIfNRC6BQUAsfjuLIecVFc9
08KIiNHsDVeKASVKibpaBZCVc2MyXy7H7cn9qo2zxpx46MeUx0aaY5Zay3R+MBmtg5Uwrpa+WMR+
eOttmONYBLj0npvCiPlZH8dR9mVw2SsL3fBDKToWAv41eua6z14HIyt7v0qFDuQQz4CSXwIl7wEl
vwMU4541xH8JKQDqOX8C1eXHSGRxRbzLZcBwF1kY1tGJiW7K3XMnzE4FbH6zcdceLNNCpdX1Z5lA
fq6DzfEp207eGIhfqXScQp6WL/nfd9a1N6btdUhxXLGgLsMbHyhVtXYNr1hK7AfAqpaK8ggAAA== </customerOrderXml> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>KXHCQsxzIh</webSitePassword> </CustomerOrder_Insert> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Unzipped Request Content |
<Order xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Customer> <CustomerCode>208944</CustomerCode> <Surname>Citizen</Surname> <Firstname>Sue</Firstname> <Salutation xsi:nil="true"></Salutation> <Address> <Address1>85 Some Place</Address1> <Address2></Address2> <Address3>Orange</Address3> <Address4 xsi:nil="true"></Address4> <Postcode>2800</Postcode> <State>NSW</State> <Country>Australia</Country> </Address> <DeliveryAddress> <Address1>85 Some Place</Address1> <Address2></Address2> <Address3>Orange</Address3> <Address4 xsi:nil="true"></Address4> <Postcode>2800</Postcode> <State>NSW</State> <Country>Australia</Country> </DeliveryAddress> <Email>SueCitizen@magentaretail.com.au</Email> <Phone>0263623338</Phone> <Phone1 xsi:nil="true"></Phone1> <Fax></Fax> <Mobile></Mobile> <DOB xsi:nil="true"></DOB> <DoNotContact>false</DoNotContact> <CustomerDisabled>false</CustomerDisabled> <DateCustomerCreated>2011-05-29T16:37:06.587</DateCustomerCreated> <Gender>F</Gender> <CustomerCategoryCode>VIP</CustomerCategoryCode> </Customer> <OrderNumber>99999900277864</OrderNumber> <BranchCode>0721</BranchCode> <OrderDate>2024-06-03T11:02:06</OrderDate> <NumLines>2</NumLines> <DeliveryDetail> <DeliveryName>Sue Citizen</DeliveryName> <DeliveryAddress> <Address1>85 Lourds Place</Address1> <Address2></Address2> <Address3>Orange</Address3> <Address4 xsi:nil="true"></Address4> <Postcode>2800</Postcode> <State>NSW</State> <Country>Australia</Country> </DeliveryAddress> <Phone1>0263623338</Phone1> <Phone2 xsi:nil="true"></Phone2> <Instruction1></Instruction1> <Instruction2>leave on front verendah</Instruction2> </DeliveryDetail> <Item> <LineNo>1</LineNo> <ProductCode>BELLA-BRN-10</ProductCode> <Quantity>1</Quantity> <ExtendedNetPriceInclGST>33.26</ExtendedNetPriceInclGST> <DiscountAmount>0</DiscountAmount> <TaxAmount>3.02</TaxAmount> <TaxRate>10.00</TaxRate> </Item> <Item> <LineNo>2</LineNo> <ProductCode>BELLA-BRN-12</ProductCode> <Quantity>2</Quantity> <ExtendedNetPriceInclGST>116.91</ExtendedNetPriceInclGST> <DiscountAmount>0</DiscountAmount> <TaxAmount>10.63</TaxAmount> <TaxRate>10.00</TaxRate> </Item> <Payment> <AmountPaid>150.17</AmountPaid> <Tender> <Method>EFTPOS</Method> <Amount>150.17</Amount> <CardType>VISA</CardType> <AuthorizationCode xsi:nil="true"></AuthorizationCode> <CardNumber xsi:nil="true"></CardNumber> </Tender> </Payment> </Order> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerOrder_InsertResponse xmlns="http://www.magentaretail.com.au/"> <CustomerOrder_InsertResult>true</CustomerOrder_InsertResult> </CustomerOrder_InsertResponse> </soap:Body> </soap:Envelope> |
|
Configuration |
The following settings need to be correctly configured in the
EEE Configuration Screen on the Comms tab for this method:
|
||||||||||||||||||||||||||||||||||||
|
Notes |
·
Emails alert to admin on exception ·
EEE will insert/update its copy of the
customer record based on the existence in EEE of the customer code - which
may not be blank. ·
EEE will automatically assign customers
imported/updated from the web site to a configured
customer category. ·
Also flag any new customer records as
belonging to the configured webstore branch. ·
Email alert on exception ·
OrderTypes T, C are reserved order types and
cannot be passed in using the web service |
||||||||||||||||||||||||||||||||||||
|
XSD and Format Notes |
·
Nillable fields are required to have the
attribute: xsi:nil=”true” when no value is supplied. If this attribute is not
set, insert will throw business rule violation exceptions. ·
The ISOCountry and ISOSubDivision are
optional elements within Order\DeliveryDetail\DeliveryAddress and are
expected to be ISO 3166-1 alpha-2 two-letter country code and ISO 3166-2
subdivision code (e.g. AU and AU-QLD). The order is rejected if invalid codes
are specified. ·
The fields
Order/Customer/DateCustomerCreated and Order/OrderDate accept ISO8601
standard date strings. E.g. o
20140613T02:37:00 (local time zone, no
conversion) o
20140613T02:37:00Z (UTC, converts to local) o
20140613T02:37:00+10:00 (UTC+10:00 time
zone, converts to local) ·
DiscountAmount is the Extended Discount
Amount. So if 2 items are ordered on a line and the unit discount is $3.00
the DiscountAmount should be $6.00. ·
Possible values for Discount Reasons are
available in EEE under Point of Sale Codes → Markdown Reasons Loyalty Reward Coupon Discounts ·
It is recommended that the value of the
coupon be applied as a discount against the lines on the order (as evenly as
possible) thus reducing the order balance to pay. o
e.g. a $7.50 coupon applied to an order
containing 5 items (total quantity) can be applied as a $1.50 discount
against each item (quantity). o
This allows both the website and EEE to maintain
identical figures for GP etc. o
It is up to the client whether to apply the
discount against any shipping lines or not. ·
Supply the following for each line (<Item>) that has a discount attached: o
DiscountAmount o
DiscountReasonCode o
PromotionCode ·
Recommended
approach is to create and use a specific Discount Reason Code for Loyalty
Reward Discounts ·
Discount
Detail can be specified like this: DiscountReasonCode="YOURCODE" DiscountAmount="7.50" RewardsVoucherNumber="000000018" PromotionCode="VIP" /> o
Note that the coupon code is specified as
the RewardsVoucherNumber o
For multiple discounts applied against the
same line, you can repeat the DiscountDetail element o
In case of multiple discounts, you would
specify the following for the line (<Item>): §
DiscountAmount = the total of all discounts
for the line §
Use the DiscountReasonCode and PromotionCode
from the most significant discount ·
Coupon Code and Promotion Code can be
obtained from the result of CouponsAvailableToCustomer2. |
|
Method |
CustomerOrder_InsertPayment |
||||||||||||||||
|
Intended Usage |
Send payment information for a customer order
if not supplied at the time of order creation |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
bool -
True on success, False otherwise. |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerOrder_InsertPayment xmlns="http://www.magentaretail.com.au/"> <customerOrderXml>
H4sIAAAAAAAACn2RXWuDMBiF7wf7D8H7+WpsL5Q0UGSDwboKytht1oQZqEmJEdv9+qUqbfZhLwI5b05O
8nDI1nBh0LHZqzY7tnIV1NYeMoC+78M+CbX5BBxFMbxvXspdLRr2IFVrmdqJgN7fIUSGgNeu+RCG4iTG
CQF/NHgKdmqEsoNwct3oTtmCSU5xugjTiIA3mkyVUC5lUk5vhK01pzlrawKTuByO12mcpF7a9Thnhlen
g0COMFNyvwqs6USAwEvoXKKRX8xKrXLNb3nPcSPenInAj+/PwTw+VcW2nMdZLsPoBg59ey7XBC5yHobi
cy9/x/8gUVfhwl/jA16dv/AIXOudune7bxzB5ORZAgAA </customerOrderXml> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>KXHCQsxzIh</webSitePassword> </CustomerOrder_InsertPayment> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Unzipped Request Content |
<Order xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <OrderNumber>23123</OrderNumber> <Payment> <AmountPaid>294.90</AmountPaid> <Tender> <Method>Cash</Method> <Amount>139.90</Amount> <CardType xsi:nil="true" /> <AuthorizationCode xsi:nil="true" /> <CardNumber xsi:nil="true" /> </Tender> <Tender> <Method>EFTPOS</Method> <Amount>155.00</Amount> <CardType>VISA</CardType> <AuthorizationCode>223</AuthorizationCode> <CardNumber>1234123412341234</CardNumber> </Tender> </Payment> </Order> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerOrder_InsertPaymentResponse xmlns="http://www.magentaretail.com.au/"> <CustomerOrder_InsertPaymentResult>true</CustomerOrder_InsertPaymentResult> </CustomerOrder_InsertPaymentResponse> </soap:Body> </soap:Envelope> |
|
Method |
CustomerOrderLineStatus_Get |
||||||||||||||||||||||||
|
Latest interface version |
6 |
||||||||||||||||||||||||
|
Intended Usage |
Obtain updated order status information for
each order line. |
||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||
|
Returns |
Byte[] - gzipped UTF8 encoded byte array of xml data that
conforms to the CustomerOrderLineStatus_Get.xsd |
||||||||||||||||||||||||
|
Available EEE Configuration |
|
||||||||||||||||||||||||
|
Additional Information |
See Appendix E for
information about Statuses |
||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerOrderLineStatus_Get xmlns="http://www.magentaretail.com.au/"> <fullLoad>false</fullLoad> <branchCode>99</branchCode> <maxRows>0</maxRows> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>TEST</webSitePassword> </CustomerOrderLineStatus_Get> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerOrderLineStatus_GetResponse xmlns="http://www.magentaretail.com.au/"> <CustomerOrderLineStatus_GetResult>
H4sIAAAAAAAACq1WW2+bMBR+n7T/gHin5rZ1qYilJGRbp7RrS6rubaLgNlYTExnTJP9+h5vBOK
m6aXmI8Hc5to8PxwQ/eUp4JGJR5BERxn6zZvnFPqdjcyXE9gKh3W53tvPOMv6MXNt20K+rRZSs
yCa2KMtFzBJiGvO94HEivhU0HZve+Tz0Hd+1/PPRZ8v35q41dd2pNQ8nE98dfZmNbN/EHz8YRt
Cb/N9mrsKogRaUkQYGYlbkItsQXgmui80j4fjhKrLh53oBOkZLbxmpwZwA9UZSccOztEjELEsJ
dqzp4t7y/AD1USmtF4eXAWqeBkyIl/ELYS0ddvxtETNBxQG7Z+WybTtAEpIiOAHCUpJeEzHZZA
UT2LHtSh8gnZO2at/Lw5bghwB1Ay1sSPOkdDb+YeQBrdmX8b6hRmeO4uwYaQLoLhaQ0HKWALVD
yYckTzjdCpqxXtL7qJR+pSxe05ykGAJ1A8lP0pSTPHdgLiOCOjAiwQkRAZLEUOoaUKEXjK7Hpu
AFlD7SJB6uQxWPBX+UoTxN59e6GZyjVPlqWRB8uwjrkugl4CbL6+Ly4Qfl1g67oi8Tyg94AtXN
Yc8xFHoD9bK4pq+EH06mQBOcsr6VkoF0kBqNPeVTUqVxmquXOhXSlINUarBuWGWMONg+N1zXd+
GvLNEBedz0njRdQl/j0DqgiJ2/k78n+nW8IfhHtmJGtKFi1a27IjR5CBl7R9QlBXMvCdW4e5kz
Ea/rxlI+Yd9re8eQOWIJyTbLqThqarnurbgJ25vk5Jqlptct3pBHK7rdUvZ8R54IJ3DfdF0bWI
ka0PBfKazpEm4/xzTKdI7NFixH1Q1JOPSfUnIZmviJ8hxeMhnjvwXOSZKx9Fhk6COn9wOTioKz
kIiYrgfb7IgeDsyUwx28qt6T0ShAvaEiqwPIK8vy68Msj3NAHbG1l9mntgIUWDFAMxBZ8oJZ9r
t5DFCLKcJlefNwfasaOeAkW+1xNom+Q0F2wAmxtgMF1kyzgpdHc6hCTu6hhSnIYLVNsGOno1DK
iTY5HJhUuDU0XwWDTysFBUQZw2ck/gN794oiVwoAAA== </CustomerOrderLineStatus_GetResult> </CustomerOrderLineStatus_GetResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Unzipped Response Content (v6) |
<OrderStatusSet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ExtractGuid="37ED4142-4796-43E2-B22B-EDAA4298C904"> <OrderStatus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <OrderStatusLine> <CustomerOrderNumber>WMS000023</CustomerOrderNumber> <LineNumber>1</LineNumber> <ProductCode>1-BLU-34</ProductCode> <Status>T</Status> <StatusD>Taken</StatusD> <Quantity>2.000000</Quantity> <ExtendedNetAmount>100.0000</ExtendedNetAmount> <OrderType>W</OrderType> <ExtendedDiscountAmount>0.0000</ExtendedDiscountAmount> <ExtendedTaxAmount>9.1000</ExtendedTaxAmount> <TaxRate>10.00</TaxRate> <Description>1-BLU-34</Description> <Finalised>0</Finalised> <Address1>10 Some Street</Address1> <Address2 xsi:nil="true" /> <Address3>Some Suburb</Address3> <Address4>Some City</Address4> <State>QLD</State> <PostCode>4444</PostCode> <Country>Australia</Country> <DeliveryAddress1>10 Some Street</DeliveryAddress1> <DeliveryAddress2 xsi:nil="true" /> <DeliveryAddress3>Some Suburb</DeliveryAddress3> <DeliveryAddress4>Some City</DeliveryAddress4> <DeliveryState>QLD</DeliveryState> <DeliveryPostCode>4444</DeliveryPostCode> <DeliveryPhone1>07 2242 2200</DeliveryPhone1> <DeliveryPhone2 xsi:nil="true" /> <DeliveryInstruction1 xsi:nil="true" /> <DeliveryInstruction2 xsi:nil="true" /> <DeliveryName>John Smith</DeliveryName> <DeliveryDate xsi:nil="true" /> <DeliveryTime>0</DeliveryTime> <TotalOrderTotal>430.0000</TotalOrderTotal> <TotalOrderDeposit>430.0000</TotalOrderDeposit> <PPDStatus xsi:nil="true" /> <PPDStatusDescription xsi:nil="true" /> <ShippingReferences>
<Reference ProviderId="1" Name="ProviderName" ExternalId="ID">first</Reference>
<Reference ProviderId="1" Name="ProviderName" ExternalId="ID">second</Reference> </ShippingReferences> <ReturnDetails>
<ReturnDetail>
<BranchCode>99</BranchCode>
<ReturnQuantity>-40.000000</ReturnQuantity>
<ReturnAmount>150.0000</ReturnAmount>
<restock>no_restock</restock>
<TenderDetails>
<TenderDetail>
<TenderCode>CASH</TenderCode>
<TenderAmount>150.0000</TenderAmount>
<CurrencyCode>AUD</CurrencyCode>
</TenderDetail>
</TenderDetails>
</ReturnDetail> </ReturnDetails> </OrderStatusLine> </OrderStatus> </OrderStatusSet> |
|
Method |
CustomerOrderLineStatus_AcknowledgeGet |
||||||||||||||||
|
Intended Usage |
Acknowledge a batch retrieved using
CustomerOrderLineStatus_Get. |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
True on success, false otherwise. |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerOrderLineStatus_AcknowledgeGet xmlns="http://www.magentaretail.com.au/"> <extractGuid>09EF4240-A7DB-46D5-9922-6067598B7DFA</extractGuid> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>TEST</webSitePassword> </CustomerOrderLineStatus_AcknowledgeGet> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerOrderLineStatus_AcknowledgeGetResponse xmlns="http://www.magentaretail.com.au/"> <CustomerOrderLineStatus_AcknowledgeGetResult>true</CustomerOrderLineStatus_AcknowledgeGetResult> </CustomerOrderLineStatus_AcknowledgeGetResponse> </soap:Body> </soap:Envelope> |
|
Method |
CustomerOrder_History |
||||||||||||||||||||||||
|
Latest interface version |
3 |
||||||||||||||||||||||||
|
Intended Usage |
Retrieves a customers order history for the
specified customer |
||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||
|
Returns |
Byte[] - gzipped UTF8 encoded byte array of xml data that conforms to the
CustomerOrder_History.xsd |
||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerOrder_History xmlns="http://www.magentaretail.com.au/"> <customerCode>000001</customerCode> <dateFrom>20120101</dateFrom> <dateTo>20120701</dateTo> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>TEST</webSitePassword> </CustomerOrder_History> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerOrder_HistoryResponse xmlns="http://www.magentaretail.com.au/"> <CustomerOrder_HistoryResult>
H4sIAAAAAAAACq1WTY/aMBC9V+p/iHJf8gXdEgVLW9KqSJTuLpHaqyGziyVIkO0s8O8
7ThwTAmkqbXPKzLx59ozHL4m+MyFzfrKOu20mwqNgE3sj5T50nMPhMDgEg5y/Or7res
7vH/PlegM7escyIWm2Bpt8/GBZ0U+eAn8HAVJMC9zFDnhJtSh2K+DEvfc913PxGY4j5
xailTzNUyAK73pnfOnUwC8cF91UMCSPnIaj5uJAJcuzmEogPi5/53l37ufEc8OhH458
JG4idFZcwI2EkRt6w8ipgxo7p0I+0tMOMnlrkSAcYU4bpHO/sYxumYC0e7VLSDuPYNF
nQ0eTXNItcQeqc5FTWXVhsM8FkyZY23VD6VYdownXtg4vJZWFIMvI0W8X/oQsQcotpH
U4qeMPacpBCI94rrXEQ7SWkgPIyDGBS6Bv4diFGdtObMkLsC2nBQhIRVOsCr4yNEELN
axQUyZPBjNs7hnI0zyudmtqfMyFLAdoiE/kGLOep7zIJD+RBxxHjm2nOEDaZVq8ZW/A
T3VtnbW0gN1Ft4DBvwKHvcCy8l5U3YN+4CbPoL/gEtZf7gxFhRdrdTf7ORvgfuYFxbH
oA6n71gtK2F+YnuEFOA7JlPK0UrhO6IUalnmA9+4cL/3Jad+92C9Y5ZVudwBKHah4Sk
Xw/PFgPDIK0YhcJdQqcSulpSClb84yeNf3Q8kqcujPAmpcwzKIR56neOLl7URI0zQYr
VNJS7FMJCYxiD2VuA0jW/EZ9FTQTKJ8EK8URFW5cRnQ16OELIV0AfJhp7SA3A/cQGGv
IybJHCiZRc7ZuCKNmVirTJ3vD8b3TeZW+Co9oUcdcgefgjG26TpiktD1rJTQU/KPZ6x
NE8dWrTnbqzumGt40z23dsP2eZa9mhs8tr29EOdl4Wm8Mq56lE9uzLXUjJ3btVJZtqZ
1y/LQpyCy2yQvjAr8ZhuO/EQtY5xke/zUzjkRXPfrU1GBWf02Vje+Ro//ByB9MVD3pj
QkAAA== </CustomerOrder_HistoryResult> </CustomerOrder_HistoryResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Unzipped Reqponse Content (v3) |
<History xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Order xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <CustomerOrderNumber>072101000049</CustomerOrderNumber> <CustomerCode>000001</CustomerCode> <BranchCode>0721</BranchCode> <CreationDate>2010-11-08T10:42:52</CreationDate> <DueDate>2010-11-08T10:50:14</DueDate> <LastPaymentDate>2010-11-08T10:43:54</LastPaymentDate> <FinalisedDate>2010-11-08T10:50:14</FinalisedDate> <Finalised>1</Finalised> <Total>0.0000</Total> <Deposit>0.0000</Deposit> <Balance>0.0000</Balance> <Status>S</Status> <StatusT>Settled</StatusT> <Address1>10 Some Street</Address1> <Address2 xsi:nil="true" /> <Address3>Some Suburb</Address3> <Address4>Some City</Address4> <State>QLD</State> <PostCode>4444</PostCode> <Country>Australia</Country> <DeliveryAddress1 xsi:nil="true" /> <DeliveryAddress2 xsi:nil="true" /> <DeliveryAddress3 xsi:nil="true" /> <DeliveryAddress4 xsi:nil="true" /> <DeliveryState xsi:nil="true" /> <DeliveryPostCode xsi:nil="true" /> <DeliveryPhone1 xsi:nil="true" /> <DeliveryPhone2 xsi:nil="true" /> <DeliveryInstruction1 xsi:nil="true" /> <DeliveryInstruction2 xsi:nil="true" /> <DeliveryName xsi:nil="true" /> <DeliveryDate xsi:nil="true" /> <DeliveryTime xsi:nil="true" /> <ReferralCardNumber xsi:nil="true" /> <CustomerOrderReference
/> <OrderType xsi:nil="true" /> <Weborder xsi:nil="true" /> <TotalOrderTotal>129.9500</TotalOrderTotal> <TotalOrderDeposit>129.9500</TotalOrderDeposit> <OrderLine xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <LineNumber>1</LineNumber> <ProductCode>1</ProductCode> <Status>T</Status> <StatusD>Despatched</StatusD> <Quantity>1.000000</Quantity> <ExtendedNetAmount>7.0300</ExtendedNetAmount> <OrderType>I</OrderType> <ExtendedDiscountAmount>2.9700</ExtendedDiscountAmount> <ExtendedTaxAmount>0.6391</ExtendedTaxAmount> <TaxRate>10.00</TaxRate> <Description>1</Description> <ShippingReferences>
<Reference ProviderId="1" Name="ProviderName" ExternalId="ID">first</Reference>
<Reference ProviderId="1" Name="ProviderName" ExternalId="ID">second</Reference> </ShippingReferences> </OrderLine> </Order> </History> |
|
Method |
CustomerOrderMessage_Insert |
||||||||||||||||||||
|
Intended Usage |
Send a message about an order from the website
to EEE |
||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||
|
Returns |
bool
- True on success, False otherwise. |
||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerOrderMessage_Insert xmlns="http://www.magentaretail.com.au/"> <msgXml>
H4sIAAAAAAAACq2RywrCQAxF94L/EGYrYqZUxNIK2roQfBSpuK6dUAf7kHkI/r21FMG
Fm2J2IZeTQ+KHVpu6JHVQgtSOtE5z0rAYDgD8rt0YKuErt7flhRQEbLlCBzm+izPo8l
FqKJElQQCsmU7HOBs7ToJzz0WPuyOOHuInHbCEtJFVDi2aTfrtjlUtbGbCWjTE83oVH
w/RKUz6W23rLC3gLrMb2DvIChoHRX/Wc3rrRVTIB6knCKvexytslV3BNIRW0Z/8eOwL
Avh7avEBAAA= </msgXml> <websiteCode>MAGENTA</websiteCode> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>KXHCQsxzIh</websitePassword> </CustomerOrderMessage_Insert> </soap:Body> </soap:Envelope> |
||||||||||||||||||||
|
Samepl Unzipped Request Content |
<CustomerOrderMessages > <MessageItem CustomerOrderNumber ="AB0201000001" MessageDateTime = "2015-07-22T09:40:14+10:00" Message="Testing Order"/> <MessageItem CustomerOrderNumber ="AB0201000001" ProductCode="WEBPRODUCT1" MessageDateTime = "2015-07-22T09:40:14+10:00" Message="Local pick up in store"/> <MessageItem CustomerOrderNumber ="AB0201000001" ProductCode="WEBPRODUCT2" MessageDateTime = "2015-07-22T09:40:14+10:00" Message="Delivery during lunch time"/> </CustomerOrderMessages > |
||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerOrderMessage_InsertResponse xmlns="http://www.magentaretail.com.au/"> <CustomerOrderMessage_InsertResult>true</CustomerOrderMessage_InsertResult> </CustomerOrderMessage_InsertResponse> </soap:Body> </soap:Envelope> |
|
Method |
CustomerOrderSpecial_Insert |
||||||||||||||||||||
|
Intended Usage |
Send a special order request to EEE from the
website |
||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||
|
Returns |
bool
- True on success, False otherwise. |
||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerOrderSpecial_Insert xmlns="http://www.magentaretail.com.au/"> <msgXml>
H4sIAAAAAAAACqWQywrCMBBF94L/ELKV2iRWxNJIpbroyld/IDSzCDSNJhPQv7eKggtx
4+bCwDDnzC2qGNBZ8DuvwZ/O0BrVHeESIWBYjUeEFK+pRrCk8qDQuH6jEBpjgUhCBRM8
YYtEiIYt84zlPJtwljNGydYq06219hCCpDhcKR8xbZ2lZO+dji1WToOknJJDVD0avEkq
aPo/+orge9W9/6v1ABGzbP7NSpRfnYb1Ty3+1CrSn5XdAY0cYkZRAQAA </msgXml> <websiteCode>MAGENTA</websiteCode> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>KXHCQsxzIh</websitePassword> </CustomerOrderSpecial_Insert> </soap:Body> </soap:Envelope> |
||||||||||||||||||||
|
Sample Unzipped Request Content |
<CustomerOrderSpecialRequests> <RequestItem CreationDateTime = "2021-07-22T09:40:14+10:00" EmailAddress="test@test.com" ProductCode="1" Quantity="2"/> <RequestItem CreationDateTime = "2021-07-22T09:40:14+10:00" ExternalCustomerId="12345" EmailAddress="test2@t.com" ProductCode="1234" Quantity="1"/> </CustomerOrderSpecialRequests> |
||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerOrderSpecial_InsertResponse xmlns="http://www.magentaretail.com.au/"> <CustomerOrderSpecial_InsertResult>true</CustomerOrderSpecial_InsertResult> </CustomerOrderSpecial_InsertResponse> </soap:Body> </soap:Envelope> |
|
Method |
Message_Insert |
||||||||||||||||||||||||
|
Intended Usage |
Inserts a new message into the EEE / POS
internal notification system |
||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||
|
Returns |
True on success of message
insert, false otherwise |
||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Message_Insert xmlns="http://www.magentaretail.com.au/"> <BranchCode>0721</BranchCode> <MessageSubject>Test Subject</MessageSubject> <MessageText>Test Message Text</MessageText> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>8B4a8mOtWT</webSitePassword> </Message_Insert> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Message_InsertResponse xmlns="http://www.magentaretail.com.au/"> <Message_InsertResult>true</Message_InsertResult> </Message_InsertResponse> </soap:Body> </soap:Envelope> |
|
Method |
ReferralCardValidate |
||||||||||||||||
|
Intended Usage |
Validates a referral card and checks
whether or not it can be redeemed. |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
String of xml. The Allowed element
dictates if the card can be redeemed. If this is false then the Reason
element will detail why the card is not able to be redeemed. |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ReferralCardValidate xmlns="http://www.magentaretail.com.au/"> <CardNumber>10000000000000001</CardNumber> <WebsiteUserCode>MWSTEST</WebsiteUserCode> <WebsitePassword>OHBKfnlkXa</WebsitePassword> </ReferralCardValidate> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ReferralCardValidateResponse xmlns="http://www.magentaretail.com.au/"> <ReferralCardValidateResult> <ReferralCardValidateResponse><Allowed>FALSE</Allowed> <Reason>The referral card is not
valid</Reason> </ReferralCardValidateResponse> </ReferralCardValidateResult> </ReferralCardValidateResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Decoded Response Content |
<ReferralCardValidateResponse> <Allowed>FALSE</Allowed> <Reason>The referral card has already been redeemed</Reason> </ReferralCardValidateResponse> |
|
Method |
ReferralCardRedeem |
||||||||||||||||||||||||
|
Intended Usage |
Marks a referral card as redeemed. |
||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||
|
Returns |
bool - True on success of redemption, false
otherwise |
||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ReferralCardValidate xmlns="http://www.magentaretail.com.au/"> <CardNumber>10000000000000001</CardNumber> <WebsiteUserCode>MWSTEST</WebsiteUserCode> <WebsitePassword>OHBKfnlkXa</WebsitePassword> </ReferralCardValidate> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ReferralCardRedeemResponse xmlns="http://www.magentaretail.com.au/"> <ReferralCardRedeemResult>true</ReferralCardRedeemResult> </ReferralCardRedeemResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Notes |
If the card is not marked as redeemed
using this call, it will be marked as redeemed when the sale or customer
order is inserted through the Sale_Insert or CustomerOrder_Insert methods. |
NOTE: A debtor is a
customer with the ChargeAccount flag set on.
|
Method |
DebtorAuthorisation |
||||||||||||||||||||||||
|
Intended Usage |
Checks that the transaction amount
can be charged to the debtors account |
||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||
|
Returns |
Xml. The Authorised element dictates
if the authorisation was successful. If this is false then the Reason element
will detail why the authorisation was refused. |
||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <DebtorAuthorisation xmlns="http://www.magentaretail.com.au/"> <CustomerCode>100</CustomerCode> <Amount>100</Amount> <BranchCode>100</BranchCode> <WebsiteUserCode>MWSTEST</WebsiteUserCode> <WebsitePassword>OHBKfnlkXa</WebsitePassword> </DebtorAuthorisation> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <DebtorAuthorisationResponse xmlns="http://www.magentaretail.com.au/"> <DebtorAuthorisationResult> <DebtorAuthorisationResponse><Authorised>FALSE</Authorised> <Reason>This customer does not have
a charge account.</Reason> </DebtorAuthorisationResponse> </DebtorAuthorisationResult> </DebtorAuthorisationResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Decoded Response Content |
<DebtorAuthorisationResponse> <Authorised>FALSE</Authorised> <Reason>This customer does not have a charge account.</Reason> </DebtorAuthorisationResponse> |
Please note that use
of the previous GiftCardService.asmx web service is no longer supported.
|
Method |
GiftCardBalance |
||||||||||||||||||||||||||||
|
Intended Usage |
Checks the balance and
status of a gift card (or Loyalty Gift Card) |
||||||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||||||
|
Returns |
Xml that conforms to
GiftCardBalance.xsd |
||||||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <GiftCardBalance xmlns="http://www.magentaretail.com.au/"> <voucherNumber>GC111111111111112091</voucherNumber> <requirePin>true</requirePin> <pin>8291</pin> <WebsiteUserCode>MWSTEST</WebsiteUserCode> <WebsitePassword>TEST</WebsitePassword> <websiteBranchCode>0711</websiteBranchCode> </GiftCardBalance> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <GiftCardBalanceResponse xmlns="http://www.magentaretail.com.au/"> <GiftCardBalanceResult> <VoucherStatus> <VoucherNumber>GC111111111111112091</VoucherNumber> <CardValid>TRUE</CardValid> <PinValid>TRUE</PinValid> <Redeemable>TRUE</Redeemable> <Balance>10.0000</Balance> <ExpiryDate>2015-01-12T00:00:00</ExpiryDate> <Active>TRUE</Active> <LostStolen>FALSE</LostStolen> <LostStolenNotes /> <Returned>FALSE</Returned> <PostedToExpenses>FALSE</PostedToExpenses> <PostedToRevenue>FALSE</PostedToRevenue> <StatusReason /> <Issued>TRUE</Issued> </VoucherStatus> </GiftCardBalanceResult> </GiftCardBalanceResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||
|
Sample Decoded Response Content |
<VoucherStatus> <VoucherNumber>GC111111111111112091</VoucherNumber> <CardValid>TRUE</CardValid> <PinValid>TRUE</PinValid> <Redeemable>TRUE</Redeemable> <Balance>10.0000</Balance> <ExpiryDate>2015-01-12T00:00:00</ExpiryDate> <Active>TRUE</Active> <LostStolen>FALSE</LostStolen> <LostStolenNotes /> <Returned>FALSE</Returned> <PostedToExpenses>FALSE</PostedToExpenses> <PostedToRevenue>FALSE</PostedToRevenue> <StatusReason /> <Issued>TRUE</Issued> </VoucherStatus> |
|
Method |
GiftCardRedeem |
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Latest Interface Version |
2 |
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Intended Usage |
Checks that the redeemAmount can be redeemed
against this gift card and that the card is valid. If this is true the the
redeemed amount is redeemed against the card. This method can also be used to
redeem value from a loyalty gift card. Amounts can also be reserved against
the Gift Card by passing reserveOnly = true. |
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Returns |
Xml that conforms to
GiftCardRedeem.xsd. Note that the Balance in the xml is the
balance AFTER the redemption has been processed OR the balance BEFORE the
redemption if the redemption failed. |
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <GiftCardRedeem xmlns="http://www.magentaretail.com.au/"> <voucherNumber>GC11111111111111209</voucherNumber> <requirePin>true</requirePin> <pin>8291</pin> <redeemAmount>5</redeemAmount> <redeemBranchCode>99</redeemBranchCode> <redeemTransactionNumber>TESTTRAN1</redeemTransactionNumber> <WebsiteUserCode>MWSTEST</WebsiteUserCode> <WebsitePassword>TEST</WebsitePassword> </GiftCardRedeem> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <GiftCardRedeemResponse xmlns="http://www.magentaretail.com.au/"> <GiftCardRedeemResult> <VoucherRedemptionStatus> <VoucherNumber>GC11111111111111209</VoucherNumber> <RedeemedSuccessfully>FALSE</RedeemedSuccessfully> <CardValid>FALSE</CardValid> <PinValid>FALSE</PinValid> <Redeemable>FALSE</Redeemable> <Balance>0.0000</Balance> <ExpiryDate>2000-01-01T00:00:00</ExpiryDate> <Active>FALSE</Active> <LostStolen>FALSE</LostStolen> <LostStolenNotes/> <Returned>FALSE</Returned> <PostedToExpenses>FALSE</PostedToExpenses> <PostedToRevenue>FALSE</PostedToRevenue> <StatusReason>Voucher GC11111111111111209
is invalid</StatusReason> <RedeemTransactionNumber>TESTTRAN1</RedeemTransactionNumber> </VoucherRedemptionStatus> </GiftCardRedeemResult> </GiftCardRedeemResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Sample XML |
<VoucherRedemptionStatus> <VoucherNumber>GC11111111111111209</VoucherNumber> <RedeemedSuccessfully>FALSE</RedeemedSuccessfully> <CardValid>FALSE</CardValid> <PinValid>FALSE</PinValid> <Redeemable>FALSE</Redeemable> <Balance>0.0000</Balance> <ExpiryDate>2000-01-01T00:00:00</ExpiryDate> <Active>FALSE</Active> <LostStolen>FALSE</LostStolen> <LostStolenNotes/> <Returned>FALSE</Returned> <PostedToExpenses>FALSE</PostedToExpenses> <PostedToRevenue>FALSE</PostedToRevenue> <StatusReason>Voucher GC11111111111111209 is invalid</StatusReason> <RedeemTransactionNumber>TESTTRAN1</RedeemTransactionNumber> </VoucherRedemptionStatus> |
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Notes |
redeemTransactionNumber
parameter The redeemTransactionNumber parameter is now optional. If this is not provided, or provided as blank, EEE automatically assigns a unique hexadecimal string from the range 000002 to FFFFFF as the value of this parameter. This value is then used in the redemption process as per normal. Note that a value is not assigned if the redemption cannot be successfully processed. RedeemTransactionNumber
element in result XML As of interface version 2, a new element RedeemTransactionNumber is available in the result. The value of this element indicates the transaction number that was used for the redemption process. This will be the value of the redeemTransactionNumber parameter if it was supplied, or the hexadecimal string assigned by EEE if it was not. Note that if a value was not supplied for the redeemTransactionNumber parameter and the redemption cannot be successfully processed, a value is not automatically assigned. In this case, the RedeemTransactionNumber element in the result will be NIL (<RedeemTransactionNumber xsi:nil="true" />) or empty (<RedeemTransactionNumber />) depending on the value supplied for redeemTransactionNumber. |
|
Method |
GiftCardRedeemWithDate |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Latest Interface Version |
2 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Intended Usage |
Checks that the redeemAmount can be redeemed
against this gift card and that the card is valid. If this is true the the
redeemed amount is redeemed against the card. This method can also be used to
redeem value from a loyalty gift card. Amounts can also be reserved against
the Gift Card by passing reserveOnly = true. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Returns |
Xml that conforms to
GiftCardRedeem.xsd. Note: ·
When Redeemed Successfully is true then Balance
in the xml is the balance AFTER the redemption has been processed ·
When Redeemed Successfully is false then
Balance in the xml is the balance BEFORE the redemption |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <GiftCardRedeemWithDate xmlns="http://www.magentaretail.com.au/"> <voucherNumber>GC11111111111111209</voucherNumber> <requirePin>true</requirePin> <pin>8291</pin> <redeemAmount>5</redeemAmount> <redeemBranchCode>99</redeemBranchCode> <redeemTransactionNumber>TESTTRAN1</redeemTransactionNumber> <redeemTransactionDate>2012-08-17T00:00:00</redeemTransactionDate> <WebsiteUserCode>MWSTEST</WebsiteUserCode> <WebsitePassword>TEST</WebsitePassword> </GiftCardRedeemWithDate> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <GiftCardRedeemWithDateResponse xmlns="http://www.magentaretail.com.au/"> <GiftCardRedeemWithDateResult> <VoucherRedemptionStatus> <VoucherNumber>GC11111111111111209</VoucherNumber> <RedeemedSuccessfully>FALSE</RedeemedSuccessfully> <CardValid>FALSE</CardValid> <PinValid>FALSE</PinValid> <Redeemable>FALSE</Redeemable> <Balance>0.0000</Balance> <ExpiryDate>2000-01-01T00:00:00</ExpiryDate> <Active>FALSE</Active> <LostStolen>FALSE</LostStolen> <LostStolenNotes/> <Returned>FALSE</Returned> <PostedToExpenses>FALSE</PostedToExpenses> <PostedToRevenue>FALSE</PostedToRevenue> <StatusReason>Voucher GC11111111111111209
is invalid</StatusReason> <RedeemTransactionNumber>TESTTRAN1</RedeemTransactionNumber> </VoucherRedemptionStatus> </GiftCardRedeemWithDateResult> </GiftCardRedeemWithDateResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Sample Decoded Response Content |
<VoucherRedemptionStatus> <VoucherNumber>GC11111111111111209</VoucherNumber> <RedeemedSuccessfully>FALSE</RedeemedSuccessfully> <CardValid>FALSE</CardValid> <PinValid>FALSE</PinValid> <Redeemable>FALSE</Redeemable> <Balance>0.0000</Balance> <ExpiryDate>2000-01-01T00:00:00</ExpiryDate> <Active>FALSE</Active> <LostStolen>FALSE</LostStolen> <LostStolenNotes /> <Returned>FALSE</Returned> <PostedToExpenses>FALSE</PostedToExpenses> <PostedToRevenue>FALSE</PostedToRevenue> <StatusReason>Voucher GC11111111111111209 is invalid</StatusReason> <RedeemTransactionNumber>TESTTRAN1</RedeemTransactionNumber> </VoucherRedemptionStatus> |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Notes |
redeemTransactionNumber
parameter The redeemTransactionNumber parameter is optional. If this is not provided, or provided as blank, EEE automatically assigns a unique hexadecimal string from the range 000002 to FFFFFF as the value of this parameter. This value is then used in the redemption process as per normal. Note that a value is not assigned if the redemption cannot be successfully processed. RedeemTransactionNumber
element in result XML As of interface version 2, a new element RedeemTransactionNumber is available in the result. The value of this element indicates the transaction number that was used for the redemption process. This will be the value of the redeemTransactionNumber parameter if it was supplied, or the hexadecimal string assigned by EEE if it was not. Note that if a value was not supplied for the redeemTransactionNumber parameter and the redemption cannot be successfully processed, a value is not automatically assigned. In this case, the RedeemTransactionNumber element in the result will be NIL (<RedeemTransactionNumber xsi:nil="true" />) or empty (<RedeemTransactionNumber />) depending on the value supplied for redeemTransactionNumber. |
|
Method |
GiftCardRedeemReverse |
||||||||||||||||||||||||||||
|
Latest Interface Version |
1 |
||||||||||||||||||||||||||||
|
Intended Usage |
Reverse a Gift Card Redeem reservation. Gift
Card Redeem reservations are created when calling Gift Card Redeem with
reserveOnly = “1”. |
||||||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||||||
|
Returns |
Boolean - true on successful
reversal. Returns SoapException indicating the reason for failure otherwise. |
||||||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <GiftCardRedeemReverse xmlns="http://www.magentaretail.com.au/"> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>TEST</websitePassword> <voucherNumber>GC11111111111111209</voucherNumber> <amount>25</amount> <transactionNumber>TESTTRAN1</transactionNumber> <transactionDate>2012-08-17T00:00:00</transactionDate> </GiftCardRedeemReverse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <GiftCardRedeemReverseResponse xmlns="http://www.magentaretail.com.au/"> <GiftCardRedeemReverseResult>true</GiftCardRedeemReverseResult> </GiftCardRedeemReverseResponse> </soap:Body> </soap:Envelope> |
|
Method |
GiftCardActivate |
||||||||||||||||||||||||
|
Intended Usage |
The activation code should be
generated by the web site and passed to EEE and stored against the voucher transaction
table for the gift card issue. This method activates those cards by passing
in the transaction number and a valid activation code. |
||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||
|
Returns |
bool - True on success of card
activation, false otherwise |
||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <GiftCardActivate xmlns="http://www.magentaretail.com.au/"> <transactionNumber>10001</transactionNumber> <activationCode>12345</activationCode> <voucherNumber>1234567890</voucherNumber> <WebsiteUserCode>MWSTEST</WebsiteUserCode> <WebsitePassword>OHBKfnlkXa</WebsitePassword> </GiftCardActivate> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <GiftCardActivateResponse xmlns="http://www.magentaretail.com.au/"> <GiftCardActivateResult>true</GiftCardActivateResult> </GiftCardActivateResponse> </soap:Body> </soap:Envelope> |
|
Method |
GiftCardVirtualReserve |
||||||||||||||||||||||||||||
|
Intended Usage |
Reserves a number of virtual gift
cards for a transaction so they can be activated through the Sale_Insert
method. This method ensures that Gift Cards exist for purchase and provides
the gift card numbers to be used in the sale lines of the purchase. |
||||||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||||||
|
Returns |
Byte[] - gzipped UTF8 encoded byte
array of xml data containing the list of gift cards reserved for purchasing
in this transaction. The xml document conforms to
GiftCardVirtualReserveResult.xsd. Sample Xml: |
||||||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <GiftCardVirtualReserve xmlns="http://www.magentaretail.com.au/"> <transactionNumber>100001</transactionNumber> <transactionDate>2014-01-17T00:00:00</transactionDate> <issueAmount>100</issueAmount> <quantity>1</quantity> <WebsiteUserCode>MWSTEST</WebsiteUserCode> <WebsitePassword>OHBKfnlkXa</WebsitePassword> </GiftCardVirtualReserve> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <GiftCardVirtualReserveResponse xmlns="http://www.magentaretail.com.au/"> <GiftCardVirtualReserveResult>
H4sIAAAAAAAACmVOMQ7CMBDbkfhDdHvpXUKFihIWEGxMiD2Uq2Boiq5p308LDQuWF1u2
ZSvcsQx8v7Z99WDpdsuFUnb4KjUJpYRrFg4Vk4PTkWC2o/hw8JEdaCSdocm0viBuP0yh
eencNzeWsb7HH0hjQWVRpujrGRyYjVknwzdtH6IDQlxNBVD5eM/mf5/fTTzFUsYAAAA= </GiftCardVirtualReserveResult> </GiftCardVirtualReserveResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||
|
Sample Decoded Response Content |
<reservedVouchers> <voucher reference1="GF1" tranDate="2012-03-22T00:00:00" voucherNumber="GC000000000012051959" pin="3734" amount="100.0000" /> </reservedVouchers> |
|
Method |
GiftCardVirtualReserveIssue |
||||||||||||||||||||||||||||||||
|
Intended Usage |
The preferred method of activation
for gift cards is via the Sale_Insert method. However if sales are imported on a
delay and a virtual gift card needs to be issued immediately use this method.
You should still import the gift card details through Sale_Insert afterwards.
The parameters transactionNumber (The transaction number of
the gift card sale), transactionDate (The transaction date time of the gift
card sale) and voucherNumber (The gift card number to issue), have to match
the parameters in the original GiftCardVirtualReserve call so that the
correct reservation can be found and confirmed. |
||||||||||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||||||||||
|
Returns |
A Byte[] - gzipped UTF8 encoded byte
array of xml data containing the list of gift cards reserved in this
transaction and their issued status. |
||||||||||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <GiftCardVirtualReserveIssue xmlns="http://www.magentaretail.com.au/"> <transactionNumber>100001</transactionNumber> <transactionDate>2014-01-17T00:00:00</transactionDate> <voucherNumber>123456</voucherNumber> <branchCode>100</branchCode> <tillNumber>3</tillNumber> <WebsiteUserCode>MWSTEST</WebsiteUserCode> <WebsitePassword>OHBKfnlkXa</WebsitePassword> </GiftCardVirtualReserveIssue> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <GiftCardVirtualReserveIssueResponse xmlns="http://www.magentaretail.com.au/"> <GiftCardVirtualReserveIssueResult>
H4sIAAAAAAAACrXRPQvCQAwG4F3wP4Ts1dy1VSo9FwVxcRBxv7YH3tAP7qPov9fWK
uJYaMjyQgIPSaqt9aq41j6/KWO38xlA2r4TdAFgSCdfZsoIPOzoW4xTzJI4QWh0JT
BchxEOW7KsfeUEMqJFN4qg7o02j710SiAnFgUUBpxfiDZ9fxatk85bgccehrAcZVr
RdCbIvIOqdiBzp1s1msimIJ6VVaZ9IWVV9MjfO6bLv3c/AeKIFJH/AQAA </GiftCardVirtualReserveIssueResult> </GiftCardVirtualReserveIssueResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||||||
|
Sample Unzipped Response Content |
<issuedVouchers> <voucher voucherNumber="GC000000000012051959" pin="3734" amount="100.0000" expiryDate="2014-03-22T00:00:00" status="Issued" /> <voucher voucherNumber="GC000000000012051960" pin="3734" amount="100.0000" expiryDate="2014-03-22T00:00:00" status="Issued but not active" /> <voucher voucherNumber="GC000000000012051961" pin="3734" amount="100.0000" expiryDate="2014-03-22T00:00:00" status="Reserved and not Issued" /> </issuedVouchers> |
|
Method |
GiftCardIssue |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Intended Usage |
Issues a Gift Card. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Returns |
XML string that conforms to
GiftCardIssue.xsd |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soap:Body> <GiftCardIssue xmlns="http://www.magentaretail.com.au/"> <voucherNumber>GC00000001</voucherNumber> <issueAmount>100</issueAmount> <issueBranchCode>99</issueBranchCode> <issueTransactionDate xsi:nil="true"/> <issueTransactionReference>9999000001</issueTransactionReference> <issueTopup>false</issueTopup> <WebsiteUserCode>MWSTEST</WebsiteUserCode> <WebsitePassword>KXHCQsxzIh</WebsitePassword> </GiftCardIssue> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soap:Body> <GiftCardIssueResponse xmlns="http://www.magentaretail.com.au/"> <GiftCardIssueResult> <GiftCardIssueStatus> <VoucherNumber>GC00000001</VoucherNumber> <Success>TRUE</Success> <Issued>TRUE</Issued> <errCardInvalid>FALSE</errCardInvalid> <errCardAlreadyIssued>FALSE</errCardAlreadyIssued> <errCardNotIssued>FALSE</errCardNotIssued> <errCardPostedToExpenses>FALSE</errCardPostedToExpenses> <errCardPostedToRevenue>FALSE</errCardPostedToRevenue> <errCardReturned>FALSE</errCardReturned> <errCardLost>FALSE</errCardLost> <IssueTransactionReference>9999000001</IssueTransactionReference> <ExpiryDate>2017-05-02T00:00:00</ExpiryDate> </GiftCardIssueStatus> </GiftCardIssueResult> </GiftCardIssueResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Sample Decoded Response Content |
<GiftCardIssueStatus> <VoucherNumber>GC00000001</VoucherNumber> <Success>TRUE</Success> <Issued>TRUE</Issued> <errCardInvalid>FALSE</errCardInvalid> <errCardAlreadyIssued>FALSE</errCardAlreadyIssued> <errCardNotIssued>FALSE</errCardNotIssued> <errCardPostedToExpenses>FALSE</errCardPostedToExpenses> <errCardPostedToRevenue>FALSE</errCardPostedToRevenue> <errCardReturned>FALSE</errCardReturned> <errCardLost>FALSE</errCardLost> <IssueTransactionReference>9999000001</IssueTransactionReference> <ExpiryDate>2017-05-02T00:00:00</ExpiryDate> </GiftCardIssueStatus> |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Notes |
This request will fail if: 1. The card
number supplied is not known to EEE (in VoucherGeneratedNumbers) errCardInvalid
= TRUE 2. The card
is already issued (and the current transaction is not a topup transaction) errCardAlreadyIssued = TRUE 3. Topup is
requested but the card has never been issued errCardNotIssued = TRUE 4. Topup is
requested but the card has already been written off to expenses (card was
over-redeemed and the resultant negative balance has been consumed as an
expense. errCardPostedToExpenses = TRUE 5. Topup is
requested but the card has already been written off to revenue (card was
expired and the remaining balance has been consumed as revenue. errCardPostedToRevenue
= TRUE 6. Topup is
requested but the card has already been returned errCardReturned = TRUE 7. Topup is
requested but the card has been flagged as lost or stolen errCardLost = TRUE If multiple error conditions exist they will all be returned as
TRUE in the response XML. Issued element in result
XML
The Issued element specifies whether the card issue was actually
performed (true) or the card was already issued for the same amount, date [if
specified], branch and reference (false).
If this method is called with identical transaction details to a
previous card issue request the return XML will be: <GiftCardIssueStatus> <VoucherNumber>GC11111111111111209</VoucherNumber> <Success>TRUE</Success> <Issued>FALSE</Issued> <errCardInvalid>FALSE</errCardInvalid> <errCardAlreadyIssued>FALSE</errCardAlreadyIssued> <IssueTransactionReference xsi:nil="true"/> </GiftCardIssueStatus> issueTransactionReference parameter
If the issueTransactionReference parameter is not provided, or
provided as blank, EEE automatically assigns a unique hexadecimal string from
the range 000002 to FFFFFF as the value of this parameter. This value is then
used in the issuing process as per normal. Note that a value is not assigned if the issue cannot be
successfully processed. IssueTransactionReference element in result XML
The value of the IssueTransactionReference element in the result
indicates the transaction number that was used for the issue process. This
will be the value of the issueTransactionReference parameter if it was
supplied, or the hexadecimal string assigned by EEE if it was not. Note
that if a value was not supplied for the issueTransactionReference parameter
and the issue cannot be successfully processed, a value is not automatically
assigned. In this case, the IssueTransactionReference element in the result
will be NIL (<IssueTransactionReference xsi:nil="true" />) or
empty (<IssueTransactionReference
/>) depending on the value supplied for issueTransactionReference. |
|
Method |
GiftCardIssueReverse |
||||||||||||||||||||||||||||||||||||
|
Intended Usage |
Reverses the issue of a gift card if
eligible |
||||||||||||||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||||||||||||||
|
Returns |
XML string that conforms to
GiftCardIssueReverse.xsd |
||||||||||||||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soap:Body> <GiftCardIssueReverse xmlns="http://www.magentaretail.com.au/"> <voucherNumber>GC00000001</voucherNumber> <issueAmount>100</issueAmount> <WebsiteUserCode>MWSTEST</WebsiteUserCode> <WebsitePassword>KXHCQsxzIh</WebsitePassword> </GiftCardIssueReverse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soap:Body> <GiftCardIssueReverseResponse xmlns="http://www.magentaretail.com.au/"> <GiftCardIssueReverseResult> <GiftCardIssueReverseStatus> <VoucherNumber>GC00000001</VoucherNumber> <Success>TRUE</Success> <Reversed>TRUE</Reversed> <errCardInvalid>FALSE</errCardInvalid> <errIssueAmountMismatch>FALSE</errIssueAmountMismatch> <errSubsequentTransactions>FALSE</errSubsequentTransactions> <errReversalIneligible>FALSE</errReversalIneligible> <Reference1>000003</Reference1> </GiftCardIssueReverseStatus> </GiftCardIssueReverseResult> </GiftCardIssueReverseResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||||||||||
|
Sample Decoded Response Content |
<GiftCardIssueReverseStatus> <VoucherNumber>GC00000001</VoucherNumber> <Success>TRUE</Success> <Reversed>TRUE</Reversed> <errCardInvalid>FALSE</errCardInvalid> <errIssueAmountMismatch>FALSE</errIssueAmountMismatch> <errSubsequentTransactions>FALSE</errSubsequentTransactions> <errReversalIneligible>FALSE</errReversalIneligible> <Reference1>000003</Reference1> </GiftCardIssueReverseStatus> |
||||||||||||||||||||||||||||||||||||
|
Notes |
This request will fail if: 1. The card number is invalid (not known in VoucherGeneratedNumbers). errCardInvalid=TRUE. 2. The amount specified in the reversal request does not match the original card issue amount. errIssueAmountMismatch=TRUE. 3. There have been transactions against the card subsequent to the original issue (other than activate/deactivate). errSubsequentTransactions=TRUE. 4. The card was not issued in a way that makes it eligible for reversal. Cards are only eligible for reversal if issued through the EEE IssueCard API or through the proposed EEE card issue screen. In other words, cards issued as part of a POS transaction or as loyalty rewards cannot be reversed. errReversalIneligible=TRUE. If multiple error conditions exist they will all be returned as TRUE in the response XML. Any other failure is likely a system issue and will result in an exception being thrown. On successful reversal, a copy of the rows deleted from VoucherTransaction will be inserted into the GiftCardReversalAudit table, along with a row indicating the reversal. Reversed element in result
XML
The Reversed element specifies whether the card issue was actually reversed (true) or the card was already unissued (false). If this method is called for a card that is unissued in EEE (i.e. EEE never received / processed the original card issue) then the return XML will be: <GiftCardIssueReverseStatus> <VoucherNumber>GC11111111111111209</VoucherNumber> <Success>TRUE</Success> <Reversed>FALSE</Reversed> <errCardInvalid>FALSE</errCardInvalid> <errIssueAmountMismatch>FALSE</errIssueAmountMismatch> <errSubsequentTransactions>FALSE</errSubsequentTransactions> <errReversalIneligible>FALSE</errReversalIneligible> <Reference1 xsi:nil="true"/> </GiftCardIssueReverseStatus> reference1 parameter
If the reference1 parameter is not provided, or provided as blank, EEE automatically assigns a unique hexadecimal string from the range 000002 to FFFFFF as the value of this parameter. This value is then used in the reversal process as per normal. Note that a value is not assigned if the reversal cannot be successfully processed. Reference1 element in result XML
The value of the Reference1 element in the result indicates the transaction number that was used for the reversal process. This will be the value of the reference1 parameter if it was supplied, or the hexadecimal string assigned by EEE if it was not. Note that if a value was not supplied for the reference1 parameter and the reversal cannot be successfully processed, a value is not automatically assigned. In this case, the Reference1 element in the result will be NIL (<Reference1 xsi:nil="true" />) or empty (<Reference1 />) depending on the value supplied for reference1. |
|
Method |
GiftCardReturn |
||||||||||||||||||||||||||||||||||||||||||||||||
|
Intended Usage |
Processes the return of a gift card |
||||||||||||||||||||||||||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||||||||||||||||||||||||||
|
Returns |
XML string that conforms to GiftCardReturn.xsd |
||||||||||||||||||||||||||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soap:Body> <GiftCardReturn xmlns="http://www.magentaretail.com.au/"> <voucherNumber>GC00000001</voucherNumber> <returnAmount>100</returnAmount> <returnBranchCode>99</returnBranchCode> <returnTransactionDate xsi:nil="true"/> <returnTransactionReference>9999000001</returnTransactionReference> <WebsiteUserCode>MWSTEST</WebsiteUserCode> <WebsitePassword>KXHCQsxzIh</WebsitePassword> </GiftCardReturn> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soap:Body> <GiftCardReturnResponse xmlns="http://www.magentaretail.com.au/"> <GiftCardReturnResult> <GiftCardReturnStatus> <VoucherNumber>GC00000001</VoucherNumber> <Success>TRUE</Success> <Returned>TRUE</Returned> <errCardInvalid>FALSE</errCardInvalid> <errCardAlreadyReturned>FALSE</errCardAlreadyReturned> <errCardNotIssued>FALSE</errCardNotIssued> <errReturnAmountMismatch>FALSE</errReturnAmountMismatch> <errCardPostedToExpenses>FALSE</errCardPostedToExpenses> <errCardPostedToRevenue>FALSE</errCardPostedToRevenue> <errCardLost>FALSE</errCardLost> <ReturnTransactionReference>9999000001</ReturnTransactionReference> </GiftCardReturnStatus> </GiftCardReturnResult> </GiftCardReturnResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||||||||||||||||||||||
|
Sample Decoded Response Content |
<GiftCardReturnStatus> <VoucherNumber>GC00000001</VoucherNumber> <Success>TRUE</Success> <Returned>TRUE</Returned> <errCardInvalid>FALSE</errCardInvalid> <errCardAlreadyReturned>FALSE</errCardAlreadyReturned> <errCardNotIssued>FALSE</errCardNotIssued> <errReturnAmountMismatch>FALSE</errReturnAmountMismatch> <errCardPostedToExpenses>FALSE</errCardPostedToExpenses> <errCardPostedToRevenue>FALSE</errCardPostedToRevenue> <errCardLost>FALSE</errCardLost> <ReturnTransactionReference>9999000001</ReturnTransactionReference> </GiftCardReturnStatus> |
||||||||||||||||||||||||||||||||||||||||||||||||
|
Notes |
This request will fail if: 1. The card
number supplied is not known to EEE (in VoucherGeneratedNumbers) errCardInvalid
= TRUE 2. The card
is already returned errCardAlreadyReturned
= TRUE 3. The card
has never been issued errCardNotIssued
= TRUE 4. The
balance amount of the card does not match the requested return amount
errReturnAmountMismatch = TRUE 5. The card
has already been written off to expenses (card was over-redeemed and the
resultant negative balance has been consumed as an expense. errCardPostedToExpenses
= TRUE 6. The card
has already been written off to revenue (card was expired and the remaining
balance has been consumed as revenue. errCardPostedToRevenue = TRUE 7. The card
has been flagged as lost or stolen errCardLost
= TRUE If multiple error conditions exist they will all be returned as
TRUE in the response XML. Returned element in result XML
The Returned element specifies whether the card return was
actually performed (true) or the card was already returned for the same
branch and reference date [if specified] (false). If this method is called with identical
transaction details to a previous card return request the return XML will be: <GiftCardReturnStatus> <VoucherNumber>GC11111111111111209</VoucherNumber> <Success>TRUE</Success> <Returned>FALSE</Returned> <errCardInvalid>FALSE</errCardInvalid> <errCardAlreadyReturned>FALSE</errCardAlreadyReturned> <ReturnTransactionReference xsi:nil="true"/> </GiftCardReturnStatus>
returnTransactionReference parameter
If the returnTransactionReference parameter is not provided, or
provided as blank, EEE automatically assigns a unique hexadecimal string from
the range 000002 to FFFFFF as the value of this parameter. This value is then
used in the returns process as per normal. Note that a value is not assigned if the return cannot be
successfully processed. ReturnTransactionReference element in result XML
The value of the ReturnTransactionReference element in the
result indicates the transaction number that was used for the returns
process. This will be the value of the returnTransactionReference parameter
if it was supplied, or the hexadecimal string assigned by EEE if it was not. Note that if a value was not supplied for the returnTransactionReference
parameter and the return cannot be successfully processed, a value is not
automatically assigned. In this case, the ReturnTransactionReference element
in the result will be NIL (<ReturnTransactionReference xsi:nil="true" />) or
empty (<ReturnTransactionReference
/>) depending on the value supplied for returnTransactionReference. |
|
Method |
GiftCardReturnReverse |
||||||||||||||||||||||||||||||||||||
|
Intended Usage |
Reverses the return of a gift card if
eligible. Intended for use in cases when a response is was not received for
an earlier return request. |
||||||||||||||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||||||||||||||
|
Returns |
XML string that conforms to GiftCardReturnReverse.xsd |
||||||||||||||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soap:Body> <GiftCardReturnReverse xmlns="http://www.magentaretail.com.au/"> <voucherNumber>GC00000001</voucherNumber> <returnAmount>100</returnAmount> <WebsiteUserCode>MWSTEST</WebsiteUserCode> <WebsitePassword>KXHCQsxzIh</WebsitePassword> </GiftCardReturnReverse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soap:Body> <GiftCardReturnReverseResponse xmlns="http://www.magentaretail.com.au/"> <GiftCardReturnReverseResult> <GiftCardReturnReverseStatus> <VoucherNumber>GC00000001</VoucherNumber> <Success>TRUE</Success> <Reversed>TRUE</Reversed> <errCardInvalid>FALSE</errCardInvalid> <errReturnAmountMismatch>FALSE</errReturnAmountMismatch> <errReversalIneligible>FALSE</errReversalIneligible> <Reference1>000004</Reference1> </GiftCardReturnReverseStatus> </GiftCardReturnReverseResult> </GiftCardReturnReverseResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||||||||||
|
Sample Decoded Response Content |
<GiftCardReturnReverseStatus> <VoucherNumber>GC00000001</VoucherNumber> <Success>TRUE</Success> <Reversed>TRUE</Reversed> <errCardInvalid>FALSE</errCardInvalid> <errReturnAmountMismatch>FALSE</errReturnAmountMismatch> <errReversalIneligible>FALSE</errReversalIneligible> <Reference1>000004</Reference1> </GiftCardReturnReverseStatus> |
||||||||||||||||||||||||||||||||||||
|
Notes |
This request will fail if: 1. The card
number is invalid (not known in VoucherGeneratedNumbers). errCardInvalid=TRUE. 2. The
amount specified in the reversal request does not match the original card
return amount. errReturnAmountMismatch=TRUE. 3. The card
was not returned in a way that makes it eligible for reversal. Cards are only eligible for reversal if
returned through the EEE GiftCardReturn API. In other words, cards returned
as part of a POS transaction cannot be reversed. errReversalIneligible=TRUE. If multiple error conditions exist they will all be returned as
TRUE in the response XML. On successful reversal, a copy of the rows deleted from
VoucherTransaction will be inserted into the GiftCardReversalAudit table,
along with a row indicating the reversal. Reversed Element in result XML
The Reversed element specifies whether the card return was
actually reversed (true) or the card was never returned (false). If this method is called for a card that
was never returned in EEE (i.e. EEE never received / processed the original
card return) then the return XML will be: <GiftCardReturnReverseStatus> <VoucherNumber>GC11111111111111209</VoucherNumber> <Success>TRUE</Success> <Reversed>FALSE</Reversed> <errCardInvalid>FALSE</errCardInvalid> <errReturnAmountMismatch>FALSE</errReturnAmountMismatch> <errReversalIneligible>FALSE</errReversalIneligible> <Reference1 xsi:nil="true"/> </GiftCardReturnReverseStatus> reference1 parameter
If the reference1 parameter is not provided, or provided as
blank, EEE automatically assigns a unique hexadecimal string from the range
000002 to FFFFFF as the value of this parameter. This value is then used in
the reversal process as per normal. Note that a value is not assigned if the reversal cannot be
successfully processed. Reference1 element in result XML
The value of the Reference1 element in the result indicates the
transaction reference number that was used for the reversal process. This
will be the value of the reference1 parameter if it was supplied, or the
hexadecimal string assigned by EEE if it was not. Note that if a value was not supplied for the reference1
parameter and the reversal cannot be successfully processed, a value is not
automatically assigned. In this case, the Reference1 element in the result
will be NIL (<Reference1 xsi:nil="true" />) or
empty (<Reference1 />)
depending on the value supplied for reference1. |
|
Method |
GiftCard_Get |
||||||||||||||||||||||||
|
Intended Usage |
Gift Card Details |
||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||
|
Returns |
Xml that conforms to GiftCard_Get.xsd. |
||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <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> <GiftCard_Get xmlns="http://www.magentaretail.com.au/"> <websiteCode>MAGENTA</websiteCode> <maxRows>5</maxRows> <fullLoad>false</fullLoad> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>zZaarDhpS5</websitePassword> </GiftCard_Get> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <GiftCard_GetResponse xmlns="http://www.magentaretail.com.au/"> <GiftCard_GetResult>
<GiftCard_Get ExtractGuid="677EEAE3-FA2D-4E7C-9757-8FA8FD668A50" xmlns="">
<GiftCard xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<VoucherNumber>GC100000000000075648</VoucherNumber>
<CardValid>TRUE</CardValid>
<PinValid>FALSE</PinValid>
<Redeemable>FALSE</Redeemable>
<Balance>0.0000</Balance>
<ExpiryDate>2013-02-10T00:00:00</ExpiryDate>
<Active>TRUE</Active>
<LostStolen>FALSE</LostStolen>
<LostStolenNotes />
<Returned>FALSE</Returned>
<PostedToExpenses>FALSE</PostedToExpenses>
<PostedToRevenue>FALSE</PostedToRevenue>
<StatusReason>Voucher has expired</StatusReason>
</GiftCard>
</GiftCard_Get> </GiftCard_GetResult> </GiftCard_GetResponse> </soap:Body> </soap:Envelope> |
|
Method |
GiftCard_AcknowledgeGet |
||||||||||||||||
|
Intended Usage |
Acknowledge a batch retrieved with GiftCard_Get |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
Boolean
- True on success, False otherwise. |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <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> <GiftCard_AcknowledgeGet xmlns="http://www.magentaretail.com.au/"> <batchId>677EEAE3-FA2D-4E7C-9757-8FA8FD668A50</batchId> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>zZaarDhpS5</websitePassword> </GiftCard_AcknowledgeGet> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <GiftCard_AcknowledgeGetResponse xmlns="http://www.magentaretail.com.au/"> <GiftCard_AcknowledgeGetResult>true</GiftCard_AcknowledgeGetResult> </GiftCard_AcknowledgeGetResponse> </soap:Body> </soap:Envelope> |
|
Method |
CustomerCommunication_GetAvailable |
||||||||||||
|
Intended Usage |
Gets a list of available
communications as configured in EEE by the user |
||||||||||||
|
Parameters |
|
||||||||||||
|
Returns |
Byte[]. GZipped stream of Xml. |
||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerCommunication_GetAvailable xmlns="http://www.magentaretail.com.au/"> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>OHBKfnlkXa</webSitePassword> </CustomerCommunication_GetAvailable> </soap:Body> </soap:Envelope> |
||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerCommunication_GetAvailableResponse xmlns="http://www.magentaretail.com.au/"> <CustomerCommunication_GetAvailableResult>
H4sIAAAAAAAEAHu/e7+NY1liZk5iUk6qc35ubmleZnJiSWZ+nkJFbk5esVVFcaatUkZJSYG
Vvn55ebleubFeflG6vpGBgaF+hK9PcHJGam6ibmZecUliXnKqkp0NFQxR8EyxVTI0NlVScE
ktTi7KLAAZZatUklpcoqSgT0UrTMzQrEgsTgEisCX62IPFDgAjFVu0MgEAAA== </CustomerCommunication_GetAvailableResult> </CustomerCommunication_GetAvailableResponse> </soap:Body> </soap:Envelope> |
||||||||||||
|
Sample Unzipped Response Content |
<AvailableCommunication xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Communication xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Id="135" Description="test" /> <Communication xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Id="146" Description="asdasd" /> </AvailableCommunication> |
|
Method |
CustomerCommunication_Get |
||||||||||||||||||||
|
Intended Usage |
Gets the customer details of the
customers attached to the communication |
||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||
|
Returns |
Byte[]. GZipped stream of Xml. |
||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerCommunication_Get xmlns="http://www.magentaretail.com.au/"> <communicationBatchId>123</communicationBatchId> <communicationBatchDescription /> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>KXHCQsxzIh</webSitePassword> </CustomerCommunication_Get> </soap:Body> </soap:Envelope> |
||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerCommunication_GetResponse xmlns="http://www.magentaretail.com.au/"> <CustomerCommunication_GetResult>
H4sIAAAAAAAACp1ZW2/iOBR+X2n/A+o7hXCZFtQicWvLipaqMJe3VUgOYE0SZ22nlH+/x0kc
koCd7M7T+JwPx+f+2X2YUt+PAuLYgtCg8eV7AR9+cfJ4cxAiHLZax+Px9ti9pWzf6rTbVuvX
63LtHMC3myTgwg4cuGkU9pgBdx5v3hn1qVwOG/1Gs7EBLkq4iS2cw8J9vLE63ZvRn380Gg/T
iAvqA/sAhzL3/x0m3im315S6MBoMBt1vnYdWQVgG2gL2lJ2kroEfHQbEe7wRLEIDWwq8pCfb
E6e3yN8C06ImDI9yMG60jlhg+zCy/qIBcOuhpQSp/okwLqRAv4PtRSKNmgYyPdhsD2PHoVEg
Rm20vyBIUelyjZtFXLvX2HUZcG5VATpVgG4VoKcFvFMuHKNX0Qa9dirNZCetfgYe+QR20tuo
EHojFUJvpULozVSISnMV0Gz23LeJp/fpARPQrNX748n+0upe6ZZ4hlCBzZyD+es5jCEmq4nB
QT7dMzs8EMcU1AxkimsGMoU2A5mim4H6dUDf6oDu6oDu64AGtZzZroWq5XOrltOtWl63arnd
quV3q5bjrVqet2q53qrl+47e94tAAE4RT4002fIvZKoZ2sz9gH8iHMzxZMgt1TfpGxULziOQ
SgkqSfK4KQ2E7cRbFdbZ+W13CQKPEiPOq9IQnhFubz2Iv3YhU1gGLhFL4hOh9cQGJzDH7+N0
NANXzAWWjHNpPsG99UHALpuxBQa4ckedtmU12/dNy9q0B8NOZ9hv31p3XbTxCjibQwGHQDxj
7zbM7gQkt9kQEw0Q9m630B861SeUxPQ1GS5DM3flSaS53Wa737S6GwtttYb93m1fmqsAKZ7R
Iw4mju4fjeN/v15evl4fH1o5xZmkBHtwJ6cPCL2UG6Zc5VKuxhKDHTBAvqcnLGtBwyRV5G65
lUoR8EPKbCR8uWq5FKrS4q82F4qaxoVVlKS4D9iiG96BORg8e28igFtOXJL7VC0Cmnwzz2P1
dGryptWhTys47DMEwPBEMbfw0RiDpyFwM9ir6UhPJJAkPc22NxO9nUQnEuzrIGN+ox8iS/TY
HOO+dhhAMFKuw9tASaMMX2/mX44XcSzPcW8RfFLiACacrMYsOatB590+YE9k0JKuVhScuTxw
jIkxni82z7U+uVdJcsaV218KvhCnv3iDY52mirDaffWtcLmJV1f9+/f8CwsunQs61bnxyzaa
drTReoxNoii6CkxaH94By/BUkcsTTF6yI8VPXJPrf5L7mF5brgY/tIPTDLaCGusRJ5V+9PMl
dWwP2xyDVeCdkg5VkhUvsXgmFs8X/XAMxSoScX3J/fLLi61Md8eEx1dcCBY8bjnESY6uFuf+
C7JfFUd12oevadLffd9M0ziU51cb51dn2OnffrNwfpVwas7YnB/jpwhDc1nSPQmMfnyhEYcD
9VzDnF45ThTGrcM0zA80DLEtPjFJ1QLnZMDGcfqBPtylw/P5+2Jm8H4Ob+BASQ4koTznRLq+
nM6pPw1zKA6X8nMy8w0s2HbjY1qKRaarsr5T0Hfy+vPRc6vsNEfktefjS9SFLDMSy1a8/njH
EaUYDcKviYvPG7GLqypG3exrgVeMYAba3n/gBgqELKQW7Uia0xLcPTBTztnMO62R2XsxF0Dm
Hj8tfZhSoHjqMefUIclDojlxJM+qbmHv2ENgQulvo3l4YcHBA+CWBuxVeb6+MP0X5oOufV4N
wqzZYR7KSeCBACN2/pVc6AxhwKrDHbH89DmT5Onzr2vZW5AW6l6+SJ2rPl5l8XBosCPMz25t
INA/PCkhja7UZZEFmQjF3uiWLKNphNzbGO2Urs0iMJLVM2xmn/Se3GD1yarA6xoTq1CSZuOb
bPbGnTYUpBP301lv2hvcNfuT3qDZ6971moNxe9qczzvT9sDqzMf3ucfr/C9VksVGz+ATz2vI
i/iXDBlBDK/pyp+AFxW8y5pfs7cR2/4k4pA8ReYUYSib3s/X9TtxfuceHDSa4lPtavcBeEuS
xhr6B/sNAodiXGY1YeZUUh0xnkYVbUjWCZifMfMgqwpVyZKmlMkrquFQSNJdULE2xi32RVL0
SC2Oeu8hH1OBU/89E7P4xJXM4dy3DH8iCEkVY1jwdcRDSYb1n3qbLdYGrjPH3N5L9lTvdlkE
G0KdL9H0TQBF+b95jf4Fkjkd/28bAAA= </CustomerCommunication_GetResult> </CustomerCommunication_GetResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||
|
Sample Unzipped Response Content |
<Communication xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" CommunicationDesc="Promotion: 5 - Test" CommunicationBatchId="123"> <CustomerRecord xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <CustomerCode>999362</CustomerCode> <CustomerCategoryCode xsi:nil="true" /> <LoyaltyNumber xsi:nil="true" /> <BranchCode xsi:nil="true" /> <Surname>1Jones1</Surname> <Firstname xsi:nil="true" /> <Salutation xsi:nil="true" /> <ChargeAccount>0</ChargeAccount> <AccountStatus xsi:nil="true" /> <Address1 xsi:nil="true" /> <Address2 xsi:nil="true" /> <Address3 xsi:nil="true" /> <Address4 xsi:nil="true" /> <Postcode xsi:nil="true" /> <State xsi:nil="true" /> <Country xsi:nil="true" /> <Delivery1 xsi:nil="true" /> <Delivery2 xsi:nil="true" /> <Delivery3 xsi:nil="true" /> <Delivery4 xsi:nil="true" /> <DeliveryPostcode xsi:nil="true" /> <DeliveryState xsi:nil="true" /> <Email xsi:nil="true" /> <Phone xsi:nil="true" /> <Phone1 xsi:nil="true" /> <Fax xsi:nil="true" /> <Mobile xsi:nil="true" /> <SearchPhone xsi:nil="true" /> <SearchPhone1 xsi:nil="true" /> <DOB xsi:nil="true" /> <Demographic1 xsi:nil="true" /> <Demographic2 xsi:nil="true" /> <Demographic3 xsi:nil="true" /> <Demographic4 xsi:nil="true" /> <Demographic5 xsi:nil="true" /> <Demographic6 xsi:nil="true" /> <Demographic7 xsi:nil="true" /> <Demographic8 xsi:nil="true" /> <Demographic9 xsi:nil="true" /> <Demographic10 xsi:nil="true" /> <Demographic11 xsi:nil="true" /> <Demographic12 xsi:nil="true" /> <Demographic13 xsi:nil="true" /> <Demographic14 xsi:nil="true" /> <Demographic15 xsi:nil="true" /> <Demographic16 xsi:nil="true" /> <Demographic17 xsi:nil="true" /> <Demographic18 xsi:nil="true" /> <Demographic19 xsi:nil="true" /> <Demographic20 xsi:nil="true" /> <InternalCustomer>0</InternalCustomer> <CardRequest>0</CardRequest> <DoNotIssueCard>0</DoNotIssueCard> <DoNotContact>0</DoNotContact> <DeadLetter>0</DeadLetter> <CustomerDisabled>0</CustomerDisabled> <CreditLimit xsi:nil="true" /> <TransactionLimit xsi:nil="true" /> <OrderNumberRequired xsi:nil="true" /> <DateCustomerCreated>2011-08-11T09:22:50.173</DateCustomerCreated> <ConsentGiven xsi:nil="true" /> <ConsentDateTime xsi:nil="true" /> <StaffId xsi:nil="true" /> <StaffIdBranch xsi:nil="true" /> <Contact xsi:nil="true" /> <ModDate>2013-05-13T12:51:54.573</ModDate> <rowversion>AAAAAAXHHxM=</rowversion> <ChangedByReplication>0</ChangedByReplication> <Preferences xsi:nil="true" /> <StopCredit>0</StopCredit> <TemporaryCustomer>0</TemporaryCustomer> <IsMasterRecord>0</IsMasterRecord> <RebatePercentage xsi:nil="true" /> <SubsidiaryCustomerCategoryCode xsi:nil="true" /> <MasterCustomerCode xsi:nil="true" /> <ABN xsi:nil="true" /> <RepNumber xsi:nil="true" /> <GenerateStatements xsi:nil="true" /> <SendStatementMode xsi:nil="true" /> <FinanceContactName xsi:nil="true" /> <BuyingContactName xsi:nil="true" /> <Email2 xsi:nil="true" /> <LastEditScreen>Customer2</LastEditScreen> <GSTExclusiveA4InvoicePresentation>0</GSTExclusiveA4InvoicePresentation> <GSTRegistered>0</GSTRegistered> <SalesRepCode xsi:nil="true" /> <HasCreditLimit>0</HasCreditLimit> <HasTransactionLimit>0</HasTransactionLimit> <NewCreditLimit xsi:nil="true" /> <NewTransactionLimit xsi:nil="true" /> <Name>1Jones1</Name> <GSTExclusiveA4_Exporter>0</GSTExclusiveA4_Exporter> <CreatedStaffId>SA</CreatedStaffId> <CreatedStaffIdBranch>99</CreatedStaffIdBranch> <LastModifiedStaffId>SA</LastModifiedStaffId> <LastModifiedStaffIdBranch>99</LastModifiedStaffIdBranch> <FinanceCompanyDebtor xsi:nil="true" /> <Gender xsi:nil="true" /> <IsLocalStoreOnly>0</IsLocalStoreOnly> <LoyaltyStartDate xsi:nil="true" /> <OptOutEmail>0</OptOutEmail> <LoyaltyStatus xsi:nil="true" /> <SearchMobile xsi:nil="true" /> <IsGeneric>0</IsGeneric> <IsMemberNumberRequired>0</IsMemberNumberRequired> <UTCLastModDate>2013-05-13T02:52:25.613</UTCLastModDate> <Password xsi:nil="true" /> <LastLoginDate xsi:nil="true" /> <HouseholdId xsi:nil="true" /> <OccupationId xsi:nil="true" /> <ShoppingFrequencyId xsi:nil="true" /> <EmailVerificationGUID xsi:nil="true" /> <IsEmailVerified xsi:nil="true" /> <OptOutMobile>0</OptOutMobile> <PreferencesModDate xsi:nil="true" /> <RequirePasswordChange xsi:nil="true" /> <DeadEmail1>0</DeadEmail1> <DeadEmail2>0</DeadEmail2> <DeadMobile>0</DeadMobile> <RewardPreference>0</RewardPreference> <PromptMVPConversion>0</PromptMVPConversion> <AddressVerifyStatus xsi:nil="true" /> <DeliveryVerifyStatus xsi:nil="true" /> <OriginalMasterCustomerCode xsi:nil="true" /> <CustomerSubCategoryCode xsi:nil="true" /> <DebtorLedgerId xsi:nil="true" /> <EarlySettlementDiscountRate xsi:nil="true" /> <MasterCustomerAssociationDate xsi:nil="true" /> <RebateStartDate xsi:nil="true" /> <PriceBookCode xsi:nil="true" /> <NotExceedCreditLimit>0</NotExceedCreditLimit> <EmailOptInDate xsi:nil="true" /> <SmsOptInDate xsi:nil="true" /> <ProfileCompleteDate xsi:nil="true" /> <ExternalId xsi:nil="true" /> <ModProcess xsi:nil="true" /> <PromptGXConversion>0</PromptGXConversion> <OptOutPost>0</OptOutPost> <ReconfirmCustomerDetails>0</ReconfirmCustomerDetails> <PasswordSalt xsi:nil="true" /> <NagDate xsi:nil="true" /> <CustomerSourceCode xsi:nil="true" /> <InvoiceDueMode xsi:nil="true" /> <InvoiceDueDays xsi:nil="true" /> <TriggerInsertOperation xsi:nil="true" /> <CustomerReferenceId>8CD4C497-5B49-4374-9A0C-EE2C0912EA82</CustomerReferenceId> <SourceDeviceId xsi:nil="true" /> <ReferralSource xsi:nil="true" /> <CustomerSourceWebsiteCode xsi:nil="true" /> <SuburbWithState /> <SuppressWMSPickRequest>0</SuppressWMSPickRequest> <CountryOfResidence xsi:nil="true" /> <MarketingOptIn xsi:nil="true" /> <MarketingOptInDate xsi:nil="true" /> <CategoryChangeDate xsi:nil="true" /> <ReversePhone xsi:nil="true" /> <ReversePhone1 xsi:nil="true" /> <ReverseMobile xsi:nil="true" /> <IsCorporate xsi:nil="true" /> <TradeReferralCode xsi:nil="true" /> <OptInPromptShown xsi:nil="true" /> <IsGuest>0</IsGuest> <IsMobileVerified xsi:nil="true" /> <ExternalId2 xsi:nil="true" /> <ApiModDate xsi:nil="true" /> <IsSuspended xsi:nil="true" /> <NDISID xsi:nil="true" /> <EmergencyContactName xsi:nil="true" /> <EmergencyContactPhone xsi:nil="true" /> </CustomerRecord> </Communication> |
|
Method |
CustomerCommunication_AcknowledgeGet |
||||||||||||||||
|
Intended Usage |
Acknowledges
that the customer records have been retreived for the specified communication
batch |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
Boolean. True if
acknowledgement successful |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerCommunication_AcknowledgeGet xmlns="http://www.magentaretail.com.au/"> <communicationBatchId>123</communicationBatchId> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>KXHCQsxzIh</webSitePassword> </CustomerCommunication_AcknowledgeGet> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerCommunication_AcknowledgeGetResponse xmlns="http://www.magentaretail.com.au/"> <CustomerCommunication_AcknowledgeGetResult>true</CustomerCommunication_AcknowledgeGetResult> </CustomerCommunication_AcknowledgeGetResponse> </soap:Body> </soap:Envelope> |
|
Method |
CustomerCommunication_GetAttachments |
||||||||||||||||
|
Intended Usage |
Using the web reference id supplied in a
customer communication, this is used to get the attachments from EEE for this
communication. E.g. eDocuments from EEPOS Tablet Edition |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
Xml that conforms to
CustomerCommunication_GetAttachments.xsd. |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerCommunication_GetAttachments xmlns="http://www.magentaretail.com.au/"> <communicationWebReferenceId>b7db63c2-546b-e211-be68-002354287e28</communicationWebReferenceId> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>KXHCQsxzIh</webSitePassword> </CustomerCommunication_GetAttachments> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerCommunication_GetAttachmentsResponse xmlns="http://www.magentaretail.com.au/"> <CustomerCommunication_GetAttachmentsResult>
iVBORw0KGgoAAAANSUhEUgAAAfcAAABKCAYAAACmVh04AAAAAXNSR0I
7DAcdvqGQAAAwDSURBVHhe7ZvRkiO5CkT7/3967vR2eNft6yrIBMqyf
…omitted…
YFJR0IQAACEIAAw50egAAEIAABCGxGgOG+WUFJBwIQgAAEIMBwpwcgA
AEIQAACmxFguG9WUNKBAAQgAAEIMNzpAQhAAAIQgMBmBP4HmT1V1aNe
FncAAAAASUVORK5CYII= </CustomerCommunication_GetAttachmentsResult> </CustomerCommunication_GetAttachmentsResponse> </soap:Body> </soap:Envelope> |
|
Method |
CustomerCommunication_GetArchived |
||||||||||||||||
|
Intended Usage |
Get the content of a customer communication for
display in the customers browser |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
Byte[] - gzipped UTF8 encoded byte array of html data. |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerCommunication_GetArchived xmlns="http://www.magentaretail.com.au/"> <communicationWebReferenceId>47e4022c-721d-ef11-a223-dc1ba170a30e</communicationWebReferenceId> <websiteUserCode>MWSTEST</websiteUserCode> <webSitePassword>KXHCQsxzIh</webSitePassword> </CustomerCommunication_GetArchived> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerCommunication_GetArchivedResponse xmlns="http://www.magentaretail.com.au/"> <CustomerCommunication_GetArchivedResult>
H4sIAAAAAAAEAFWNTQrCMBCF94J3GLI304ogSNuFezfiBYYY0sDkh2SKh3PhkbyCoY
Lg9r3vfe/9fA15GnxwUIsZ1SyS6wkxkLNRqFghz9qkoGnBR96ZFKUVuGROdK+47/oD
dkfk5FKvc3QKiGVUl+8erqtATQPmabtpV2fP7KMDs1RJwRawoQEgNmQmsfoH3mbbUg
pAAv+2lfkA0O98CrkAAAA= </CustomerCommunication_GetArchivedResult> </CustomerCommunication_GetArchivedResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Unzipped Response Content |
<p> <img src="https://magentaretail.com.au/wp-content/uploads/2014/07/logo1.png" alt="Magenta Retail"> </p> <p>Billing customer email
template.</p> <p>The team at Magenta Retail.</p> |
|
Method |
CustomerCommunication_GetCustomer |
||||||||||||||||
|
Intended Usage |
Get the CustomerCode of the
CustomerCommunicationDetail record from the Web Reference Id |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
string CustomerCode |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-16"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerCommunication_GetCustomer xmlns="http://www.magentaretail.com.au/"> <communicationWebReferenceId>29E573E4-E6C2-E911-BFE5-1CB72CDEF50E</communicationWebReferenceId> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>lJVlU8EKsY</websitePassword> </CustomerCommunication_GetCustomer> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-16"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerCommunication_GetCustomerResponse xmlns="http://www.magentaretail.com.au/"> <CustomerCommunication_GetCustomerResult>VP98300745</CustomerCommunication_GetCustomerResult> </CustomerCommunication_GetCustomerResponse> </soap:Body> </soap:Envelope> |
|
Method |
CustomerProductEnquiry_Insert |
||||||||||||||||||||
|
Intended Usage |
Commit one Customer Product Enquiry to EEE. This method accepts
a gzipped UTF8 encoded byte array of Customer Product Enquiry xml. The data
must conform to CustomerProductEnquiry.xsd |
||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||
|
Returns |
True on success, false otherwise. |
||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerProductEnquiry_Insert xmlns="http://www.magentaretail.com.au/"> <websiteCode>MAGENTA</websiteCode> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>KXHCQsxzIh</websitePassword> <enquiryXml>
H4sIAAAAAAAEAG2RTU7DMBCFr+ID0DoJsKlGplETYNFWLCp1bepRaglnxHgilLOx4EhcAVOVJEVdvv
e9sefn+/MLVl0UCsgvTK47SN2+d549RnOd9Ab2+Bq94Iocmk35VG93JeipOVSeVFWBvjDg0XOUrQ2J
EZMce9CjBWs7QAE9KKiD9W+lc4wxGkfilsE22IpllETmBwpz24G+yA2tbJJKcfPsb9SRPpSPKvSK2C
GrhnzbPIxd/mXhPHJlBU2R5dksL2ZZscuLxW2+uLtPf00CcN7Tacb9GvRUj4//3+Z18HuAH18jYXme
AQAA </enquiryXml> </CustomerProductEnquiry_Insert> </soap:Body> </soap:Envelope> |
||||||||||||||||||||
|
Sample Unzipped Request Content |
<CustomerProductEnquiries> <CustomerProductEnquiry> <WebsiteCode>MAGENTA</WebsiteCode> <CustomerCode>DD</CustomerCode> <FirstName>Dorothy</FirstName> <LastName>Dot</LastName> <EmailAddress>dotd@magentaretail.com.au</EmailAddress> <CustomerMessage>Hi, how is my order going?</CustomerMessage> <EnquiryDate>2010-12-02T12:31:45</EnquiryDate> <ProductCode>WL</ProductCode> </CustomerProductEnquiry> </CustomerProductEnquiries> |
||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <CustomerProductEnquiry_InsertResponse xmlns="http://www.magentaretail.com.au/"> <CustomerProductEnquiry_InsertResult>true</CustomerProductEnquiry_InsertResult> </CustomerProductEnquiry_InsertResponse> </soap:Body> </soap:Envelope> |
The uri for the web service is the path to the host (e.g. http://localhost/erpwebservice)
The web service is erpwebservice.asmx
All methods listed below are for the erpwebservice.asmx.
There are two web service calls. The first retrieves the data. The second confirms that all data retrieved has been posted. If you don’t call the second web service, the data will be resent next time you call the first web service. The code behind the web service guarantees that all GL data exported will balance – there is no possibility of retrieving an unbalanced GL entry.
|
Method |
GeneralLedger_Get |
||||||||||||||||
|
Intended Usage |
Extract non-exported data from the
General Ledger table in EEE up to and including the specified max date. |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
Returns a gzipped UTF8 encoded byte
array of General Ledger xml data that conforms to GeneralLedgerExchange.xsd |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <GeneralLedger_Get xmlns="http://www.magentaretail.com.au/"> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>KXHCQsxzIh</websitePassword> <maxDate>20121005</maxDate> </GeneralLedger_Get> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <GeneralLedger_GetResponse xmlns="http://www.magentaretail.com.au/"> <GeneralLedger_GetResult>
H4sIAAAAAAAACq2U3W6CMBzF75fsHZreg22BKUaWbDqdiV+R7gEqNEKGlJSyj7dfdaIwsy0RCD
ccDj/Ov6fpYDIbMcXub28AGExma/EOHiVLg8iDz0sIaJwkHkRdghGGINBW7kGCUBdjQiCYsyzj
4VCEWsVICw87UaRq/+CYSF8QLJiUTMUi9eC4SBIQcsXiBAK/yLIk5vL7Y/rkU8N/WZ31afom4o
Avit2GSx0BYdJzkWv3XHJhKmNhYmBkIIdiu49IH2GT2DoCFYolvhLB61DkOpxVZhtLHm8jtVSR
zhExueV5OQApPaM4D/bSabKjfoCu+Ub/Or94xz5OUrfkaCMVK/Z5DoodilD/cO9NEExmvihkwK
ehHhiCTrWVf9beOq+9YR1wTXharfBc07Eb4ew6zjHtu0Y8p8q7Ylrrj53bAs1qkVZrojGtVkRj
Wq2GFmj6hLme1vvZQiUbdlrgVfaItvzOG3SOR+oXyHAo31sFAAA= </GeneralLedger_GetResult> </GeneralLedger_GetResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Unzipped Response Content |
<GLData> <GLRow Branch="HO" Till="072101" cDate="20071122" MappedCode="102" Amount="105.0000" Narration="Full detail" SupplierCode="TEST-SUP" SupplierInvoiceNumber="001289094892" SupplierInvoiceDate="2012-10-05T14:02:01.240" TotalStockCost="35.0000" FreightOtherChargesAmount="25.0000" DiscountAmount="1.0000" TotalRebatesAmount="1.0000" TaxAmount="17.0000" DateToPay="2012-10-15T00:00:00.000" GLSourceId="0" /> <GLRow cDate="20071122" MappedCode="103" Amount="-30.0000" GLSourceId="0" /> <GLRow cDate="20071122" MappedCode="200" Amount="-9.5400" GLSourceId="0" /> <GLRow cDate="20071122" MappedCode="400" Amount="-95.4600" GLSourceId="0" /> <GLRow cDate="20071122" MappedCode="500" Amount="30.0000" GLSourceId="0" /> <GLRow cDate="20071123" MappedCode="102" Amount="0.0000" GLSourceId="0" /> <GLRow cDate="20071123" MappedCode="103" Amount="0.0000" GLSourceId="0" /> <GLRow cDate="20071123" MappedCode="200" Amount="0.0000" GLSourceId="0" /> <GLRow cDate="20071123" MappedCode="400" Amount="0.0000" GLSourceId="0" /> <GLRow cDate="20071123" MappedCode="500" Amount="0.0000" GLSourceId="0" /> <GLRow cDate="20071123" MappedCode="501" Amount="0.0000" GLSourceId="0" /> <GLRow cDate="20071128" MappedCode="100" Amount="150.0000" GLSourceId="0" /> <GLRow cDate="20071128" MappedCode="102" Amount="200.0000" GLSourceId="0" /> </GLData> |
|
Method |
GeneralLedger_AcknowledgeGet |
||||||||||||||||
|
Intended Usage |
Acknowledge the data received from
the GeneralLedger_Get call. Note this will also acknowledge any open GL
Export batch. |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
Boolean – true on success,
false otherwise |
||||||||||||||||
|
Sample Soap
Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <GeneralLedger_AcknowledgeGet xmlns="http://www.magentaretail.com.au/"> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>KXHCQsxzIh</websitePassword> <batchDateTime>20120427230106</batchDateTime> </GeneralLedger_AcknowledgeGet> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap
Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <GeneralLedger_AcknowledgeGetResponse xmlns="http://www.magentaretail.com.au/"> <GeneralLedger_AcknowledgeGetResult>true</GeneralLedger_AcknowledgeGetResult> </GeneralLedger_AcknowledgeGetResponse> </soap:Body> </soap:Envelope> |
|
Method |
StockAdjustment_Put |
||||||||||||||||||||||||||||||||||||||||||||||||
|
Intended Usage |
Stock adjustment on a product for a
branch. |
||||||||||||||||||||||||||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||||||||||||||||||||||||||
|
Returns |
Returns a
StockAdjustmentPutResponse xml data that conforms to
StockAdjustmentPutResponse.xsd |
||||||||||||||||||||||||||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-16"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <StockAdjustment_Put xmlns="http://www.magentaretail.com.au/"> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>lJVlU8EKsY</websitePassword> <userBranchCode>99</userBranchCode> <userCode>sa</userCode> <branchCode>99</branchCode> <productCode>-A-</productCode> <stockLocationCode>MAINSTOCK</stockLocationCode> <reasonCode>STAKE</reasonCode> <quantity>5</quantity> <cost>10</cost> <authorisedBy>Manager</authorisedBy> </StockAdjustment_Put> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-16"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <StockAdjustment_PutResponse xmlns="http://www.magentaretail.com.au/"> <StockAdjustment_PutResult>
<ErrorText>Success</ErrorText>
<StockAdjustmentPut_Success>True</StockAdjustmentPut_Success> </StockAdjustment_PutResult> </StockAdjustment_PutResponse> </soap:Body> </soap:Envelope> |
|
Method |
TransferOut_Put |
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Intended Usage |
Transfer a product out from a source
branch to a destination branch. |
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Returns |
Returns a TransferOutPutResponse
xml data that conforms to TransferOutPutResponse.xsd |
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-16"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <TransferOut_Put xmlns="http://www.magentaretail.com.au/"> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>lJVlU8EKsY</websitePassword> <userBranchCode>99</userBranchCode> <userCode>sa</userCode> <sourceBranchCode>99</sourceBranchCode> <destinationBranchCode>0721</destinationBranchCode> <transferOutMemo>test transfer out</transferOutMemo> <lineItems>
<lineItem>
<productCode>P010290</productCode>
<quantity>2</quantity>
<cost xsi:nil="true" />
</lineItem>
<lineItem>
<productCode> P010291</productCode>
<quantity>1</quantity>
<cost>10</cost>
</lineItem> </lineItems> </TransferOut_Put> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-16"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <TransferOut_PutResponse xmlns="http://www.magentaretail.com.au/"> <TransferOut_PutResult>
<ErrorText>Success</ErrorText>
<TransferOutPut_Success>True</TransferOutPut_Success>
<IbtNumber>21030</IbtNumber> </TransferOut_PutResult> </TransferOut_PutResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Method |
TransferIn_Put |
||||||||||||||||||||||||||||||||||||||||||||||||
|
Intended Usage |
Transfer a product in from an
existing interbranch transfer |
||||||||||||||||||||||||||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||||||||||||||||||||||||||
|
Returns |
Returns a TransferInPutResponse
xml data that conforms to TransferInPutResponse.xsd |
||||||||||||||||||||||||||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-16"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <TransferIn_Put xmlns="http://www.magentaretail.com.au/"> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>lJVlU8EKsY</websitePassword> <userBranchCode>99</userBranchCode> <userCode>sa</userCode> <ibtNumber>21027</ibtNumber> <autoReconciliation>true</autoReconciliation> <lineItems>
<TransferInLineItem>
<productCode>-A-</productCode>
<quantity>3</quantity>
</TransferInLineItem>
<TransferInLineItem>
<productCode>-I-</productCode>
<quantity>2</quantity>
</TransferInLineItem>
<TransferInLineItem>
<productCode>1</productCode>
<quantity>1</quantity>
</TransferInLineItem> </lineItems> </TransferIn_Put> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-16"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <TransferIn_PutResponse xmlns="http://www.magentaretail.com.au/"> <TransferIn_PutResult>
<ErrorText>Success</ErrorText>
<TransferInPut_Success>True</TransferInPut_Success> </TransferIn_PutResult> </TransferIn_PutResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||||||||||||||||||||||
There are two web service calls. The first retrieves the data. The second confirms that all data has been retrieved successfully. If you do not call the second web service, the data will be resent next time you call the first web service.
|
Method |
HostLog_Get |
||||||||||||||||
|
Intended Usage |
Extract non-exported data from the
HostLogExportStaging table in EEE for the specified branch code or all if
this is empty |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
Returns a uncompressed xml data that
conforms to HostLogExchange.xsd |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <HostLog_Get xmlns="http://www.magentaretail.com.au/"> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>KXHCQsxzIh</websitePassword> <branchCode>05</branchCode> </HostLog_Get> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <HostLog_GetResponse xmlns="http://www.magentaretail.com.au/"> <HostLog_GetResult>
<DataSet ExtractGuid="CF32E060-5F72-456B-B7ED-115E2D4D9E32" xmlns="">
<Data>"00004730|0201|20180305|7019","EV","0201",01,"20180305","09:28:27","","","",30,"UPGRD",9,0.00,"Running
PosUpdateCheck","02010120180305","3642","0201","",""</Data>
</DataSet> </HostLog_GetResult> </HostLog_GetResponse> </soap:Body> </soap:Envelope> |
|
Method |
HostLog_AcknowledgeGet |
||||||||||||||||
|
Intended Usage |
Acknowledge the data received from
the HostLog_Get call. |
||||||||||||||||
|
Parameters |
|
||||||||||||||||
|
Returns |
Boolean – true on success,
false otherwise |
||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <HostLog_AcknowledgeGet xmlns="http://www.magentaretail.com.au/"> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>KXHCQsxzIh</websitePassword> <extractGuid>B0619126-F9D2-47E6-8555-59E493F31585</extractGuid> </HostLog_AcknowledgeGet> </soap:Body> </soap:Envelope> |
||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <HostLog_AcknowledgeGetResponse xmlns="http://www.magentaretail.com.au/"> <HostLog_AcknowledgeGetResult>true</HostLog_AcknowledgeGetResult> </HostLog_AcknowledgeGetResponse> </soap:Body> </soap:Envelope> |
|
Method |
GoodsReceipt_Put |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Intended Usage |
Goods receipt without PO from the EEE
web service. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Returns |
Returns a GoodsReceiptPutResponse
xml data that conforms to GoodsReceiptPutResponse.xsd |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-16"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <GoodsReceipt_Put xmlns="http://www.magentaretail.com.au/"> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>lJVlU8EKsY</websitePassword> <userBranchCode>99</userBranchCode> <userCode>01</userCode> <branchCode>99</branchCode> <supplierCode>BREEZE</supplierCode> <supplierInvoiceNumber>20180403_01</supplierInvoiceNumber> <supplierInvoiceDate>2018-04-03T00:00:00</supplierInvoiceDate> <otherReference>Sample Ref #</otherReference> <lineItems>
<GoodsReceiptLineItem>
<productCode>I0011</productCode>
<packSize>1</packSize>
<quantityPacks>2</quantityPacks>
<cost xsi:nil="true" />
</GoodsReceiptLineItem>
<GoodsReceiptLineItem>
<productCode>I0012</productCode>
<packSize>2</packSize>
<quantityPacks>1</quantityPacks>
<cost>10.5</cost>
</GoodsReceiptLineItem> </lineItems> <additionalCharges>5</additionalCharges> <totalDiscount>10</totalDiscount> <totalGST>0</totalGST> </GoodsReceipt_Put> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-16"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <GoodsReceipt_PutResponse xmlns="http://www.magentaretail.com.au/"> <GoodsReceipt_PutResult>
<ErrorText>Success</ErrorText>
<GoodsReceiptPut_Success>True</GoodsReceiptPut_Success>
<GoodsReceiptPut_Tranno>99999900456218</GoodsReceiptPut_Tranno> </GoodsReceipt_PutResult> </GoodsReceipt_PutResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Method |
RTS_Put |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Intended Usage |
Return to Supplier from the EEE web
service. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Parameters |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Returns |
Returns a RTSPutResponse xml
data that conforms to RTSPutResponse.xsd |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Sample Soap Request |
<?xml version="1.0" encoding="utf-16"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <RTS_Put xmlns="http://www.magentaretail.com.au/"> <websiteUserCode>MWSTEST</websiteUserCode> <websitePassword>lJVlU8EKsY</websitePassword> <userBranchCode>99</userBranchCode> <userCode>01</userCode> <branchCode>99</branchCode> <supplierCode>BREEZE</supplierCode> <lineItems>
<ReturnToSupplierLineItem>
<productCode>I0011</productCode>
<packSize>1</packSize>
<quantityPacks>1</quantityPacks>
<cost xsi:nil="true" />
</ReturnToSupplierLineItem>
<ReturnToSupplierLineItem>
<productCode>I0012</productCode>
<packSize>2</packSize>
<quantityPacks>1</quantityPacks>
<cost>11.95</cost>
</ReturnToSupplierLineItem> </lineItems> <returnAuthorityNumber>20180403_02</returnAuthorityNumber> <additionalReference>RTS Sample</additionalReference> </RTS_Put> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Sample Soap Response |
<?xml version="1.0" encoding="utf-16"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <RTS_PutResponse xmlns="http://www.magentaretail.com.au/"> <RTS_PutResult>
<ErrorText>Success</ErrorText>
<RTS_Success>True</RTS_Success>
<RTS_Tranno>99999900456220</RTS_Tranno> </RTS_PutResult> </RTS_PutResponse> </soap:Body> </soap:Envelope> |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Web Method |
Exception |
Cause |
Solution |
|
All
methods |
NotLicencedException |
The
EEE installation is not licenced for WebSiteIntegration |
Contact
Magenta Support |
|
CustomerRegistration |
A customer record already exists with this email address |
A customer record already exists with this email address |
Email addresses must be
unique in EEE. |
|
|
A customer code must be
supplied when Auto-Generate Customer Numbers is not enabled in EEE |
The
Auto –generate customer numbers option is turned off |
Turn
the option on in EEE or supply data in the CustomerCode field |
|
|
The customer code cannot be blank |
A customer code was not
passed on a new customer and the Auto –generate customer numbers option is
turned off |
Turn the option on in EEE or
supply data in the CustomerCode field |
|
CustomerConfirmation CustomerConfirmationWithDetails |
The
supplied email id is invalid |
The
email id (which is a GUID) is not a valid guid. |
It
may be that the customer copied and pasted the confirmation link into their
browser. They need to retry. |
|
|
The Email Id passed is not recognised. Confirmation was not
successful |
The email id was not located
in the database |
It may be that the customer
copied and pasted the confirmation link into their browser. They need to
retry. |
|
CustomerDetails CusotmerDetailsWithParameters |
An email address or
loyalty card number must be supplied |
An email address or
loyalty card number must be supplied |
Supply
required details |
|
|
Either a password, date of birth, surname, postcode, phone
or mobile number must be supplied for a details enquiry |
Either a password, date
of birth, surname, postcode, phone or mobile number must be supplied for a
details enquiry |
Supply required details |
|
|
Customer identity not
verified. The loyalty card number or email address and at least 2 other items
must be supplied correctly |
Customer identity not
verified. The loyalty card number or email address and at least 2 other items
must be supplied correctly |
Supply
required details |
|
CustomerValidateLogin |
An email address or loyalty card number must be supplied |
|
|
|
|
The email address or
password supplied is invalid or the email address has not been confirmed |
|
|
|
|
The email address supplied has not yet been confirmed |
|
|
|
CustomerValidateLoginOffline |
A loyalty card number
must be supplied |
|
|
|
|
The loyalty card does not exist or has expired |
|
|
|
|
Customer identity not
verified. The loyalty card number and at least 2 other items must be supplied
correctly |
|
|
|
CustomerForgotPassword |
The email address or loyalty card number supplied is
invalid |
|
|
|
|
The email address has
not been verified |
|
|
|
CustomerEmailExists |
An email address is required. |
|
|
|
CouponRedemption |
A customer code is
required. |
|
|
|
|
A coupon code is required. |
|
|
|
|
A promotion coupon id or
a coupon code must be specified |
|
|
|
|
A valid promotion coupon must be specified. The coupon
entered does not exist or has expired |
|
|
|
CouponValid |
A customer code is
required. |
|
|
|
|
A coupon code is required. |
|
|
|
CouponsAvailableToCustomer |
A customer code is
required. |
|
|
EEE clients can restrict access to the EEE web service by setting which methods a website can access.
Prior to enabling the
configuration option “Use EEE web service user authorisation” any existing
consumers of the EEE web service must have:
1. been issued a User code and Password (see
below)
2. been given access to the methods that they
currently consume
3. been assigned the WEBSITE codes they can
access (see allowed websites below)
4. implemented the use of the
EEEWebServiceAuth.asmx web service and the use of the user code and password
parameters on the web service methods.
To
configure EEE web service users, go to
EEE->Utilities->Configuration->EEE Web Service Users
Click
Add and enter a user code, any applicable notes and select the methods that
this user can access. If multiple website support is enabled then you must also
specify which website codes this user can access.
Copy the password at this
point as once it is saved it will not be re-displayed. If the password is lost
by the consumer or by the EEE user then a new password must be generated using
the Generate Password button
EEE clients can customise the output of some methods using the Customise Website Fields function in EEE (EEE->Location Management->Websites or EEE->ConfigurationSettings->General).
An example of this is the Price_Get method. By default this method returns BranchCode, ProductCode, RetailPrice and PromotionPrice.
However the method can be configured to also return fields such as FullPrice, DutyFreePrice, RRP, PromotionCode, MemberPrice should the client require this information to be sent to their website.
NOTE: When customised
website fields are in use, the values returned by the web service are in the
same case as they are displayed on the screen. I.e.: they may not match the
XSD’s provided.
Additional demographic questions can be recorded in EEE to collect specific information from a customer.
Below details the different types of questions and how they behave.
In a text question the user can respond with plain text.
Question format example:
<DemographicQuestions QuestionId="1" QuestionText="Sports" QuestionType="TEXT">
</DemographicQuestions>
Answer format example:
<DemographicQuestions QuestionId="1" Answer="This is a text answer"/>
In a text question the user can respond with a date. The answer is formatted YYYYMMDD.
Question format example:
<DemographicQuestions QuestionId="1" QuestionText="Date purchased" QuestionType="DATE">
</DemographicQuestions>
Answer format example:
<DemographicQuestions QuestionId="1" Answer="20100101"/>
In a boolean question the user can respond yes or no.
Question format example:
<DemographicQuestions QuestionId="2" QuestionText="Has equipment" QuestionType="BOOL">
</DemographicQuestions>
Answer format example:
<DemographicQuestions QuestionId="2" Answer="true"/>
In a MLIST (Multi select list) question the user can respond with one or more responses from a predefined list of responses. The list of responses is detailed in the DemographicResponses nodes within the DemographicQuestions node.
Question format example:
<DemographicQuestions QuestionId="9" QuestionText="Sports Played" QuestionType="MLIST" ResponseGroup="SPORTSPLAYED">
<DemographicResponses Answer="200" AnswerText="AFL" Inactive="1" />
<DemographicResponses Answer="201" AnswerText="Baseball" BranchCode="007" />
<DemographicResponses Answer="202" AnswerText="Foosball " Inctive="1" BranchCode="007" />
<DemographicResponses Answer="203" AnswerText="Football" />
<DemographicResponses Answer="210" AnswerText="Other" />
</DemographicQuestions>
Answer format example:
<DemographicQuestions QuestionId="9" Answer="200"/>
<DemographicQuestions QuestionId="9" Answer="201"/>
In a SLIST (Single select list) question the user can respond by selecting a single response from a predefined list of responses. The list of responses is detailed in the DemographicResponses nodes within the DemographicQuestions node.
Question format example:
<DemographicQuestions QuestionId="50" QuestionText="Sports Played" QuestionType="SLIST" ResponseGroup="SPORTSPLAYED">
<DemographicResponses Answer="200" AnswerText="AFL" />
<DemographicResponses Answer="201" AnswerText="Baseball" BranchCode="007" />
<DemographicResponses Answer="202" AnswerText="Foosball " Inctive="1" BranchCode="007" />
<DemographicResponses Answer="203" AnswerText="Football" />
</DemographicQuestions>
Answer format example:
<DemographicQuestions QuestionId="50" Answer="200"/>
How and when a
question is displayed can be dependent on the answer the user provides to
another question. This is where the DependsonQuestionId is used.
Question format example:
<DemographicQuestions QuestionId="10" QuestionText="Other" QuestionType="TEXT" DependsOnQuestionId="9" DependsOnValue="Other" DependsOnAction="SHOW" ResponseGroup="" />
Answer format example:
<DemographicQuestions QuestionId="10" Answer="Fencing"/>
In the example
above:
-
Question
10 depends on the answer to Question 9 (DependsOnQuestionId=”9”)
-
If the
answer to Question 9 includes “Other” (DependsOnValue=”Other”) then Question 10
is shown (DependsOnAction=”SHOW”).
There are 2 depends
on action types.
-
SHOW –
show the question if the dependencies are met.
-
REPEAT
– repeat the question for the number of times in the DependsOnValue attribute.
For grouped questions new responses are denoted by a negative parent id. A positive parent id will update existing answers. The parent id of existing records is returned in the CustomerDetails function.
In the example question below the repeating group question relies on the answer to question 3. In the example answer for Question 3 the Answer is 2 so there will be 2 groups of responses for question 4 and its associated questions (denoted by the parentquestionid in the example question).
Question format example:
<DemographicQuestions QuestionId="3" QuestionText="Number of footballs" QuestionType="NUM"/>
<DemographicQuestions QuestionId="4" QuestionText="Number of footballs" QuestionType="GROUP" DependsOnQuestionId="3" DependsOnAction="REPEAT" />
<DemographicQuestions QuestionId="5" ParentQuestionId="4" QuestionText="Brand Name" QuestionType="TEXT" />
<DemographicQuestions QuestionId="6" ParentQuestionId="4" QuestionText="Date of purchase" QuestionType="DATE" />
</DemographicQuestions>
Answer format example:
<DemographicQuestions QuestionId="3" Answer="3" />
<DemographicQuestions QuestionId="4" ParentId="-1" Answer="0">
<AssociatedAnswers QuestionId="5" ParentId="-1" Answer="Sherrin" />
<AssociatedAnswers QuestionId="6" ParentId="-1" Answer="20100101" />
</DemographicQuestions>
<DemographicQuestions QuestionId="4" ParentId="-2" Answer="1">
<AssociatedAnswers QuestionId="5" ParentId="-2" Answer="KickIt" />
<AssociatedAnswers QuestionId="6" ParentId="-2" Answer="20100102" />
</DemographicQuestions>
<DemographicQuestions QuestionId="4" ParentId="-3" Answer="2">
<AssociatedAnswers QuestionId="5" ParentId="-3" Answer="Beach Sports" />
<AssociatedAnswers QuestionId="6" ParentId="-3" Answer="20100102" />
</DemographicQuestions>
The methods in the EEE web service implement an interface version setting that is maintained in EEE against each website code. The default interface version for all methods is version 1.
To configure the interface version for web service methods go into EEE -> Location Management -> Websites (or EEE -> Utilities -> Configuration Settings if only using a single website configuration). Select the website and click Interface Version Overrides.
Associated Xml and Xsd files exist for each interface version E.g. in the Xsd.zip file there is a CustomerLoyaltyStatementv2.xsd file and in the XmlSample.zip file there is a CustomerLoyaltyStatementv2.xml.
Only interface
version 1 is supported in the EEEWebservice.asmx (non-authorising version of
the web service interface)
The EEE web service can output different status information for many items. A list of these status codes, where they are used and their meanings are below.
|
Function
/ Area |
Methods |
Status
Type |
Status
Value |
Description |
|
Customer Orders |
CustomerOrderLineStatus_Get |
PPDStatus |
0 |
Back Order |
|
|
|
PPDStatus |
1 |
Awaiting Pick |
|
|
|
PPDStatus |
2 |
Picking |
|
|
|
PPDStatus |
3 |
Picked awaiting pack |
|
|
|
PPDStatus |
4 |
Packed awaiting despatch |
|
|
|
PPDStatus |
5 |
Packed awaiting collection |
|
|
|
PPDStatus |
6 |
Finalised (despatched or collected) |
|
|
CustomerOrderLineStatus_Get |
Status |
O |
On Order |
|
|
|
Status |
C |
Cancelled |
|
|
|
Status |
Taken |
Taken (or despatched) |
EEE has the ability
to support multiple addresses for Customers.
Address and
delivery address in each customer record that were migrated to the new Address
system are addresses available with special descriptions In-store address and In-store
delivery address respectively. These descriptions identify that these
are migrated addresses and are also used by EEE to keep the customer address
fields in the customer record and the migrated CustomerAddress records in sync.
Until such a time
when all systems are updated to use the multiple address system and all
references to the existing system are removed, EEE will sync changes between
the address fields in Customer and records in the CustomerAddress table. This
means that changes to one will also update the other, and is done by using the
special descriptions mentioned above.
As of EEE 1.76 SR05 the Notes elements within addresses is split and saved into ShippingInstruction1 and ShippingInstruction2 fields in the CustomerAddress table.
The Customer address book system introduced in EEE 1.78.0 uses ISO codes for the following address components in EEE:
· State (or Subdivision) uses the ISO 3166-2 codes. E.g. AU-QLD, NZ-AUK etc. Usually referred to as IsoSubdivisionCode.
· Country uses the ISO 3166-1 alpha-2 (two-letter) country codes. E.g. AU, NZ etc. Usually referred to as IsoCountryCode.
EEE supports most of the prominent codes for both States and Countries out of the box. Additional configuration may be necessary in order to ensure EEE can receive addresses with newer / less used codes.
The Sale_Insert, Sale_Insert_With_Result and Sales_Insert methods can all return an error code. Below are the possible codes that can be returned.
|
Return Code |
Text |
|
0 |
Success |
|
1 |
Import_SaleHeader must contain exactly 1 sale. |
|
2 |
Import_SaleLine contains multiple sales. Only one sale at a time may be imported |
|
3 |
Import_TenderDetail contains multiple sales. Only one sale at a time may be imported |
|
4 |
A sale must have at least one line item |
|
5 |
A sale must have at least one tender item |
|
6 |
This sale is associated with an invalid customer code |
|
7 |
This sale is associated with an invalid branch code |
|
8 |
Total tendered does not match total line sale value |
|
9 |
Insert into SaleHeader failed. |
|
10 |
Insert into SaleLine failed. |
|
11 |
Stock update failed |
|
12 |
Insert into TenderDetail failed |
|
13 |
Insert into GL working table failed |
|
14 |
Insert into GeneralLedger failed |
|
15 |
This sale contains one or more invalid product codes |
|
16 |
This sale is for an invalid Sale Branch Code |
|
17 |
This sale is for an invalid Stock Branch Code |
|
18 |
Import Sale Header source table does not exist. |
|
19 |
Import Sale Line source table does not exist. |
|
20 |
Import Tender Detail source table does not exist. |
|
21 |
A transaction with the specified Transaction Id 'xxxxxx' and
Date 'yyyy-MM-ddThh:mi:ss' already exists. |
|
22 |
This sale includes a gift card product with no gift card number
supplied. |
|
23 |
No longer used |
|
24 |
No longer used |
|
25 |
A CSR HD sale must not have any tender items |
|
26 |
A transaction with the specified Order Id 'xxxxxxx' and Date 'yyyy-MM-ddThh:mi:ss'
already exists. |
|
27 |
Gift card number GCNNNNNNNNNNNNNNNNNN has already been issued
and cannot be sold |
|
28 |
Attempting to finalise a CSR HD order that does not exist in
EEE. |
|
29 |
<unused> |
|
30 |
Gift card number GCNNNNNNNNNNNNNNNNNN has already been returned. |
|
31 |
Gift card number GCNNNNNNNNNNNNNNNNNN has not been issued and
cannot be returned. |
|
32 |
Gift card number GCNNNNNNNNNNNNNNNNNN must have a value greater
than 0. |
|
33 |
Gift card number GCNNNNNNNNNNNNNNNNNN value must match the
amount returned. |
|
34 |
Gift card numbers cannot be repeated across multiple sale lines |
|
35 |
Import Line Discount Detail source table does not exist |
|
36 |
Order Id must be supplied when Suffix Order Id is ON |
|
37 |
Could not acquire lock to compute next Order Id Suffix. Please
try again later. |
|
38 |
Failed to generate Order Id suffix |
|
39 |
Could not acquire lock for allocating return to suffixed Order
Ids. Please try again later. |
|
100 |
The sale is for an invalid Sale Branch Code |
|
101 |
The sale has an invalid Transaction Date. |
|
102 |
The sale contains items with APNs that cannot be converted to
product codes |
|
103 |
The website user is not permitted to insert sales for this
website code |
|
104 |
The sale contains duplicate Salelineid values |
|
105 |
The sale contains some lines with Salelineid values and some
lines without SalelineId values. This is not supported |
|
106 |
A sale may not be imported if the sale date is older than X days |
The GoodwillCredit_Insert method returns a numeric return code:
|
Code |
Description |
|
0 |
Success |
|
1 |
Original Order ID Not Found |
|
2 |
Original Order Line(s) Not Found |
|
3 |
Credit Amount Exceeds Original Order |
|
4 |
Credit Amount Exceeds Original Order Line(s) |
|
5 |
Credit Reason Code Not Found |
|
6 |
Goodwill Credit ID already exists |