I understand, below the json:
For you to understand, I put it in a comment (//data I want to get below)–
to understand what I want to get in the middle of the json
[
{
“statusCode”: 200,
“headers”: [
{
“name”: “content-type”,
“value”: “application/json”
},
{
“name”: “date”,
“value”: “Thu, 05 Oct 2023 19:11:34 GMT”
},
{
“name”: “transfer-encoding”,
“value”: “chunked”
},
{
“name”: “connection”,
“value”: “keep-alive”
},
{
“name”: “x-li-fabric”,
“value”: “prod-lva1”
},
{
“name”: “report-to”,
“value”: "{"group":"network-errors","max_age":2592000,"endpoints":[{"url":"https://www.linkedin.com/li/rep\“}],\“include_subdomains\”:true}”
},
{
“name”: “nel”,
“value”: “{"report_to":"network-errors","max_age":1296000,"success_fraction":0.00066,"failure_fraction":1,"include_subdomains":true}”
},
{
“name”: “x-li-pop”,
“value”: “prod-lva1-x”
},
{
“name”: “x-li-proto”,
“value”: “http/1.1”
},
{
“name”: “x-li-uuid”,
“value”: “AAYG/ORvIJH8EzcD3ijq6Q==”
},
{
“name”: “set-cookie”,
“value”: “bcookie="v=2&6e276a64-a39e-4e9e-8f18-48ccc44fbb46"; domain=.linkedin.com; Path=/; Secure; Expires=Fri, 04-Oct-2024 19:11:34 GMT; SameSite=None”
},
{
“name”: “x-li-route-key”,
“value”: “"b=VB18:s=V:r=V:a=V:p=V:g=4642:u=1242:x=1:i=1696533094:t=1696571828:v=2:sig=AQGZP8hcWnxRcP4zi2a7J8amgDMwI8jc"”
}
],
“data”: {
“paging”: {
“start”: 0,
“count”: 10,
“links”: ,
“total”: 2
},
“elements”: [
{
“form”: {
“name”: “LeadGen form for SoftExpert - Software for Excellence”,
“hiddenFields”: [
{
“name”: “Entity name”,
“value”: “SoftExpert - Software for Excellence”
}
],
“id”: “7100178873316782080”,
“content”: {
“questions”: [
{
“questionId”: 558337,
“question”: {
“localized”: {
“en_US”: “First Name”
}
},
“responseEditable”: true,
“name”: “firstName”,
“questionDetails”: {
“textQuestionDetails”: {
“maxResponseLength”: 300
}
},
“predefinedField”: “FIRST_NAME”,
“responseRequired”: true
},
{
“questionId”: 563697,
“question”: {
“localized”: {
“en_US”: “Last Name”
}
},
“responseEditable”: true,
“name”: “lastName”,
“questionDetails”: {
“textQuestionDetails”: {
“maxResponseLength”: 300
}
},
“predefinedField”: “LAST_NAME”,
“responseRequired”: true
},
{
“questionId”: 558345,
“question”: {
“localized”: {
“en_US”: “Email Address”
}
},
“responseEditable”: true,
“name”: “email”,
“questionDetails”: {
“textQuestionDetails”: {
“maxResponseLength”: 300
}
},
“predefinedField”: “EMAIL”,
“responseRequired”: true
},
{
“questionId”: 560961,
“question”: {
“localized”: {
“en_US”: “Job title”
}
},
“responseEditable”: true,
“name”: “jobTitle”,
“questionDetails”: {
“textQuestionDetails”: {
“maxResponseLength”: 300
}
},
“predefinedField”: “JOB_TITLE”,
“responseRequired”: true
},
{
“questionId”: 556417,
“question”: {
“localized”: {
“en_US”: “Company name”
}
},
“responseEditable”: true,
“name”: “company”,
“questionDetails”: {
“textQuestionDetails”: {
“maxResponseLength”: 300
}
},
“predefinedField”: “COMPANY_NAME”,
“responseRequired”: true
}
],
“description”: {
“localized”: {
“en_US”: “Share your information below with SoftExpert - Software for Excellence to be contacted with more information”,
“pt_BR”: “Compartilhe suas informações abaixo com a organização SoftExpert - Software for Excellence para receber mais informações”
}
},
“legalInfo”: {
“consents”: [
{
“consent”: {
“localized”: {
“en_US”: “SoftExpert - Software for Excellence may contact me via email”,
“pt_BR”: “A organização SoftExpert - Software for Excellence pode entrar em contato comigo por e-mail”
}
},
“checkRequired”: false,
“id”: 000
}
],
“legalInfoId”: 232143124523525325,
“privacyPolicyUrl”: “Aviso de Privacidade - SoftExpert”,
“legalDisclaimer”: {
“localized”: {
“en_US”: “SoftExpert - Software for Excellence may use your name and email address to send you communications about the company’s products.”,
“pt_BR”: “A organização SoftExpert - Software for Excellence pode usar seu nome e e-mail para enviar comunicados a você sobre os produtos da empresa.”
}
}
},
“headline”: {
“localized”: {
“en_US”: “Contact SoftExpert - Software for Excellence”,
“pt_BR”: “Entrar em contato com a organização SoftExpert - Software for Excellence”
}
}
},
“creationLocale”: {
“country”: “BR”,
“language”: “pt”
}
},
“leadType”: “COMPANY”,
“leadMetadataInfo”: {},
“associatedEntityInfo”: {
“associatedCompany”: {
“organizationUrn”: “urn:li:organization:333333333333”
}
},
“versionedLeadGenFormUrn”: “urn:li:versionedLeadGenForm:(urn:li:leadGenForm:333333333333333333,1)”,
“ownerInfo”: {
“organizationInfo”: {
“organizationUrn”: “urn:li:organization:33333333333333”
}
//data I want to get below
},
"id": "teste",
"submittedAt": 213123213,
"testLead": true,
"formResponse": {
"consentResponses": [
{
"accepted": false,
"consentId": 1
}
],
"answers": [
{
"answerDetails": {
"textQuestionAnswer": {
"answer": "teste@teste.com"
}
},
"questionId": 1231
},
{
"answerDetails": {
"textQuestionAnswer": {
"answer": "Mateus"
}
},
"questionId": 3213
},
{
"answerDetails": {
"textQuestionAnswer": {
"answer": "Linhares"
}
},
"questionId": 323232
},
{
"answerDetails": {
"textQuestionAnswer": {
"answer": "marketing"
}
},
"questionId": 232323
},
{
"answerDetails": {
"textQuestionAnswer": {
"answer": "Soft for Excellence"
}
},
"questionId": 33333
}
]
}
},
{
"form": {
"name": "LeadGen form for SoftExpert - Software for Excellence",
"hiddenFields": [
{
"name": "Entity name",
"value": "SoftExpert - Software for Excellence"
}
],
"id": "33333333333333",
"content": {
"questions": [
{
"questionId": 3333,
"question": {
"localized": {
"en_US": "First Name"
}
},
"responseEditable": false,
"name": "firstName",
"questionDetails": {
"textQuestionDetails": {
"maxResponseLength": 2222
}
},
"predefinedField": "FIRST_NAME",
"responseRequired": true
},
{
"questionId": 22222,
"question": {
"localized": {
"en_US": "Last Name"
}
},
"responseEditable": true,
"name": "lastName",
"questionDetails": {
"textQuestionDetails": {
"maxResponseLength": 22
}
},
"predefinedField": "LAST_NAME",
"responseRequired": 22
},
{
"questionId": 558345,
"question": {
"localized": {
"en_US": "Email Address"
}
},
"responseEditable": true,
"name": "email",
"questionDetails": {
"textQuestionDetails": {
"maxResponseLength": 300
}
},
"predefinedField": "EMAIL",
"responseRequired": true
},
{
"questionId": 560961,
"question": {
"localized": {
"en_US": "Job title"
}
},
"responseEditable": true,
"name": "jobTitle",
"questionDetails": {
"textQuestionDetails": {
"maxResponseLength": 300
}
},
"predefinedField": "JOB_TITLE",
"responseRequired": true
},
{
"questionId": 556417,
"question": {
"localized": {
"en_US": "Company name"
}
},
"responseEditable": true,
"name": "company",
"questionDetails": {
"textQuestionDetails": {
"maxResponseLength": 300
}
},
"predefinedField": "COMPANY_NAME",
"responseRequired": true
}
],
"description": {
"localized": {
"en_US": "Share your information below with SoftExpert - Software for Excellence to be contacted with more information",
"pt_BR": "Compartilhe suas informações abaixo com a organização SoftExpert - Software for Excellence para receber mais informações"
}
},
"legalInfo": {
"consents": [
{
"consent": {
"localized": {
"en_US": "SoftExpert - Software for Excellence may contact me via email",
"pt_BR": "A organização SoftExpert - Software for Excellence pode entrar em contato comigo por e-mail"
}
},
"checkRequired": true,
"id": 1
}
],
"legalInfoId": 9999,
"privacyPolicyUrl": "",
"legalDisclaimer": {
"localized": {
"en_US": "SoftExpert - Software for Excellence may use your name and email address to send you communications about the company's products.",
"pt_BR": "A organização SoftExpert - Software for Excellence pode usar seu nome e e-mail para enviar comunicados a você sobre os produtos da empresa."
}
}
},
"headline": {
"localized": {
"en_US": "Contact SoftExpert - Software for Excellence",
"pt_BR": "Entrar em contato com a organização SoftExpert - Software for Excellence"
}
}
},
"creationLocale": {
"country": "BR",
"language": "pt"
}
},
"leadType": "COMPANY",
"leadMetadataInfo": {},
"associatedEntityInfo": {
"associatedCompany": {
"organizationUrn": "urn:li:organization:2222222222"
}
},
"versionedLeadGenFormUrn": "urn:li:versionedLeadGenForm:(urn:li:leadGenForm:222222222222222222222222,1)",
"ownerInfo": {
"organizationInfo": {
"organizationUrn": "urn:li:organization:222222222222222"
}
},
"id": "22222222222222222",
"submittedAt": 22222222222222,
"testLead": false,
"formResponse": {
"consentResponses": [
{
"accepted": true,
"consentId": 1
}
],
"answers": [
{
"answerDetails": {
"textQuestionAnswer": {
"answer": "jornalistets@.com"
}
},
"questionId": 558345
},
{
"answerDetails": {
"textQuestionAnswer": {
"answer": "Eduardo"
}
},
"questionId": 558337
},
{
"answerDetails": {
"textQuestionAnswer": {
"answer": " Guedin"
}
},
"questionId": 2222
},
{
"answerDetails": {
"textQuestionAnswer": {
"answer": "Analista de marketing digital"
}
},
"questionId": 560961
},
{
"answerDetails": {
"textQuestionAnswer": {
"answer": "SoftExpert - Software for Excellence"
}
},
"questionId": 556417
}
]
}
}
]
},
"fileSize": 7158
}
]