chriswiseman
Member
Not sure if im being stupid or if this is the place to ask but here goes. I've got a form linked up into Pabbly pulling in the variables submitted and I need to output this to an endpoint using structured JSON.
This instructions I have are below but im struggling to work out how to output the data as parameters such as title need to be contained within a parent parameter called lead. Can anyone tell me where im going wrong?
{
"version": 1,
"apiKey": "Your API Key",
"test": true/false, boolean, default false
"lead": {
"supplierLeadRef": "Your Lead Ref", string, max 30
"title": "Customer Title", string, max 10, optional
"firstName": "Customer First Name(s)", string, max 100, can be empty string
"lastName": "Customer Last Name", string, max 100, can be empty string
"phone": "Customer Phone Number", string, max 100
"email": "Customer e-Mail", string, max 100
"houseNumberOrName": "Customer House Number or Name", string, max 100, optional
"street": "Customer Street", string, max 100, optional
"postcode": "Customer Postcode", string, max 10
"productId": Product ID number, number, >=1, optional. Contact us for Product ID numbers.
"details": "Further Details" string, optional
}
}
This instructions I have are below but im struggling to work out how to output the data as parameters such as title need to be contained within a parent parameter called lead. Can anyone tell me where im going wrong?
{
"version": 1,
"apiKey": "Your API Key",
"test": true/false, boolean, default false
"lead": {
"supplierLeadRef": "Your Lead Ref", string, max 30
"title": "Customer Title", string, max 10, optional
"firstName": "Customer First Name(s)", string, max 100, can be empty string
"lastName": "Customer Last Name", string, max 100, can be empty string
"phone": "Customer Phone Number", string, max 100
"email": "Customer e-Mail", string, max 100
"houseNumberOrName": "Customer House Number or Name", string, max 100, optional
"street": "Customer Street", string, max 100, optional
"postcode": "Customer Postcode", string, max 10
"productId": Product ID number, number, >=1, optional. Contact us for Product ID numbers.
"details": "Further Details" string, optional
}
}