| GET | /v1/motability/pricingaudits | Gets the Motability Pricing Audit records | Gets the Motability Pricing Audit records |
|---|
"use strict";
export class GetMotabilityPricingAuditsRequest {
constructor(init) { Object.assign(this, init) }
}
export class MotabilityPricingAudit {
/** @param {{MotabilityPricingId?:number,GasId?:string,BackOrderDropDown?:string,PreviousValidFrom?:string,PreviousValidTo?:string,CurrentValidFrom?:string,CurrentValidTo?:string,CreationDate?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
MotabilityPricingId;
/** @type {string} */
GasId;
/** @type {string} */
BackOrderDropDown;
/** @type {string} */
PreviousValidFrom;
/** @type {string} */
PreviousValidTo;
/** @type {string} */
CurrentValidFrom;
/** @type {string} */
CurrentValidTo;
/** @type {string} */
CreationDate;
}
export class GetMotabilityPricingAuditsResponse {
/** @param {{MotabilityPricingAudits?:MotabilityPricingAudit[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {MotabilityPricingAudit[]} */
MotabilityPricingAudits = [];
}
JavaScript GetMotabilityPricingAuditsRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
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/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
MotabilityPricingAudits:
[
{
MotabilityPricingId: 0,
GasId: String,
BackOrderDropDown: String,
PreviousValidFrom: String,
PreviousValidTo: String,
CurrentValidFrom: String,
CurrentValidTo: String,
CreationDate: String
}
]
}