Ready Feed Upload

Overview - Step 1 of 4 Upload Steps

More Than Rewards logs every single "line item" for the overall transaction / invoices within our system.  This is done by posting 1000 records at a time to the logpartsale, logvehiclesale,logservicesale,logcustomer, and loginventory api.  

Since each of these "upload style" API can only accept 1000 records per post often you'll need to upload more than 1000 record.   Therefore all requests are done in "batches".   These batches are are called Transactions,  however before you can create a transaction you need to know a total count of how many records you're uploading, which means need a date range to select from so you can a total record count which will be passed when creating a transaction.

As a reminder the entire 4 step upload process is outlined here.  

You'll Use This To Fetch Date Ranges and To Get Total Record Count - Needed In Step 2

Post Url

  https://api.riderrewards.com/readyfeedupload

- SSL is required

Headers

Name  Required      Empty Allowed   Notes
PartnerAPIKeyYesNoAPI Key for approved partners, to be provided by More Than Rewards. To become an approved partner call More Than Rewards at 414-326-4100.
RRStoreAPIKeyYesNoStore's API key within the Rider Rewards system. Retrieved via the  GetMyDealerList  API endpoint.
RRStoreID
YesNoUnique store identifier within the Rider Rewards system. Retrieved via the GetMyDealerList  API endpoint.

* An error will not result if Max Length is exceeded. Data will be trimmed to this length.
+ These are set in the header WITHOUT base64, just regular header values.

Expected JSON Body To POST

{
   "feedtype": "P"
}


Sample Results

Success Message

{
  "results": {
    "message": "Success",
    "feedtype": "P",
    "startdate": "05/01/2018",
    "enddate": "05/15/2018"
  }
}


Sample Failure Message

{
  "results": { "error": "Authentication failed" }
}