Last active
August 29, 2015 14:06
-
-
Save atwellpub/e738f451488480357e37 to your computer and use it in GitHub Desktop.
Example JSON response after successfully adding a lead using the /leads/add endpoint
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"results_count": 1, | |
"results_per_page": 50, | |
"max_pages": 0, | |
"results": { | |
"96988": { | |
"ID": 96988, | |
"lists": { | |
"110": { | |
"term_id": 110, | |
"name": "Alpha", | |
"slug": "alpha", | |
"term_group": 0, | |
"term_taxonomy_id": 117, | |
"taxonomy": "wplead_list_category", | |
"description": "", | |
"parent": 0, | |
"count": 4, | |
"object_id": 96988, | |
"filter": "raw" | |
}, | |
"111": { | |
"term_id": 111, | |
"name": "Beta", | |
"slug": "beta", | |
"term_group": 0, | |
"term_taxonomy_id": 118, | |
"taxonomy": "wplead_list_category", | |
"description": "", | |
"parent": 0, | |
"count": 3, | |
"object_id": 96988, | |
"filter": "raw" | |
} | |
}, | |
"tags": { | |
"117": { | |
"term_id": 117, | |
"name": "tag-1", | |
"slug": "tag-1", | |
"term_group": 0, | |
"term_taxonomy_id": 124, | |
"taxonomy": "lead-tags", | |
"description": "", | |
"parent": 0, | |
"count": 2, | |
"object_id": 96988, | |
"filter": "raw" | |
}, | |
"115": { | |
"term_id": 115, | |
"name": "tag-2", | |
"slug": "tag-2-2", | |
"term_group": 0, | |
"term_taxonomy_id": 122, | |
"taxonomy": "lead-tags", | |
"description": "", | |
"parent": 0, | |
"count": 1, | |
"object_id": 96988, | |
"filter": "raw" | |
}, | |
"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" | |
} | |
}, | |
"meta_data": { | |
"wpleads_first_name": [ | |
"API" | |
], | |
"wpleads_last_updated": [ | |
"2014-09-17 16:00:59" | |
], | |
"wpleads_last_name": [ | |
"Test" | |
], | |
"wpleads_email_address": [ | |
"testuser@inboundnow.com" | |
] | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment