Booster.Microservices

<back to all web services

EditAndConnectCustomerRequest

Requires Authentication
The following routes are available for this service:
POST/warranty/v1/card/{cardId}/editCustomer
EditAndConnectCustomerRequest Parameters:
NameParameterData TypeRequiredDescription
customerIdbodyGuidNo
personIdbodyGuidNo
addressIdbodyGuidNo
phoneIdbodyGuid?No
emailIdbodyGuid?No
cardIdpathstringNo
customerRefbodystringNo
titlebodyint?No
firstNamebodystringNo
lastNamebodystringNo
firstNameNotLatinbodystringNo
lastNameNotLatinbodystringNo
birthdaybodyDateTime?No
weddingDatebodyDateTime?No
emailbodystringNo
canBeContactedbodyboolNo
languagebodystringNo
nameSuffixbodystringNo
genderbodystringNo
middleNamebodystringNo
countryIdbodystringNo
phoneCountryIdbodystringNo
prefixCountryIdbodystringNo
phonebodystringNo
posIdbodyintNo
birthDayEventIdbodyGuid?No
salePersonIdbodystringNo
allowStoreDataAbroadbodybool?No
tvAllowStoreDataAbroadbodybool?No
contactByMailbodyboolNo
contactByEmailbodyboolNo
contactByPhonebodyboolNo
contactBySMSbodyboolNo
contactBySocialMediabodyboolNo
streetbodystringNo
houseNumberbodystringNo
citybodystringNo
postalCodebodystringNo
regionbodystringNo
street2bodystringNo
street3bodystringNo
street4bodystringNo
street5bodystringNo
BaseRequest<TResponse> Parameters:
NameParameterData TypeRequiredDescription
sidformstringNo
appformstringNo
_osformstringNo
_appVersionformstringNo
_searchMethodformstringNo
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
_xmlnsformstringNo
_typeformstringNo
_sourceformstringNo
_tstampformstringNo
_userformstringNo
_envformstringNo
_uriformstringNo
_queryformstringNo

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.

POST /warranty/v1/card/{cardId}/editCustomer HTTP/1.1 
Host: qp-microservices-booster.richemont.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	customerId: 00000000000000000000000000000000,
	personId: 00000000000000000000000000000000,
	addressId: 00000000000000000000000000000000,
	phoneId: 00000000000000000000000000000000,
	emailId: 00000000000000000000000000000000,
	cardId: String,
	customerRef: String,
	title: 0,
	firstName: String,
	lastName: String,
	firstNameNotLatin: String,
	lastNameNotLatin: String,
	birthday: 0001-01-01,
	weddingDate: 0001-01-01,
	email: String,
	canBeContacted: False,
	language: String,
	nameSuffix: String,
	gender: String,
	middleName: String,
	countryId: String,
	phoneCountryId: String,
	prefixCountryId: String,
	phone: String,
	posId: 0,
	birthDayEventId: 00000000000000000000000000000000,
	salePersonId: String,
	allowStoreDataAbroad: False,
	tvAllowStoreDataAbroad: False,
	contactByMail: False,
	contactByEmail: False,
	contactByPhone: False,
	contactBySMS: False,
	contactBySocialMedia: False,
	street: String,
	houseNumber: String,
	city: String,
	postalCode: String,
	region: String,
	street2: String,
	street3: String,
	street4: String,
	street5: String,
	sid: String,
	app: String,
	_os: String,
	_appVersion: String,
	_searchMethod: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	_xmlns: String,
	_type: String,
	_source: String,
	_tstamp: String,
	_user: String,
	_env: String,
	_uri: String,
	_query: String
}