RAPP.Mercedes.VanCustomerAccount.Api

<back to all web services

Delete

The following routes are available for this service:
POST/delete/
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class Delete
    {
        public String CiamId = null;
        public String FirstName = null;
        public String LastName = null;
        public String EmailAddress = null;
        public String MobileTelephoneNumber = null;
        
        public String getCiamId() { return CiamId; }
        public Delete setCiamId(String value) { this.CiamId = value; return this; }
        public String getFirstName() { return FirstName; }
        public Delete setFirstName(String value) { this.FirstName = value; return this; }
        public String getLastName() { return LastName; }
        public Delete setLastName(String value) { this.LastName = value; return this; }
        public String getEmailAddress() { return EmailAddress; }
        public Delete setEmailAddress(String value) { this.EmailAddress = value; return this; }
        public String getMobileTelephoneNumber() { return MobileTelephoneNumber; }
        public Delete setMobileTelephoneNumber(String value) { this.MobileTelephoneNumber = value; return this; }
    }

    public static class DeleteResponse
    {
        public ReturnStatus Status = null;
        
        public ReturnStatus getStatus() { return Status; }
        public DeleteResponse setStatus(ReturnStatus value) { this.Status = value; return this; }
    }

    public static class ReturnStatus
    {
        public String ReturnCode = null;
        public String Message = null;
        
        public String getReturnCode() { return ReturnCode; }
        public ReturnStatus setReturnCode(String value) { this.ReturnCode = value; return this; }
        public String getMessage() { return Message; }
        public ReturnStatus setMessage(String value) { this.Message = value; return this; }
    }

}

Java Delete DTOs

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 /delete/ 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"}}