Mercedes.VehicleManagement.API

<back to all web services

GetDataProcessRequest

Requires Authentication
The following routes are available for this service:
GET/v1/GetDataProcess/{ProcessId}
GetDataProcessRequest Parameters:
NameParameterData TypeRequiredDescription
ProcessIdpathintNo
CurrentDataProcessResponse Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
TypeformintNo
StatusformintNo
StatusNameformstringYes
TotalRecordsformintNo
ProcessedRecordsformintNo
FileNameformstringYes
OriginalFileNameformstringYes
DateCreatedformstringYes
DateStartedformstringYes
DateFinishedformstringYes
GasIdformstringYes
DataProcessResultLogsformList<DataProcessLog>Yes
FailedCountformintNo
SuccessCountformintNo
DataProcessLog Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
DataProcess_IdformintNo
RowNumberformintNo
FailureReasonIdformintNo
FailureReasonformstringYes
MetaDataformstringYes
MetaData2formstringYes
HasFailedformboolNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /v1/GetDataProcess/{ProcessId} HTTP/1.1 
Host: uat-api-vehicle-mgt-mb-dhc.rapp-customers.co.uk 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"id":0,"type":0,"status":0,"statusName":"String","totalRecords":0,"processedRecords":0,"fileName":"String","originalFileName":"String","dateCreated":"String","dateStarted":"String","dateFinished":"String","gasId":"String","dataProcessResultLogs":[{"id":0,"dataProcess_Id":0,"rowNumber":0,"failureReasonId":0,"failureReason":"String","metaData":"String","metaData2":"String","hasFailed":false}],"failedCount":0,"successCount":0}