GetAllPurchasedPolicies

The GetAllPurchasedPolicies endpoint enables the partners to get a list of the bookings purchased and cancelled by users.

Endpoint: /insurances/getAllPurchasedPolicies

Method: POST

curl -i -X POST \
-H "X_API_KEY: [my-api-key]" \
-H "Content-Type: application/json" \
-d '{"FromDate":"2017-11-10 00:00:00","ToDate": "2018-11-20 00:00:00"}' \
https://api-staging.rentalcover.com/insurances/getAllPurchasedPolicies

Request Parameters

X_API_KEY string [varchar(32)] required

API Key, provided by RentalCover.com.

FromDate datetime

Start date/time for the filter.

ToDate datetime

End date/time for the filter.

Page integer

Pagination index.

Note: Date filters do not refer to bookings FromDate or ToDate, but instead to the latest modification date of each item.

Last updated