GET api/SpecialOffer?apiKey={apiKey}&rentalTypeID={rentalTypeID}&count={count}&lng={lng}

Request Information

URI Parameters

NameDescriptionTypeAdditional 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 SpecialOffer
NameDescriptionTypeAdditional 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": "02110a25-f8d5-4da5-aa1a-e198b9cabf5f",
    "SequenceNo": 2,
    "Name": "sample string 3",
    "Code": "sample string 4",
    "StartOn": "2024-06-14T06:05:34.0452511+04:00",
    "EndOn": "2024-06-14T06:05:34.0452511+04:00",
    "Description": "sample string 9",
    "RentalDayType": [
      1,
      2
    ],
    "AllowedKm": 10,
    "TermsAndConditions": "sample string 11",
    "OfferAttachment": {
      "AttachmentID": "adab18e4-02b3-4677-ae02-5332cbc89389",
      "ImageString": "sample string 6",
      "AttachmentDataBase64": "sample string 7"
    },
    "ThumbnailAttachment": {
      "AttachmentID": "adab18e4-02b3-4677-ae02-5332cbc89389",
      "ImageString": "sample string 6",
      "AttachmentDataBase64": "sample string 7"
    },
    "BookingFrom": "2024-06-14T06:05:34.0452511+04:00",
    "BookingTo": "2024-06-14T06:05:34.0452511+04:00",
    "EnableBookingDateValidation": true,
    "BookingMode": 0,
    "FavouriteNote": "sample string 15",
    "PaymentMode": 0
  },
  {
    "SpecialOfferID": "02110a25-f8d5-4da5-aa1a-e198b9cabf5f",
    "SequenceNo": 2,
    "Name": "sample string 3",
    "Code": "sample string 4",
    "StartOn": "2024-06-14T06:05:34.0452511+04:00",
    "EndOn": "2024-06-14T06:05:34.0452511+04:00",
    "Description": "sample string 9",
    "RentalDayType": [
      1,
      2
    ],
    "AllowedKm": 10,
    "TermsAndConditions": "sample string 11",
    "OfferAttachment": {
      "AttachmentID": "adab18e4-02b3-4677-ae02-5332cbc89389",
      "ImageString": "sample string 6",
      "AttachmentDataBase64": "sample string 7"
    },
    "ThumbnailAttachment": {
      "AttachmentID": "adab18e4-02b3-4677-ae02-5332cbc89389",
      "ImageString": "sample string 6",
      "AttachmentDataBase64": "sample string 7"
    },
    "BookingFrom": "2024-06-14T06:05:34.0452511+04:00",
    "BookingTo": "2024-06-14T06:05:34.0452511+04:00",
    "EnableBookingDateValidation": true,
    "BookingMode": 0,
    "FavouriteNote": "sample string 15",
    "PaymentMode": 0
  }
]

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.