RAPP.Mercedes.VanCustomerAccount.Api

<back to all web services

Login

The following routes are available for this service:
POST/login/
Login Parameters:
NameParameterData TypeRequiredDescription
CiamIdbodystringNo
FirstNamebodystringNo
LastNamebodystringNo
EmailAddressbodystringNo
MobileTelephoneNumberbodystringNo
LoginResponse Parameters:
NameParameterData TypeRequiredDescription
StatusformReturnStatusNo
FirstNameformstringNo
LastNameformstringNo
EmailAddressformstringNo
MobileTelephoneNumberformstringNo
HomeAddress_BuildingNumberNameformstringNo
HomeAddress_Line1formstringNo
HomeAddress_Line2formstringNo
HomeAddress_TownCityformstringNo
HomeAddress_CountyformstringNo
HomeAddress_PostcodeformstringNo
CompanyNameformstringNo
CompanyTypeformstringNo
CompanyRegistrationNumberformstringNo
VATNumberformstringNo
BusinessAddress_BuildingNumberNameformstringNo
BusinessAddress_Line1formstringNo
BusinessAddress_Line2formstringNo
BusinessAddress_TownCityformstringNo
BusinessAddress_CountyformstringNo
BusinessAddress_PostcodeformstringNo
BusinessIndustryTypeformstringNo
FleetSizeformstringNo
EmailOptInformstringNo
TelephoneOptInformstringNo
SMSOptInformstringNo
PostOptInformstringNo
ReturnStatus Parameters:
NameParameterData TypeRequiredDescription
ReturnCodeformstringNo
MessageformstringNo

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 /login/ HTTP/1.1 
Host: webservices.mbukdatabase.co.uk 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	CiamId: String,
	FirstName: String,
	LastName: String,
	EmailAddress: String,
	MobileTelephoneNumber: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Status: 
	{
		ReturnCode: String,
		Message: String
	},
	FirstName: String,
	LastName: String,
	EmailAddress: String,
	MobileTelephoneNumber: String,
	HomeAddress_BuildingNumberName: String,
	HomeAddress_Line1: String,
	HomeAddress_Line2: String,
	HomeAddress_TownCity: String,
	HomeAddress_County: String,
	HomeAddress_Postcode: String,
	CompanyName: String,
	CompanyType: String,
	CompanyRegistrationNumber: String,
	VATNumber: String,
	BusinessAddress_BuildingNumberName: String,
	BusinessAddress_Line1: String,
	BusinessAddress_Line2: String,
	BusinessAddress_TownCity: String,
	BusinessAddress_County: String,
	BusinessAddress_Postcode: String,
	BusinessIndustryType: String,
	FleetSize: String,
	EmailOptIn: String,
	TelephoneOptIn: String,
	SMSOptIn: String,
	PostOptIn: String
}