| GET | /v1/motability/pricingaudits | Gets the Motability Pricing Audit records | Gets the Motability Pricing Audit records |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| MotabilityPricingAudits | form | List<MotabilityPricingAudit> | Yes |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| MotabilityPricingId | form | int | No | |
| GasId | form | string | Yes | |
| BackOrderDropDown | form | string | Yes | |
| PreviousValidFrom | form | string | Yes | |
| PreviousValidTo | form | string | Yes | |
| CurrentValidFrom | form | string | Yes | |
| CurrentValidTo | form | string | Yes | |
| CreationDate | form | string | Yes |
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/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
{"MotabilityPricingAudits":[{"MotabilityPricingId":0,"GasId":"String","BackOrderDropDown":"String","PreviousValidFrom":"String","PreviousValidTo":"String","CurrentValidFrom":"String","CurrentValidTo":"String","CreationDate":"String"}]}