AFS Vanguard API Methods:

Method1 type: POST
Method1 name: afsvanguardcustapplicationsOTH
Method1 description:

  1. Given an application filled out by your customer in your web site, translate and insert into the proper AFS Vanguard office database.
  2. Insertion will take place on a 5 minute interval polling thread.
  3. The AFS Vanguard user at the office has the option to manually execute insertion in real time.

Method1 important notes:

  1. Please inquire with our service team at service@afshq.com if your company has been assigned a 3 or 4 character company identifier for API access purposes. If so, please replace “OTH” above with your assigned company identifier.
  2. Required parameters are: afsVanguardAppCode, applOfficeTo, applAmountOfLoan, applType, applLastName, applFirstName, applDateOfBirth, applSocialSecurityNumber, applEmail, applPhone, applAddress, applCity, applZip, applState, applicantESignature, applicantESignatureDate
  3. The characters ? and & cannot be present inside any of the parameters.

Parameters:

  1. POST afsVanguardAppCode String #Comment: Security code provided by service@afshq.com
  2. POST applOfficeTo Number #Comment: Office selected by applicant (insertion will occur in such office)
  3. POST applAmountOfLoan Number Values (100,200,300,400,500,600,700,800,900,1000,1100,1200,1300)
  4. POST applPurposeOfLoan Number
  5. POST applType Number Values (1,2) #Comment: Individual=1, Joint=2
  6. POST applReferredBy String(40) Values (Internet, Drive By, Friend)
  7. POST applLastName String(40)
  8. POST applFirstName String(40)
  9. POST applDateOfBirth String Format(“yyyy-mm-dd”)
  10. POST applSocialSecurityNumber String(11)
  11. POST applEmail String(40)
  12. POST applPhone String(13) Format(“(nnn)-nnn-nnnn”)
  13. POST applAddress String(50)
  14. POST applCity String(30)
  15. POST applZip String(10)
  16. POST applState String(5) Values (AL, CA, FL, GA, KY, LA, MS, NC, NM, OK, SC, TX, VA)
  17. POST residenceType String Values (Rent Home/Apartment, Buying Home, Own Home, Other)
  18. POST residenceMonthlyPayment Number
  19. POST residenceTimeAt String Values (Less than 1 Year, 1-2 Years, 2-5 Years, 5+ Years) #Comment: residenceTimeAt and residenceTimeAtInt are mutually exclusive, you cannot have both values
  20. POST employer String(30)
  21. POST employerPhone String(13) Format(“(nnn)-nnn-nnnn”)
  22. POST employerTimeAt String Values (Less than 1 Year, 1-2 Years, 2-5 Years, 5+ Years) #Comment: employerTimeAt and employerTimeAtInt are mutually exclusive, you cannot have both values
  23. POST employerPosition String(40)
  24. POST employerNetPayPerCheck Number
  25. POST incomeAdditionalRental Number
  26. POST incomeAdditionalPT Number
  27. POST incomeAdditionalAlimonyOrChildSupport Number
  28. POST incomeAdditionalSSI Number
  29. POST incomeAdditionalPension Number
  30. POST incomeAdditionalDisability Number
  31. POST incomeAdditionalSocialSecurity Number
  32. POST incomeAdditionalOther Number
  33. POST incomeTotal Number
  34. POST debtsAndCreditors1 String(50)
  35. POST debtsAndCreditorsPaymentAmount1 Number
  36. POST debtsAndCreditors2 String(50)
  37. POST debtsAndCreditorsPaymentAmount2 Number
  38. POST debtsAndCreditors3 String(50)
  39. POST debtsAndCreditorsPaymentAmount3 Number
  40. POST debtsAndCreditors4 String(50)
  41. POST debtsAndCreditorsPaymentAmount4 Number
  42. POST debtsAndCreditors5 String(50)
  43. POST debtsAndCreditorsPaymentAmount5 Number
  44. POST vehicleMake String(50)
  45. POST vehicleModel String(50)
  46. POST vehicleYear String Format(“yyyy”)
  47. POST vehiclePayments Number
  48. POST expensesLivingTotal Number
  49. POST applicantESignature String
  50. POST applicantESignatureDate String Format(“yyyy-mm-dd”)
  51. POST  afsVanguardCompanyIdentifier #Comment: Compulsory Only for OTH (example “nfc”)
  52. POST  ownHome  (true, false) Boolean
  53. POST  ownVehicle  (true, false) Boolean
  54. POST  vehicleFinancing String(50)
  55. POST  applSource String(40)
  56. POST  dutyMilitary (true, false) Boolean
  57. POST  stateTimeAtInt Integer
  58. POST  residenceTimeAtInt Integer  #Comment: residenceTimeAt and residenceTimeAtInt are mutually exclusive, you cannot have both values
  59. POST  employerTimeAtInt Integer   #Comment: employerTimeAt and employerTimeAtInt are mutually exclusive, you cannot have both values

Response:

  1. 1 Inserted
  2. 0 Not inserted:

Errors:

  1. Error: Invalid afsVanguardAppCode.
  2. Error: Invalid applOfficeTo: nnnn
  3. Error: Parameter ppppppp invalid number: nnnnnnn
  4. Error: Parameter ppppppp invalid date format: ddddddd
  5. Error: Parameter ppppppp invalid string: sssssss
  6. Error: Social SecurityNumber is duplicated in office applOfficeTo.
  7. Error: Required parameter ppppppp is missing.
  8. Error: Cloud database connection failed.

Example:

afsVanguardcustapplicationsOTH?afsVanguardAppCode=0123456789&applOfficeTo=101&applAmountOfLoan=100& applIndividual=true&applLastName=myLastName&applFirstName=myFirstName&applDateOfBirth=1980-01-01&applSocialSecurityNumber=111-11-1111&applEmail=myEmail@email.com&applPhone=(111)111-1111&applAddress=myAddress&applCity=myCity&applZip=11111&applState=TX&applicantESignature=myESignature& applicantESignatureDate=2021-09-25