Combination contact_mobile_num and contact_name should be unique, otherwise system throws an error.
{
"tenant": "zegoal",
"account_id": 1,
"contact":
{
"contact_name":"Unique Name",
"contact_type":"main_contact",
"contact_mobile_num": 2
}
}
CODE
{
"processing_result": {
"text": "success",
"status": "ok",
"code": 0
},
"processing_date": "2019-11-14 16:29:04",
"AddContact": {
"response": {
"tenant": "zegoal",
"skip_lookup_account": false,
"flow_type": "AddContact",
"contact": {
"contact_type": "main_contact",
"contact_name": "Unique Name",
"contact_mobile_num": 2,
"contact_email": "",
"contact_desc": ""
},
"account_id": 1
},
"request": {
"tenant": "zegoal",
"contact": {
"contact_type": "main_contact",
"contact_name": "Unique Name",
"contact_mobile_num": 2
},
"account_id": 1
},
"TZ": "Europe/Minsk"
}
}
CODE