Mercedes.VehicleManagement.API

<back to all web services

GetMarketingCodesJobsRequest

The following routes are available for this service:
GET/v1/MappedMarketingCodeJobsGet list of Mapped Marketing Code jobsGet list of Mapped Marketing Code jobs

export class GetMarketingCodesJobsRequest implements IGet
{

    public constructor(init?: Partial<GetMarketingCodesJobsRequest>) { (Object as any).assign(this, init); }
}

export class DataProcessJob
{
    public id: number;
    public gasId: string;
    public dateCreated: string;
    public processedRecords: number;
    public status: number;
    public statusName: string;
    public fileName: string;

    public constructor(init?: Partial<DataProcessJob>) { (Object as any).assign(this, init); }
}

export class GetDataProcessJobsResponse
{
    public dataProcesses: DataProcessJob[] = [];

    public constructor(init?: Partial<GetDataProcessJobsResponse>) { (Object as any).assign(this, init); }
}

TypeScript GetMarketingCodesJobsRequest DTOs

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

HTTP + CSV

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/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"dataProcesses":[{"id":0,"gasId":"String","dateCreated":"String","processedRecords":0,"status":0,"statusName":"String","fileName":"String"}]}