Mercedes.Agency.Orchestration.API

<back to all web services

GetMotabilityPricingAuditsRequest

Motability
Requires Authentication
The following routes are available for this service:
GET/v1/motability/pricingauditsGets the Motability Pricing Audit recordsGets the Motability Pricing Audit records
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Mercedes.Agency.Orchestration.API.ServiceModel.Motability.Requests
Imports Mercedes.Agency.API.Shared.POCO.Motability.Responses
Imports Mercedes.Agency.API.Shared.POCO.Motability

Namespace Global

    Namespace Mercedes.Agency.API.Shared.POCO.Motability

        Public Partial Class MotabilityPricingAudit
            Public Overridable Property MotabilityPricingId As Integer
            Public Overridable Property GasId As String
            Public Overridable Property BackOrderDropDown As String
            Public Overridable Property PreviousValidFrom As String
            Public Overridable Property PreviousValidTo As String
            Public Overridable Property CurrentValidFrom As String
            Public Overridable Property CurrentValidTo As String
            Public Overridable Property CreationDate As String
        End Class
    End Namespace

    Namespace Mercedes.Agency.API.Shared.POCO.Motability.Responses

        Public Partial Class GetMotabilityPricingAuditsResponse
            Public Overridable Property MotabilityPricingAudits As List(Of MotabilityPricingAudit) = New List(Of MotabilityPricingAudit)
        End Class
    End Namespace

    Namespace Mercedes.Agency.Orchestration.API.ServiceModel.Motability.Requests

        Public Partial Class GetMotabilityPricingAuditsRequest
            Implements IGet
        End Class
    End Namespace
End Namespace

VB.NET GetMotabilityPricingAuditsRequest 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/motability/pricingaudits HTTP/1.1 
Host: prod-api-agency-orch-mb-dhc.rapp-customers.co.uk 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{Unable to show example output for type 'GetMotabilityPricingAuditsResponse' using the custom 'csv' filter}Cannot dynamically create an instance of type 'Mercedes.Agency.API.Shared.POCO.Motability.Responses.GetMotabilityPricingAuditsResponse'. Reason: No parameterless constructor defined.