Richemont.Booster2.PublicApi

<back to all web services

ExportCustomer

Requires Authentication
The following routes are available for this service:
POST/customer/{brand}/exportExport Customer Data
ExportCustomer Parameters:
NameParameterData TypeRequiredDescription
downloadRequestIdbodystringYesExport Request ID of the API Consumers
SearchCustomer Parameters:
NameParameterData TypeRequiredDescription
brandformstringYesBrand
posCodesformList<string>YesPOS Legacy
searchKeyformstringNoSearch key could be: 'Name', 'Email', 'Phone' without prefix, 'BoosterCustomerId' OR 'SapCRMId'
phoneNumberformstringNoSearch by phone number - exact match
emailformstringNoSearch by email address - exact match
locationCountryIdsformList<string>NoValues can be 'it', 'en' etc.
clientSpendingFromformdouble?NoClient Spending From e.g. '100'
clientSpendingToformdouble?NoClient Spending To e.g. '50000'
creationDateFromformDateTime?NoCustomer Creation Date From e.g. '2022-01-01'
creationDateToformDateTime?NoCustomer Creation Date To e.g. '2023-11-01'
transactionDateFromformDateTime?NoTransaction Date From e.g. '2022-01-01'
transactionDateToformDateTime?NoTransaction Date To e.g. '2023-11-01'
canBeContactedByMaisonformbool?NoValues can be 'true' or 'false'
birthdateMonthsformList<int>NoValues can be 1 for 'January', 2 for 'February', 3 for 'March', 4 for 'April', 5 for 'May', 6 for 'June', 7 for 'July', 8 for 'August', 9 for 'September', 10 for 'October', 11 for 'November', 12 for 'December'
interestsformList<GetCustomerInterest>NoCustomer interest filter
hobbiesformList<GetCustomerHobby>NoCustomer hobby filter
productCollectionsformList<GetCustomerProductCollection>NoCustomer product collection filter
customerStatusformList<string>NoCustomer Status e.g. 'Prospect', 'Client'
boosterCustomerIdsformList<int>NoList of BoosterCustomerIds, e.g. 1234567,1231231,12323423
hasSapCrmErrorformbool?NoValues can be 'true' or 'false'
productCategoriesformList<ProductCategory>NoProduct Categories
saleRepresentativeEmailsformList<string>NoSale Reprentative Emails
GetCustomerInterest Parameters:
NameParameterData TypeRequiredDescription
interestformstringYesInterest description
sapInterestIdformstringYesSAP Interest ID, e.g. 'CA-1'
GetCustomerHobby Parameters:
NameParameterData TypeRequiredDescription
hobbyformstringNoHobby description
sapHobbyIdformstringNoSAP Hobby ID, e.g. 'ART'
GetCustomerProductCollection Parameters:
NameParameterData TypeRequiredDescription
productCollectionformstringYesProduct Collection description
sapProductCollectionIdformstringYesSAP ProductCollection ID, e.g. 'CA-1'
ProductCategory Parameters:
NameParameterData TypeRequiredDescription
brandCategoryIdformstringNoBrand Category ID
grandCategoryIdformstringYesGrand Category ID
masterCategoryIdformstringNoMaster Category ID
categoryIdformstringNoCategory ID
subCategoryIdformstringNoSub Category ID
ExportCustomerResponse Parameters:
NameParameterData TypeRequiredDescription
asyncTaskIdformGuidYesUnique Identifier of the Export Request created

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /customer/{brand}/export HTTP/1.1 
Host: dev-api-booster.richemont.com 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<ExportCustomer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Richemont.Booster2.PublicApi.CRM.ServiceModel">
  <birthdateMonths xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>0</d2p1:int>
  </birthdateMonths>
  <boosterCustomerIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>0</d2p1:int>
  </boosterCustomerIds>
  <brand>String</brand>
  <canBeContactedByMaison>false</canBeContactedByMaison>
  <clientSpendingFrom>0</clientSpendingFrom>
  <clientSpendingTo>0</clientSpendingTo>
  <creationDateFrom>0001-01-01T00:00:00</creationDateFrom>
  <creationDateTo>0001-01-01T00:00:00</creationDateTo>
  <customerStatus xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </customerStatus>
  <email>String</email>
  <hasSapCrmError>false</hasSapCrmError>
  <hobbies>
    <GetCustomerHobby>
      <hobby>String</hobby>
      <sapHobbyId>String</sapHobbyId>
    </GetCustomerHobby>
  </hobbies>
  <interests>
    <GetCustomerInterest>
      <interest>String</interest>
      <sapInterestId>String</sapInterestId>
    </GetCustomerInterest>
  </interests>
  <locationCountryIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </locationCountryIds>
  <phoneNumber>String</phoneNumber>
  <posCodes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </posCodes>
  <productCategories xmlns:d2p1="http://schemas.datacontract.org/2004/07/Richemont.Booster2.PublicApi.Common.ServiceModel">
    <d2p1:ProductCategory>
      <d2p1:brandCategoryId>String</d2p1:brandCategoryId>
      <d2p1:categoryId>String</d2p1:categoryId>
      <d2p1:grandCategoryId>String</d2p1:grandCategoryId>
      <d2p1:masterCategoryId>String</d2p1:masterCategoryId>
      <d2p1:subCategoryId>String</d2p1:subCategoryId>
    </d2p1:ProductCategory>
  </productCategories>
  <productCollections>
    <GetCustomerProductCollection>
      <productCollection>String</productCollection>
      <sapProductCollectionId>String</sapProductCollectionId>
    </GetCustomerProductCollection>
  </productCollections>
  <saleRepresentativeEmails xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </saleRepresentativeEmails>
  <searchKey>String</searchKey>
  <transactionDateFrom>0001-01-01T00:00:00</transactionDateFrom>
  <transactionDateTo>0001-01-01T00:00:00</transactionDateTo>
  <downloadRequestId>String</downloadRequestId>
</ExportCustomer>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ExportCustomerResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Richemont.Booster2.PublicApi.CRM.ServiceModel">
  <asyncTaskId>00000000-0000-0000-0000-000000000000</asyncTaskId>
</ExportCustomerResponse>