POST api/TradeInAMS/Action/UpdateTradeInAMSPro

Save TradeIn

Request Information

URI Parameters

None.

Body Parameters

PushTradeInModel
NameDescriptionTypeAdditional information
TradeIn

TradeInAMSVM

None.

Customer

CustomerAMSVM

None.

DealerCode

string

None.

UserId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "TradeIn": {
    "Id": 1,
    "InquiryId": 2,
    "AMSProId": "sample string 3",
    "VehicleMake": "sample string 4",
    "VehicleClass": "sample string 5",
    "VehicleModel": "sample string 6",
    "VehicleModelDescription": "sample string 7",
    "ModelType": "sample string 8",
    "Notes": "sample string 9",
    "VehicleYear": 1,
    "VehicleColor": "sample string 10",
    "RegNum": "sample string 11",
    "RegDate": "sample string 12",
    "ChassisNum": "sample string 13",
    "EngineNum": "sample string 14",
    "Gear": "sample string 15",
    "Doors": "sample string 16",
    "MileageKM": "sample string 17",
    "Interior": "sample string 18",
    "Trim": "sample string 19",
    "SpareTyre": "sample string 20",
    "Mulliner": "sample string 21",
    "Wheels": "sample string 22",
    "MassageVentilated": "sample string 23",
    "Camera": "sample string 24",
    "ContrastStiching": "sample string 25",
    "WoodSteering": "sample string 26",
    "Sunroof": "sample string 27",
    "Owners": "sample string 28",
    "OutstandingPayments": "sample string 29",
    "Warranty": "sample string 30",
    "FinanceCo": "sample string 31",
    "ServiceContFrom": "sample string 32",
    "ServiceContTo": "sample string 33",
    "Reconditioning": "sample string 34",
    "VehicleImageURL": "sample string 35",
    "TyreAge": "sample string 36",
    "Financed": "sample string 37",
    "LastService": "sample string 38",
    "Status": "sample string 39",
    "EngineSize": "sample string 40",
    "BodyType": "sample string 41",
    "EngineType": "sample string 42",
    "FrontLeftWheel": "sample string 43",
    "FrontRightWheel": "sample string 44",
    "RearLeftWheel": "sample string 45",
    "RearRightWheel": "sample string 46",
    "VehicleCondition": "sample string 47",
    "BuildDate": "2024-12-23T14:44:17.2926954Z",
    "ComplianceDate": "2024-12-23T14:44:17.2926954Z",
    "SaleExecutiveName": "sample string 48",
    "SaleExecutiveEmail": "sample string 49",
    "TradeInImages": [
      {
        "Id": 1,
        "ImageURL": "sample string 2",
        "ImageCategory": "sample string 3",
        "Description": "sample string 4",
        "Type": "sample string 5",
        "Thumb_ImageURL": "sample string 6"
      },
      {
        "Id": 1,
        "ImageURL": "sample string 2",
        "ImageCategory": "sample string 3",
        "Description": "sample string 4",
        "Type": "sample string 5",
        "Thumb_ImageURL": "sample string 6"
      }
    ],
    "SpareKey": "sample string 50",
    "LogBooks": "sample string 51",
    "ServiceHistory": "sample string 52",
    "CargoBlind": "sample string 53",
    "HeadRests": "sample string 54",
    "SDCard": "sample string 55",
    "WarrantyExpiryDate": "2024-12-23T14:44:17.2926954Z"
  },
  "Customer": {
    "Id": 1,
    "CustomerNumber": "sample string 2",
    "RefNum": "sample string 3",
    "Title": "sample string 4",
    "FirstName": "sample string 5",
    "MiddleName": "sample string 6",
    "LastName": "sample string 7",
    "DOB": "2024-12-23T14:44:17.2936887Z",
    "Phone": "sample string 8",
    "ImageURL": "sample string 9",
    "IsActive": true,
    "IsImport": true,
    "IsVIP": true,
    "Email": "sample string 10",
    "LicenseNo": "sample string 11",
    "LicenseExpiry": "2024-12-23T14:44:17.2936887Z",
    "LicenseImageURL": "sample string 12",
    "LicenseImageBackURL": "sample string 13",
    "VisitingCardImageURL": "sample string 14",
    "Gender": "sample string 15",
    "Nationality": "sample string 16",
    "Address": "sample string 17",
    "Street": "sample string 18",
    "Suburb": "sample string 19",
    "State": "sample string 20",
    "AreaCode": "sample string 21",
    "Country": "sample string 22",
    "HomePhone": "sample string 23",
    "WorkPhone": "sample string 24",
    "Fax": "sample string 25",
    "Email2": "sample string 26",
    "CompanyName": "sample string 27",
    "Designation": "sample string 28",
    "CompanyAddress": "sample string 29",
    "CompanyABN": "sample string 30",
    "CompanyACN": "sample string 31",
    "CompanyPhone": "sample string 32",
    "CompanyEmail": "sample string 33",
    "CurrentVehicle": "sample string 34",
    "Language": "sample string 35",
    "ContactMethod": "sample string 36",
    "Interests": "sample string 37",
    "MaritalStatus": "sample string 38",
    "DriverName": "sample string 39",
    "OptinPhone": "sample string 40",
    "OptinEmail": "sample string 41",
    "OptinPost": "sample string 42",
    "RROptinPhone": "sample string 43",
    "RROptinEmail": "sample string 44",
    "RROptinPost": "sample string 45",
    "AddressType": "sample string 46",
    "CampaignId": 1,
    "Origin": "sample string 47",
    "DealerId": 1,
    "AMSProId": "sample string 48"
  },
  "DealerCode": "sample string 1",
  "UserId": 2
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

MessageVM
NameDescriptionTypeAdditional information
success

boolean

None.

message

string

None.

data

Object

None.

total

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "message": "sample string 2",
  "data": {},
  "total": 4
}