| GET | /v1/MappedMarketingCodeJobs | Get list of Mapped Marketing Code jobs | Get list of Mapped Marketing Code jobs |
|---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class GetMarketingCodesJobsRequest implements IGet
{
}
public static class GetDataProcessJobsResponse
{
public ArrayList<DataProcessJob> dataProcesses = new ArrayList<DataProcessJob>();
public ArrayList<DataProcessJob> getDataProcesses() { return dataProcesses; }
public GetDataProcessJobsResponse setDataProcesses(ArrayList<DataProcessJob> value) { this.dataProcesses = value; return this; }
}
public static class DataProcessJob
{
public Integer id = null;
public String gasId = null;
public String dateCreated = null;
public Integer processedRecords = null;
public Integer status = null;
public String statusName = null;
public String fileName = null;
public Integer getId() { return id; }
public DataProcessJob setId(Integer value) { this.id = value; return this; }
public String getGasId() { return gasId; }
public DataProcessJob setGasId(String value) { this.gasId = value; return this; }
public String getDateCreated() { return dateCreated; }
public DataProcessJob setDateCreated(String value) { this.dateCreated = value; return this; }
public Integer getProcessedRecords() { return processedRecords; }
public DataProcessJob setProcessedRecords(Integer value) { this.processedRecords = value; return this; }
public Integer getStatus() { return status; }
public DataProcessJob setStatus(Integer value) { this.status = value; return this; }
public String getStatusName() { return statusName; }
public DataProcessJob setStatusName(String value) { this.statusName = value; return this; }
public String getFileName() { return fileName; }
public DataProcessJob setFileName(String value) { this.fileName = value; return this; }
}
}
Java GetMarketingCodesJobsRequest 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.
GET /v1/MappedMarketingCodeJobs HTTP/1.1 Host: uat-api-vehicle-mgt-mb-dhc.rapp-customers.co.uk Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
dataProcesses:
[
{
id: 0,
gasId: String,
dateCreated: String,
processedRecords: 0,
status: 0,
statusName: String,
fileName: String
}
]
}