Mercedes.VehicleManagement.API

<back to all web services

DataProcessListAllUsersRequest

Requires Authentication
The following routes are available for this service:
POST/v1/GetDataProcessListAllUsersGet list of data processes for all users
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class DataProcessListAllUsersRequest implements IPost
    {
        public ArrayList<Integer> type = new ArrayList<Integer>();
        
        public ArrayList<Integer> getType() { return type; }
        public DataProcessListAllUsersRequest setType(ArrayList<Integer> value) { this.type = value; return this; }
    }

    public static class DataProcessListResponse
    {
        public ArrayList<DataProcessResponse> dataProcesses = new ArrayList<DataProcessResponse>();
        
        public ArrayList<DataProcessResponse> getDataProcesses() { return dataProcesses; }
        public DataProcessListResponse setDataProcesses(ArrayList<DataProcessResponse> value) { this.dataProcesses = value; return this; }
    }

    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 DataProcessListAllUsersRequest 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 /v1/GetDataProcessListAllUsers HTTP/1.1 
Host: uat-api-vehicle-mgt-mb-dhc.rapp-customers.co.uk 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"type":[0]}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"dataProcesses":[{"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"}]}