Skip to content

Instantly share code, notes, and snippets.

@rondorkerin
Created June 5, 2014 20:22
Show Gist options
  • Save rondorkerin/bfbbc7c6fd5e99b14a9d to your computer and use it in GitHub Desktop.
Save rondorkerin/bfbbc7c6fd5e99b14a9d to your computer and use it in GitHub Desktop.
Example Request and Response for SharpSpring APIv1
"Request Data:"
{
"method":"getLead",
"params":{
"id":"<a lead id>"
},
"id":"<your request ID>",
}
"Response Data:"
{
"result":{
"lead":[
{
"id":"<id>",
"companyName":"<company name>",
"title":"<title>",
"firstName":"<first name>",
"lastName":"<last name>",
"street":"<street>",
"city":"<city>",
"country":"<country>",
"state":"<state>",
"zipcode":"<zip code>",
"emailAddress":"<email>",
"website":"<website>",
"phoneNumber":"<phone number>",
"mobilePhoneNumber":"<mobile phone number>",
"faxNumber":"<fax number>",
"description":"<description>",
"leadScore":"<lead score>",
"industry":"<industry>",
"active":"<is active>",
"isUnsubscribed":"<is unsubscribed>",
"leadStatus":"<lead status>"
}
]
},
"error":null,
"id":"<your request ID>"
}
@Anand-ESI
Copy link

Anand-ESI commented Mar 12, 2018

What is the request id here? Can anyone response us please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment