[API] - [ASP/.NET] Fix our enrolment form and database communication

Avg Bid (USD)
Project Budget (USD)
$750 - $1500

Project Description:
The enrolment/booking form can be seen here - http://bit.ly/Rv65RG

The code has been done and installed but we're attempting to debug it at this stage.

The parameters we are passing to AddClientWebEnrolment are completely wrong. The documentation is here - http://www.ozsoft.com.au/api/Complete4310/VT_API_AddClientWebEnrolment@string@int@string@string@string@DateTime_@

The parameters are:
• Token
• Occurrence ID
• Surname
• Given name
• Client code
• Date of birth
• Description
• Referral ID

We seem to be passing:

• Token
• Occurrence ID
• First name
• Gender
• Address line 1
• City
• Postcode
• State
• Homephone
• Mobile
• E=mail
• Last name
• Two empty strings
• Some date thing
• The string “abcxyz”
• And the number 1

We are still receiving this error code

string abc = tclient.Clie.Clie_Code;
string chk = Session["token"].ToString();
int chk1= Convert.ToInt32(Session["enrolid"].ToString());
aut = ab.AddClientWebEnrolment(Session["token"].ToString(), Convert.ToInt32(Session["enrolid"].ToString()), Session["firstname"].ToString(), "", "", Convert.ToDateTime(Session["datevalue"].ToString()), "abcxyz", 1);

//aut = ab.AddClientWebEnrolment(Session["token"].ToString(), Convert.ToInt32(Session["enrolid"].ToString()), Session["firstname"].ToString(), Session["middlename"].ToString(), "", Convert.ToDateTime(Session["datevalue"].ToString()), "abcxyz", 1);
// int idd1 = auth.ID;
// aut = ab.AddEmployerWebEnrolment(Session["token"].ToString(), Convert.ToInt32(Session["enrolid"].ToString()), Session["firstname"].ToString(), "", "abcxyz", 1);
int idd = aut.ID;
auth1 = ab.UpdateWebEnrolment(chk, idd, "abcxyz", null);
int idd2 = auth1.ID;
au1 = ab.UpdateWebClient(chk,idd,"sOther", "sTitle", "sGender", "sAddr", "sCity", "sPCode", "sShortState", "sHomePhone", "sWorkPhone", "sMobilePhone", "sE=mail", "sEmergencyName", "sEmergencyPhone", "sEmergencyMobile", "postalAddr", "postalCity", "postalPCode", "postalShortState");

int idd3 = au1.ID;

More information given in private


Skills required:
.NET, ASP, HTML, PHP, Website Design
Hire digiceptdesign
Project posted by:
digiceptdesign Australia
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.