GET api/SpecialOffer/GetByRentalTypeID?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": "b4a09e17-7550-499c-810e-16577958eb59", "SequenceNo": 2, "Name": "sample string 3", "Code": "sample string 4", "StartOn": "2023-12-08T19:23:35.645426+04:00", "EndOn": "2023-12-08T19:23:35.645426+04:00", "Description": "sample string 9", "RentalDayType": [ 1, 2 ], "AllowedKm": 10, "TermsAndConditions": "sample string 11", "OfferAttachment": { "AttachmentID": "d79c14aa-c0c0-44f9-9785-bbe39082bf76", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" }, "ThumbnailAttachment": { "AttachmentID": "d79c14aa-c0c0-44f9-9785-bbe39082bf76", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" }, "BookingFrom": "2023-12-08T19:23:35.645426+04:00", "BookingTo": "2023-12-08T19:23:35.645426+04:00", "EnableBookingDateValidation": true, "BookingMode": 0, "FavouriteNote": "sample string 15", "PaymentMode": 0 }, { "SpecialOfferID": "b4a09e17-7550-499c-810e-16577958eb59", "SequenceNo": 2, "Name": "sample string 3", "Code": "sample string 4", "StartOn": "2023-12-08T19:23:35.645426+04:00", "EndOn": "2023-12-08T19:23:35.645426+04:00", "Description": "sample string 9", "RentalDayType": [ 1, 2 ], "AllowedKm": 10, "TermsAndConditions": "sample string 11", "OfferAttachment": { "AttachmentID": "d79c14aa-c0c0-44f9-9785-bbe39082bf76", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" }, "ThumbnailAttachment": { "AttachmentID": "d79c14aa-c0c0-44f9-9785-bbe39082bf76", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" }, "BookingFrom": "2023-12-08T19:23:35.645426+04:00", "BookingTo": "2023-12-08T19:23:35.645426+04:00", "EnableBookingDateValidation": true, "BookingMode": 0, "FavouriteNote": "sample string 15", "PaymentMode": 0 } ]
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.