RAPP.Mercedes.VanCustomerAccount.Api

<back to all web services

Login

The following routes are available for this service:
POST/login/

export class ReturnStatus
{
    public ReturnCode: string;
    public Message: string;

    public constructor(init?: Partial<ReturnStatus>) { (Object as any).assign(this, init); }
}

export class LoginResponse
{
    public Status: ReturnStatus;
    public FirstName: string;
    public LastName: string;
    public EmailAddress: string;
    public MobileTelephoneNumber: string;
    public HomeAddress_BuildingNumberName: string;
    public HomeAddress_Line1: string;
    public HomeAddress_Line2: string;
    public HomeAddress_TownCity: string;
    public HomeAddress_County: string;
    public HomeAddress_Postcode: string;
    public CompanyName: string;
    public CompanyType: string;
    public CompanyRegistrationNumber: string;
    public VATNumber: string;
    public BusinessAddress_BuildingNumberName: string;
    public BusinessAddress_Line1: string;
    public BusinessAddress_Line2: string;
    public BusinessAddress_TownCity: string;
    public BusinessAddress_County: string;
    public BusinessAddress_Postcode: string;
    public BusinessIndustryType: string;
    public FleetSize: string;
    public EmailOptIn: string;
    public TelephoneOptIn: string;
    public SMSOptIn: string;
    public PostOptIn: string;

    public constructor(init?: Partial<LoginResponse>) { (Object as any).assign(this, init); }
}

export class Login
{
    public CiamId: string;
    public FirstName: string;
    public LastName: string;
    public EmailAddress: string;
    public MobileTelephoneNumber: string;

    public constructor(init?: Partial<Login>) { (Object as any).assign(this, init); }
}

TypeScript Login DTOs

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
}