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
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using Mercedes.VehicleManagement.API.ServiceModel;
using Mercedes.VehicleManagement.API.Shared.Clients.Vehicle;
using Mercedes.OS.Vehicle.Shared.POCO;

namespace Mercedes.OS.Vehicle.Shared.POCO
{
    public partial class DataProcessJob
    {
        public virtual int Id { get; set; }
        public virtual string GasId { get; set; }
        public virtual string DateCreated { get; set; }
        public virtual int ProcessedRecords { get; set; }
        public virtual int Status { get; set; }
        public virtual string StatusName { get; set; }
        public virtual string FileName { get; set; }
    }

}

namespace Mercedes.VehicleManagement.API.ServiceModel
{
    public partial class GetMarketingCodesJobsRequest
        : IGet
    {
    }

}

namespace Mercedes.VehicleManagement.API.Shared.Clients.Vehicle
{
    public partial class GetDataProcessJobsResponse
    {
        public virtual List<DataProcessJob> DataProcesses { get; set; } = [];
    }

}

C# GetMarketingCodesJobsRequest DTOs

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/MappedMarketingCodeJobs 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

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