POST Notification/CreateRentRequest

Request Information

URI Parameters

None.

Body Parameters

RentNotificationRequest
NameDescriptionTypeAdditional information
adv_id

integer

None.

owner_id

integer

None.

renter_id

integer

None.

rent_status

integer

None.

capacity

integer

None.

created_date

date

None.

renter_note

string

None.

cancel_note

string

None.

rent_start_date

date

None.

rent_end_date

date

None.

price

decimal number

None.

is_renter_load_before_photo

boolean

None.

is_owner_load_before_photo

boolean

None.

is_renter_load_after_photo

boolean

None.

is_owner_load_after_photo

boolean

None.

payment_status

boolean

None.

admin_payment_status

boolean

None.

admin_payment_date

date

None.

Request Formats

application/json, text/json

Sample:
{
  "adv_id": 1,
  "owner_id": 1,
  "renter_id": 1,
  "rent_status": 1,
  "capacity": 1,
  "created_date": "2025-11-08T13:16:37.9514614+03:00",
  "renter_note": "sample string 1",
  "cancel_note": "sample string 2",
  "rent_start_date": "2025-11-08T13:16:37.9514614+03:00",
  "rent_end_date": "2025-11-08T13:16:37.9514614+03:00",
  "price": 1.0,
  "is_renter_load_before_photo": true,
  "is_owner_load_before_photo": true,
  "is_renter_load_after_photo": true,
  "is_owner_load_after_photo": true,
  "payment_status": true,
  "admin_payment_status": true,
  "admin_payment_date": "2025-11-08T13:16:37.9514614+03:00"
}

application/xml, text/xml

Sample:
<RentNotificationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RentekerAPIProject.Controllers">
  <admin_payment_date>2025-11-08T13:16:37.9514614+03:00</admin_payment_date>
  <admin_payment_status>true</admin_payment_status>
  <adv_id>1</adv_id>
  <cancel_note>sample string 2</cancel_note>
  <capacity>1</capacity>
  <created_date>2025-11-08T13:16:37.9514614+03:00</created_date>
  <is_owner_load_after_photo>true</is_owner_load_after_photo>
  <is_owner_load_before_photo>true</is_owner_load_before_photo>
  <is_renter_load_after_photo>true</is_renter_load_after_photo>
  <is_renter_load_before_photo>true</is_renter_load_before_photo>
  <owner_id>1</owner_id>
  <payment_status>true</payment_status>
  <price>1</price>
  <rent_end_date>2025-11-08T13:16:37.9514614+03:00</rent_end_date>
  <rent_start_date>2025-11-08T13:16:37.9514614+03:00</rent_start_date>
  <rent_status>1</rent_status>
  <renter_id>1</renter_id>
  <renter_note>sample string 1</renter_note>
</RentNotificationRequest>

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

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>