GET api/SpecialOffer?apiKey={apiKey}&specialOfferID={specialOfferID}&lng={lng}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
apiKey | string |
Required |
|
specialOfferID | globally unique identifier |
Required |
|
lng | string |
Default value is en |
Body Parameters
None.
Response Information
Resource Description
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": "19ef8cd4-f8e8-48f5-8231-8179c9c981fc", "SequenceNo": 2, "Name": "sample string 3", "Code": "sample string 4", "StartOn": "2023-12-08T19:26:03.5562531+04:00", "EndOn": "2023-12-08T19:26:03.5562531+04:00", "Description": "sample string 9", "RentalDayType": [ 1, 2 ], "AllowedKm": 10, "TermsAndConditions": "sample string 11", "OfferAttachment": { "AttachmentID": "24243ec3-98a5-44c9-80b4-276d9f666349", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" }, "ThumbnailAttachment": { "AttachmentID": "24243ec3-98a5-44c9-80b4-276d9f666349", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" }, "BookingFrom": "2023-12-08T19:26:03.5562531+04:00", "BookingTo": "2023-12-08T19:26:03.5562531+04:00", "EnableBookingDateValidation": true, "BookingMode": 0, "FavouriteNote": "sample string 15", "PaymentMode": 0 }