POST | /v1/ValidateMotablityCriteria | Trigger the motability criteria validation process |
---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class ValidateMotabilityCriteriaRequest implements IPost
{
}
public static class DataProcessResponse
{
public Integer id = null;
public Integer type = null;
public String typeName = null;
public String statusName = null;
public Integer status = null;
public Integer totalRecords = null;
public Integer processedRecords = null;
public String fileName = null;
public String originalFileName = null;
public String dateCreated = null;
public String dateStarted = null;
public String dateFinished = null;
public String gasId = null;
public Integer getId() { return id; }
public DataProcessResponse setId(Integer value) { this.id = value; return this; }
public Integer getType() { return type; }
public DataProcessResponse setType(Integer value) { this.type = value; return this; }
public String getTypeName() { return typeName; }
public DataProcessResponse setTypeName(String value) { this.typeName = value; return this; }
public String getStatusName() { return statusName; }
public DataProcessResponse setStatusName(String value) { this.statusName = value; return this; }
public Integer getStatus() { return status; }
public DataProcessResponse setStatus(Integer value) { this.status = value; return this; }
public Integer getTotalRecords() { return totalRecords; }
public DataProcessResponse setTotalRecords(Integer value) { this.totalRecords = value; return this; }
public Integer getProcessedRecords() { return processedRecords; }
public DataProcessResponse setProcessedRecords(Integer value) { this.processedRecords = value; return this; }
public String getFileName() { return fileName; }
public DataProcessResponse setFileName(String value) { this.fileName = value; return this; }
public String getOriginalFileName() { return originalFileName; }
public DataProcessResponse setOriginalFileName(String value) { this.originalFileName = value; return this; }
public String getDateCreated() { return dateCreated; }
public DataProcessResponse setDateCreated(String value) { this.dateCreated = value; return this; }
public String getDateStarted() { return dateStarted; }
public DataProcessResponse setDateStarted(String value) { this.dateStarted = value; return this; }
public String getDateFinished() { return dateFinished; }
public DataProcessResponse setDateFinished(String value) { this.dateFinished = value; return this; }
public String getGasId() { return gasId; }
public DataProcessResponse setGasId(String value) { this.gasId = value; return this; }
}
}
Java ValidateMotabilityCriteriaRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /v1/ValidateMotablityCriteria HTTP/1.1
Host: uat-api-vehicle-mgt-mb-dhc.rapp-customers.co.uk
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{}
HTTP/1.1 200 OK Content-Type: text/jsonl Content-Length: length {"id":0,"type":0,"typeName":"String","statusName":"String","status":0,"totalRecords":0,"processedRecords":0,"fileName":"String","originalFileName":"String","dateCreated":"String","dateStarted":"String","dateFinished":"String","gasId":"String"}