Run in Apidog
این وبسرویس جهت اتصال پلتفرم شما با رنتامون فراهم شده است. برای ارسال اطلاعات رزرو جدید در یکی از اقامتگاههای پلتفرم شما به رنتامون، لطفا از این متد و پارامترها استفاده بفرمایید.
Request Body Params application/json
platformproperty_id
string
required مبلغ ناخالص پرداختی (به ریال، پیش از کسر کمیسیون)
شماره تلفن مهمان (۱۱ رقمی)
booked_at
string <date-time>
required تاریخ و ساعت ثبت رزرو (YYYY-MM-DD HH:MM:SS)
{
"platformproperty_id" : "4576243" ,
"guest_name" : "تینا اصغری" ,
"check_in" : "2019-08-24" ,
"check_out" : "2019-08-25" ,
"amount" : 4500000 ,
"platform_id" : "Your platform" ,
"guests_count" : 3 ,
"night" : 1 ,
"status" : "reserved" ,
"guest_phone" : "09123456789" ,
"booked_at" : "2019-08-24T14:15:22.123Z"
}
Request samples curl --location --request POST '/api/v1/platform//bookings/' \
--header 'Content-Type: application/json' \
--data-raw '{
"platformproperty_id": "4576243",
"guest_name": "تینا اصغری",
"check_in": "2019-08-24",
"check_out": "2019-08-25",
"amount": 4500000,
"platform_id": "Your platform",
"guests_count": 3,
"night": 1,
"status": "reserved",
"guest_phone": "09123456789",
"booked_at": "2019-08-24T14:15:22.123Z"
}'
Responses
created_at
string <date-time>
optional
{
"status" : "success" ,
"message" : "رزرو دریافت شد" ,
"booking_id" : 654789 ,
"platform_id" : "Your platform" ,
"created_at" : "2019-08-24T14:15:22.123Z"
}
Modified at 2025-02-26 16:07:51