POST api/UpdateCustomer

Request Information

URI Parameters

None.

Body Parameters

RentalUser
NameDescriptionTypeAdditional information
Id

integer

None.

Email

string

None.

Password

string

None.

FirstName

string

None.

LastName

string

None.

IdNo

string

None.

IdType

string

None.

BirthDate

date

None.

DriversLicenseNo

string

None.

DriversLicenseDate

date

None.

Active

boolean

None.

CustomerId

integer

None.

CreateDate

date

None.

UpdateDate

date

None.

PasswordChange

boolean

None.

Registered

boolean

None.

MarkettingConcession

boolean

None.

Language

string

None.

ToRegisterUser

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Email": "sample string 2",
  "Password": "sample string 3",
  "FirstName": "sample string 4",
  "LastName": "sample string 5",
  "IdNo": "sample string 6",
  "IdType": "sample string 7",
  "BirthDate": "2026-01-30T14:45:19.4131028+03:00",
  "DriversLicenseNo": "sample string 8",
  "DriversLicenseDate": "2026-01-30T14:45:19.4131028+03:00",
  "Active": true,
  "CustomerId": 1,
  "CreateDate": "2026-01-30T14:45:19.4131028+03:00",
  "UpdateDate": "2026-01-30T14:45:19.4131028+03:00",
  "PasswordChange": true,
  "Registered": true,
  "MarkettingConcession": true,
  "Language": "sample string 13",
  "ToRegisterUser": true
}

application/xml, text/xml

Sample:
<RentalUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RentACarService.Models">
  <Active>true</Active>
  <BirthDate>2026-01-30T14:45:19.4131028+03:00</BirthDate>
  <CreateDate>2026-01-30T14:45:19.4131028+03:00</CreateDate>
  <CustomerId>1</CustomerId>
  <DriversLicenseDate>2026-01-30T14:45:19.4131028+03:00</DriversLicenseDate>
  <DriversLicenseNo>sample string 8</DriversLicenseNo>
  <Email>sample string 2</Email>
  <FirstName>sample string 4</FirstName>
  <Id>1</Id>
  <IdNo>sample string 6</IdNo>
  <IdType>sample string 7</IdType>
  <Language>sample string 13</Language>
  <LastName>sample string 5</LastName>
  <MarkettingConcession>true</MarkettingConcession>
  <Password>sample string 3</Password>
  <PasswordChange>true</PasswordChange>
  <Registered>true</Registered>
  <ToRegisterUser>true</ToRegisterUser>
  <UpdateDate>2026-01-30T14:45:19.4131028+03:00</UpdateDate>
</RentalUser>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'RentalUser'.

Response Information

Resource Description

ServiceResponse
NameDescriptionTypeAdditional information
StatusCode

integer

None.

StatusMessage

string

None.

ErrorType

string

None.

ObjectList

Object

None.

ObjectList2

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "StatusCode": 1,
  "StatusMessage": "sample string 2",
  "ErrorType": "sample string 3",
  "ObjectList": {},
  "ObjectList2": {}
}

application/xml, text/xml

Sample:
<ServiceResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RentACarService.Models">
  <ErrorType>sample string 3</ErrorType>
  <ObjectList />
  <ObjectList2 />
  <StatusCode>1</StatusCode>
  <StatusMessage>sample string 2</StatusMessage>
</ServiceResponse>