Booster.Microservices

<back to all web services

CreateReturnWarrantyCardRequest

Requires Authentication
The following routes are available for this service:
POST/warranty/v1/site/{siteId}/returnCard
CreateReturnWarrantyCardRequest Parameters:
NameParameterData TypeRequiredDescription
siteIdpathintNo
forcebodybool?No
refbodystringNo
serialbodystringNo
invoiceNumberbodystringNo
activationDatebodyDateTime?No
originalWarrantyIdbodyint?No
notebodystringNo
issuedBybodystringNo
nfcCardUIDbodystringNo
appVersionbodystringNo
searchMethodbodystringNo
deviceOSbodystringNo
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/site/{siteId}/returnCard HTTP/1.1 
Host: qp-microservices-booster.richemont.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	siteId: 0,
	force: False,
	ref: String,
	serial: String,
	invoiceNumber: String,
	activationDate: 0001-01-01,
	originalWarrantyId: 0,
	note: String,
	issuedBy: String,
	nfcCardUID: String,
	appVersion: String,
	searchMethod: String,
	deviceOS: 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
}