RAPP.Mercedes.VanCustomerAccount.Api

<back to all web services

Update

The following routes are available for this service:
POST/update/
Update Parameters:
NameParameterData TypeRequiredDescription
CiamIdbodystringNo
FirstNamebodystringNo
LastNamebodystringNo
EmailAddressbodystringNo
MobileTelephoneNumberbodystringNo
HomeAddress_BuildingNumberNamebodystringNo
HomeAddress_Line1bodystringNo
HomeAddress_Line2bodystringNo
HomeAddress_TownCitybodystringNo
HomeAddress_CountybodystringNo
HomeAddress_PostcodebodystringNo
CompanyNamebodystringNo
CompanyTypebodystringNo
CompanyRegistrationNumberbodystringNo
VATNumberbodystringNo
BusinessAddress_BuildingNumberNamebodystringNo
BusinessAddress_Line1bodystringNo
BusinessAddress_Line2bodystringNo
BusinessAddress_TownCitybodystringNo
BusinessAddress_CountybodystringNo
BusinessAddress_PostcodebodystringNo
BusinessIndustryTypebodystringNo
FleetSizebodystringNo
EmailOptInbodystringNo
TelephoneOptInbodystringNo
SMSOptInbodystringNo
PostOptInbodystringNo
UpdateResponse Parameters:
NameParameterData TypeRequiredDescription
StatusformReturnStatusNo
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 /update/ 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,
	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
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Status: 
	{
		ReturnCode: String,
		Message: String
	}
}