Booster.Microservices

<back to all web services

GetSaleRepsRequest

Requires Authentication
The following routes are available for this service:
GET/warranty/v1/site/{siteId}/brand/{brandTrigram}/GetSaleReps
GetSaleRepsRequest Parameters:
NameParameterData TypeRequiredDescription
siteIdpathintNo
brandTrigrampathstringNo
customerIdqueryGuid?No
BaseRequest<TResponse> Parameters:
NameParameterData TypeRequiredDescription
sidformstringNo
appformstringNo
_osformstringNo
_appVersionformstringNo
_searchMethodformstringNo
GetSaleRepsResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
staffformList<User>No
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
_xmlnsformstringNo
_typeformstringNo
_sourceformstringNo
_tstampformstringNo
_userformstringNo
_envformstringNo
_uriformstringNo
_queryformstringNo
User Parameters:
NameParameterData TypeRequiredDescription
objectformstringNo
idformstringNo
brandformstringNo
displayNameformstringNo
GetSaleRepsResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
staffformList<User>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/site/{siteId}/brand/{brandTrigram}/GetSaleReps HTTP/1.1 
Host: qp-microservices-booster.richemont.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	},
	staff: 
	[
		{
			object: String,
			id: String,
			brand: String,
			displayName: String
		}
	],
	_xmlns: String,
	_type: String,
	_source: String,
	_tstamp: String,
	_user: String,
	_env: String,
	_uri: String,
	_query: String
}