RAPP.Mercedes.VanCustomerAccount.Api

<back to all web services

Subscribe

The following routes are available for this service:
POST/subscribe/
Subscribe Parameters:
NameParameterData TypeRequiredDescription
CiamIdbodystringNo
FirstNamebodystringNo
LastNamebodystringNo
EmailAddressbodystringNo
MobileTelephoneNumberbodystringNo
SubscribeResponse 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 .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /subscribe/ HTTP/1.1 
Host: webservices.mbukdatabase.co.uk 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"CiamId":"String","FirstName":"String","LastName":"String","EmailAddress":"String","MobileTelephoneNumber":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
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"}