POST api/CustomerApp/Action/UpdateCustomer

Update Customer Information

Request Information

URI Parameters

None.

Body Parameters

CustomerAppVM
NameDescriptionTypeAdditional information
Id

integer

None.

RefNum

string

None.

CustomerNumber

string

None.

Title

string

None.

FirstName

string

None.

LastName

string

None.

DOB

string

None.

IsVIP

boolean

None.

Phone

string

None.

Email

string

None.

Gender

string

None.

Nationality

string

None.

Address

string

None.

Street

string

None.

Suburb

string

None.

State

string

None.

AreaCode

string

None.

Country

string

None.

HomePhone

string

None.

WorkPhone

string

None.

Fax

string

None.

Email2

string

None.

CompanyName

string

None.

Designation

string

None.

CompanyAddress

string

None.

CompanyABN

string

None.

CompanyACN

string

None.

CompanyPhone

string

None.

CompanyEmail

string

None.

AddedDate

date

None.

CurrentVehicle

string

None.

Language

string

None.

LicenseNo

string

None.

LicenseExpiry

string

None.

LicenseImageURL

string

None.

LicenseImageBackURL

string

None.

VisitingCardImageURL

string

None.

Bas64LicenseImage

string

None.

Bas64LicenseImageBack

string

None.

Bas64VisitingCardImage

string

None.

ImageURL

string

None.

Bas64Image

string

None.

UserId

integer

None.

AddedBy

integer

None.

ReturnCustomer

boolean

None.

IsTestDrive

boolean

None.

BDCProspect

string

None.

ContactMethod

string

None.

Interests

string

None.

MaritalStatus

string

None.

DriverName

string

None.

OptinPhone

string

None.

OptinEmail

string

None.

OptinPost

string

None.

RROptinPhone

string

None.

RROptinEmail

string

None.

RROptinPost

string

None.

AMSCustomerId

integer

None.

IsEditable

boolean

None.

DealerId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "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",
  "Email": "sample string 9",
  "Gender": "sample string 10",
  "Nationality": "sample string 11",
  "Address": "sample string 12",
  "Street": "sample string 13",
  "Suburb": "sample string 14",
  "State": "sample string 15",
  "AreaCode": "sample string 16",
  "Country": "sample string 17",
  "HomePhone": "sample string 18",
  "WorkPhone": "sample string 19",
  "Fax": "sample string 20",
  "Email2": "sample string 21",
  "CompanyName": "sample string 22",
  "Designation": "sample string 23",
  "CompanyAddress": "sample string 24",
  "CompanyABN": "sample string 25",
  "CompanyACN": "sample string 26",
  "CompanyPhone": "sample string 27",
  "CompanyEmail": "sample string 28",
  "AddedDate": "2024-12-23T14:41:41.6259779Z",
  "CurrentVehicle": "sample string 29",
  "Language": "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,
  "AddedBy": 1,
  "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
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

MessageVMOfCustomerAppVM
NameDescriptionTypeAdditional information
success

boolean

None.

message

string

None.

data

CustomerAppVM

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",
    "Email": "sample string 9",
    "Gender": "sample string 10",
    "Nationality": "sample string 11",
    "Address": "sample string 12",
    "Street": "sample string 13",
    "Suburb": "sample string 14",
    "State": "sample string 15",
    "AreaCode": "sample string 16",
    "Country": "sample string 17",
    "HomePhone": "sample string 18",
    "WorkPhone": "sample string 19",
    "Fax": "sample string 20",
    "Email2": "sample string 21",
    "CompanyName": "sample string 22",
    "Designation": "sample string 23",
    "CompanyAddress": "sample string 24",
    "CompanyABN": "sample string 25",
    "CompanyACN": "sample string 26",
    "CompanyPhone": "sample string 27",
    "CompanyEmail": "sample string 28",
    "AddedDate": "2024-12-23T14:41:41.6259779Z",
    "CurrentVehicle": "sample string 29",
    "Language": "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,
    "AddedBy": 1,
    "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
}