I’m trying to create a Person with multiple phones & emails (using Python). According to the API doc, I use the same format as in the GET:
{
“name”: “my contact”,
“phone”: [{“value”:“1234”, “label”:“test”, “primary”:true},{“value”:“1235”, “label”:“test2”, “primary”:false}]
}
But my phone structure is interpreted as a string and the Person is returned as this:
“phone”: [
{
“label”: “”,
“value”: “[{\“value\”:\“1234\”,“label\”:\“test\”, \“primary\”:true},{\“value\”:\“1235\”,\“label\”:\“test2\”, \“primary\”:false}]”,
“primary”: true}
],
Any hint on how to make this work would be very appreciated. Thx,