Skip to content

Instantly share code, notes, and snippets.

@atwellpub
Last active August 29, 2015 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save atwellpub/854cb23d491089c52bdb to your computer and use it in GitHub Desktop.
Save atwellpub/854cb23d491089c52bdb to your computer and use it in GitHub Desktop.
example json response after successfully completing and Inbound API lead/modify request.
{
"results_count": 1,
"results_per_page": 50,
"max_pages": 0,
"results": {
"96988": {
"ID": 96988,
"lists": {
"113": {
"term_id": 113,
"name": "Delta",
"slug": "delta",
"term_group": 0,
"term_taxonomy_id": 120,
"taxonomy": "wplead_list_category",
"description": "",
"parent": 0,
"count": 2,
"object_id": 96988,
"filter": "raw"
},
"114": {
"term_id": 114,
"name": "Epsilon",
"slug": "epsilon",
"term_group": 0,
"term_taxonomy_id": 121,
"taxonomy": "wplead_list_category",
"description": "",
"parent": 0,
"count": 1,
"object_id": 96988,
"filter": "raw"
}
},
"tags": {
"116": {
"term_id": 116,
"name": "tag-3",
"slug": "tag-3-2",
"term_group": 0,
"term_taxonomy_id": 123,
"taxonomy": "lead-tags",
"description": "",
"parent": 0,
"count": 3,
"object_id": 96988,
"filter": "raw"
},
"119": {
"term_id": 119,
"name": "tag-4",
"slug": "tag-4",
"term_group": 0,
"term_taxonomy_id": 126,
"taxonomy": "lead-tags",
"description": "",
"parent": 0,
"count": 1,
"object_id": 96988,
"filter": "raw"
},
"120": {
"term_id": 120,
"name": "tag-5",
"slug": "tag-5",
"term_group": 0,
"term_taxonomy_id": 127,
"taxonomy": "lead-tags",
"description": "",
"parent": 0,
"count": 1,
"object_id": 96988,
"filter": "raw"
},
"121": {
"term_id": 121,
"name": "tag-6",
"slug": "tag-6",
"term_group": 0,
"term_taxonomy_id": 128,
"taxonomy": "lead-tags",
"description": "",
"parent": 0,
"count": 1,
"object_id": 96988,
"filter": "raw"
}
},
"meta_data": {
"wpleads_first_name": [
"API"
],
"wpleads_last_updated": [
"2014-09-17 16:08:58"
],
"wpleads_last_name": [
"Test"
],
"wpleads_email_address": [
"testuser@inboundnow.com"
],
"wpleads_company_name": [
"Updated Company Name"
]
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment