POST Car/CarOwnerInfoEdit

Request Information

URI Parameters

None.

Body Parameters

CarOwnerInfoEditRequest
NameDescriptionTypeAdditional information
car_id

integer

None.

user_name

string

None.

user_surname

string

None.

user_phone

string

None.

user_email

string

None.

Request Formats

application/json, text/json

Sample:
{
  "car_id": 1,
  "user_name": "sample string 2",
  "user_surname": "sample string 3",
  "user_phone": "sample string 4",
  "user_email": "sample string 5"
}

application/xml, text/xml

Sample:
<CarOwnerInfoEditRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RentekerAPIProject.Controllers">
  <car_id>1</car_id>
  <user_email>sample string 5</user_email>
  <user_name>sample string 2</user_name>
  <user_phone>sample string 4</user_phone>
  <user_surname>sample string 3</user_surname>
</CarOwnerInfoEditRequest>

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

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>