API - Leads - Retrieve Details

Notice that the Lead ID is passed into the GET URL.

Request:

GET /api2/leads/520247?apiKey=XXXXXX {

_body: true/false <--- if true, returns more details

}

Response:

{

"id": "520247",

"tz": "-500",

"createtime": "2015-05-28T11:33:30-04:00",

"modifiedtime": "2015-10-27T15:45:16-04:00",

"eventname": "Test Event 2",

"eventorganization": "Joel Aemmer",

"eventstreet": "1876 12th St SW",

"eventcity": "Akron",

"eventstate": "OH",

"eventzip": "44314",

"eventstarttime": "2017-07-15T16:00:00-04:00",

"eventduration": "2.00",

"deliverytype": "Fully Staffed",

"surface": "Grass1",

"taxexempt": "No",

"taxcert": "",

"rentaldct": "",

"holdtime": "",

"eventcountry": "",

"eventcounty": "Summit",

"selectedrides": [

"4",

"15"

],

"rentalqty": {

"4": "1"

},

"rentalholdtime": {

"4": "1445975116",

"15": "1445975116"

},

"contactid": "533268",

"ridequotes": {

"4": "200.00"

},

"cpdiscount": "0.00",

"taxrate": "7.000",

"staffcost": "40.00",

"distcharge": "7.83",

"salestax": "27.30",

"total": "425.13",

"taxcertid": "",

"coupon": "0",

"special": "",

"spamount": "",

"feeid": "",

"fee": "0.00",

"errors": "",

"notes": "",

"status": {

"id": "2349",

"name": "Hold",

"isactive": "1",

"order": "6",

"color": "3399FF",

"newlead": "0",

"newquote": "0",

"contract": "0",

"confirmed": "0",

"complete": "0",

"cancel": "0",

"postpone": "0",

"quickbooks": "0",

"preventautoemail": "1",

"reports": "0",

"conflicts": "1",

"googlecal": "0",

"workercalendar": "0",

"salesreppayroll": "0",

"routing": "0",

"action_copy": "1",

"action_eventdatepast": "0",

"action_balancedatepast": "0",

"action_contractsigned": "0",

"action_balancepaid": "0",

"action_depositpaid": "0"

},

"statusid": "2349",

"viewed": "Yes",

"followup": "0",

"conflag": "0",

"fullstart": "2017-07-15T16:00:00-04:00",

"fullend": "2017-07-15T18:00:00-04:00",

"cushstart": "2017-07-15T08:00:00-04:00",

"cushend": "2017-07-16T02:00:00-04:00",

"adjust": "0.00",

"custrequest": "",

"custreqtime": "",

"stafftosend": "",

"volsreqd": "",

"setupduration": "",

"setupwindowstart": "",

"setupwindowend": "",

"tdownduration": "",

"tdownwindowstart": "",

"tdownwindowend": "",

"contractsent": "",

"directionsfrom": "",

"ttimefrom": "",

"contractrecd": "",

"depositamount": "",

"amountpaid": "",

"balancerecd": "",

"text": "",

"contracttemp": "",

"ipaddress": "",

"numguests": "",

"reqdepamt": "",

"reqdeptype": "",

"gcalurl": "",

"referral": "Bing",

"locationid": "0",

"salesrep": "0",

"agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.71 Safari/537.36",

"os": "Linux",

"browser": "Google Chrome",

"gadomainhash": "",

"gatimestamp": "",

"gasessionnumber": "",

"gacampaignnumber": "",

"gasource": "",

"gamedium": "",

"gacampaignname": "",

"gacampaignkeyword": "",

"gacampaigncontent": "",

"gaclickid": "",

"warning": "\nError in tax rate lookup: Used default tax rate",

"venueid": "16839",

"venuecontact": "",

"additionalnotes1": "",

"additionalnotes2": "",

"vendor": "38",

"lattitude": "41.052519",

"longitude": "-81.556388",

"salesreppaidtime": "",

"eventendtime": "2017-07-15T18:00:00-04:00",

"subtotal": 397.83,

"optionparent": {

"4": [

"15"

]

},

"rentalstarttime": {

"4": "1500148800",

"15": "1500148800"

},

"rentalendtime": {

"4": "1500156000",

"15": "1500156000"

},

"isoption": [

0,

1

],

"leadrental_conflict": {

"4": "none",

"15": "none"

},

"rental_availability": {

"4": null,

"15": null

},

"conleads": {

"4": null,

"15": null

},

"conleads_cush": {

"4": null,

"15": null

},

"rentalqty_option": {

"4": {

"15": "1"

}

},

"ridequotes_option": {

"4": {

"15": "150.00"

}

},

"rentalstarttime_option": {

"4": {

"15": "1500148800"

}

},

"rentalendtime_option": {

"4": {

"15": "1500156000"

}

},

"venuename": "",

"venuenotes": "",

"cust": {

"id": "533268",

"createtime": "2015-05-12T11:21:30-04:00",

"modifiedtime": "2015-10-27T15:46:21-04:00",

"organization": "",

"firstname": "Joel",

"lastname": "Aemmer",

"street": "1876 12th St SW",

"city": "Akron",

"state": "OH",

"zip": "44314",

"country": "",

"homephone": "(419) 410-8581",

"officephone": "(419) 410-8582",

"cellphone": "(419) 410-8583",

"fax": "(419) 410-8584",

"email": "joel@inflatableoffice.com",

"notes": "",

"customertype": "Commercial",

"locationid": "0",

"tags": "",

"href": "http://www.inflatableoffice.com/api2/customers/533...

"createtime_ts": "1431444090",

"createtime_utc": "2015-05-12T15:21:30Z",

"modifiedtime_ts": "1445975181",

"modifiedtime_utc": "2015-10-27T19:46:21Z"

},

"shifts": [

{

"id": "227051",

"modifiedtime": "2016-04-27T16:37:59-04:00",

"quoteid": "1230599",

"workerid": "2",

"position": "",

"starttime": "2017-07-31T18:30:00-04:00",

"endtime": "2017-07-31T22:30:00-04:00",

"meetingloc": "2",

"gcalurl": "",

"requestofftime": "",

"positionid": "4",

"workerresponse": "",

"paidtime": "",

"vehiclelinked": "0",

"groupshiftid": "0",

"modifiedtime_ts": "1461789479",

"modifiedtime_utc": "2016-04-27T20:37:59Z",

"starttime_ts": "1501540200",

"starttime_utc": "2017-07-31T22:30:00Z",

"endtime_ts": "1501554600",

"endtime_utc": "2017-08-01T02:30:00Z",

"paidtime_ts": "",

"paidtime_utc": ""

}

]

"href": "http://www.inflatableoffice.com/api2/leads/520247"...

"createtime_ts": "1432827210",

"createtime_utc": "2015-05-28T15:33:30Z",

"modifiedtime_ts": "1445975116",

"modifiedtime_utc": "2015-10-27T19:45:16Z",

"eventstarttime_ts": "1500148800",

"eventstarttime_utc": "2017-07-15T20:00:00Z",

"holdtime_ts": "",

"holdtime_utc": "",

"fullstart_ts": "1500148800",

"fullstart_utc": "2017-07-15T20:00:00Z",

"fullend_ts": "1500156000",

"fullend_utc": "2017-07-15T22:00:00Z",

"cushstart_ts": "1500120000",

"cushstart_utc": "2017-07-15T12:00:00Z",

"cushend_ts": "1500184800",

"cushend_utc": "2017-07-16T06:00:00Z",

"setupwindowstart_ts": "",

"setupwindowstart_utc": "",

"setupwindowend_ts": "",

"setupwindowend_utc": "",

"contractsent_ts": "",

"contractsent_utc": "",

"contractrecd_ts": "",

"contractrecd_utc": "",

"salesreppaidtime_ts": "",

"salesreppaidtime_utc": "",

"eventendtime_ts": 1500156000,

"eventendtime_utc": "2017-07-15T22:00:00Z"

}

Is article helpful?