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

Namespace Global

    Namespace Mercedes.OS.Vehicle.Shared.POCO

        Public Partial Class DataProcessJob
            Public Overridable Property Id As Integer
            Public Overridable Property GasId As String
            Public Overridable Property DateCreated As String
            Public Overridable Property ProcessedRecords As Integer
            Public Overridable Property Status As Integer
            Public Overridable Property StatusName As String
            Public Overridable Property FileName As String
        End Class
    End Namespace

    Namespace Mercedes.VehicleManagement.API.ServiceModel

        Public Partial Class GetMarketingCodesJobsRequest
            Implements IGet
        End Class
    End Namespace

    Namespace Mercedes.VehicleManagement.API.Shared.Clients.Vehicle

        Public Partial Class GetDataProcessJobsResponse
            Public Overridable Property DataProcesses As List(Of DataProcessJob) = New List(Of DataProcessJob)
        End Class
    End Namespace
End Namespace

VB.NET GetMarketingCodesJobsRequest 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

HTTP + JSON

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: 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,"statusName":"String","fileName":"String"}]}