Mercedes.VehicleManagement.API

<back to all web services

GetOutOfMarketAreaCommsJobsRequest

Requires Authentication
The following routes are available for this service:
GET/v1/OutOfMarketAreaGet list of all Out Of Market Area Commission Number importsGet list of all Out Of Market Area Commission Number imports
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;

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

}

namespace Mercedes.VehicleManagement.API.Shared.Clients.Vehicle
{
    public partial class OutOfMarketAreaCommsJob
    {
        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 FileName { get; set; }
    }

    public partial class OutOfMarketAreaCommsJobsResponse
    {
        public virtual List<OutOfMarketAreaCommsJob> DataProcesses { get; set; } = [];
    }

}

C# GetOutOfMarketAreaCommsJobsRequest 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/OutOfMarketArea 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,"fileName":"String"}]}