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 .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
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: application/json
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"MotabilityPricingAudits":[{"MotabilityPricingId":0,"GasId":"String","BackOrderDropDown":"String","PreviousValidFrom":"String","PreviousValidTo":"String","CurrentValidFrom":"String","CurrentValidTo":"String","CreationDate":"String"}]}