GET api/SpecialOffer/GetByID?apiKey={apiKey}&specialOfferID={specialOfferID}&lng={lng}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
apiKey

string

Required

specialOfferID

globally unique identifier

Required

lng

string

Default value is en

Body Parameters

None.

Response Information

Resource Description

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": "9e4aa9b3-a975-4547-829c-e03280dfa82a",
  "SequenceNo": 2,
  "Name": "sample string 3",
  "Code": "sample string 4",
  "StartOn": "2023-12-08T20:32:43.8644095+04:00",
  "EndOn": "2023-12-08T20:32:43.8644095+04:00",
  "Description": "sample string 9",
  "RentalDayType": [
    1,
    2
  ],
  "AllowedKm": 10,
  "TermsAndConditions": "sample string 11",
  "OfferAttachment": {
    "AttachmentID": "abcfd3f9-808f-427e-873e-160297ac72ee",
    "ImageString": "sample string 6",
    "AttachmentDataBase64": "sample string 7"
  },
  "ThumbnailAttachment": {
    "AttachmentID": "abcfd3f9-808f-427e-873e-160297ac72ee",
    "ImageString": "sample string 6",
    "AttachmentDataBase64": "sample string 7"
  },
  "BookingFrom": "2023-12-08T20:32:43.8644095+04:00",
  "BookingTo": "2023-12-08T20:32:43.8644095+04:00",
  "EnableBookingDateValidation": true,
  "BookingMode": 0,
  "FavouriteNote": "sample string 15",
  "PaymentMode": 0
}