POST api/Offer/CheckUserDetails
Request Information
URI Parameters
None.
Body Parameters
OfferModel| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | string |
None. |
|
| couponCode | string |
None. |
|
| Percentage | string |
None. |
|
| AmountToDiscount | string |
None. |
|
| EndDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserId": "sample string 1",
"couponCode": "sample string 2",
"Percentage": "sample string 3",
"AmountToDiscount": "sample string 4",
"EndDate": "2025-12-31T18:17:24.9042238+05:30"
}
application/xml, text/xml
Sample:
<OfferModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mechon.Models"> <AmountToDiscount>sample string 4</AmountToDiscount> <EndDate>2025-12-31T18:17:24.9042238+05:30</EndDate> <Percentage>sample string 3</Percentage> <UserId>sample string 1</UserId> <couponCode>sample string 2</couponCode> </OfferModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />