Rewardcards
Get Reward Card Enquiries
Get Reward Card Enquiries, authorize with query string auth
GET
/v1/enquiries/rewardcards
AuthorizationBasic <token>
Basic Authorization header using the Bearer scheme.
In: header
Authorization<token>
JWT Authorization header using the Bearer scheme.
In: header
Query Parameters
type?string
Value in
"RewardCard"
status?string
Value in
"Submitted"
dateFrom?string
dateTo?string
emailAddress?string
Response Body
curl -X GET "https://loading/v1/enquiries/rewardcards?type=RewardCard&status=Submitted&dateFrom=string&dateTo=string&emailAddress=string"
{
"enquiries": [
{
"emailAddress": "string",
"enquiryType": "string",
"enquiryStatus": "string",
"message": "string",
"title": "string",
"firstName": "string",
"lastName": "string",
"addressLine1": "string",
"addressLine2": "string",
"addressLine3": "string",
"city": "string",
"county": "string",
"postcode": "string",
"contactNumber": "string",
"countryIso": "string",
"rewardCardNumber": "string",
"dob": "2019-08-24T14:15:22Z",
"contactPreferences": {
"emailSubscribed": true,
"smsSubscribed": true,
"printSubscribed": true
}
}
]
}
{
"message": "string",
"code": 0
}
How is this guide?