POST api/IClassUsers/isCodeValid
Request Information
URI Parameters
None.
Body Parameters
DesktopPromoRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| MobileNo | string |
None. |
|
| Promocode | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"MobileNo": "sample string 1",
"Promocode": "sample string 2"
}
application/xml, text/xml
Sample:
<DesktopPromoRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LiveTextBooksModel.Entity"> <MobileNo>sample string 1</MobileNo> <Promocode>sample string 2</Promocode> </DesktopPromoRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
DesktopPromoResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| responseCode | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"responseCode": 1
}
application/xml, text/xml
Sample:
<DesktopPromoResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LiveTextBooksModel.Entity"> <responseCode>1</responseCode> </DesktopPromoResponse>