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 |
---|
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
Namespace Global
Namespace Mercedes.VehicleManagement.API.ServiceModel
Public Partial Class GetOutOfMarketAreaCommsJobsRequest
Implements IGet
End Class
End Namespace
Namespace Mercedes.VehicleManagement.API.Shared.Clients.Vehicle
Public Partial Class OutOfMarketAreaCommsJob
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 FileName As String
End Class
Public Partial Class OutOfMarketAreaCommsJobsResponse
Public Overridable Property DataProcesses As List(Of OutOfMarketAreaCommsJob) = New List(Of OutOfMarketAreaCommsJob)
End Class
End Namespace
End Namespace
VB.NET GetOutOfMarketAreaCommsJobsRequest 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/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"}]}