GET api/SpecialOffer?apiKey={apiKey}&rentalTypeID={rentalTypeID}&count={count}&lng={lng}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
apiKey | string |
Required |
|
rentalTypeID | integer |
Required |
|
count | integer |
Required |
|
lng | string |
Default value is en |
Body Parameters
None.
Response Information
Resource Description
Collection of SpecialOfferName | Description | Type | Additional information |
---|---|---|---|
SpecialOfferID | globally unique identifier |
None. |
|
SequenceNo | integer |
None. |
|
Name | string |
None. |
|
Code | string |
None. |
|
StartOn | date |
None. |
|
EndOn | date |
None. |
|
Description | string |
None. |
|
RentalDayType | Collection of integer |
None. |
|
AllowedKm | integer |
None. |
|
TermsAndConditions | string |
None. |
|
OfferAttachment | Attachment |
None. |
|
ThumbnailAttachment | Attachment |
None. |
|
BookingFrom | date |
None. |
|
BookingTo | date |
None. |
|
EnableBookingDateValidation | boolean |
None. |
|
BookingMode | BookingMode |
None. |
|
FavouriteNote | string |
None. |
|
PaymentMode | PaymentStatus |
None. |
Response Formats
application/json, text/json
Sample:
[ { "SpecialOfferID": "e4c1fb27-d607-4d03-aa3a-679e36c7f3a2", "SequenceNo": 2, "Name": "sample string 3", "Code": "sample string 4", "StartOn": "2023-12-08T19:30:23.9733271+04:00", "EndOn": "2023-12-08T19:30:23.9733271+04:00", "Description": "sample string 9", "RentalDayType": [ 1, 2 ], "AllowedKm": 10, "TermsAndConditions": "sample string 11", "OfferAttachment": { "AttachmentID": "adddc4d1-eb81-4878-970a-4d39a6fb768c", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" }, "ThumbnailAttachment": { "AttachmentID": "adddc4d1-eb81-4878-970a-4d39a6fb768c", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" }, "BookingFrom": "2023-12-08T19:30:23.9733271+04:00", "BookingTo": "2023-12-08T19:30:23.9733271+04:00", "EnableBookingDateValidation": true, "BookingMode": 0, "FavouriteNote": "sample string 15", "PaymentMode": 0 }, { "SpecialOfferID": "e4c1fb27-d607-4d03-aa3a-679e36c7f3a2", "SequenceNo": 2, "Name": "sample string 3", "Code": "sample string 4", "StartOn": "2023-12-08T19:30:23.9733271+04:00", "EndOn": "2023-12-08T19:30:23.9733271+04:00", "Description": "sample string 9", "RentalDayType": [ 1, 2 ], "AllowedKm": 10, "TermsAndConditions": "sample string 11", "OfferAttachment": { "AttachmentID": "adddc4d1-eb81-4878-970a-4d39a6fb768c", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" }, "ThumbnailAttachment": { "AttachmentID": "adddc4d1-eb81-4878-970a-4d39a6fb768c", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" }, "BookingFrom": "2023-12-08T19:30:23.9733271+04:00", "BookingTo": "2023-12-08T19:30:23.9733271+04:00", "EnableBookingDateValidation": true, "BookingMode": 0, "FavouriteNote": "sample string 15", "PaymentMode": 0 } ]
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.