POST Users/EditUserDL

Request Information

URI Parameters

None.

Body Parameters

EditUserDLRequest
NameDescriptionTypeAdditional information
UserID

integer

None.

driving_license_number

string

None.

driving_license_date

date

None.

Request Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "driving_license_number": "sample string 2",
  "driving_license_date": "2025-11-08T13:23:56.0761831+03:00"
}

application/xml, text/xml

Sample:
<UserController.EditUserDLRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RentekerAPIProject.Controllers">
  <UserID>1</UserID>
  <driving_license_date>2025-11-08T13:23:56.0761831+03:00</driving_license_date>
  <driving_license_number>sample string 2</driving_license_number>
</UserController.EditUserDLRequest>

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 'EditUserDLRequest'.

Response Information

Resource Description

GeneralResponse
NameDescriptionTypeAdditional information
success

boolean

None.

message

string

None.

Response Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<AppSettings.GeneralResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RentekerAPIProject">
  <message>sample string 2</message>
  <success>true</success>
</AppSettings.GeneralResponse>