POST Car/ChangeActivity

Request Information

URI Parameters

None.

Body Parameters

CarActivityEditRequest
NameDescriptionTypeAdditional information
car_id

integer

None.

is_active

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "car_id": 1,
  "is_active": true
}

application/xml, text/xml

Sample:
<CarActivityEditRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RentekerAPIProject.Controllers">
  <car_id>1</car_id>
  <is_active>true</is_active>
</CarActivityEditRequest>

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

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>