Leads Posting Gateway     Last Revised 08-11-2015
 
Test Page for submitting moving leads in HTTP and XML (low level and high level DTD) 
In this page you can test the Leads Posting Gateway. Please read the Developer guide.
 
 
Gateway URL String
HTTP  URL Call our office for more information
XML URL Call our office for more information
 
API_ID Provider API ID: Test account - E432CD67C51E
MOVERREF [Optional]  - Direct distribution to Demo test account: leads@granot.com
MOVERREF is part of the URL string
. It can be posted as QUERYSTRING (part of the URL) or posted within the FORM
 
Form / XML Body (Lead's Information)
HTTP XML
  View XML low level type View Xml High Level Type
# Field Name Value Type
 1  servtypeid  N
 2  leadno  C
 3  firstname  C
 4  lastname  C
 5  ocity  C
 6  ostate  C
 7  ozip  C
 8  ocountry  C
 9  dcity  C
 10  dstate  C
 11  dzip  C
 12  dcountry  C
 13  weight  N
 14  volume  N
 15  movesize  C
 16  notes  M
 17  movedte  T
 18  movedte2  T
 19  email  C
 20  phone1  C
 21  phone2  C
 22  cell  C
 23  source  C
 24  mincount  N
 25  maxcount  N
 26  soldcount  N
 27  moverref  C
 28  repnotes  M
 29  others1txt  C
 30  others1amt  N
 31  others2txt  C
 32  others2amt  N
 33  label  C
 35  redirurl  C

Auto Transport (HTTP Only)
Make0
Model0
Year0
Autotype0
Running0
Make1
Model1
Year1
Autotype1
Running1
 
After Posting
Immediate response example:
 
HTTP Response XML Response
104360,13,missing client name

or

104360,0,OK

<?xml version="1.0"?>
<AAA>
   - 
<BBB>
         
<leadid>104360</leadid>
         
<errid>13</errid>
         
<msg>missing client name</msg>
     
</BBB>
  
</AAA>

Inventory
 
After posting the lead's information, you can post the lead's inventory.
 

Lead Type ID
 
101 Local lead (default selection when the move is within a state)
102 Long distance lead (default selection when the move is between states)
103 Auto transport lead
104 International lead (default selection when the move is between countries)
 
Error Messages
 
ERRID MSG
0 OK (no errors)
11 Missing provider's API_ID
12 Provider's reference does not exist in the system
13 Inactive provider
14 Missing client name
15 Missing contact information (phone and email)
16 Invalid move date
17 Missing 'from state'
18 Missing 'to state'
19 Invalid 'from state'
20 Invalid 'to state'
21 Missing country (international lead)
22 Inventory was not captured
23 Invalid lead Id when updating inventory
24 Empty post
25 Lead does not match minimum distribution
26 Duplicate lead by email
27 Mover was not found