Error generating object using json coming de contacts/v1/lists/all/contacts/all?hapikey=54354355555

contacts

#1

My next problem I need a data that I tried zapier.com but the API is limited and not available, it would be groups that only provide user information (contacts)
I decided to mount a solution in C #, but I encountered new difficulties, now I access the url, json but when I serialize I do not enter the node I want where the information I need, then everything is interrupted again.
I got the module:
contacts/v1/lists/all/contacts/all?hapikey=aaaaaaaa
result =

{
"addedAt": 1503388889043,
"vine": 8301,
"canonical-vid": 8301,
"mergers-vids": [],
"portal-id": 346288888,
"is contact": true
"Profile token": "AO_T-mMAKFGoK5k1MT_JTZegMnQ0sWYYY9nqwaXrNrofXFYbvOqcI1mxQymHCQ2f_n_yQNY5TKtm-bAddfkpmtJspHAdW3cduH88888xsRTsAwSgZlIaZLr0pxgteBA17S",
"Profile-url": "https://app.hubspot.com/contacts/3468888888/lists/public/contact/_AO_T-mMAKFGoK5k1MT_JTZegMnQ0sWYYY9nqwaXrNrofXFYbvOqcI1mxQymHCQ2f_n_yQNY5TKtm-bAddfkpmtJspHAdW3cduHhBrcMTF7PSCh0sWxsRTsAwSgZlIaZLr0pxgteBA17S/"
"properties": {
"name": {"value": "Sally"},
"lastmodifieddate": {"value": "1522354104207"},
"company": {"value": "Hook"},
"lastname": {"value": "Meo"}
}
"forms submissions": [
{
"conversion-id": "c9c5eeeeeeeeeeee",
"timestamp": 15055555101,
"form-id": "9644765765765765765e62",
"portal-id": 34777728,
"page-url": "http://www.nnnnnnnnnnnnnnnnnnnnnnnl.com",
"page-title": "site | mysite",
"page-id": "5765765765",
"title": "Form",
"form type": "HUBSPOT",
"meta-data": []
}
]
"identity profiles": [
{
"vine": 8301,
"saved on time": 15084444451,
"deleted-changed-timestamp": 0,
"identities": [
{
"type": "LEAD_GUID",
"value": "ecb43242343243206029",
timestamp: 150344442
}
{
"type": "EMAIL",
"value": "sally@hookdig.com",
"timestamp": 1504444101,
"is primary": true
}
]
}
{
"vineyard": 10951,
"save in timestamp": 154444451,
"deleted-changed-timestamp": 0,
"identities": []
}
{
"vid": 3008001,
"saved on time": 150444451,
"deleted-changed-timestamp": 0,
"identities": []
}
{
"vine": 444451,
"saved on time": 15044451,
"deleted-changed-timestamp": 0,
"identities": []
}
]
"merge-audits": []
}

My problem is entering the node "form submissions": [
And go to the field = "page-title": "site | mysite.",
But always the "form-submissions": [comes null and consequently the page title comes null and generates
Exception in C #
Does anyone have any idea where the problem is and how to solve it?
I'm using json_serializer.Deserialize (result);
To deserialize
And also with javascript, but the error was the same does not generate the field in the object correctly.


#2

Hi @junior_bello,

Just to make sure that we're on the same page, you're getting the full correct response from HubSpot, but you're unable to access the values inside the form-submissions array?