Booster.Microservices

<back to all web services

SitesRequest

Requires Authentication
The following routes are available for this service:
GET/warranty/v1/sites
BaseRequest<TResponse> Parameters:
NameParameterData TypeRequiredDescription
sidformstringNo
appformstringNo
_osformstringNo
_appVersionformstringNo
_searchMethodformstringNo
SitesResponse Parameters:
NameParameterData TypeRequiredDescription
sitesformList<Site>No
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
_xmlnsformstringNo
_typeformstringNo
_sourceformstringNo
_tstampformstringNo
_userformstringNo
_envformstringNo
_uriformstringNo
_queryformstringNo
Site Parameters:
NameParameterData TypeRequiredDescription
objectformstringNo
idformintNo
nameformstringNo
addressformAddressNo
brandsformList<Brand>No
usersformList<User>No
isNfcActiveformintNo
isIOsEmbReaderEnableformintNo
crmPrivacyPolicyMandatoryformboolNo
crmAllowStoreDataAbroadVisibleformboolNo
displayFirstLastNameNotLatinformboolNo
languageTransliterationformstringNo
crmPrivacyPolicyTimeValleeMandatoryformboolNo
crmAllowStoreDataAbroadTimeValleeVisibleformboolNo
allowToCreateEndCustomerOutsideChinaformboolNo
isTimeValleeformboolNo
doNotDisplayPOSDataInDisclaimersformboolNo
crmFirstNameMandatoryformboolNo
manageOwnStockformboolNo
crmCityMandatoryformboolNo
Address Parameters:
NameParameterData TypeRequiredDescription
line1formstringNo
cityformstringNo
zipCodeformstringNo
countryCodeformstringNo
Brand Parameters:
NameParameterData TypeRequiredDescription
brandformstringNo
lastStockTakingDateformstringNo
isAutomaticInvoiceNumberEnabledformintNo
saleRepRequiredformboolNo
crmSaleRepRequiredformboolNo
showPromoterTypeformboolNo
stockOwnerformintNo
User Parameters:
NameParameterData TypeRequiredDescription
objectformstringNo
idformstringNo
brandformstringNo
displayNameformstringNo
SitesResponse Parameters:
NameParameterData TypeRequiredDescription
sitesformList<Site>No

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

HTTP + JSV

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

GET /warranty/v1/sites HTTP/1.1 
Host: qp-microservices-booster.richemont.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	sites: 
	[
		{
			object: String,
			id: 0,
			name: String,
			address: 
			{
				line1: String,
				city: String,
				zipCode: String,
				countryCode: String
			},
			brands: 
			[
				{
					brand: String,
					lastStockTakingDate: String,
					isAutomaticInvoiceNumberEnabled: 0,
					saleRepRequired: False,
					crmSaleRepRequired: False,
					showPromoterType: False,
					stockOwner: 0
				}
			],
			users: 
			[
				{
					object: String,
					id: String,
					brand: String,
					displayName: String
				}
			],
			isNfcActive: 0,
			isIOsEmbReaderEnable: 0,
			crmPrivacyPolicyMandatory: False,
			crmAllowStoreDataAbroadVisible: False,
			displayFirstLastNameNotLatin: False,
			languageTransliteration: String,
			crmPrivacyPolicyTimeValleeMandatory: False,
			crmAllowStoreDataAbroadTimeValleeVisible: False,
			allowToCreateEndCustomerOutsideChina: False,
			isTimeVallee: False,
			doNotDisplayPOSDataInDisclaimers: False,
			crmFirstNameMandatory: False,
			manageOwnStock: False,
			crmCityMandatory: False
		}
	],
	_xmlns: String,
	_type: String,
	_source: String,
	_tstamp: String,
	_user: String,
	_env: String,
	_uri: String,
	_query: String
}