We accept leads from lead providers. We only allow certain providers to post leads to us during certain days/times. Currently, we have 3 schedules, but we might add 1 or n more in the future:
- Sunday @ 8AM - Friday @ 3PM -- all hours in between.
- Monday - Friday from 8AM - 5 PM.
- 24 hours a day, every day.
In addition, we want to be able to one-off certain hours -- so, we would have told some of the lead providers, "I know you normally post 8 AM - 5 PM M-F, but Monday is a holiday, so don't post then."
The problem is that some lead providers are not setup to handle a schedule (or just ignore it if they want to sell us more leads). So, I now have to add this check into our system at the point in which we take in leads, and first check to see if that lead provider (they identify themselves in the XML they send) is allowed to post leads at this particular time.
I honestly don't know where to begin. Has anyone done this before? How did you handle it, and what is good/bad about your method?