POST api/CustomerApp/Action/SyncAMSCustomers

Sync Customers from AMS

Request Information

URI Parameters

None.

Body Parameters

CustomerSearchVM
NameDescriptionTypeAdditional information
UserId

integer

None.

DealerId

integer

None.

Name

string

None.

PageStart

integer

None.

PageLimit

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "DealerId": 1,
  "Name": "sample string 1",
  "PageStart": 2,
  "PageLimit": 3
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

MessageVMOfListOfCustomerSyncAMSVM
NameDescriptionTypeAdditional information
success

boolean

None.

message

string

None.

data

Collection of CustomerSyncAMSVM

None.

total

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "message": "sample string 2",
  "data": [
    {
      "Id": 1,
      "RefNum": "sample string 2",
      "CustomerNumber": "sample string 3",
      "Title": "sample string 4",
      "FirstName": "sample string 5",
      "LastName": "sample string 6",
      "DOB": "sample string 7",
      "IsVIP": true,
      "Phone": "sample string 8",
      "Gender": "sample string 9",
      "Nationality": "sample string 10",
      "Address": "sample string 11",
      "Street": "sample string 12",
      "Suburb": "sample string 13",
      "State": "sample string 14",
      "AreaCode": "sample string 15",
      "Country": "sample string 16",
      "HomePhone": "sample string 17",
      "WorkPhone": "sample string 18",
      "Fax": "sample string 19",
      "Email2": "sample string 20",
      "CompanyName": "sample string 21",
      "Designation": "sample string 22",
      "CompanyAddress": "sample string 23",
      "CompanyABN": "sample string 24",
      "CompanyACN": "sample string 25",
      "CompanyPhone": "sample string 26",
      "CompanyEmail": "sample string 27",
      "AddedDate": "2024-12-23T15:08:29.4356963Z",
      "CurrentVehicle": "sample string 28",
      "Language": "sample string 29",
      "Email": "sample string 30",
      "LicenseNo": "sample string 31",
      "LicenseExpiry": "sample string 32",
      "LicenseImageURL": "sample string 33",
      "LicenseImageBackURL": "sample string 34",
      "VisitingCardImageURL": "sample string 35",
      "Bas64LicenseImage": "sample string 36",
      "Bas64LicenseImageBack": "sample string 37",
      "Bas64VisitingCardImage": "sample string 38",
      "ImageURL": "sample string 39",
      "Bas64Image": "sample string 40",
      "UserId": 41,
      "ReturnCustomer": true,
      "IsTestDrive": true,
      "BDCProspect": "sample string 42",
      "ContactMethod": "sample string 43",
      "Interests": "sample string 44",
      "MaritalStatus": "sample string 45",
      "DriverName": "sample string 46",
      "OptinPhone": "sample string 47",
      "OptinEmail": "sample string 48",
      "OptinPost": "sample string 49",
      "RROptinPhone": "sample string 50",
      "RROptinEmail": "sample string 51",
      "RROptinPost": "sample string 52",
      "AMSCustomerId": 1,
      "IsEditable": true,
      "DealerId": 1
    },
    {
      "Id": 1,
      "RefNum": "sample string 2",
      "CustomerNumber": "sample string 3",
      "Title": "sample string 4",
      "FirstName": "sample string 5",
      "LastName": "sample string 6",
      "DOB": "sample string 7",
      "IsVIP": true,
      "Phone": "sample string 8",
      "Gender": "sample string 9",
      "Nationality": "sample string 10",
      "Address": "sample string 11",
      "Street": "sample string 12",
      "Suburb": "sample string 13",
      "State": "sample string 14",
      "AreaCode": "sample string 15",
      "Country": "sample string 16",
      "HomePhone": "sample string 17",
      "WorkPhone": "sample string 18",
      "Fax": "sample string 19",
      "Email2": "sample string 20",
      "CompanyName": "sample string 21",
      "Designation": "sample string 22",
      "CompanyAddress": "sample string 23",
      "CompanyABN": "sample string 24",
      "CompanyACN": "sample string 25",
      "CompanyPhone": "sample string 26",
      "CompanyEmail": "sample string 27",
      "AddedDate": "2024-12-23T15:08:29.4356963Z",
      "CurrentVehicle": "sample string 28",
      "Language": "sample string 29",
      "Email": "sample string 30",
      "LicenseNo": "sample string 31",
      "LicenseExpiry": "sample string 32",
      "LicenseImageURL": "sample string 33",
      "LicenseImageBackURL": "sample string 34",
      "VisitingCardImageURL": "sample string 35",
      "Bas64LicenseImage": "sample string 36",
      "Bas64LicenseImageBack": "sample string 37",
      "Bas64VisitingCardImage": "sample string 38",
      "ImageURL": "sample string 39",
      "Bas64Image": "sample string 40",
      "UserId": 41,
      "ReturnCustomer": true,
      "IsTestDrive": true,
      "BDCProspect": "sample string 42",
      "ContactMethod": "sample string 43",
      "Interests": "sample string 44",
      "MaritalStatus": "sample string 45",
      "DriverName": "sample string 46",
      "OptinPhone": "sample string 47",
      "OptinEmail": "sample string 48",
      "OptinPost": "sample string 49",
      "RROptinPhone": "sample string 50",
      "RROptinEmail": "sample string 51",
      "RROptinPost": "sample string 52",
      "AMSCustomerId": 1,
      "IsEditable": true,
      "DealerId": 1
    }
  ],
  "total": 3
}