This is my first post, so I apologize if I’m not clear.
I am looking to ‘hire’ someone to assist me in implementing this piece of my project. I can provide the details. I wanted to keep the information ‘private’ so I didn’t just post it here. But I’ll glad send it if there’s a way to protect privacy.
These are the instructions I was given. I’m having problems from step 3 on. The 2 conversion services are done and operational.
Basically I need to:
-
Collect user birth and contact data via a form on the site
To use it you need to POST the following:
• Year
• Month
• Day
• Hour
• Minute
• Country
• City
-
Submit data to the ‘convert’ service (already working) to get the corresponding UTC time (and validate location)
-
The UTC time returned on step 2
You can do this either as an HTTP post or via JSON. The result is a JSON object that contains:
-
Status: can be one of these - Success, InvalidDate, PlaceNotFound, RequiredInfoMissing, TechnicalError
-
if status is success the year,month,day,hour and minute of the UTC equivalent of the local time you submitted at that location. Please note that this service page should NOT be exposed for your users, it is only to be used from your code (i.e no user should be viewing this page).
To actually create (and send) reports you use a second service (already working) To use it you need to POST to this service the following:
• Year
• Month
• Day
• Hour
• Minute
• Name
• Email
Like the previous service discussed above you can access it both via POST params or JSON/
You’ll note that country and city are gone (the service expects the supplied birth date to already be in UTC) and it does have a Name and Email field which should correspond to the recipient.
To make processing efficient the service validates the request and (if all data provided is ok) returns a ‘Success’ status WITHOUT waiting for the report to be sent (which may take a couple of minutes).
Please note that this page should NOT be exposed for your users, it is only to be used from your code (i.e no user should be viewing this page). (along with the name and email) to invoke the ‘generate’ service
4. Show a success page to your user.