GET | /v1/OutOfMarketArea | Get list of all Out Of Market Area Commission Number imports | Get 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 .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
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: application/json
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"dataProcesses":[{"id":0,"gasId":"String","dateCreated":"String","processedRecords":0,"status":0,"fileName":"String"}]}