Hi friends! ;,
just playing with , i export all properties from a portal and will like to impor to a new one.
I already clean the JSON with the user create it properties.
I understand that API to create a property can only work in a one call basis. So i´m stock with this load:
{
“name”: “colectivo”,
“label”: “Colectivo”,
“description”: “”,
“groupName”: “propiedades_iox”,
“type”: “enumeration”,
“fieldType”: “checkbox”,
“options”: [“false|0|SA|null|false|-1|SA|false|0|DA|null|false|1|DA|false|0|SP|null|false|2|SP|false|0|DP|null|false|3|DP|false|null|SA DP|null|false|4|SA DP|false|null|SA DA|null|false|5|SA DA|false|null|SP DP|null|false|6|SP DP|false|null|DP SP|null|false|7|DP SP”],
“formField”: “true”,
“displayOrder”: “-1”
}
Error comes from options as below.
{
“status”: “error”,
“message”: “Invalid input JSON on line 8, column 25: Cannot construct instance of `com.hubspot.inbounddb.properties.views.OptionView` (although at least one Creator exists): no String-argument constructor/factory method to deserialize from String value (‘false|0|SA|null|false|-1|SA|false|0|DA|null|false|1|DA|false|0|SP|null|false|2|SP|false|0|DP|null|false|3|DP|false|null|SA DP|null|false|4|SA DP|false|null|SA DA|null|false|5|SA DA|false|null|SP DP|null|false|6|SP DP|false|null|DP SP|null|false|7|DP SP’)”,
“correlationId”: “60d18265-3f85-4aa3-a8ee-a246d7bec977”,
“requestId”: “8c53ef16-2795-4590-acb5-0c54510d654c”
}
And i can´t find the documentation in order to transform the load.
Any help will be great!
KR
JP
![]()