GET api/InstaQuote/GetPromo?userId={userId}&clubId={clubId}&promoCode={promoCode}&memberZipCode={memberZipCode}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| userId | integer |
Required |
|
| clubId | string |
Required |
|
| promoCode | string |
Required |
|
| memberZipCode | string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
PromoCode| Name | Description | Type | Additional information |
|---|---|---|---|
| PromoID | integer |
None. |
|
| PromoDisclaimer | string |
None. |
|
| PromoTrackingID | globally unique identifier |
None. |
|
| PromoCodeValue | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"PromoID": 1,
"PromoDisclaimer": "sample string 2",
"PromoTrackingID": "1a6d6af9-01f6-4363-ad6c-c152d0066502",
"PromoCodeValue": "sample string 4"
}
application/xml, text/xml
Sample:
<PromoCode xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webapi.Models"> <PromoCodeValue>sample string 4</PromoCodeValue> <PromoDisclaimer>sample string 2</PromoDisclaimer> <PromoID>1</PromoID> <PromoTrackingID>1a6d6af9-01f6-4363-ad6c-c152d0066502</PromoTrackingID> </PromoCode>