GET | /v1/MappedMarketingCodeJobs | Get list of Mapped Marketing Code jobs | Get list of Mapped Marketing Code jobs |
---|
namespace Mercedes.VehicleManagement.API.ServiceModel
open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type GetMarketingCodesJobsRequest() =
interface IGet
[<AllowNullLiteral>]
type DataProcessJob() =
member val Id:Int32 = new Int32() with get,set
member val GasId:String = null with get,set
member val DateCreated:String = null with get,set
member val ProcessedRecords:Int32 = new Int32() with get,set
member val Status:Int32 = new Int32() with get,set
member val StatusName:String = null with get,set
member val FileName:String = null with get,set
[<AllowNullLiteral>]
type GetDataProcessJobsResponse() =
member val DataProcesses:ResizeArray<DataProcessJob> = null with get,set
F# GetMarketingCodesJobsRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=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"}]}