POST api/customer/application/save

Request Information

URI Parameters

None.

Body Parameters

ERP.Api.Models.CustomerPortal.PortalApplicationSave
NameDescriptionTypeAdditional information
Application

Applications associated with the customer (previous applications and an open one)

ERP.Api.Models.CustomerPortal.PortalApplicationModel

None.

Step

Step of the journey user is at

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "application": {
    "id": 1,
    "status": "sample string 2",
    "salesPerson": "sample string 3",
    "dealActionHistory": [
      {
        "dealStateID": 1,
        "dealActionDateTime": "2025-01-19",
        "userId": 3
      },
      {
        "dealStateID": 1,
        "dealActionDateTime": "2025-01-19",
        "userId": 3
      }
    ],
    "mainApplicant": {
      "identity": {
        "title": "sample string 1",
        "forename": "sample string 2",
        "middleNames": "sample string 3",
        "surname": "sample string 4",
        "dateOfBirth": "2025-01-19",
        "gender": "sample string 6",
        "maritalStatus": "sample string 7",
        "drivingLicense": "sample string 8",
        "nationality": 0
      },
      "income": {
        "salary": 1.0,
        "monthlyIncome": 1.0
      },
      "contact": {
        "email": "sample string 1",
        "telephone": "sample string 2",
        "mobile": "sample string 3"
      },
      "addresses": [
        {
          "residentialStatus": "sample string 1",
          "startDate": "2025-01-19",
          "endDate": "2025-01-19",
          "id": "sample string 2",
          "buildingNumber": "sample string 3",
          "buildingName": "sample string 4",
          "address1": "sample string 5",
          "address2": "sample string 6",
          "town": "sample string 7",
          "county": "sample string 8",
          "postcode": "sample string 9",
          "country": "sample string 10"
        },
        {
          "residentialStatus": "sample string 1",
          "startDate": "2025-01-19",
          "endDate": "2025-01-19",
          "id": "sample string 2",
          "buildingNumber": "sample string 3",
          "buildingName": "sample string 4",
          "address1": "sample string 5",
          "address2": "sample string 6",
          "town": "sample string 7",
          "county": "sample string 8",
          "postcode": "sample string 9",
          "country": "sample string 10"
        }
      ],
      "dependents": 1,
      "employment": [
        {
          "name": "sample string 1",
          "jobTitle": "sample string 2",
          "jobIndustry": 1,
          "employmentStatus": 1,
          "jobType": "sample string 3",
          "address": {
            "company": "sample string 1",
            "department": "sample string 2",
            "id": "sample string 4",
            "buildingNumber": "sample string 5",
            "buildingName": "sample string 6",
            "address1": "sample string 7",
            "address2": "sample string 8",
            "town": "sample string 9",
            "county": "sample string 10",
            "postcode": "sample string 11",
            "country": "sample string 12"
          },
          "startDate": "2025-01-19",
          "status": "sample string 4",
          "telephone": "sample string 5"
        },
        {
          "name": "sample string 1",
          "jobTitle": "sample string 2",
          "jobIndustry": 1,
          "employmentStatus": 1,
          "jobType": "sample string 3",
          "address": {
            "company": "sample string 1",
            "department": "sample string 2",
            "id": "sample string 4",
            "buildingNumber": "sample string 5",
            "buildingName": "sample string 6",
            "address1": "sample string 7",
            "address2": "sample string 8",
            "town": "sample string 9",
            "county": "sample string 10",
            "postcode": "sample string 11",
            "country": "sample string 12"
          },
          "startDate": "2025-01-19",
          "status": "sample string 4",
          "telephone": "sample string 5"
        }
      ]
    },
    "creditRating": {
      "score": 1,
      "category": "sample string 1"
    },
    "quotes": [
      {
        "id": 1,
        "applicationId": 2,
        "vehicle": {
          "isShowroomPicked": true,
          "isSuggested": true,
          "id": 1,
          "make": "sample string 2",
          "model": "sample string 3",
          "derivative": "sample string 4",
          "registration": "sample string 5",
          "dateOfRegistration": "2025-01-19",
          "vin": "sample string 6",
          "newcar": true,
          "mockcar": true,
          "engineSize": 9,
          "сO2Emissions": 10,
          "fuelType": "sample string 11",
          "transmission": "sample string 12",
          "doors": 13,
          "colour": "sample string 14",
          "mileage": 15,
          "price": 16.0,
          "fullPrice": 17.0,
          "errors": {},
          "valuation": {
            "average": 1.0,
            "below": 2.0,
            "clean": 3.0,
            "retail": 4.0,
            "future": 5.0
          },
          "imageUrl": "https://crm.creditplus.finance/images/Cap/CapImage.asp?width=350&quality=60&CapID=1",
          "capDetails": {
            "id": 1,
            "code": "sample string 2"
          }
        },
        "financeRequest": {
          "annualMileage": 1,
          "financeType": "HP",
          "term": 2,
          "loanAmount": 3.0,
          "deposit": {
            "cash": 1.0,
            "partExchange": {
              "isShowroomPicked": true,
              "isSuggested": true,
              "id": 1,
              "make": "sample string 2",
              "model": "sample string 3",
              "derivative": "sample string 4",
              "registration": "sample string 5",
              "dateOfRegistration": "2025-01-19",
              "vin": "sample string 6",
              "newcar": true,
              "mockcar": true,
              "engineSize": 9,
              "сO2Emissions": 10,
              "fuelType": "sample string 11",
              "transmission": "sample string 12",
              "doors": 13,
              "colour": "sample string 14",
              "mileage": 15,
              "price": 16.0,
              "fullPrice": 17.0,
              "errors": {},
              "valuation": {
                "average": 1.0,
                "below": 2.0,
                "clean": 3.0,
                "retail": 4.0,
                "future": 5.0
              },
              "imageUrl": "https://crm.creditplus.finance/images/Cap/CapImage.asp?width=350&quality=60&CapID=1",
              "capDetails": {
                "id": 1,
                "code": "sample string 2"
              }
            },
            "total": 17.0
          },
          "flatRatePercent": 1.1,
          "commissionLenderTiers": [
            {
              "lenderId": 1,
              "tier": 2
            },
            {
              "lenderId": 1,
              "tier": 2
            }
          ]
        },
        "financeResponse": {
          "financeType": "HP",
          "loanAmount": 1.0,
          "monthlyPayment": 2.0,
          "flatRate": 3.1,
          "apr": 4.1,
          "fees": 5.0,
          "initialFees": 1.0,
          "completionFees": 1.0,
          "distributedFees": 1.0,
          "totalCreditCharge": 1.0,
          "interestPayable": 1.0,
          "balloon": 6.0,
          "deposit": 7.0,
          "term": 8,
          "totalAmountPayable": 9.0,
          "dealerCommissionGuide": {
            "sampleSize": 1,
            "rangeMin": 2.0,
            "rangeMax": 3.0,
            "mean": 4.0,
            "standardError": 5.0
          },
          "dealerCommission": 1.0,
          "errors": null
        },
        "dateReceived": "2025-01-19",
        "isSelected": true,
        "manualLookUpOccured": true,
        "showroomVisitOccured": true,
        "showroomCarSelectionOccured": true
      },
      {
        "id": 1,
        "applicationId": 2,
        "vehicle": {
          "isShowroomPicked": true,
          "isSuggested": true,
          "id": 1,
          "make": "sample string 2",
          "model": "sample string 3",
          "derivative": "sample string 4",
          "registration": "sample string 5",
          "dateOfRegistration": "2025-01-19",
          "vin": "sample string 6",
          "newcar": true,
          "mockcar": true,
          "engineSize": 9,
          "сO2Emissions": 10,
          "fuelType": "sample string 11",
          "transmission": "sample string 12",
          "doors": 13,
          "colour": "sample string 14",
          "mileage": 15,
          "price": 16.0,
          "fullPrice": 17.0,
          "errors": {},
          "valuation": {
            "average": 1.0,
            "below": 2.0,
            "clean": 3.0,
            "retail": 4.0,
            "future": 5.0
          },
          "imageUrl": "https://crm.creditplus.finance/images/Cap/CapImage.asp?width=350&quality=60&CapID=1",
          "capDetails": {
            "id": 1,
            "code": "sample string 2"
          }
        },
        "financeRequest": {
          "annualMileage": 1,
          "financeType": "HP",
          "term": 2,
          "loanAmount": 3.0,
          "deposit": {
            "cash": 1.0,
            "partExchange": {
              "isShowroomPicked": true,
              "isSuggested": true,
              "id": 1,
              "make": "sample string 2",
              "model": "sample string 3",
              "derivative": "sample string 4",
              "registration": "sample string 5",
              "dateOfRegistration": "2025-01-19",
              "vin": "sample string 6",
              "newcar": true,
              "mockcar": true,
              "engineSize": 9,
              "сO2Emissions": 10,
              "fuelType": "sample string 11",
              "transmission": "sample string 12",
              "doors": 13,
              "colour": "sample string 14",
              "mileage": 15,
              "price": 16.0,
              "fullPrice": 17.0,
              "errors": {},
              "valuation": {
                "average": 1.0,
                "below": 2.0,
                "clean": 3.0,
                "retail": 4.0,
                "future": 5.0
              },
              "imageUrl": "https://crm.creditplus.finance/images/Cap/CapImage.asp?width=350&quality=60&CapID=1",
              "capDetails": {
                "id": 1,
                "code": "sample string 2"
              }
            },
            "total": 17.0
          },
          "flatRatePercent": 1.1,
          "commissionLenderTiers": [
            {
              "lenderId": 1,
              "tier": 2
            },
            {
              "lenderId": 1,
              "tier": 2
            }
          ]
        },
        "financeResponse": {
          "financeType": "HP",
          "loanAmount": 1.0,
          "monthlyPayment": 2.0,
          "flatRate": 3.1,
          "apr": 4.1,
          "fees": 5.0,
          "initialFees": 1.0,
          "completionFees": 1.0,
          "distributedFees": 1.0,
          "totalCreditCharge": 1.0,
          "interestPayable": 1.0,
          "balloon": 6.0,
          "deposit": 7.0,
          "term": 8,
          "totalAmountPayable": 9.0,
          "dealerCommissionGuide": {
            "sampleSize": 1,
            "rangeMin": 2.0,
            "rangeMax": 3.0,
            "mean": 4.0,
            "standardError": 5.0
          },
          "dealerCommission": 1.0,
          "errors": null
        },
        "dateReceived": "2025-01-19",
        "isSelected": true,
        "manualLookUpOccured": true,
        "showroomVisitOccured": true,
        "showroomCarSelectionOccured": true
      }
    ],
    "loanProposalResponses": [
      {
        "id": 1,
        "lenderid": 2,
        "lendername": "sample string 3",
        "image": "sample string 4",
        "funderReference": "sample string 5",
        "status": "sample string 6",
        "loanOffer": {
          "product": "sample string 1",
          "loanAmount": 2.0,
          "payment": 3.0,
          "rate": 4.0,
          "apr": 5.0,
          "fees": 6.0,
          "balloon": 7.0,
          "deposit": 8.0,
          "term": 9,
          "totalPayable": 10.0,
          "requiredProofs": [
            {
              "id": "sample string 1",
              "label": "sample string 2",
              "description": "sample string 3",
              "docsRequired": 4
            },
            {
              "id": "sample string 1",
              "label": "sample string 2",
              "description": "sample string 3",
              "docsRequired": 4
            }
          ]
        },
        "errors": [
          "sample string 1",
          "sample string 2"
        ],
        "dateReceived": "2025-01-19",
        "isSelected": true
      },
      {
        "id": 1,
        "lenderid": 2,
        "lendername": "sample string 3",
        "image": "sample string 4",
        "funderReference": "sample string 5",
        "status": "sample string 6",
        "loanOffer": {
          "product": "sample string 1",
          "loanAmount": 2.0,
          "payment": 3.0,
          "rate": 4.0,
          "apr": 5.0,
          "fees": 6.0,
          "balloon": 7.0,
          "deposit": 8.0,
          "term": 9,
          "totalPayable": 10.0,
          "requiredProofs": [
            {
              "id": "sample string 1",
              "label": "sample string 2",
              "description": "sample string 3",
              "docsRequired": 4
            },
            {
              "id": "sample string 1",
              "label": "sample string 2",
              "description": "sample string 3",
              "docsRequired": 4
            }
          ]
        },
        "errors": [
          "sample string 1",
          "sample string 2"
        ],
        "dateReceived": "2025-01-19",
        "isSelected": true
      }
    ],
    "bankAccount": {
      "bankName": "sample string 1",
      "accountName": "sample string 2",
      "sortCode": "sample string 3",
      "accountNumber": "sample string 4",
      "dateOpened": "2025-01-19"
    },
    "dealer": {
      "name": "sample string 1",
      "address": {
        "company": "sample string 1",
        "department": "sample string 2",
        "id": "sample string 4",
        "buildingNumber": "sample string 5",
        "buildingName": "sample string 6",
        "address1": "sample string 7",
        "address2": "sample string 8",
        "town": "sample string 9",
        "county": "sample string 10",
        "postcode": "sample string 11",
        "country": "sample string 12"
      },
      "contact": {
        "name": "sample string 1",
        "mobile": "sample string 2",
        "telephone": "sample string 3"
      },
      "vehicleLink": "sample string 2",
      "website": "sample string 3"
    },
    "proofs": [
      {
        "id": 1,
        "filename": "sample string 2",
        "status": "Uploaded",
        "dateUploaded": "2025-01-19",
        "url": "sample string 4",
        "type": "sample string 5",
        "title": "sample string 6"
      },
      {
        "id": 1,
        "filename": "sample string 2",
        "status": "Uploaded",
        "dateUploaded": "2025-01-19",
        "url": "sample string 4",
        "type": "sample string 5",
        "title": "sample string 6"
      }
    ],
    "documents": [
      {
        "id": "sample string 1",
        "title": "sample string 2",
        "status": "sample string 3",
        "fileName": "sample string 4",
        "links": [
          {
            "url": "sample string 1",
            "isEsignLink": true,
            "downloadTimestamp": "sample string 3",
            "description": "Please click on the link below to electronically sign this document. Once finished, you will be redirected back to this page."
          },
          {
            "url": "sample string 1",
            "isEsignLink": true,
            "downloadTimestamp": "sample string 3",
            "description": "Please click on the link below to electronically sign this document. Once finished, you will be redirected back to this page."
          }
        ],
        "clicked": true
      },
      {
        "id": "sample string 1",
        "title": "sample string 2",
        "status": "sample string 3",
        "fileName": "sample string 4",
        "links": [
          {
            "url": "sample string 1",
            "isEsignLink": true,
            "downloadTimestamp": "sample string 3",
            "description": "Please click on the link below to electronically sign this document. Once finished, you will be redirected back to this page."
          },
          {
            "url": "sample string 1",
            "isEsignLink": true,
            "downloadTimestamp": "sample string 3",
            "description": "Please click on the link below to electronically sign this document. Once finished, you will be redirected back to this page."
          }
        ],
        "clicked": true
      }
    ],
    "dateOpened": "2025-01-19",
    "roles": [
      "sample string 1",
      "sample string 2"
    ],
    "applicationNotes": "sample string 4",
    "favouriteVehicles": [
      {
        "isShowroomPicked": true,
        "id": 20,
        "make": "sample string 2",
        "model": "sample string 3",
        "registration": "sample string 4",
        "variant": "sample string 5",
        "description": "sample string 6",
        "colour": "sample string 7",
        "registrationDate": "0001-01-01",
        "vin": "sample string 9",
        "currentMileage": 1,
        "engineSize": 1,
        "capDetails": {
          "id": 1,
          "code": "sample string 2"
        },
        "isNew": true,
        "isMock": true,
        "vehicleType": 0,
        "transmissionType": 0,
        "cO2Emission": 13,
        "fuelTypeE": 0,
        "noDoors": 64,
        "vehicleFullPrice": 16.0,
        "vehicleRefUrl": "sample string 17",
        "retailPrice": 21.0,
        "monthlyPrice": 19.0,
        "capRetailPrice": 1.0,
        "capCleanPrice": 1.0,
        "capAveragePrice": 1.0,
        "capBelowPrice": 1.0,
        "supplierVehicleID": 20,
        "registrationYear": 1,
        "mileage": 1,
        "doors": 64,
        "price": 21.0,
        "transmission": "Unknown",
        "fuelType": "Petrol",
        "imageUrl_Main": "sample string 23",
        "imageUrl_More1": "sample string 24",
        "imageUrl_More2": "sample string 25",
        "imageUrl_More3": "sample string 26",
        "imageUrl_More4": "sample string 27",
        "imageUrl_More5": "sample string 28",
        "imageUrl_More6": "sample string 29",
        "imageUrl_More7": "sample string 30",
        "imageUrl_More8": "sample string 31",
        "imageUrl_More9": "sample string 32",
        "capId": 1,
        "glassId": "sample string 33",
        "inFeedId": "sample string 34",
        "inFeedDealerId": "sample string 35",
        "bodyType": "sample string 36",
        "modified": "2025-01-19",
        "feedProviderId": 38,
        "nettPrice": 39.0,
        "vat": 40.0,
        "grossPrice": 79.0,
        "glassesValue": 41.0
      },
      {
        "isShowroomPicked": true,
        "id": 20,
        "make": "sample string 2",
        "model": "sample string 3",
        "registration": "sample string 4",
        "variant": "sample string 5",
        "description": "sample string 6",
        "colour": "sample string 7",
        "registrationDate": "0001-01-01",
        "vin": "sample string 9",
        "currentMileage": 1,
        "engineSize": 1,
        "capDetails": {
          "id": 1,
          "code": "sample string 2"
        },
        "isNew": true,
        "isMock": true,
        "vehicleType": 0,
        "transmissionType": 0,
        "cO2Emission": 13,
        "fuelTypeE": 0,
        "noDoors": 64,
        "vehicleFullPrice": 16.0,
        "vehicleRefUrl": "sample string 17",
        "retailPrice": 21.0,
        "monthlyPrice": 19.0,
        "capRetailPrice": 1.0,
        "capCleanPrice": 1.0,
        "capAveragePrice": 1.0,
        "capBelowPrice": 1.0,
        "supplierVehicleID": 20,
        "registrationYear": 1,
        "mileage": 1,
        "doors": 64,
        "price": 21.0,
        "transmission": "Unknown",
        "fuelType": "Petrol",
        "imageUrl_Main": "sample string 23",
        "imageUrl_More1": "sample string 24",
        "imageUrl_More2": "sample string 25",
        "imageUrl_More3": "sample string 26",
        "imageUrl_More4": "sample string 27",
        "imageUrl_More5": "sample string 28",
        "imageUrl_More6": "sample string 29",
        "imageUrl_More7": "sample string 30",
        "imageUrl_More8": "sample string 31",
        "imageUrl_More9": "sample string 32",
        "capId": 1,
        "glassId": "sample string 33",
        "inFeedId": "sample string 34",
        "inFeedDealerId": "sample string 35",
        "bodyType": "sample string 36",
        "modified": "2025-01-19",
        "feedProviderId": 38,
        "nettPrice": 39.0,
        "vat": 40.0,
        "grossPrice": 79.0,
        "glassesValue": 41.0
      }
    ],
    "salespersonSuggestions": [
      {},
      {}
    ],
    "vehicle": {
      "isShowroomPicked": true,
      "id": 20,
      "make": "sample string 2",
      "model": "sample string 3",
      "registration": "sample string 4",
      "variant": "sample string 5",
      "description": "sample string 6",
      "colour": "sample string 7",
      "registrationDate": "0001-01-01",
      "vin": "sample string 9",
      "currentMileage": 1,
      "engineSize": 1,
      "capDetails": {
        "id": 1,
        "code": "sample string 2"
      },
      "isNew": true,
      "isMock": true,
      "vehicleType": 0,
      "transmissionType": 0,
      "cO2Emission": 13,
      "fuelTypeE": 0,
      "noDoors": 64,
      "vehicleFullPrice": 16.0,
      "vehicleRefUrl": "sample string 17",
      "retailPrice": 21.0,
      "monthlyPrice": 19.0,
      "capRetailPrice": 1.0,
      "capCleanPrice": 1.0,
      "capAveragePrice": 1.0,
      "capBelowPrice": 1.0,
      "supplierVehicleID": 20,
      "registrationYear": 1,
      "mileage": 1,
      "doors": 64,
      "price": 21.0,
      "transmission": "Unknown",
      "fuelType": "Petrol",
      "imageUrl_Main": "sample string 23",
      "imageUrl_More1": "sample string 24",
      "imageUrl_More2": "sample string 25",
      "imageUrl_More3": "sample string 26",
      "imageUrl_More4": "sample string 27",
      "imageUrl_More5": "sample string 28",
      "imageUrl_More6": "sample string 29",
      "imageUrl_More7": "sample string 30",
      "imageUrl_More8": "sample string 31",
      "imageUrl_More9": "sample string 32",
      "capId": 1,
      "glassId": "sample string 33",
      "inFeedId": "sample string 34",
      "inFeedDealerId": "sample string 35",
      "bodyType": "sample string 36",
      "modified": "2025-01-19",
      "feedProviderId": 38,
      "nettPrice": 39.0,
      "vat": 40.0,
      "grossPrice": 79.0,
      "glassesValue": 41.0
    },
    "suggestedVehicles": [
      {
        "isShowroomPicked": true,
        "id": 20,
        "make": "sample string 2",
        "model": "sample string 3",
        "registration": "sample string 4",
        "variant": "sample string 5",
        "description": "sample string 6",
        "colour": "sample string 7",
        "registrationDate": "0001-01-01",
        "vin": "sample string 9",
        "currentMileage": 1,
        "engineSize": 1,
        "capDetails": {
          "id": 1,
          "code": "sample string 2"
        },
        "isNew": true,
        "isMock": true,
        "vehicleType": 0,
        "transmissionType": 0,
        "cO2Emission": 13,
        "fuelTypeE": 0,
        "noDoors": 64,
        "vehicleFullPrice": 16.0,
        "vehicleRefUrl": "sample string 17",
        "retailPrice": 21.0,
        "monthlyPrice": 19.0,
        "capRetailPrice": 1.0,
        "capCleanPrice": 1.0,
        "capAveragePrice": 1.0,
        "capBelowPrice": 1.0,
        "supplierVehicleID": 20,
        "registrationYear": 1,
        "mileage": 1,
        "doors": 64,
        "price": 21.0,
        "transmission": "Unknown",
        "fuelType": "Petrol",
        "imageUrl_Main": "sample string 23",
        "imageUrl_More1": "sample string 24",
        "imageUrl_More2": "sample string 25",
        "imageUrl_More3": "sample string 26",
        "imageUrl_More4": "sample string 27",
        "imageUrl_More5": "sample string 28",
        "imageUrl_More6": "sample string 29",
        "imageUrl_More7": "sample string 30",
        "imageUrl_More8": "sample string 31",
        "imageUrl_More9": "sample string 32",
        "capId": 1,
        "glassId": "sample string 33",
        "inFeedId": "sample string 34",
        "inFeedDealerId": "sample string 35",
        "bodyType": "sample string 36",
        "modified": "2025-01-19",
        "feedProviderId": 38,
        "nettPrice": 39.0,
        "vat": 40.0,
        "grossPrice": 79.0,
        "glassesValue": 41.0
      },
      {
        "isShowroomPicked": true,
        "id": 20,
        "make": "sample string 2",
        "model": "sample string 3",
        "registration": "sample string 4",
        "variant": "sample string 5",
        "description": "sample string 6",
        "colour": "sample string 7",
        "registrationDate": "0001-01-01",
        "vin": "sample string 9",
        "currentMileage": 1,
        "engineSize": 1,
        "capDetails": {
          "id": 1,
          "code": "sample string 2"
        },
        "isNew": true,
        "isMock": true,
        "vehicleType": 0,
        "transmissionType": 0,
        "cO2Emission": 13,
        "fuelTypeE": 0,
        "noDoors": 64,
        "vehicleFullPrice": 16.0,
        "vehicleRefUrl": "sample string 17",
        "retailPrice": 21.0,
        "monthlyPrice": 19.0,
        "capRetailPrice": 1.0,
        "capCleanPrice": 1.0,
        "capAveragePrice": 1.0,
        "capBelowPrice": 1.0,
        "supplierVehicleID": 20,
        "registrationYear": 1,
        "mileage": 1,
        "doors": 64,
        "price": 21.0,
        "transmission": "Unknown",
        "fuelType": "Petrol",
        "imageUrl_Main": "sample string 23",
        "imageUrl_More1": "sample string 24",
        "imageUrl_More2": "sample string 25",
        "imageUrl_More3": "sample string 26",
        "imageUrl_More4": "sample string 27",
        "imageUrl_More5": "sample string 28",
        "imageUrl_More6": "sample string 29",
        "imageUrl_More7": "sample string 30",
        "imageUrl_More8": "sample string 31",
        "imageUrl_More9": "sample string 32",
        "capId": 1,
        "glassId": "sample string 33",
        "inFeedId": "sample string 34",
        "inFeedDealerId": "sample string 35",
        "bodyType": "sample string 36",
        "modified": "2025-01-19",
        "feedProviderId": 38,
        "nettPrice": 39.0,
        "vat": 40.0,
        "grossPrice": 79.0,
        "glassesValue": 41.0
      }
    ],
    "dataProtection": {
      "tCsPrivacyPolicy": true,
      "email": true,
      "phone": true,
      "sms": true,
      "post": true,
      "partnerLegitimateInterest": true,
      "fraudster": true
    }
  },
  "step": 1
}

application/xml

Sample:

An exception has occurred while using the formatter 'System.Net.Http.Formatting.XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Type 'ERP.Api.Models.CustomerPortal.BasicAddress' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.

text/xml

Sample:

An exception has occurred while using the formatter 'System.Net.Http.Formatting.XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Type 'ERP.Api.Models.CustomerPortal.BasicAddress' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'System.Web.Http.ModelBinding.JQueryMvcFormUrlEncodedFormatter' to write type 'ERP.Api.Models.CustomerPortal.PortalApplicationSave'.

Response Information

Resource Description

ERP.Api.Models.CustomerPortal.PortalApplicationSave
NameDescriptionTypeAdditional information
Application

Applications associated with the customer (previous applications and an open one)

ERP.Api.Models.CustomerPortal.PortalApplicationModel

None.

Step

Step of the journey user is at

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "application": {
    "id": 1,
    "status": "sample string 2",
    "salesPerson": "sample string 3",
    "dealActionHistory": [
      {
        "dealStateID": 1,
        "dealActionDateTime": "2025-01-19",
        "userId": 3
      },
      {
        "dealStateID": 1,
        "dealActionDateTime": "2025-01-19",
        "userId": 3
      }
    ],
    "mainApplicant": {
      "identity": {
        "title": "sample string 1",
        "forename": "sample string 2",
        "middleNames": "sample string 3",
        "surname": "sample string 4",
        "dateOfBirth": "2025-01-19",
        "gender": "sample string 6",
        "maritalStatus": "sample string 7",
        "drivingLicense": "sample string 8",
        "nationality": 0
      },
      "income": {
        "salary": 1.0,
        "monthlyIncome": 1.0
      },
      "contact": {
        "email": "sample string 1",
        "telephone": "sample string 2",
        "mobile": "sample string 3"
      },
      "addresses": [
        {
          "residentialStatus": "sample string 1",
          "startDate": "2025-01-19",
          "endDate": "2025-01-19",
          "id": "sample string 2",
          "buildingNumber": "sample string 3",
          "buildingName": "sample string 4",
          "address1": "sample string 5",
          "address2": "sample string 6",
          "town": "sample string 7",
          "county": "sample string 8",
          "postcode": "sample string 9",
          "country": "sample string 10"
        },
        {
          "residentialStatus": "sample string 1",
          "startDate": "2025-01-19",
          "endDate": "2025-01-19",
          "id": "sample string 2",
          "buildingNumber": "sample string 3",
          "buildingName": "sample string 4",
          "address1": "sample string 5",
          "address2": "sample string 6",
          "town": "sample string 7",
          "county": "sample string 8",
          "postcode": "sample string 9",
          "country": "sample string 10"
        }
      ],
      "dependents": 1,
      "employment": [
        {
          "name": "sample string 1",
          "jobTitle": "sample string 2",
          "jobIndustry": 1,
          "employmentStatus": 1,
          "jobType": "sample string 3",
          "address": {
            "company": "sample string 1",
            "department": "sample string 2",
            "id": "sample string 4",
            "buildingNumber": "sample string 5",
            "buildingName": "sample string 6",
            "address1": "sample string 7",
            "address2": "sample string 8",
            "town": "sample string 9",
            "county": "sample string 10",
            "postcode": "sample string 11",
            "country": "sample string 12"
          },
          "startDate": "2025-01-19",
          "status": "sample string 4",
          "telephone": "sample string 5"
        },
        {
          "name": "sample string 1",
          "jobTitle": "sample string 2",
          "jobIndustry": 1,
          "employmentStatus": 1,
          "jobType": "sample string 3",
          "address": {
            "company": "sample string 1",
            "department": "sample string 2",
            "id": "sample string 4",
            "buildingNumber": "sample string 5",
            "buildingName": "sample string 6",
            "address1": "sample string 7",
            "address2": "sample string 8",
            "town": "sample string 9",
            "county": "sample string 10",
            "postcode": "sample string 11",
            "country": "sample string 12"
          },
          "startDate": "2025-01-19",
          "status": "sample string 4",
          "telephone": "sample string 5"
        }
      ]
    },
    "creditRating": {
      "score": 1,
      "category": "sample string 1"
    },
    "quotes": [
      {
        "id": 1,
        "applicationId": 2,
        "vehicle": {
          "isShowroomPicked": true,
          "isSuggested": true,
          "id": 1,
          "make": "sample string 2",
          "model": "sample string 3",
          "derivative": "sample string 4",
          "registration": "sample string 5",
          "dateOfRegistration": "2025-01-19",
          "vin": "sample string 6",
          "newcar": true,
          "mockcar": true,
          "engineSize": 9,
          "сO2Emissions": 10,
          "fuelType": "sample string 11",
          "transmission": "sample string 12",
          "doors": 13,
          "colour": "sample string 14",
          "mileage": 15,
          "price": 16.0,
          "fullPrice": 17.0,
          "errors": {},
          "valuation": {
            "average": 1.0,
            "below": 2.0,
            "clean": 3.0,
            "retail": 4.0,
            "future": 5.0
          },
          "imageUrl": "https://crm.creditplus.finance/images/Cap/CapImage.asp?width=350&quality=60&CapID=1",
          "capDetails": {
            "id": 1,
            "code": "sample string 2"
          }
        },
        "financeRequest": {
          "annualMileage": 1,
          "financeType": "HP",
          "term": 2,
          "loanAmount": 3.0,
          "deposit": {
            "cash": 1.0,
            "partExchange": {
              "isShowroomPicked": true,
              "isSuggested": true,
              "id": 1,
              "make": "sample string 2",
              "model": "sample string 3",
              "derivative": "sample string 4",
              "registration": "sample string 5",
              "dateOfRegistration": "2025-01-19",
              "vin": "sample string 6",
              "newcar": true,
              "mockcar": true,
              "engineSize": 9,
              "сO2Emissions": 10,
              "fuelType": "sample string 11",
              "transmission": "sample string 12",
              "doors": 13,
              "colour": "sample string 14",
              "mileage": 15,
              "price": 16.0,
              "fullPrice": 17.0,
              "errors": {},
              "valuation": {
                "average": 1.0,
                "below": 2.0,
                "clean": 3.0,
                "retail": 4.0,
                "future": 5.0
              },
              "imageUrl": "https://crm.creditplus.finance/images/Cap/CapImage.asp?width=350&quality=60&CapID=1",
              "capDetails": {
                "id": 1,
                "code": "sample string 2"
              }
            },
            "total": 17.0
          },
          "flatRatePercent": 1.1,
          "commissionLenderTiers": [
            {
              "lenderId": 1,
              "tier": 2
            },
            {
              "lenderId": 1,
              "tier": 2
            }
          ]
        },
        "financeResponse": {
          "financeType": "HP",
          "loanAmount": 1.0,
          "monthlyPayment": 2.0,
          "flatRate": 3.1,
          "apr": 4.1,
          "fees": 5.0,
          "initialFees": 1.0,
          "completionFees": 1.0,
          "distributedFees": 1.0,
          "totalCreditCharge": 1.0,
          "interestPayable": 1.0,
          "balloon": 6.0,
          "deposit": 7.0,
          "term": 8,
          "totalAmountPayable": 9.0,
          "dealerCommissionGuide": {
            "sampleSize": 1,
            "rangeMin": 2.0,
            "rangeMax": 3.0,
            "mean": 4.0,
            "standardError": 5.0
          },
          "dealerCommission": 1.0,
          "errors": null
        },
        "dateReceived": "2025-01-19",
        "isSelected": true,
        "manualLookUpOccured": true,
        "showroomVisitOccured": true,
        "showroomCarSelectionOccured": true
      },
      {
        "id": 1,
        "applicationId": 2,
        "vehicle": {
          "isShowroomPicked": true,
          "isSuggested": true,
          "id": 1,
          "make": "sample string 2",
          "model": "sample string 3",
          "derivative": "sample string 4",
          "registration": "sample string 5",
          "dateOfRegistration": "2025-01-19",
          "vin": "sample string 6",
          "newcar": true,
          "mockcar": true,
          "engineSize": 9,
          "сO2Emissions": 10,
          "fuelType": "sample string 11",
          "transmission": "sample string 12",
          "doors": 13,
          "colour": "sample string 14",
          "mileage": 15,
          "price": 16.0,
          "fullPrice": 17.0,
          "errors": {},
          "valuation": {
            "average": 1.0,
            "below": 2.0,
            "clean": 3.0,
            "retail": 4.0,
            "future": 5.0
          },
          "imageUrl": "https://crm.creditplus.finance/images/Cap/CapImage.asp?width=350&quality=60&CapID=1",
          "capDetails": {
            "id": 1,
            "code": "sample string 2"
          }
        },
        "financeRequest": {
          "annualMileage": 1,
          "financeType": "HP",
          "term": 2,
          "loanAmount": 3.0,
          "deposit": {
            "cash": 1.0,
            "partExchange": {
              "isShowroomPicked": true,
              "isSuggested": true,
              "id": 1,
              "make": "sample string 2",
              "model": "sample string 3",
              "derivative": "sample string 4",
              "registration": "sample string 5",
              "dateOfRegistration": "2025-01-19",
              "vin": "sample string 6",
              "newcar": true,
              "mockcar": true,
              "engineSize": 9,
              "сO2Emissions": 10,
              "fuelType": "sample string 11",
              "transmission": "sample string 12",
              "doors": 13,
              "colour": "sample string 14",
              "mileage": 15,
              "price": 16.0,
              "fullPrice": 17.0,
              "errors": {},
              "valuation": {
                "average": 1.0,
                "below": 2.0,
                "clean": 3.0,
                "retail": 4.0,
                "future": 5.0
              },
              "imageUrl": "https://crm.creditplus.finance/images/Cap/CapImage.asp?width=350&quality=60&CapID=1",
              "capDetails": {
                "id": 1,
                "code": "sample string 2"
              }
            },
            "total": 17.0
          },
          "flatRatePercent": 1.1,
          "commissionLenderTiers": [
            {
              "lenderId": 1,
              "tier": 2
            },
            {
              "lenderId": 1,
              "tier": 2
            }
          ]
        },
        "financeResponse": {
          "financeType": "HP",
          "loanAmount": 1.0,
          "monthlyPayment": 2.0,
          "flatRate": 3.1,
          "apr": 4.1,
          "fees": 5.0,
          "initialFees": 1.0,
          "completionFees": 1.0,
          "distributedFees": 1.0,
          "totalCreditCharge": 1.0,
          "interestPayable": 1.0,
          "balloon": 6.0,
          "deposit": 7.0,
          "term": 8,
          "totalAmountPayable": 9.0,
          "dealerCommissionGuide": {
            "sampleSize": 1,
            "rangeMin": 2.0,
            "rangeMax": 3.0,
            "mean": 4.0,
            "standardError": 5.0
          },
          "dealerCommission": 1.0,
          "errors": null
        },
        "dateReceived": "2025-01-19",
        "isSelected": true,
        "manualLookUpOccured": true,
        "showroomVisitOccured": true,
        "showroomCarSelectionOccured": true
      }
    ],
    "loanProposalResponses": [
      {
        "id": 1,
        "lenderid": 2,
        "lendername": "sample string 3",
        "image": "sample string 4",
        "funderReference": "sample string 5",
        "status": "sample string 6",
        "loanOffer": {
          "product": "sample string 1",
          "loanAmount": 2.0,
          "payment": 3.0,
          "rate": 4.0,
          "apr": 5.0,
          "fees": 6.0,
          "balloon": 7.0,
          "deposit": 8.0,
          "term": 9,
          "totalPayable": 10.0,
          "requiredProofs": [
            {
              "id": "sample string 1",
              "label": "sample string 2",
              "description": "sample string 3",
              "docsRequired": 4
            },
            {
              "id": "sample string 1",
              "label": "sample string 2",
              "description": "sample string 3",
              "docsRequired": 4
            }
          ]
        },
        "errors": [
          "sample string 1",
          "sample string 2"
        ],
        "dateReceived": "2025-01-19",
        "isSelected": true
      },
      {
        "id": 1,
        "lenderid": 2,
        "lendername": "sample string 3",
        "image": "sample string 4",
        "funderReference": "sample string 5",
        "status": "sample string 6",
        "loanOffer": {
          "product": "sample string 1",
          "loanAmount": 2.0,
          "payment": 3.0,
          "rate": 4.0,
          "apr": 5.0,
          "fees": 6.0,
          "balloon": 7.0,
          "deposit": 8.0,
          "term": 9,
          "totalPayable": 10.0,
          "requiredProofs": [
            {
              "id": "sample string 1",
              "label": "sample string 2",
              "description": "sample string 3",
              "docsRequired": 4
            },
            {
              "id": "sample string 1",
              "label": "sample string 2",
              "description": "sample string 3",
              "docsRequired": 4
            }
          ]
        },
        "errors": [
          "sample string 1",
          "sample string 2"
        ],
        "dateReceived": "2025-01-19",
        "isSelected": true
      }
    ],
    "bankAccount": {
      "bankName": "sample string 1",
      "accountName": "sample string 2",
      "sortCode": "sample string 3",
      "accountNumber": "sample string 4",
      "dateOpened": "2025-01-19"
    },
    "dealer": {
      "name": "sample string 1",
      "address": {
        "company": "sample string 1",
        "department": "sample string 2",
        "id": "sample string 4",
        "buildingNumber": "sample string 5",
        "buildingName": "sample string 6",
        "address1": "sample string 7",
        "address2": "sample string 8",
        "town": "sample string 9",
        "county": "sample string 10",
        "postcode": "sample string 11",
        "country": "sample string 12"
      },
      "contact": {
        "name": "sample string 1",
        "mobile": "sample string 2",
        "telephone": "sample string 3"
      },
      "vehicleLink": "sample string 2",
      "website": "sample string 3"
    },
    "proofs": [
      {
        "id": 1,
        "filename": "sample string 2",
        "status": "Uploaded",
        "dateUploaded": "2025-01-19",
        "url": "sample string 4",
        "type": "sample string 5",
        "title": "sample string 6"
      },
      {
        "id": 1,
        "filename": "sample string 2",
        "status": "Uploaded",
        "dateUploaded": "2025-01-19",
        "url": "sample string 4",
        "type": "sample string 5",
        "title": "sample string 6"
      }
    ],
    "documents": [
      {
        "id": "sample string 1",
        "title": "sample string 2",
        "status": "sample string 3",
        "fileName": "sample string 4",
        "links": [
          {
            "url": "sample string 1",
            "isEsignLink": true,
            "downloadTimestamp": "sample string 3",
            "description": "Please click on the link below to electronically sign this document. Once finished, you will be redirected back to this page."
          },
          {
            "url": "sample string 1",
            "isEsignLink": true,
            "downloadTimestamp": "sample string 3",
            "description": "Please click on the link below to electronically sign this document. Once finished, you will be redirected back to this page."
          }
        ],
        "clicked": true
      },
      {
        "id": "sample string 1",
        "title": "sample string 2",
        "status": "sample string 3",
        "fileName": "sample string 4",
        "links": [
          {
            "url": "sample string 1",
            "isEsignLink": true,
            "downloadTimestamp": "sample string 3",
            "description": "Please click on the link below to electronically sign this document. Once finished, you will be redirected back to this page."
          },
          {
            "url": "sample string 1",
            "isEsignLink": true,
            "downloadTimestamp": "sample string 3",
            "description": "Please click on the link below to electronically sign this document. Once finished, you will be redirected back to this page."
          }
        ],
        "clicked": true
      }
    ],
    "dateOpened": "2025-01-19",
    "roles": [
      "sample string 1",
      "sample string 2"
    ],
    "applicationNotes": "sample string 4",
    "favouriteVehicles": [
      {
        "isShowroomPicked": true,
        "id": 20,
        "make": "sample string 2",
        "model": "sample string 3",
        "registration": "sample string 4",
        "variant": "sample string 5",
        "description": "sample string 6",
        "colour": "sample string 7",
        "registrationDate": "0001-01-01",
        "vin": "sample string 9",
        "currentMileage": 1,
        "engineSize": 1,
        "capDetails": {
          "id": 1,
          "code": "sample string 2"
        },
        "isNew": true,
        "isMock": true,
        "vehicleType": 0,
        "transmissionType": 0,
        "cO2Emission": 13,
        "fuelTypeE": 0,
        "noDoors": 64,
        "vehicleFullPrice": 16.0,
        "vehicleRefUrl": "sample string 17",
        "retailPrice": 21.0,
        "monthlyPrice": 19.0,
        "capRetailPrice": 1.0,
        "capCleanPrice": 1.0,
        "capAveragePrice": 1.0,
        "capBelowPrice": 1.0,
        "supplierVehicleID": 20,
        "registrationYear": 1,
        "mileage": 1,
        "doors": 64,
        "price": 21.0,
        "transmission": "Unknown",
        "fuelType": "Petrol",
        "imageUrl_Main": "sample string 23",
        "imageUrl_More1": "sample string 24",
        "imageUrl_More2": "sample string 25",
        "imageUrl_More3": "sample string 26",
        "imageUrl_More4": "sample string 27",
        "imageUrl_More5": "sample string 28",
        "imageUrl_More6": "sample string 29",
        "imageUrl_More7": "sample string 30",
        "imageUrl_More8": "sample string 31",
        "imageUrl_More9": "sample string 32",
        "capId": 1,
        "glassId": "sample string 33",
        "inFeedId": "sample string 34",
        "inFeedDealerId": "sample string 35",
        "bodyType": "sample string 36",
        "modified": "2025-01-19",
        "feedProviderId": 38,
        "nettPrice": 39.0,
        "vat": 40.0,
        "grossPrice": 79.0,
        "glassesValue": 41.0
      },
      {
        "isShowroomPicked": true,
        "id": 20,
        "make": "sample string 2",
        "model": "sample string 3",
        "registration": "sample string 4",
        "variant": "sample string 5",
        "description": "sample string 6",
        "colour": "sample string 7",
        "registrationDate": "0001-01-01",
        "vin": "sample string 9",
        "currentMileage": 1,
        "engineSize": 1,
        "capDetails": {
          "id": 1,
          "code": "sample string 2"
        },
        "isNew": true,
        "isMock": true,
        "vehicleType": 0,
        "transmissionType": 0,
        "cO2Emission": 13,
        "fuelTypeE": 0,
        "noDoors": 64,
        "vehicleFullPrice": 16.0,
        "vehicleRefUrl": "sample string 17",
        "retailPrice": 21.0,
        "monthlyPrice": 19.0,
        "capRetailPrice": 1.0,
        "capCleanPrice": 1.0,
        "capAveragePrice": 1.0,
        "capBelowPrice": 1.0,
        "supplierVehicleID": 20,
        "registrationYear": 1,
        "mileage": 1,
        "doors": 64,
        "price": 21.0,
        "transmission": "Unknown",
        "fuelType": "Petrol",
        "imageUrl_Main": "sample string 23",
        "imageUrl_More1": "sample string 24",
        "imageUrl_More2": "sample string 25",
        "imageUrl_More3": "sample string 26",
        "imageUrl_More4": "sample string 27",
        "imageUrl_More5": "sample string 28",
        "imageUrl_More6": "sample string 29",
        "imageUrl_More7": "sample string 30",
        "imageUrl_More8": "sample string 31",
        "imageUrl_More9": "sample string 32",
        "capId": 1,
        "glassId": "sample string 33",
        "inFeedId": "sample string 34",
        "inFeedDealerId": "sample string 35",
        "bodyType": "sample string 36",
        "modified": "2025-01-19",
        "feedProviderId": 38,
        "nettPrice": 39.0,
        "vat": 40.0,
        "grossPrice": 79.0,
        "glassesValue": 41.0
      }
    ],
    "salespersonSuggestions": [
      {},
      {}
    ],
    "vehicle": {
      "isShowroomPicked": true,
      "id": 20,
      "make": "sample string 2",
      "model": "sample string 3",
      "registration": "sample string 4",
      "variant": "sample string 5",
      "description": "sample string 6",
      "colour": "sample string 7",
      "registrationDate": "0001-01-01",
      "vin": "sample string 9",
      "currentMileage": 1,
      "engineSize": 1,
      "capDetails": {
        "id": 1,
        "code": "sample string 2"
      },
      "isNew": true,
      "isMock": true,
      "vehicleType": 0,
      "transmissionType": 0,
      "cO2Emission": 13,
      "fuelTypeE": 0,
      "noDoors": 64,
      "vehicleFullPrice": 16.0,
      "vehicleRefUrl": "sample string 17",
      "retailPrice": 21.0,
      "monthlyPrice": 19.0,
      "capRetailPrice": 1.0,
      "capCleanPrice": 1.0,
      "capAveragePrice": 1.0,
      "capBelowPrice": 1.0,
      "supplierVehicleID": 20,
      "registrationYear": 1,
      "mileage": 1,
      "doors": 64,
      "price": 21.0,
      "transmission": "Unknown",
      "fuelType": "Petrol",
      "imageUrl_Main": "sample string 23",
      "imageUrl_More1": "sample string 24",
      "imageUrl_More2": "sample string 25",
      "imageUrl_More3": "sample string 26",
      "imageUrl_More4": "sample string 27",
      "imageUrl_More5": "sample string 28",
      "imageUrl_More6": "sample string 29",
      "imageUrl_More7": "sample string 30",
      "imageUrl_More8": "sample string 31",
      "imageUrl_More9": "sample string 32",
      "capId": 1,
      "glassId": "sample string 33",
      "inFeedId": "sample string 34",
      "inFeedDealerId": "sample string 35",
      "bodyType": "sample string 36",
      "modified": "2025-01-19",
      "feedProviderId": 38,
      "nettPrice": 39.0,
      "vat": 40.0,
      "grossPrice": 79.0,
      "glassesValue": 41.0
    },
    "suggestedVehicles": [
      {
        "isShowroomPicked": true,
        "id": 20,
        "make": "sample string 2",
        "model": "sample string 3",
        "registration": "sample string 4",
        "variant": "sample string 5",
        "description": "sample string 6",
        "colour": "sample string 7",
        "registrationDate": "0001-01-01",
        "vin": "sample string 9",
        "currentMileage": 1,
        "engineSize": 1,
        "capDetails": {
          "id": 1,
          "code": "sample string 2"
        },
        "isNew": true,
        "isMock": true,
        "vehicleType": 0,
        "transmissionType": 0,
        "cO2Emission": 13,
        "fuelTypeE": 0,
        "noDoors": 64,
        "vehicleFullPrice": 16.0,
        "vehicleRefUrl": "sample string 17",
        "retailPrice": 21.0,
        "monthlyPrice": 19.0,
        "capRetailPrice": 1.0,
        "capCleanPrice": 1.0,
        "capAveragePrice": 1.0,
        "capBelowPrice": 1.0,
        "supplierVehicleID": 20,
        "registrationYear": 1,
        "mileage": 1,
        "doors": 64,
        "price": 21.0,
        "transmission": "Unknown",
        "fuelType": "Petrol",
        "imageUrl_Main": "sample string 23",
        "imageUrl_More1": "sample string 24",
        "imageUrl_More2": "sample string 25",
        "imageUrl_More3": "sample string 26",
        "imageUrl_More4": "sample string 27",
        "imageUrl_More5": "sample string 28",
        "imageUrl_More6": "sample string 29",
        "imageUrl_More7": "sample string 30",
        "imageUrl_More8": "sample string 31",
        "imageUrl_More9": "sample string 32",
        "capId": 1,
        "glassId": "sample string 33",
        "inFeedId": "sample string 34",
        "inFeedDealerId": "sample string 35",
        "bodyType": "sample string 36",
        "modified": "2025-01-19",
        "feedProviderId": 38,
        "nettPrice": 39.0,
        "vat": 40.0,
        "grossPrice": 79.0,
        "glassesValue": 41.0
      },
      {
        "isShowroomPicked": true,
        "id": 20,
        "make": "sample string 2",
        "model": "sample string 3",
        "registration": "sample string 4",
        "variant": "sample string 5",
        "description": "sample string 6",
        "colour": "sample string 7",
        "registrationDate": "0001-01-01",
        "vin": "sample string 9",
        "currentMileage": 1,
        "engineSize": 1,
        "capDetails": {
          "id": 1,
          "code": "sample string 2"
        },
        "isNew": true,
        "isMock": true,
        "vehicleType": 0,
        "transmissionType": 0,
        "cO2Emission": 13,
        "fuelTypeE": 0,
        "noDoors": 64,
        "vehicleFullPrice": 16.0,
        "vehicleRefUrl": "sample string 17",
        "retailPrice": 21.0,
        "monthlyPrice": 19.0,
        "capRetailPrice": 1.0,
        "capCleanPrice": 1.0,
        "capAveragePrice": 1.0,
        "capBelowPrice": 1.0,
        "supplierVehicleID": 20,
        "registrationYear": 1,
        "mileage": 1,
        "doors": 64,
        "price": 21.0,
        "transmission": "Unknown",
        "fuelType": "Petrol",
        "imageUrl_Main": "sample string 23",
        "imageUrl_More1": "sample string 24",
        "imageUrl_More2": "sample string 25",
        "imageUrl_More3": "sample string 26",
        "imageUrl_More4": "sample string 27",
        "imageUrl_More5": "sample string 28",
        "imageUrl_More6": "sample string 29",
        "imageUrl_More7": "sample string 30",
        "imageUrl_More8": "sample string 31",
        "imageUrl_More9": "sample string 32",
        "capId": 1,
        "glassId": "sample string 33",
        "inFeedId": "sample string 34",
        "inFeedDealerId": "sample string 35",
        "bodyType": "sample string 36",
        "modified": "2025-01-19",
        "feedProviderId": 38,
        "nettPrice": 39.0,
        "vat": 40.0,
        "grossPrice": 79.0,
        "glassesValue": 41.0
      }
    ],
    "dataProtection": {
      "tCsPrivacyPolicy": true,
      "email": true,
      "phone": true,
      "sms": true,
      "post": true,
      "partnerLegitimateInterest": true,
      "fraudster": true
    }
  },
  "step": 1
}

application/xml

Sample:

An exception has occurred while using the formatter 'System.Net.Http.Formatting.XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Type 'ERP.Api.Models.CustomerPortal.BasicAddress' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.

text/xml

Sample:

An exception has occurred while using the formatter 'System.Net.Http.Formatting.XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Type 'ERP.Api.Models.CustomerPortal.BasicAddress' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.