POST | /v1/UsedCarDelta | Updates the used car delta |
---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class UpdateUsedCarDeltaDataRequest implements IPost
{
public String resumeDelta = null;
public String getResumeDelta() { return resumeDelta; }
public UpdateUsedCarDeltaDataRequest setResumeDelta(String value) { this.resumeDelta = value; return this; }
}
public static class DeltaDataResponse
{
public Boolean deltaStatus = null;
public String deltaStatusDate = null;
public Boolean isDeltaStatus() { return deltaStatus; }
public DeltaDataResponse setDeltaStatus(Boolean value) { this.deltaStatus = value; return this; }
public String getDeltaStatusDate() { return deltaStatusDate; }
public DeltaDataResponse setDeltaStatusDate(String value) { this.deltaStatusDate = value; return this; }
}
}
Java UpdateUsedCarDeltaDataRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /v1/UsedCarDelta HTTP/1.1
Host: uat-api-vehicle-mgt-mb-dhc.rapp-customers.co.uk
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
resumeDelta: String
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { deltaStatus: False, deltaStatusDate: String }