POST api/loyalty/GetCustomerDetails_ById

Request Information

URI Parameters

None.

Body Parameters

Loyalty
NameDescriptionTypeAdditional information
Id

integer

None.

LoyaltyId

integer

None.

LoyaltyCustomerId

integer

None.

SelectedOffer

string

None.

SalonId

integer

None.

UserId

integer

None.

RewardsEarned

integer

None.

Rewardsavailable

integer

None.

ApprovedStamp

integer

None.

Reward

integer

None.

IsRequestSend

integer

None.

IsRequestApprove

integer

None.

IsRequestReject

integer

None.

ApproveRequestcount

integer

None.

Action

integer

None.

StampCount

integer

None.

SalonName

string

None.

CardDetails

string

None.

Cupencode

string

None.

UserName

string

None.

Phone

string

None.

HowtoEarnStamp

string

None.

ShopName

string

None.

RewardDetails

string

None.

Email

string

None.

OfferType

string

None.

Terms

string

None.

Discount

string

None.

TermsButton

integer

None.

QRImage

string

None.

CreatedDate

date

None.

Dob

date

None.

Lastrewardearned

date

None.

Laststampearned

date

None.

CreatedDateStr

string

None.

LaststampearnedStr

string

None.

LastrewardearnedStr

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "LoyaltyId": 2,
  "LoyaltyCustomerId": 3,
  "SelectedOffer": "sample string 4",
  "SalonId": 5,
  "UserId": 6,
  "RewardsEarned": 7,
  "Rewardsavailable": 8,
  "ApprovedStamp": 9,
  "Reward": 10,
  "IsRequestSend": 11,
  "IsRequestApprove": 12,
  "IsRequestReject": 13,
  "ApproveRequestcount": 14,
  "Action": 15,
  "StampCount": 16,
  "SalonName": "sample string 17",
  "CardDetails": "sample string 18",
  "Cupencode": "sample string 19",
  "UserName": "sample string 20",
  "Phone": "sample string 21",
  "HowtoEarnStamp": "sample string 22",
  "ShopName": "sample string 23",
  "RewardDetails": "sample string 24",
  "Email": "sample string 25",
  "OfferType": "sample string 26",
  "Terms": "sample string 27",
  "Discount": "sample string 28",
  "TermsButton": 29,
  "QRImage": "sample string 30",
  "CreatedDate": "2025-07-08T20:36:20.5111011+03:00",
  "Dob": "2025-07-08T20:36:20.5111011+03:00",
  "Lastrewardearned": "2025-07-08T20:36:20.5111011+03:00",
  "Laststampearned": "2025-07-08T20:36:20.5111011+03:00",
  "CreatedDateStr": "08-Jul-2025 08:36 PM",
  "LaststampearnedStr": "08-Jul-2025 08:36 PM",
  "LastrewardearnedStr": "08-Jul-2025 08:36 PM"
}

text/xml

Sample:
<Loyalty xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.V1">
  <Action xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">15</Action>
  <ApproveRequestcount xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">14</ApproveRequestcount>
  <ApprovedStamp xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">9</ApprovedStamp>
  <CardDetails xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 18</CardDetails>
  <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">2025-07-08T20:36:20.5111011+03:00</CreatedDate>
  <Cupencode xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 19</Cupencode>
  <Discount xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 28</Discount>
  <Dob xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">2025-07-08T20:36:20.5111011+03:00</Dob>
  <Email xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 25</Email>
  <HowtoEarnStamp xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 22</HowtoEarnStamp>
  <Id xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">1</Id>
  <IsRequestApprove xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">12</IsRequestApprove>
  <IsRequestReject xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">13</IsRequestReject>
  <IsRequestSend xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">11</IsRequestSend>
  <Lastrewardearned xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">2025-07-08T20:36:20.5111011+03:00</Lastrewardearned>
  <Laststampearned xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">2025-07-08T20:36:20.5111011+03:00</Laststampearned>
  <LoyaltyCustomerId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">3</LoyaltyCustomerId>
  <LoyaltyId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">2</LoyaltyId>
  <OfferType xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 26</OfferType>
  <Phone xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 21</Phone>
  <QRImage xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 30</QRImage>
  <Reward xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">10</Reward>
  <RewardDetails xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 24</RewardDetails>
  <RewardsEarned xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">7</RewardsEarned>
  <Rewardsavailable xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">8</Rewardsavailable>
  <SalonId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">5</SalonId>
  <SalonName xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 17</SalonName>
  <SelectedOffer xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 4</SelectedOffer>
  <ShopName xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 23</ShopName>
  <StampCount xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">16</StampCount>
  <Terms xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 27</Terms>
  <TermsButton xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">29</TermsButton>
  <UserId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">6</UserId>
  <UserName xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 20</UserName>
</Loyalty>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Loyalty'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/xml

Sample:

Sample not available.