POST | /v1/ValidateBaumusterOfferUpload | Validate Baumuster Offer file |
---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class ValidationBaumusterOfferUploadRequest 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 ValidationBaumusterOfferUploadRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /v1/ValidateBaumusterOfferUpload HTTP/1.1
Host: uat-api-vehicle-mgt-mb-dhc.rapp-customers.co.uk
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<ValidationBaumusterOfferUploadRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mercedes.VehicleManagement.API.Shared.POCO.DataProcess.BaumusterOffer" />
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <DataProcessResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mercedes.VehicleManagement.API.Shared.POCO.DataProcess"> <DateCreated>String</DateCreated> <DateFinished>String</DateFinished> <DateStarted>String</DateStarted> <FileName>String</FileName> <GasId>String</GasId> <Id>0</Id> <OriginalFileName>String</OriginalFileName> <ProcessedRecords>0</ProcessedRecords> <Status>0</Status> <StatusName>String</StatusName> <TotalRecords>0</TotalRecords> <Type>0</Type> <TypeName>String</TypeName> </DataProcessResponse>